The NetBSD Project

CVS log for src/usr.sbin/rtadvd/config.c

[BACK] Up to [cvs.NetBSD.org] / src / usr.sbin / rtadvd

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.47 / (download) - annotate - [select for diffs], Sat Nov 27 22:30:26 2021 UTC (2 years, 4 months ago) by rillig
Branch: MAIN
CVS Tags: netbsd-10-base, netbsd-10-0-RELEASE, netbsd-10-0-RC6, netbsd-10-0-RC5, netbsd-10-0-RC4, netbsd-10-0-RC3, netbsd-10-0-RC2, netbsd-10-0-RC1, netbsd-10, HEAD
Changes since 1.46: +4 -4 lines
Diff to previous 1.46 (colored)

usr.sbin: remove unnecessary CONSTCOND, lint no longer needs it

Since 2021-01-31, lint no longer requires a CONSTCOND comment in a
do-while-0 statement since this is a common code pattern, especially in
statement-like macros.

sed -i -E 's,} while \(/\* ?CONSTCOND ?\*/ ?0\),} while (0),' */*.[ch]

Revision 1.46 / (download) - annotate - [select for diffs], Tue Mar 23 18:16:53 2021 UTC (3 years ago) by christos
Branch: MAIN
CVS Tags: cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x
Changes since 1.45: +75 -76 lines
Diff to previous 1.45 (colored)

print function names as %s: not <%s> everywhere for consistency.

Revision 1.45 / (download) - annotate - [select for diffs], Mon Mar 22 18:41:11 2021 UTC (3 years ago) by christos
Branch: MAIN
Changes since 1.44: +3 -2 lines
Diff to previous 1.44 (colored)

- remove extra \n from stderr logging
- add string message types
- sprinkle const

Revision 1.40.2.2 / (download) - annotate - [select for diffs], Tue Apr 21 18:42:48 2020 UTC (3 years, 11 months ago) by martin
Branch: phil-wifi
Changes since 1.40.2.1: +31 -102 lines
Diff to previous 1.40.2.1 (colored) to branchpoint 1.40 (colored) next main 1.41 (colored)

Sync with HEAD

Revision 1.44 / (download) - annotate - [select for diffs], Tue Apr 21 12:16:47 2020 UTC (3 years, 11 months ago) by roy
Branch: MAIN
CVS Tags: phil-wifi-20200421
Changes since 1.43: +32 -103 lines
Diff to previous 1.43 (colored)

rtadvd: Remove disabled use of SIOCGIFPREFIX_IN6

It's not been enabled since the functionality was added to ifconfig(8)
many many years ago.

Revision 1.40.2.1 / (download) - annotate - [select for diffs], Mon Apr 13 08:05:58 2020 UTC (4 years ago) by martin
Branch: phil-wifi
Changes since 1.40: +8 -35 lines
Diff to previous 1.40 (colored)

Mostly merge changes from HEAD upto 20200411

Revision 1.41.2.1 / (download) - annotate - [select for diffs], Mon Nov 11 19:49:11 2019 UTC (4 years, 5 months ago) by martin
Branch: netbsd-9
CVS Tags: netbsd-9-3-RELEASE, netbsd-9-2-RELEASE, netbsd-9-1-RELEASE, netbsd-9-0-RELEASE, netbsd-9-0-RC2, netbsd-9-0-RC1
Changes since 1.41: +6 -29 lines
Diff to previous 1.41 (colored) next main 1.42 (colored)

Pull up following revision(s) (requested by roy in ticket #417):

	usr.sbin/rtadvd/rtadvd.c: revision 1.70
	usr.sbin/rtadvd/rtadvd.c: revision 1.71
	usr.sbin/rtadvd/rtadvd.h: revision 1.20
	usr.sbin/rtadvd/config.c: revision 1.42
	usr.sbin/rtadvd/config.c: revision 1.43
	usr.sbin/rtadvd/rtadvd.8: revision 1.27

rtadvd: Fix reloading configuration killing interface timers

rtadvd: remove support for SIOCSIFINFO_IN6
It's been broken since we enabled dropping privs.
It's also probably the wrong place to do this, and support for
SIOCSIFINFO_IN6 will be in the next dhcpcd import.

rtadvd: Add C flag to control the zeroing of the leaving configuration
This is only intended to assist the testing of clients which consume
Router Advertisement messages, such as dhcpcd(8).

Revision 1.43 / (download) - annotate - [select for diffs], Mon Nov 11 13:42:49 2019 UTC (4 years, 5 months ago) by roy
Branch: MAIN
CVS Tags: phil-wifi-20200411, phil-wifi-20200406, phil-wifi-20191119, is-mlppp-base, is-mlppp
Changes since 1.42: +6 -1 lines
Diff to previous 1.42 (colored)

rtadvd: Add C flag to control the zeroing of the leaving configuration

This is only intended to assist the testing of clients which consume
Router Advertisement messages, such as dhcpcd(8).

Revision 1.42 / (download) - annotate - [select for diffs], Sun Nov 10 21:32:38 2019 UTC (4 years, 5 months ago) by roy
Branch: MAIN
Changes since 1.41: +1 -29 lines
Diff to previous 1.41 (colored)

rtadvd: remove support for SIOCSIFINFO_IN6

It's been broken since we enabled dropping privs.
It's also probably the wrong place to do this, and support for
SIOCSIFINFO_IN6 will be in the next dhcpcd import.

Revision 1.41 / (download) - annotate - [select for diffs], Fri Jun 14 09:06:45 2019 UTC (4 years, 10 months ago) by roy
Branch: MAIN
CVS Tags: netbsd-9-base
Branch point for: netbsd-9
Changes since 1.40: +3 -7 lines
Diff to previous 1.40 (colored)

rtadvd: fix rdnss and dnssl lifetime assignment

Treat it the same as a prefix valid time as per the RFC.
This allows to set a zero value to remove the assignment from the node.

Revision 1.37.2.1 / (download) - annotate - [select for diffs], Sun Apr 22 07:20:30 2018 UTC (5 years, 11 months ago) by pgoyette
Branch: pgoyette-compat
CVS Tags: pgoyette-compat-merge-20190127
Changes since 1.37: +21 -12 lines
Diff to previous 1.37 (colored) next main 1.38 (colored)

Sync with HEAD

Revision 1.40 / (download) - annotate - [select for diffs], Fri Apr 20 15:57:23 2018 UTC (6 years ago) by roy
Branch: MAIN
CVS Tags: phil-wifi-base, phil-wifi-20190609, pgoyette-compat-20190127, pgoyette-compat-20190118, pgoyette-compat-1226, pgoyette-compat-1126, pgoyette-compat-1020, pgoyette-compat-0930, pgoyette-compat-0906, pgoyette-compat-0728, pgoyette-compat-0625, pgoyette-compat-0521, pgoyette-compat-0502, pgoyette-compat-0422
Branch point for: phil-wifi
Changes since 1.39: +4 -2 lines
Diff to previous 1.39 (colored)

Unicast solicited RA's as per RFC 7772.

This is done by having a secondary timer against rainfo so we
can delay unicasting by the required randomised amount of time
without affecting the unsolicited RA timer.

Revision 1.39 / (download) - annotate - [select for diffs], Fri Apr 20 15:29:19 2018 UTC (6 years ago) by roy
Branch: MAIN
Changes since 1.38: +8 -1 lines
Diff to previous 1.38 (colored)

Ensure that the soliciter list is initialised and freed correctly, even if it's not used yet.

Revision 1.38 / (download) - annotate - [select for diffs], Fri Apr 20 10:39:37 2018 UTC (6 years ago) by roy
Branch: MAIN
Changes since 1.37: +11 -11 lines
Diff to previous 1.37 (colored)

White space police.

Revision 1.36.4.1 / (download) - annotate - [select for diffs], Tue Nov 21 10:54:18 2017 UTC (6 years, 4 months ago) by martin
Branch: netbsd-8
CVS Tags: netbsd-8-2-RELEASE, netbsd-8-1-RELEASE, netbsd-8-1-RC1, netbsd-8-0-RELEASE, netbsd-8-0-RC2, netbsd-8-0-RC1
Changes since 1.36: +61 -60 lines
Diff to previous 1.36 (colored) next main 1.37 (colored)

Pull up following revision(s) (requested by ozaki-r in ticket #358):
	usr.sbin/rtadvd/rtadvd.c: revision 1.54-1.58
	usr.sbin/rtadvd/config.c: revision 1.37
	usr.sbin/rtadvd/if.c: revision 1.25
	usr.sbin/rtadvd/dump.c: revision 1.15
	usr.sbin/rtadvd/rrenum.c: revision 1.20
	usr.sbin/rtadvd/logit.h: revision 1.1
	usr.sbin/rtadvd/rtadvd.8: revision 1.26
	tests/net/ndp/t_ra.sh: revision 1.30
	usr.sbin/rtadvd/timer.c: revision 1.14
	tests/net/ndp/t_ra.sh: revision 1.31
	usr.sbin/rtadvd/advcap.c: revision 1.17

KNF, fix time printing formats.

Don't start another copy of rtadvd if one is running.

PR/52618: Shinichi Doyashiki: Don't exit if adding interface to multicast
group fails. This happens with empty vlan interfaces
- make syscalls checks against -1
- fix errors to print %s: instead of <%s>
XXX: if_vlan is the only pseudo interface in net/ that returns such an
error..

Kill rtadvd surely even if the tests fail in the middle
It may help PR bin/52701.

Change the meaning of the D flag to print errors to stderr instead of
syslog(3) and exit if poll(2) fails (intended to be used with unit-tests).

Mark expandm as preserving format strings.

Let rtadvd not use syslog for logging
Thanks to christos@ now rtadvd can log via stderr instead of syslog
by -D option.
Address PR bin/52701

Revision 1.37 / (download) - annotate - [select for diffs], Mon Nov 6 15:15:04 2017 UTC (6 years, 5 months ago) by christos
Branch: MAIN
CVS Tags: pgoyette-compat-base, pgoyette-compat-0415, pgoyette-compat-0407, pgoyette-compat-0330, pgoyette-compat-0322, pgoyette-compat-0315
Branch point for: pgoyette-compat
Changes since 1.36: +61 -60 lines
Diff to previous 1.36 (colored)

Change the meaning of the 'D' flag to print errors to stderr instead of
syslog(3) and exit if poll(2) fails (intended to be used with unit-tests).

Revision 1.27.2.1.4.1 / (download) - annotate - [select for diffs], Fri Jul 14 06:28:01 2017 UTC (6 years, 9 months ago) by snj
Branch: netbsd-6-0
Changes since 1.27.2.1: +2 -2 lines
Diff to previous 1.27.2.1 (colored) next main 1.27.2.2 (colored)

Pull up following revision(s) (requested by ozaki-r in ticket #1440):
	usr.sbin/rtadvd/rtadvd.h: revision 1.15
	usr.sbin/rtadvd/config.c: revision 1.36
Fix the default value of rltime
According to rtadvd.conf(5), the default value of rltime is 1800 seconds.
PR bin/51994

Revision 1.27.2.1.6.1 / (download) - annotate - [select for diffs], Fri Jul 14 06:24:16 2017 UTC (6 years, 9 months ago) by snj
Branch: netbsd-6-1
Changes since 1.27.2.1: +2 -2 lines
Diff to previous 1.27.2.1 (colored) next main 1.27.2.2 (colored)

Pull up following revision(s) (requested by ozaki-r in ticket #1440):
	usr.sbin/rtadvd/rtadvd.h: revision 1.15
	usr.sbin/rtadvd/config.c: revision 1.36
Fix the default value of rltime
According to rtadvd.conf(5), the default value of rltime is 1800 seconds.
PR bin/51994

Revision 1.27.2.2 / (download) - annotate - [select for diffs], Fri Jul 14 06:19:58 2017 UTC (6 years, 9 months ago) by snj
Branch: netbsd-6
Changes since 1.27.2.1: +2 -2 lines
Diff to previous 1.27.2.1 (colored) to branchpoint 1.27 (colored) next main 1.28 (colored)

Pull up following revision(s) (requested by ozaki-r in ticket #1440):
	usr.sbin/rtadvd/rtadvd.h: revision 1.15
	usr.sbin/rtadvd/config.c: revision 1.36
Fix the default value of rltime
According to rtadvd.conf(5), the default value of rltime is 1800 seconds.
PR bin/51994

Revision 1.33.10.1 / (download) - annotate - [select for diffs], Fri May 12 05:09:47 2017 UTC (6 years, 11 months ago) by snj
Branch: netbsd-7-0
Changes since 1.33: +2 -2 lines
Diff to previous 1.33 (colored) next main 1.34 (colored)

Pull up following revision(s) (requested by ozaki-r in ticket #1373):
	usr.sbin/rtadvd/config.c: revision 1.36
	usr.sbin/rtadvd/rtadvd.h: revision 1.15
Fix the default value of rltime
According to rtadvd.conf(5), the default value of rltime is 1800 seconds.
PR bin/51994

Revision 1.33.14.1 / (download) - annotate - [select for diffs], Fri May 12 05:08:00 2017 UTC (6 years, 11 months ago) by snj
Branch: netbsd-7-1
CVS Tags: netbsd-7-1-2-RELEASE, netbsd-7-1-1-RELEASE
Changes since 1.33: +2 -2 lines
Diff to previous 1.33 (colored) next main 1.34 (colored)

Pull up following revision(s) (requested by ozaki-r in ticket #1373):
	usr.sbin/rtadvd/config.c: revision 1.36
	usr.sbin/rtadvd/rtadvd.h: revision 1.15
Fix the default value of rltime
According to rtadvd.conf(5), the default value of rltime is 1800 seconds.
PR bin/51994

Revision 1.33.8.1 / (download) - annotate - [select for diffs], Fri May 12 05:05:17 2017 UTC (6 years, 11 months ago) by snj
Branch: netbsd-7
CVS Tags: netbsd-7-2-RELEASE
Changes since 1.33: +2 -2 lines
Diff to previous 1.33 (colored) next main 1.34 (colored)

Pull up following revision(s) (requested by ozaki-r in ticket #1373):
	usr.sbin/rtadvd/config.c: revision 1.36
	usr.sbin/rtadvd/rtadvd.h: revision 1.15
Fix the default value of rltime
According to rtadvd.conf(5), the default value of rltime is 1800 seconds.
PR bin/51994

Revision 1.35.4.1 / (download) - annotate - [select for diffs], Fri Apr 21 16:54:18 2017 UTC (6 years, 11 months ago) by bouyer
Branch: bouyer-socketcan
Changes since 1.35: +2 -2 lines
Diff to previous 1.35 (colored) next main 1.36 (colored)

Sync with HEAD

Revision 1.35.2.1 / (download) - annotate - [select for diffs], Mon Mar 20 06:58:09 2017 UTC (7 years, 1 month ago) by pgoyette
Branch: pgoyette-localcount
Changes since 1.35: +2 -2 lines
Diff to previous 1.35 (colored) next main 1.36 (colored)

Sync with HEAD

Revision 1.36 / (download) - annotate - [select for diffs], Mon Feb 27 05:41:36 2017 UTC (7 years, 1 month ago) by ozaki-r
Branch: MAIN
CVS Tags: prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, prg-localcount2, pgoyette-localcount-20170426, pgoyette-localcount-20170320, perseant-stdc-iso10646-base, perseant-stdc-iso10646, netbsd-8-base, matt-nb8-mediatek-base, matt-nb8-mediatek, bouyer-socketcan-base1
Branch point for: netbsd-8
Changes since 1.35: +2 -2 lines
Diff to previous 1.35 (colored)

Fix the default value of rltime

According to rtadvd.conf(5), the default value of rltime is 1800 seconds.

PR bin/51994

Revision 1.35 / (download) - annotate - [select for diffs], Wed Nov 11 07:48:41 2015 UTC (8 years, 5 months ago) by ozaki-r
Branch: MAIN
CVS Tags: pgoyette-localcount-base, pgoyette-localcount-20170107, pgoyette-localcount-20161104, pgoyette-localcount-20160806, pgoyette-localcount-20160726, localcount-20160914, bouyer-socketcan-base
Branch point for: pgoyette-localcount, bouyer-socketcan
Changes since 1.34: +14 -13 lines
Diff to previous 1.34 (colored)

Introduce rump.rtadvd

It is used to write ATF tests for RA.

From s-yamaguchi@IIJ.

Revision 1.34 / (download) - annotate - [select for diffs], Fri Jun 5 14:09:20 2015 UTC (8 years, 10 months ago) by roy
Branch: MAIN
Changes since 1.33: +9 -9 lines
Diff to previous 1.33 (colored)

Use clock_gettime(2) instead of gettimeofday(2) so we can use a monotonic
clock rather than the wall clock.
Use timespec rather than timeval structs to make this transition easier.
Kill custom timeval comparison functions in favor of timespeccmp(3).

Revision 1.25.42.5 / (download) - annotate - [select for diffs], Thu May 22 11:43:10 2014 UTC (9 years, 10 months ago) by yamt
Branch: yamt-pagecache
Changes since 1.25.42.4: +2 -3 lines
Diff to previous 1.25.42.4 (colored) to branchpoint 1.25 (colored) next main 1.26 (colored)

sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs.  ("Protocol error: too many arguments")

Revision 1.28.2.1 / (download) - annotate - [select for diffs], Mon Feb 25 00:30:48 2013 UTC (11 years, 1 month ago) by tls
Branch: tls-maxphys
Changes since 1.28: +167 -58 lines
Diff to previous 1.28 (colored) next main 1.29 (colored)

resync with head

Revision 1.33 / (download) - annotate - [select for diffs], Thu Jan 24 19:55:28 2013 UTC (11 years, 2 months ago) by christos
Branch: MAIN
CVS Tags: yamt-pagecache-base9, tls-maxphys-base, tls-earlyentropy-base, tls-earlyentropy, riastradh-xf86-video-intel-2-7-1-pre-2-21-15, riastradh-drm2-base3, riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2, netbsd-7-nhusb-base-20170116, netbsd-7-nhusb-base, netbsd-7-nhusb, netbsd-7-base, netbsd-7-1-RELEASE, netbsd-7-1-RC2, netbsd-7-1-RC1, netbsd-7-0-RELEASE, netbsd-7-0-RC3, netbsd-7-0-RC2, netbsd-7-0-RC1, netbsd-7-0-2-RELEASE, netbsd-7-0-1-RELEASE, agc-symver-base, agc-symver
Branch point for: netbsd-7-1, netbsd-7-0, netbsd-7
Changes since 1.32: +2 -3 lines
Diff to previous 1.32 (colored)

fix previous.

Revision 1.32 / (download) - annotate - [select for diffs], Thu Jan 24 17:44:59 2013 UTC (11 years, 2 months ago) by christos
Branch: MAIN
Changes since 1.31: +2 -2 lines
Diff to previous 1.31 (colored)

make it static const

Revision 1.25.42.4 / (download) - annotate - [select for diffs], Wed Jan 23 00:06:45 2013 UTC (11 years, 2 months ago) by yamt
Branch: yamt-pagecache
CVS Tags: yamt-pagecache-tag8
Changes since 1.25.42.3: +2 -3 lines
Diff to previous 1.25.42.3 (colored) to branchpoint 1.25 (colored)

sync with head

Revision 1.25.42.3 / (download) - annotate - [select for diffs], Wed Jan 16 05:34:11 2013 UTC (11 years, 3 months ago) by yamt
Branch: yamt-pagecache
Changes since 1.25.42.2: +167 -56 lines
Diff to previous 1.25.42.2 (colored) to branchpoint 1.25 (colored)

sync with (a bit old) head

Revision 1.31 / (download) - annotate - [select for diffs], Fri Dec 14 09:48:31 2012 UTC (11 years, 4 months ago) by roy
Branch: MAIN
CVS Tags: yamt-pagecache-base8
Changes since 1.30: +1 -2 lines
Diff to previous 1.30 (colored)

Intsead of forcing out each RA at shutdown and sleeping we now use
the existing timer model and wait for each RA to expire itself after
sending the required number of transmissions.

This allows for a faster and saner shutdown.

Revision 1.30 / (download) - annotate - [select for diffs], Thu Dec 13 15:36:36 2012 UTC (11 years, 4 months ago) by roy
Branch: MAIN
CVS Tags: yamt-pagecache-base7
Changes since 1.29: +166 -55 lines
Diff to previous 1.29 (colored)

Remove the iflist array and store ifflags in rainfo.

Add support for SIGHUP to re-read the configuration for each interface.
If an invalid configuration is found, we continue to use the old one;
otherwise we expire the current one and then start advertising the new one.

Specififed interfaces don't have to exist at startup.
If specified interfaces arrive, load their config and start advertising.
If they depart, remove their rainfo structure and continue.

Fixes PR/43881 and PR/47311

Revision 1.29 / (download) - annotate - [select for diffs], Tue Dec 11 16:37:23 2012 UTC (11 years, 4 months ago) by roy
Branch: MAIN
Changes since 1.28: +2 -2 lines
Diff to previous 1.28 (colored)

Add support for the noifprefix keyword which stops rtadvd(8) gathing prefix
information from the interface if no addrs are present in rtadvd.conf(5).

Revision 1.25.42.2 / (download) - annotate - [select for diffs], Tue Oct 30 19:00:52 2012 UTC (11 years, 5 months ago) by yamt
Branch: yamt-pagecache
Changes since 1.25.42.1: +3 -2 lines
Diff to previous 1.25.42.1 (colored) to branchpoint 1.25 (colored)

sync with head

Revision 1.27.2.1 / (download) - annotate - [select for diffs], Wed Aug 8 15:37:49 2012 UTC (11 years, 8 months ago) by martin
Branch: netbsd-6
CVS Tags: netbsd-6-1-RELEASE, netbsd-6-1-RC4, netbsd-6-1-RC3, netbsd-6-1-RC2, netbsd-6-1-RC1, netbsd-6-1-5-RELEASE, netbsd-6-1-4-RELEASE, netbsd-6-1-3-RELEASE, netbsd-6-1-2-RELEASE, netbsd-6-1-1-RELEASE, netbsd-6-0-RELEASE, netbsd-6-0-RC2, netbsd-6-0-RC1, netbsd-6-0-6-RELEASE, netbsd-6-0-5-RELEASE, netbsd-6-0-4-RELEASE, netbsd-6-0-3-RELEASE, netbsd-6-0-2-RELEASE, netbsd-6-0-1-RELEASE, matt-nb6-plus-nbase, matt-nb6-plus-base, matt-nb6-plus
Branch point for: netbsd-6-1, netbsd-6-0
Changes since 1.27: +3 -2 lines
Diff to previous 1.27 (colored)

Pull up following revision(s) (requested by msaitoh in ticket #465):
	usr.sbin/rtadvd/config.c: revision 1.28
Fix a bug that incorrect RA packet is sent if rtadvd.conf exists.
Fixes PR#46580 reported by Takahiro HAYASHI.

Revision 1.28 / (download) - annotate - [select for diffs], Wed Aug 8 04:05:26 2012 UTC (11 years, 8 months ago) by msaitoh
Branch: MAIN
CVS Tags: yamt-pagecache-base6
Branch point for: tls-maxphys
Changes since 1.27: +3 -2 lines
Diff to previous 1.27 (colored)

Fix a bug that incorrect RA packet is sent if rtadvd.conf exists.
Fixes PR#46580 reported by Takahiro HAYASHI.

Revision 1.25.42.1 / (download) - annotate - [select for diffs], Tue Apr 17 00:09:53 2012 UTC (12 years ago) by yamt
Branch: yamt-pagecache
Changes since 1.25: +265 -134 lines
Diff to previous 1.25 (colored)

sync with head

Revision 1.27 / (download) - annotate - [select for diffs], Sun Dec 11 20:44:44 2011 UTC (12 years, 4 months ago) by christos
Branch: MAIN
CVS Tags: yamt-pagecache-base5, yamt-pagecache-base4, netbsd-6-base
Branch point for: netbsd-6
Changes since 1.26: +46 -42 lines
Diff to previous 1.26 (colored)

- sprinkle const
- malloc + memset -> calloc
- free + malloc -> realloc
- syslog("%s", strerror(errno)) -> syslog("%m")

Revision 1.26 / (download) - annotate - [select for diffs], Sat Dec 10 19:14:29 2011 UTC (12 years, 4 months ago) by roy
Branch: MAIN
Changes since 1.25: +225 -98 lines
Diff to previous 1.25 (colored)

Add RDNSS and DNSSL support, RFC6106.
Replace custom lists with TAILQ lists.
Clean up plently of signed vs unsigned warnings and set WARNS=4.

Adapted from FreeBSD.

Revision 1.25.16.1 / (download) - annotate - [select for diffs], Fri Feb 22 02:53:34 2008 UTC (16 years, 1 month ago) by keiichi
Branch: keiichi-mipv6
Changes since 1.25: +71 -8 lines
Diff to previous 1.25 (colored) next main 1.26 (colored)

imported Mobile IPv6 code developed by the SHISA project
(http://www.mobileip.jp/).

Revision 1.25 / (download) - annotate - [select for diffs], Thu May 11 08:35:47 2006 UTC (17 years, 11 months ago) by mrg
Branch: MAIN
CVS Tags: yamt-pf42-baseX, yamt-pf42-base4, yamt-pf42-base3, yamt-pf42-base2, yamt-pf42-base, yamt-pf42, yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, wrstuden-revivesa-base-3, wrstuden-revivesa-base-2, wrstuden-revivesa-base-1, wrstuden-revivesa-base, wrstuden-revivesa, wrstuden-fixsa-newbase, wrstuden-fixsa-base-1, wrstuden-fixsa-base, wrstuden-fixsa, netbsd-5-base, netbsd-5-2-RELEASE, netbsd-5-2-RC1, netbsd-5-2-3-RELEASE, netbsd-5-2-2-RELEASE, netbsd-5-2-1-RELEASE, netbsd-5-2, netbsd-5-1-RELEASE, netbsd-5-1-RC4, netbsd-5-1-RC3, netbsd-5-1-RC2, netbsd-5-1-RC1, netbsd-5-1-5-RELEASE, netbsd-5-1-4-RELEASE, netbsd-5-1-3-RELEASE, netbsd-5-1-2-RELEASE, netbsd-5-1-1-RELEASE, netbsd-5-1, netbsd-5-0-RELEASE, netbsd-5-0-RC4, netbsd-5-0-RC3, netbsd-5-0-RC2, netbsd-5-0-RC1, netbsd-5-0-2-RELEASE, netbsd-5-0-1-RELEASE, netbsd-5-0, netbsd-5, netbsd-4-base, netbsd-4-0-RELEASE, netbsd-4-0-RC5, netbsd-4-0-RC4, netbsd-4-0-RC3, netbsd-4-0-RC2, netbsd-4-0-RC1, netbsd-4-0-1-RELEASE, netbsd-4-0, netbsd-4, mjf-devfs2-base, mjf-devfs2, matt-premerge-20091211, matt-nb5-pq3-base, matt-nb5-pq3, matt-nb5-mips64-u2-k2-k4-k7-k8-k9, matt-nb5-mips64-u1-k1-k5, matt-nb5-mips64-premerge-20101231, matt-nb5-mips64-premerge-20091211, matt-nb5-mips64-k15, matt-nb5-mips64, matt-nb4-mips64-k7-u2a-k9b, matt-mips64-premerge-20101231, matt-mips64-base2, matt-mips64-base, matt-mips64, matt-armv6-prevmlocking, matt-armv6-nbase, matt-armv6-base, matt-armv6, keiichi-mipv6-nbase, keiichi-mipv6-base, jym-xensuspend-nbase, jym-xensuspend-base, jym-xensuspend, hpcarm-cleanup-nbase, hpcarm-cleanup-base, hpcarm-cleanup, cube-autoconf-base, cube-autoconf, cherry-xenmp-base, cherry-xenmp, bouyer-quota2-nbase, bouyer-quota2-base, bouyer-quota2, abandoned-netbsd-4-base, abandoned-netbsd-4
Branch point for: yamt-pagecache, keiichi-mipv6
Changes since 1.24: +8 -8 lines
Diff to previous 1.24 (colored)

u_char -> char for several things:
- inet_ntop()
- if_indextoname()
- variable assignment matching
char -> u_char in one place for variable assignment matching

Revision 1.24 / (download) - annotate - [select for diffs], Wed May 10 22:30:33 2006 UTC (17 years, 11 months ago) by rpaulo
Branch: MAIN
Changes since 1.23: +2 -2 lines
Diff to previous 1.23 (colored)

PR 33462: default maxinterval was not being initialized properly.
From Matthias Scheller.

From KAME sources.

Revision 1.23 / (download) - annotate - [select for diffs], Wed Mar 22 09:22:28 2006 UTC (18 years, 1 month ago) by itojun
Branch: MAIN
Changes since 1.22: +2 -2 lines
Diff to previous 1.22 (colored)

avoid heap overrun.  thanks goes to Susan Lan of zyxel.

Revision 1.22 / (download) - annotate - [select for diffs], Sun Mar 5 23:47:08 2006 UTC (18 years, 1 month ago) by rpaulo
Branch: MAIN
Changes since 1.21: +333 -36 lines
Diff to previous 1.21 (colored)

NDP-related improvements:
        RFC4191
	- supports host-side router-preference

	RFC3542
	- if DAD fails on a interface, disables IPv6 operation on the
          interface
	- don't advertise MLD report before DAD finishes

	Others
	- fixes integer overflow for valid and preferred lifetimes
	- improves timer granularity for MLD, using callout-timer.
	- reflects rtadvd's IPv6 host variable information into kernel
	  (router only)
	- adds a sysctl option to enable/disable pMTUd for multicast
          packets
	- performs NUD on PPP/GRE interface by default
	- Redirect works regardless of ip6_accept_rtadv
	- removes RFC1885-related code

From the KAME project via SUZUKI Shinsuke.
Reviewed by core.

Revision 1.21 / (download) - annotate - [select for diffs], Tue Jun 17 08:08:48 2003 UTC (20 years, 10 months ago) by itojun
Branch: MAIN
CVS Tags: netbsd-3-base, netbsd-3-1-RELEASE, netbsd-3-1-RC4, netbsd-3-1-RC3, netbsd-3-1-RC2, netbsd-3-1-RC1, netbsd-3-1-1-RELEASE, netbsd-3-1, netbsd-3-0-RELEASE, netbsd-3-0-RC6, netbsd-3-0-RC5, netbsd-3-0-RC4, netbsd-3-0-RC3, netbsd-3-0-RC2, netbsd-3-0-RC1, netbsd-3-0-3-RELEASE, netbsd-3-0-2-RELEASE, netbsd-3-0-1-RELEASE, netbsd-3-0, netbsd-3, netbsd-2-base, netbsd-2-1-RELEASE, netbsd-2-1-RC6, netbsd-2-1-RC5, netbsd-2-1-RC4, netbsd-2-1-RC3, netbsd-2-1-RC2, netbsd-2-1-RC1, netbsd-2-1, netbsd-2-0-base, netbsd-2-0-RELEASE, netbsd-2-0-RC5, netbsd-2-0-RC4, netbsd-2-0-RC3, netbsd-2-0-RC2, netbsd-2-0-RC1, netbsd-2-0-3-RELEASE, netbsd-2-0-2-RELEASE, netbsd-2-0-1-RELEASE, netbsd-2-0, netbsd-2
Changes since 1.20: +108 -130 lines
Diff to previous 1.20 (colored)

relax addrs#x config parameter.  should address PR 21872

Revision 1.20 / (download) - annotate - [select for diffs], Sat May 17 18:51:13 2003 UTC (20 years, 11 months ago) by itojun
Branch: MAIN
Changes since 1.19: +2 -2 lines
Diff to previous 1.19 (colored)

strncpy -> strlcpy

Revision 1.19 / (download) - annotate - [select for diffs], Wed Jul 10 21:13:35 2002 UTC (21 years, 9 months ago) by itojun
Branch: MAIN
CVS Tags: fvdl_fs64_base
Changes since 1.18: +6 -1 lines
Diff to previous 1.18 (colored)

test malloc failure.  From: Chad Loder <cloder@acm.org>.  sync w/kame

Revision 1.18 / (download) - annotate - [select for diffs], Wed Jul 10 21:11:43 2002 UTC (21 years, 9 months ago) by itojun
Branch: MAIN
Changes since 1.17: +38 -38 lines
Diff to previous 1.17 (colored)

byebye __FUNCTIION__.  sync w/kame

Revision 1.17 / (download) - annotate - [select for diffs], Sat Jun 15 01:28:39 2002 UTC (21 years, 10 months ago) by matt
Branch: MAIN
Changes since 1.16: +2 -2 lines
Diff to previous 1.16 (colored)

Remove extra/redundant argument to syslog.

Revision 1.16 / (download) - annotate - [select for diffs], Sun Jun 9 02:47:29 2002 UTC (21 years, 10 months ago) by itojun
Branch: MAIN
Changes since 1.15: +2 -2 lines
Diff to previous 1.15 (colored)

use strchr

Revision 1.15 / (download) - annotate - [select for diffs], Sat Jun 8 18:11:46 2002 UTC (21 years, 10 months ago) by itojun
Branch: MAIN
Changes since 1.14: +9 -1 lines
Diff to previous 1.14 (colored)

do not use deprecated ioctls

Revision 1.14 / (download) - annotate - [select for diffs], Wed May 29 14:40:31 2002 UTC (21 years, 10 months ago) by itojun
Branch: MAIN
Changes since 1.13: +149 -197 lines
Diff to previous 1.13 (colored)

KNF, strlcpy, memory leak fix, random other cleanups.  sync w/kame

Revision 1.13 / (download) - annotate - [select for diffs], Sun Jun 3 09:26:04 2001 UTC (22 years, 10 months ago) by itojun
Branch: MAIN
CVS Tags: netbsd-1-6-base, netbsd-1-6-RELEASE, netbsd-1-6-RC3, netbsd-1-6-RC2, netbsd-1-6-RC1, netbsd-1-6-PATCH002-RELEASE, netbsd-1-6-PATCH002-RC4, netbsd-1-6-PATCH002-RC3, netbsd-1-6-PATCH002-RC2, netbsd-1-6-PATCH002-RC1, netbsd-1-6-PATCH002, netbsd-1-6-PATCH001-RELEASE, netbsd-1-6-PATCH001-RC3, netbsd-1-6-PATCH001-RC2, netbsd-1-6-PATCH001-RC1, netbsd-1-6-PATCH001, netbsd-1-6
Changes since 1.12: +3 -3 lines
Diff to previous 1.12 (colored)

prevent overflow of lifetime value.  sync with kame

Revision 1.12 / (download) - annotate - [select for diffs], Mon Feb 5 06:04:41 2001 UTC (23 years, 2 months ago) by itojun
Branch: MAIN
Changes since 1.11: +8 -8 lines
Diff to previous 1.11 (colored)

typo.  ntohl -> htonl.

Revision 1.11 / (download) - annotate - [select for diffs], Sun Feb 4 06:19:40 2001 UTC (23 years, 2 months ago) by itojun
Branch: MAIN
Changes since 1.10: +38 -36 lines
Diff to previous 1.10 (colored)

avoid infinite loop when -s is specified (select loop mistake).
make agetent() 32bit clean.  KAME PR 127.
disable -R (router renumbering receiver).  sync with kame.

Revision 1.10 / (download) - annotate - [select for diffs], Tue Jan 23 15:35:54 2001 UTC (23 years, 2 months ago) by itojun
Branch: MAIN
Changes since 1.9: +5 -4 lines
Diff to previous 1.9 (colored)

make sure to initialize prefix information struct before use.  sync with kame

Revision 1.9 / (download) - annotate - [select for diffs], Sun Jan 21 15:39:33 2001 UTC (23 years, 3 months ago) by itojun
Branch: MAIN
Changes since 1.8: +2 -78 lines
Diff to previous 1.8 (colored)

sync with latest kame.
- make icmp6.h spec conformant to 2292bis-02, regarding to router reumbering
  flag bit.
- latest rtadvd.

Revision 1.8 / (download) - annotate - [select for diffs], Mon Jan 15 06:14:05 2001 UTC (23 years, 3 months ago) by itojun
Branch: MAIN
Changes since 1.7: +177 -7 lines
Diff to previous 1.7 (colored)

sync with latest kame tree.
- reduce chances for signal handler rae condition
- decrease chances for misconfiguration
- feedbacks from router renumbering protocol bakeoff

Revision 1.7 / (download) - annotate - [select for diffs], Tue May 23 11:37:58 2000 UTC (23 years, 11 months ago) by itojun
Branch: MAIN
CVS Tags: netbsd-1-5-base, netbsd-1-5-RELEASE, netbsd-1-5-PATCH003, netbsd-1-5-PATCH002, netbsd-1-5-PATCH001, netbsd-1-5-BETA2, netbsd-1-5-BETA, netbsd-1-5-ALPHA2, netbsd-1-5, minoura-xpg4dl-base, minoura-xpg4dl
Changes since 1.6: +8 -3 lines
Diff to previous 1.6 (colored)

sync with latest kame.
- decrease warning level on missing rtadvd.conf (actually, the file
  can be omitted)
- strict prototype
- gather stats better, emit stats on SIGUSR1 to /var/run

Revision 1.6 / (download) - annotate - [select for diffs], Mon Mar 13 06:16:46 2000 UTC (24 years, 1 month ago) by itojun
Branch: MAIN
Changes since 1.5: +107 -9 lines
Diff to previous 1.5 (colored)

bring in latest kame tree.  this fixes unclosed file descdriptor
in router renumbering case.

Revision 1.5 / (download) - annotate - [select for diffs], Sun Feb 6 11:21:46 2000 UTC (24 years, 2 months ago) by itojun
Branch: MAIN
Changes since 1.4: +3 -3 lines
Diff to previous 1.4 (colored)

fix include file path (IPv6 related).

Revision 1.4 / (download) - annotate - [select for diffs], Wed Feb 2 04:07:50 2000 UTC (24 years, 2 months ago) by itojun
Branch: MAIN
Changes since 1.3: +2 -3 lines
Diff to previous 1.3 (colored)

add -R (accept router renumbering packet).  now router renumbering is disabled
by default for ipsec config twists.
dies gracefully on SIGTERM.

Revision 1.3 / (download) - annotate - [select for diffs], Tue Jul 6 13:02:09 1999 UTC (24 years, 9 months ago) by itojun
Branch: MAIN
CVS Tags: wrstuden-devbsize-base, wrstuden-devbsize-19991221, wrstuden-devbsize, comdex-fall-1999-base, comdex-fall-1999
Changes since 1.2: +3 -1 lines
Diff to previous 1.2 (colored)

fix for 64bit arch, where sizeof(size_t) != sizeof(int).
add NetBSD RCS ID.

Revision 1.2 / (download) - annotate - [select for diffs], Sun Jul 4 22:14:53 1999 UTC (24 years, 9 months ago) by itojun
Branch: MAIN
Changes since 1.1: +60 -41 lines
Diff to previous 1.1 (colored)

more careful signed-ness handling in parsing config file.

Revision 1.1 / (download) - annotate - [select for diffs], Fri Jul 2 09:28:17 1999 UTC (24 years, 9 months ago) by itojun
Branch: MAIN

rtadvd: advertise IPv6 prefix info via router advertisement.
(to be run on routers)

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.




CVSweb <webmaster@jp.NetBSD.org>