diff options
author | hrs <hrs@FreeBSD.org> | 2011-07-14 10:09:58 +0000 |
---|---|---|
committer | hrs <hrs@FreeBSD.org> | 2011-07-14 10:09:58 +0000 |
commit | cdcbea6ad239dd44f37a01b119599e17dac4a5a8 (patch) | |
tree | c97e2a5f6ba4790dc756b51374a4d00de9f4ecae /usr.sbin/rtadvd/rtadvd.8 | |
parent | 90aa2cef03ff2efa8e9af771632eb3d02d0df168 (diff) | |
download | FreeBSD-src-cdcbea6ad239dd44f37a01b119599e17dac4a5a8.zip FreeBSD-src-cdcbea6ad239dd44f37a01b119599e17dac4a5a8.tar.gz |
- Refactoring the interface list. It now supports dynamically
added/removed interfaces in a more consistent manner and reloading
the configuration file.
- Add initial support for control socket. RA information in the
daemon can be obtained by rtadvctl(8) instead of SIGUSR1 in a similar
manner to ifconfig(8). The information dump has been removed in favor of it.
(reload the configuration file)
# rtadvctl reload
(show RA messages being sent on each interfaces)
# rtadvctl show
em0: flags=<UP,CONFIGURED,PERSIST> status=<RA_SEND> mtu 1280
DefaultLifetime: 30m
MinAdvInterval/MaxAdvInterval: 3m20s/3m20s
AdvLinkMTU: <none>, Flags: O, Preference: medium
ReachableTime: 0s, RetransTimer: 0s, CurHopLimit: 64
AdvIfPrefixes: yes
(show RA messages being sent only on em0)
# rtadvctl show em0
(rtadvctl -v show provides additional information)
# rtadvctl -v show em0
em0: flags=<UP,CONFIGURED,PERSIST> status=<RA_SEND> mtu 1280
DefaultLifetime: 30m
MinAdvInterval/MaxAdvInterval: 3m20s/3m20s
AdvLinkMTU: <none>, Flags: O, Preference: medium
ReachableTime: 0s, RetransTimer: 0s, CurHopLimit: 64
AdvIfPrefixes: yes
Prefixes (1):
2001:db8:1::/64 (CONFIG, vltime=30d, pltime=7d, flags=LA)
RDNSS entries:
2001:db8:1::128 (ltime=2m40s)
(stop rtadvd)
# rtadvctl shutdown
A remaining issue when reloading the configuration file is that
during that period rtadvd cannot communicate with rtadvctl due to some
additional RA sending for graceful shutdown. This will be fixed later.
Diffstat (limited to 'usr.sbin/rtadvd/rtadvd.8')
-rw-r--r-- | usr.sbin/rtadvd/rtadvd.8 | 22 |
1 files changed, 1 insertions, 21 deletions
diff --git a/usr.sbin/rtadvd/rtadvd.8 b/usr.sbin/rtadvd/rtadvd.8 index b41f7c06..b2e6670 100644 --- a/usr.sbin/rtadvd/rtadvd.8 +++ b/usr.sbin/rtadvd/rtadvd.8 @@ -29,7 +29,7 @@ .\" .\" $FreeBSD$ .\" -.Dd December 22, 2010 +.Dd July 14, 2011 .Dt RTADVD 8 .Os .Sh NAME @@ -39,7 +39,6 @@ .Nm .Op Fl dDfRs .Op Fl c Ar configfile -.Op Fl F Ar dumpfile .Op Fl M Ar ifname .Op Fl p Ar pidfile .Ar interface ... @@ -129,13 +128,6 @@ Even more debugging information is printed. .It Fl f Foreground mode (useful when debugging). Log messages will be dumped to stderr when this option is specified. -.It Fl F -Specify an alternative file in which to dump internal states when -.Nm -receives signal -.Dv SIGUSR1 . -The default is -.Pa /var/run/rtadvd.dump . .It Fl M Specify an interface to join the all-routers site-local multicast group. By default, @@ -160,14 +152,6 @@ Do not add or delete prefixes dynamically. Only statically configured prefixes, if any, will be advertised. .El .Pp -Upon receipt of signal -.Dv SIGUSR1 , -.Nm -will dump the current internal state into -.Pa /var/run/rtadvd.dump -or the file specified with option -.Fl F . -.Pp Use .Dv SIGHUP to reload the configuration file @@ -196,10 +180,6 @@ to all the interfaces The default configuration file. .It Pa /var/run/rtadvd.pid The default process ID file. -.It Pa /var/run/rtadvd.dump -The default file in which -.Nm -dumps its internal state. .El .Sh EXIT STATUS .Ex -std |