2000-01-06 12:40:54 +00:00
|
|
|
# Copyright (c) 1996 WIDE Project. All rights reserved.
|
|
|
|
#
|
|
|
|
# Redistribution and use in source and binary forms, with or without
|
|
|
|
# modifications, are permitted provided that the above copyright notice
|
|
|
|
# and this paragraph are duplicated in all such forms and that any
|
|
|
|
# documentation, advertising materials, and other materials related to
|
|
|
|
# such distribution and use acknowledge that the software was developed
|
|
|
|
# by the WIDE Project, Japan. The name of the Project may not be used to
|
|
|
|
# endorse or promote products derived from this software without
|
|
|
|
# specific prior written permission. THIS SOFTWARE IS PROVIDED ``AS IS''
|
|
|
|
# AND WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, WITHOUT
|
|
|
|
# LIMITATION, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
|
|
|
# A PARTICULAR PURPOSE.
|
2001-07-20 06:20:32 +00:00
|
|
|
#
|
2000-01-06 12:40:54 +00:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PROG= rtadvd
|
2001-07-20 06:20:32 +00:00
|
|
|
MAN= rtadvd.conf.5 rtadvd.8
|
- 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.
2011-07-14 10:09:58 +00:00
|
|
|
SRCS= rtadvd.c rrenum.c advcap.c if.c config.c timer.c timer_subr.c \
|
|
|
|
control.c control_server.c
|
2000-01-06 12:40:54 +00:00
|
|
|
|
2014-11-25 16:57:27 +00:00
|
|
|
LIBADD= util
|
2010-12-22 23:58:21 +00:00
|
|
|
|
2011-06-06 20:14:50 +00:00
|
|
|
WARNS?= 1
|
2010-01-02 11:07:44 +00:00
|
|
|
|
2000-01-06 12:40:54 +00:00
|
|
|
.include <bsd.prog.mk>
|