#
9a4365d0 |
| 06-Jan-2000 |
Yoshinobu Inoue <shin@FreeBSD.org> |
libipsec and IPsec related apps. (and some KAME related man pages)
Reviewed by: freebsd-arch, cvs-committers Obtained from: KAME project
|
Revision tags: release/8.1.0_cvs, release/8.1.0, release/7.3.0_cvs, release/7.3.0, release/8.0.0_cvs, release/8.0.0 |
|
#
1ee774f6 |
| 02-Oct-2009 |
Oleksandr Tymoshenko <gonzo@FreeBSD.org> |
- MFC
|
#
a283298c |
| 13-Sep-2009 |
Hiroki Sato <hrs@FreeBSD.org> |
Improve flexibility of receiving Router Advertisement and automatic link-local address configuration:
- Convert a sysctl net.inet6.ip6.accept_rtadv to one for the default value of a per-IF flag ND
Improve flexibility of receiving Router Advertisement and automatic link-local address configuration:
- Convert a sysctl net.inet6.ip6.accept_rtadv to one for the default value of a per-IF flag ND6_IFF_ACCEPT_RTADV, not a global knob. The default value of the sysctl is 0.
- Add a new per-IF flag ND6_IFF_AUTO_LINKLOCAL and convert a sysctl net.inet6.ip6.auto_linklocal to one for its default value. The default value of the sysctl is 1.
- Make ND6_IFF_IFDISABLED more robust. It can be used to disable IPv6 functionality of an interface now.
- Receiving RA is allowed if ip6_forwarding==0 *and* ND6_IFF_ACCEPT_RTADV is set on that interface. The former condition will be revisited later to support a "host + router" box like IPv6 CPE router. The current behavior is compatible with the older releases of FreeBSD.
- The ifconfig(8) now supports these ND6 flags as well as "nud", "prefer_source", and "disabled" in ndp(8). The ndp(8) now supports "auto_linklocal".
Discussed with: bz and jinmei Reviewed by: bz MFC after: 3 days
show more ...
|
#
cbd59a4f |
| 08-Sep-2009 |
Oleksandr Tymoshenko <gonzo@FreeBSD.org> |
- MFC from head@196987
|
#
cb58c0ef |
| 05-Sep-2009 |
Bjoern A. Zeeb <bz@FreeBSD.org> |
In the NEXTADDR macro use SA_SIZE() rather than directly using sizeof(), as introduced in r186119, for advancing the current position into the buffer. See comment in net/route.h for a description of
In the NEXTADDR macro use SA_SIZE() rather than directly using sizeof(), as introduced in r186119, for advancing the current position into the buffer. See comment in net/route.h for a description of the difference. This makes ndp -s work again.
Reviewed by: qingli X-MFC after: now
show more ...
|
Revision tags: release/7.2.0_cvs, release/7.2.0, release/7.1.0_cvs, release/7.1.0 |
|
#
8eca593c |
| 26-Dec-2008 |
Qing Li <qingli@FreeBSD.org> |
This checkin addresses a couple of issues: 1. The "route" command allows route insertion through the interface-direct option "-iface". During if_attach(), an sockaddr_dl{} entry is created for
This checkin addresses a couple of issues: 1. The "route" command allows route insertion through the interface-direct option "-iface". During if_attach(), an sockaddr_dl{} entry is created for the interface and is part of the interface address list. This sockaddr_dl{} entry describes the interface in detail. The "route" command selects this entry as the "gateway" object when the "-iface" option is present. The "arp" and "ndp" commands also interact with the kernel through the routing socket when adding and removing static L2 entries. The static L2 information is also provided through the "gateway" object with an AF_LINK family type, similar to what is provided by the "route" command. In order to differentiate between these two types of operations, a RTF_LLDATA flag is introduced. This flag is set by the "arp" and "ndp" commands when issuing the add and delete commands. This flag is also set in each L2 entry returned by the kernel. The "arp" and "ndp" command follows a convention where a RTM_GET is issued first followed by a RTM_ADD/DELETE. This RTM_GET request fills in the fields for a "rtm" object, which is reinjected into the kernel by a subsequent RTM_ADD/DELETE command. The entry returend from RTM_GET is a prefix route, so the RTF_LLDATA flag must be specified when issuing the RTM_ADD/DELETE messages.
2. Enforce the convention that NET_RT_FLAGS with a 0 w_arg is the specification for retrieving L2 information. Also optimized the code logic.
Reviewed by: julian
show more ...
|
#
41fe50f5 |
| 20-Dec-2008 |
Sam Leffler <sam@FreeBSD.org> |
MFH @ 186335
|
#
6e6b3f7c |
| 15-Dec-2008 |
Qing Li <qingli@FreeBSD.org> |
This main goals of this project are: 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 paralle
This main goals of this project are: 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
show more ...
|
Revision tags: release/6.4.0_cvs, release/6.4.0, release/7.0.0_cvs, release/7.0.0, release/6.3.0_cvs, release/6.3.0 |
|
#
784bddbc |
| 07-Nov-2007 |
Kevin Lo <kevlo@FreeBSD.org> |
Cleanup of userland __P use
|
#
d0691403 |
| 06-Mar-2007 |
Kevin Lo <kevlo@FreeBSD.org> |
Use sizeof() for calculating the buffer size instead of hard-coded values.
|
#
ba5b74d0 |
| 20-Jan-2007 |
Maxim Konovalov <maxim@FreeBSD.org> |
o Remove duplicate includes.
Obtained from: Slava Semushin via NetBSD
|
Revision tags: release/6.2.0_cvs, release/6.2.0, release/5.5.0_cvs, release/5.5.0, release/6.1.0_cvs, release/6.1.0, release/6.0.0_cvs, release/6.0.0 |
|
#
5b27b045 |
| 19-Oct-2005 |
SUZUKI Shinsuke <suz@FreeBSD.org> |
supported an ndp command suboption to disable IPv6 in the given interface
Obtained from: KAME Reviewd by: ume, gnn MFC after: 2 week
|
#
057c4aff |
| 19-Oct-2005 |
SUZUKI Shinsuke <suz@FreeBSD.org> |
sync with KAME in the following point: - fixed a bug that "ndp ... proxy" command does not work
Obtained from: KAME Reviewd by: ume, gnn MFC after: 2 weeks
|
#
ec0176bb |
| 19-Oct-2005 |
SUZUKI Shinsuke <suz@FreeBSD.org> |
sync with KAME in the following points: - removed compilation warnings - suppress a redundant error message when a default-router-list is empty
Obtained from: KAME Reviewd by: ume, gnn MFC after: 2
sync with KAME in the following points: - removed compilation warnings - suppress a redundant error message when a default-router-list is empty
Obtained from: KAME Reviewd by: ume, gnn MFC after: 2 weeks
show more ...
|
#
b9204379 |
| 19-Oct-2005 |
SUZUKI Shinsuke <suz@FreeBSD.org> |
added an ioctl option in kernel so that ndp/rtadvd can change some NDP-related kernel variables based on their configurations (RFC2461 p.43 6.2.1 mandates this for IPv6 routers)
Obtained from: KAME
added an ioctl option in kernel so that ndp/rtadvd can change some NDP-related kernel variables based on their configurations (RFC2461 p.43 6.2.1 mandates this for IPv6 routers)
Obtained from: KAME Reviewd by: ume, gnn MFC after: 2 weeks
show more ...
|
Revision tags: release/5.4.0_cvs, release/5.4.0, release/4.11.0_cvs, release/4.11.0, release/5.3.0_cvs, release/5.3.0 |
|
#
486c8cc4 |
| 07-Aug-2004 |
Warner Losh <imp@FreeBSD.org> |
Per letter dated July 22, 1999 remove 3rd clause of Berkeley derived software (with permission of addtional copyright holders where appropriate)
|
Revision tags: release/4.10.0_cvs, release/4.10.0, release/5.2.1_cvs, release/5.2.1 |
|
#
3a53156b |
| 10-Feb-2004 |
Munechika SUMIKAWA <sumikawa@FreeBSD.org> |
Flush stdout when -A option is used.
Obtained from: KAME MFC after: 1 week
|
Revision tags: release/5.2.0_cvs, release/5.2.0 |
|
#
ce4bcde8 |
| 08-Jan-2004 |
SUZUKI Shinsuke <suz@FreeBSD.org> |
fixed improper routing-message flag
Obtained from: KAME
|
#
3174c1d4 |
| 13-Nov-2003 |
Hajimu UMEMOTO <ume@FreeBSD.org> |
- make command line argument parsing POSIX compliant. comment from deraadt NOTE: -I needs to take an arg (there's no way we can take no arg/an arg with a single option) - sscanf overrun - no var
- make command line argument parsing POSIX compliant. comment from deraadt NOTE: -I needs to take an arg (there's no way we can take no arg/an arg with a single option) - sscanf overrun - no variable name on prototype. - u_int32_t may not be u_long. - skipped non-host route when printing neighbor cache entries. - valid and preferred lifetimes are unsigned. - wording.
Obtained from: KAME
show more ...
|
Revision tags: release/4.9.0_cvs, release/4.9.0 |
|
#
2b5e0311 |
| 24-Oct-2003 |
Hajimu UMEMOTO <ume@FreeBSD.org> |
show maxmtu.
Obtained from: KAME
|
#
31423309 |
| 17-Oct-2003 |
Hajimu UMEMOTO <ume@FreeBSD.org> |
don't print ndp -i result if the interface is not initialized
Obtained from: KAME
|
#
a96bd784 |
| 17-Oct-2003 |
Hajimu UMEMOTO <ume@FreeBSD.org> |
- NI_WITHSCOPEID was deprecated - use strlcpy() and snprintf() - use err() - style
Obtained from: KAME
|
#
07cf047d |
| 05-Aug-2003 |
Hajimu UMEMOTO <ume@FreeBSD.org> |
introduced a flag bit "ND6_IFF_ACCEPT_RTADV" in the nd_ifinfo structure to control whether to accept RAs per-interface basis. the new stuff ensures the backward compatibility; - the kernel does not a
introduced a flag bit "ND6_IFF_ACCEPT_RTADV" in the nd_ifinfo structure to control whether to accept RAs per-interface basis. the new stuff ensures the backward compatibility; - the kernel does not accept RAs on any interfaces by default. - since the default value of the flag bit is on, the kernel accepts RAs on all interfaces when net.inet6.ip6.accept_rtadv is 1.
Obtained from: KAME MFC after: 1 week
show more ...
|
Revision tags: release/5.1.0_cvs, release/5.1.0, release/4.8.0_cvs, release/4.8.0, release/5.0.0_cvs, release/5.0.0, release/4.7.0_cvs, release/4.6.2_cvs, release/4.6.2 |
|
#
42f3352b |
| 25-Jul-2002 |
Juli Mallett <jmallett@FreeBSD.org> |
Change 'int pid' to 'pid_t pid'
Submitted by: Bruce "Allah" Dang <bruce@research.teamxor.org>
|
Revision tags: release/4.6.1, release/4.6.0_cvs, release/4.5.0_cvs, release/4.4.0_cvs |
|
#
220f01cd |
| 09-Aug-2001 |
Munechika SUMIKAWA <sumikawa@FreeBSD.org> |
Do not delete 'goto ours' routes when using -c option.
Obtained from: KAME
|