summaryrefslogtreecommitdiffstats
path: root/sbin/routed
Commit message (Collapse)AuthorAgeFilesLines
* MFC r271921:hrs2014-10-091-1/+1
| | | | Fix a typo.
* MFC r271919:hrs2014-10-095-7/+35
| | | | | | | Fix a bug which could make routed(8) daemon exit by sending a special RIP query from a remote machine, and disable accepting it by default. This requests a routed(8) daemon to dump routing information base for debugging purpose. An -i flag to enable it has been added.
* mdoc sweepjoel2013-05-131-1/+1
|
* Fix a style bugkevlo2012-01-131-1/+1
|
* Spelling fixes for sbin/uqs2012-01-073-5/+5
|
* Use NO_WARRAY_BOUNDS for sbin/routed/rtquery.dim2011-12-161-0/+1
| | | | MFC after: 1 week
* Fix use of AND operator: should be bitwise instead of logical.brucec2010-11-221-2/+2
|
* mdoc: drop even more redundant .Pp callsuqs2010-10-191-1/+0
| | | | | | No change in rendered output, less mandoc lint warnings. Tool provided by: Nobuyuki Koganemaru n-kogane at syd.odn.ne.jp
* routed(8)/rtquery(8) bump/demote to WARNS=3 for all archsuqs2010-02-273-11/+12
| | | | | | | | | - The MACHINE_ARCH check is not exhaustive (missing at least powerpc), and generally not worth maintaining. - While here, fix whitespace and ordering of the Makefile PR: bin/140081 Approved by: ed (co-mentor)
* (S)LIST_HEAD_INITIALIZER takes a (S)LIST_HEAD as an argument.antoine2009-12-281-1/+1
| | | | | | | | | Fix some wrong usages. Note: this does not affect generated binaries as this argument is not used. PR: 137213 Submitted by: Eygene Ryabinkin (initial version) MFC after: 1 month
* Switch the default WARNS level for sbin/ to 6.ru2009-10-191-3/+1
| | | | Submitted by: Ulrich Spörlein
* Only raise WARNS to 6 on i386 and amd64, strict alignment platforms stillphk2009-04-061-0/+4
| | | | | barf at some of the gratuitous pointer gymnastics, and I do not see a simple solution.
* Silence a printf warningphk2009-04-051-1/+1
|
* Add some consts, remove some unused stuff and other attempts to calmphk2009-04-059-31/+15
| | | | FlexeLint down.
* Fix casts which are not by definition safe, but which malloc(3)phk2009-04-051-6/+6
| | | | makes safe for us.
* Some constificationsphk2009-04-053-5/+7
|
* Modernize prototypes (ie: no extern)phk2009-04-0510-175/+157
| | | | Make lots of stuff static.
* Convert list of remote interfaces to LIST_* macrosphk2009-04-053-16/+8
|
* Kick WARNS level up to 6 by fixing various trivial warnings.phk2009-04-056-9/+10
|
* Use <sys/queue.h> to manage the interface list.phk2009-04-058-41/+35
|
* Remove newlines from string argument of __COPYRIGHT(), it results inphk2009-04-051-2/+2
| | | | assembler warning messages.
* Send multicast on p2p interfaces if they can and are not prohibitedphk2009-04-051-2/+9
| | | | | | | from doing so with no_rip_mcast in /etc/gateways. This allows routed(8) to work with the way ports/security/openvpn employs the tun(4) interface.
* This main goals of this project are:qingli2008-12-151-2/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 1. separating L2 tables (ARP, NDP) from the L3 routing tables 2. removing as much locking dependencies among these layers as possible to allow for some parallelism in the search operations 3. simplify the logic in the routing code, The most notable end result is the obsolescent of the route cloning (RTF_CLONING) concept, which translated into code reduction in both IPv4 ARP and IPv6 NDP related modules, and size reduction in struct rtentry{}. The change in design obsoletes the semantics of RTF_CLONING, RTF_WASCLONE and RTF_LLINFO routing flags. The userland applications such as "arp" and "ndp" have been modified to reflect those changes. The output from "netstat -r" shows only the routing entries. Quite a few developers have contributed to this project in the past: Glebius Smirnoff, Luigi Rizzo, Alessandro Cerri, and Andre Oppermann. And most recently: - Kip Macy revised the locking code completely, thus completing the last piece of the puzzle, Kip has also been conducting active functional testing - Sam Leffler has helped me improving/refactoring the code, and provided valuable reviews - Julian Elischer setup the perforce tree for me and has helped me maintaining that branch before the svn conversion
* Update routed to use the RFC 3678 protocol-independent multicast API. Usephk2008-07-305-118/+66
| | | | | | | | IP_MULTICAST_IF with struct ip_mreqn (obtained from Linux) to tell the stack which interface index to use for sending IPv4 datagrams. Submitted by: bms Tested by: phk
* Clarify which route property routed(8) looks at.phk2008-07-291-1/+1
|
* Sync up with rhyolite routed 2.31 which fixes the handling of varargs.trhodes2006-11-051-12/+15
| | | | | | | Remove -p from usage, it's gone completely now. PR: 83387 Submited by: arved
* o Remove rev. 1.14 debug printf(3) leftovers.maxim2005-12-201-6/+1
| | | | | | PR: bin/90389 Submitted by: Gavin Atkinson OK'ed by: phk
* Use socklen_t where appropriate.stefanf2005-08-051-2/+3
|
* Remove #ident directives, they don't exist on the vendor branch anymore.stefanf2005-05-319-9/+1
|
* Sort sections.ru2005-01-181-3/+3
|
* Don't declare everything we find on a loopback interface for passive:phk2004-08-141-3/+9
| | | | | | | | Only the actual loopback address should be declared passive, other addresses are very likely to be desirable to announce. Check for IFF_LOOPBACK instead of IFF_PASSIVE to determine if we have an unknown interface type.
* Removed commented out bitrot.ru2004-08-132-2/+0
|
* Mechanically kill hard sentence breaks.ru2004-07-021-6/+10
|
* Turn on RFC 1724 compliant behaviour with regards to IP_ADD_MEMBERSHIP;bms2004-06-161-1/+1
| | | | | | | | | routed should be able to specify multicast memberships to be added by interface index. This should fix the unnumbered / point-to-point case for RIPv2. PR: bin/51927 Requested by: Eugene Grosbein
* Ignore kernel routes with the RTF_WASCLONED flag set. This is a slightbms2004-06-151-4/+4
| | | | | | | | modification of a patch which was already applied for BSD/OS in the Rhyolite.com sources; this file is already off the vendor branch. PR: bin/57484 Submitted by: Richard Perini
* Assorted markup, grammar, and spelling fixes.ru2004-05-171-14/+18
|
* Replace ROUNDUP/ADVANCE with SA_SIZEluigi2004-04-131-16/+1
|
* Remove advertising clause from University of California Regent's license,markm2004-04-0914-56/+0
| | | | | | per letter dated July 22, 1999. Approved by: core, imp
* Sync HEAD sources to vendor branch import of routed v2.27 from rhyolite.com.bms2004-02-2514-162/+368
| | | | | | | | Update <protocols/routed.h> for the MD5 changes requested in bin/35843. Preserve local changes. Education by: obrien, markm, pointy-stick PR: bin/35843 (and doubtless others)
* style.Makefile(5):johan2004-02-232-2/+2
| | | | Use WARNS?= instead of WARNS=.
* Fixed style of DPADD and LDADD assignments as per style.Makefile(5).ru2004-02-052-4/+4
|
* Removed duplicate $FreeBSD$ tag.ru2004-01-291-1/+0
|
* Prefer PATH_MAX to MAXPATHLEN. Both contain the trailing NUL, soimp2003-08-072-3/+3
| | | | remove the unneeded +1.
* The .Xr utilitycharnier2003-06-081-2/+3
|
* mdoc(7) fixes: Mark "gated" with the .Nm macro.ru2003-05-191-6/+6
| | | | Approved by: re (blanket)
* Note that gated is a commercial routing product now, and removemurray2003-05-041-11/+12
| | | | | | | | | references to it's man page, which is almost never installed on a FreeBSD system. The information about using this command with gated has been retained. I have just made it clear that gated is not a part of FreeBSD. PR: docs/51407
* Use srandomdev() for FreeBSDache2003-02-111-0/+4
|
* Correct typos, mostly s/ a / an / where appropriate. Some whitespace cleanup,schweikh2003-01-012-2/+2
| | | | especially in troff files.
* Replace various spelling with FALLTHROUGH which is lint()ablecharnier2002-08-251-1/+1
|
* s/filesystem/file system/g as discussed on -developerstrhodes2002-08-211-1/+1
|
OpenPOWER on IntegriCloud