summaryrefslogtreecommitdiffstats
path: root/usr.sbin/route6d
Commit message (Collapse)AuthorAgeFilesLines
* MFC r270234:hrs2014-10-091-0/+2
| | | | | | Recover sin6_scope_id of gateway addresses in riprecv() by using the if_index where a RIP packet was received. This fixes a bug which prevented gateway addresses in fe80::/64 from being added.
* Merge r263203: garbage collect long time obsoleted (or never used) stuffglebius2014-04-091-21/+0
| | | | from routing API.
* Merge r263658 from head: remove unneeded fake _KERNEL definition.glebius2014-03-231-2/+0
| | | | Should fix broken builds.
* Minor mdoc fix.joel2012-11-181-1/+1
|
* - Increase the number of retry for NET_RT_DUMP from 5 to 15.hrs2012-11-182-9/+140
| | | | | | | | | | - Use 2001:db8:: as an example instead of deprecated 3ffe:: address block. - Add check for connected routes. - Add support of RTM_IFANNOUNCE for dyanmically-added/removed interfaces. - Add support of *, ?, and [ in the interface list. - Add -P number to specify route flag which will never expire. - Add -Q number to specify route flag which route6d will add to routes via RIP. - Add -p pidfile to specify the process ID file.
* Overhaul of route6d(8):hrs2012-11-181-445/+392
| | | | | | | | | - Use queue(3) for linked-list. - Use a consistent naming scheme for struct members. - Use ANSI C style function declaration. - Add check of RTM_VERSION mismatch. There is no functional change.
* Use sin6_scope_id instead of KAME-specific embedded scope id.hrs2012-11-181-27/+8
|
* Spelling fixes for usr.sbin/uqs2011-12-301-1/+1
|
* In usr.sbin/route6d/route6d.c, use the correct printf length modifierdim2011-12-181-1/+1
| | | | | | for an ssize_t. MFC after: 1 week
* The last big commit: let usr.sbin/ use WARNS=6 by default.ed2010-01-021-0/+2
|
* This main goals of this project are:qingli2008-12-151-8/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* Cleanup of userland __P usekevlo2007-11-071-57/+57
|
* implemented more validation checks about incoming responses per RFC2080, and ↵suz2006-11-161-4/+78
| | | | | | | one additional heuristic check for safer operation. Obtained from: KAME MFC after: 1 week
* These IPv6-only tools have no explicit dependency on the INET6 macro.yar2006-07-271-1/+1
| | | | Tested with: cmp(1)
* Fixed the misplaced $FreeBSD$.ru2005-02-091-1/+3
|
* - need_trigger/idx should be u_int, not ssize_t.ume2003-11-141-30/+34
| | | | | | | | | | | - realloc pedant. - set sin6_scope_id before sending (link-local/multicast) packets - removed an incorrect comment - don't age non-gateway host routes. - not remove global addresses on loopback interface from routing table by route aging. Obtained from: KAME
* - interface minimum MTU = 1280 in IPv6.ume2003-11-141-8/+3
| | | | | | - simplify. Obtained from: KAME
* our netstat is installed in /usr/bin.ume2003-11-141-1/+1
|
* fixe remote panic on short packetsuz2003-10-311-0/+5
| | | | Obtained from: KAME
* remove unused variablesam2003-10-031-2/+0
| | | | Supported by: FreeBSD Foundation
* rtm_seq is int, so seq/myseq should be int.ume2003-08-181-2/+2
| | | | | Obtained from: KAME MFC after: 1 week
* suppress outpt on dump request if -q is specified.ume2003-08-181-0/+3
| | | | | Obtained from: KAME MFC after: 1 week
* atoi -> strtoulume2003-08-181-2/+10
| | | | | Obtained from: KAME MFC after: 1 week
* - port numbers are unsigned. use %u.ume2003-08-181-2/+2
| | | | | | | - %d is not 10 chars, but 12 chars. Obtained from: KAME MFC after: 1 week
* explicitly specify IPPROTO_UDP when calling getaddrinfo().ume2003-08-181-0/+2
| | | | | Obtained from: KAME MFC after: 1 week
* remove a variable that is never used.ume2003-08-181-5/+2
| | | | | Obtained from: KAME MFC after: 1 week
* support poll(2).ume2003-08-182-5/+44
| | | | | Obtained from: KAME MFC after: 1 week
* - don't select with FD_SETSIZE.ume2003-08-181-14/+25
| | | | | | | - avoid fd_set overrun. Obtained from: KAME MFC after: 1 week
* - don't print strerror() if errno == 0 on fatal().ume2003-08-171-10/+26
| | | | | | | | - va_start/end audit. - can't use vfprintf() twice. need va_start/end pair every time. Obtained from: KAME MFC after: 1 week
* - do not SEGV on IFF_UP.ume2003-08-171-14/+21
| | | | | | | | | | - recover rrt_gw setting for non-p2p case. otherwise, we will not be able to recover interface route on interface down -> up transition. - clarify loop exit condition Obtained from: KAME MFC after: 1 week
* do not send dump request on -Nume2003-08-171-0/+2
| | | | | Obtained from: KAME MFC after: 1 week
* macro pedantume2003-08-171-2/+2
| | | | | Obtained from: KAME MFC after: 1 week
* minor cleanup; no need for extra variable hereume2003-08-171-4/+2
| | | | | Obtained from: KAME MFC after: 1 week
* use strchr(3).ume2003-08-171-3/+3
| | | | | Obtained from: KAME MFC after: 1 week
* daemon() has to be called prior to file descriptor setupsume2003-08-171-15/+8
| | | | | | | (otherwise file descriptors could be closed mistakenly) Obtained from: KAME MFC after: 1 week
* getifaddrs(3) is always used.ume2003-08-171-1/+1
| | | | MFC after: 1 week
* knf, typo, space.ume2003-08-172-21/+13
| | | | | Obtained from: KAME MFC after: 1 week
* set IPV6_V6ONLY.ume2003-08-171-7/+13
| | | | | Obtained from: KAME MFC after: 1 week
* - die if malloc fails.ume2003-08-171-2/+8
| | | | | | | - use strlcpy. Obtained from: KAME MFC after: 1 week
* use strncpyume2003-08-171-1/+1
| | | | | Obtained from: KAME MFC after: 1 week
* "sin" is a reserved C library function name. use sin6ume2003-08-171-73/+73
| | | | | Obtained from: KAME MFC after: 1 week
* We don't need __ss hack.ume2003-08-171-1/+1
| | | | MFC after: 1 week
* Add missing srand() (sranddev() for FreeBSD)ache2003-02-111-0/+5
|
* Correct typos, mostly s/ a / an / where appropriate. Some whitespace cleanup,schweikh2003-01-011-2/+2
| | | | especially in troff files.
* The .Nm utilitycharnier2002-07-141-4/+7
|
* mdoc(7) police:ru2001-08-071-7/+5
| | | | | | | Avoid using parenthesis enclosure macros (.Pq and .Po/.Pc) with plain text. Not only this slows down the mdoc(7) processing significantly, but it also has an undesired (in this case) effect of disabling hyphenation within the entire enclosed block.
* Perform a major cleanup of the usr.sbin Makefiles.obrien2001-07-201-3/+2
| | | | | These are not perfectly in agreement with each other style-wise, but they are orders of orders of magnitude more consistent style-wise than before.
* Sync with recent KAME.ume2001-06-113-358/+657
| | | | | | | | | | | | | | | | | | This work was based on kame-20010528-freebsd43-snap.tgz and some critical problem after the snap was out were fixed. There are many many changes since last KAME merge. TODO: - The definitions of SADB_* in sys/net/pfkeyv2.h are still different from RFC2407/IANA assignment because of binary compatibility issue. It should be fixed under 5-CURRENT. - ip6po_m member of struct ip6_pktopts is no longer used. But, it is still there because of binary compatibility issue. It should be removed under 5-CURRENT. Reviewed by: itojun Obtained from: KAME MFC after: 3 weeks
* - Backout botched attempt to introduce MANSECT feature.ru2001-03-261-0/+1
| | | | - MAN[1-9] -> MAN.
* Set the default manual section for usr.sbin/ to 8.ru2001-03-201-1/+0
|
OpenPOWER on IntegriCloud