Up to [local] / src / usr.sbin / rad
Request diff between arbitrary revisions
Default branch: MAIN
Revision 1.25 / (download) - annotate - [select for diffs], Fri May 31 16:19:53 2024 UTC (8 days, 4 hours ago) by florian
Branch: MAIN
CVS Tags: HEAD
Changes since 1.24: +6 -2 lines
Diff to previous 1.24 (colored)
Preferred and valid lifetime options are sometimes ignored. When a prefix is discovered on a network interface and and the IP address has a valid or preferred lifetime configured that value is used instead of the static value from the configuration. Limitation pointed out by & man page text proposed by Ryan Vogt. Slightly tweaked by me. rad(8) should calculate the minimum of the static value from the config file and what is configured on the interface. Implementing that is slightly complicated and is left for a future diff.
Revision 1.24 / (download) - annotate - [select for diffs], Fri May 17 06:50:14 2024 UTC (3 weeks, 1 day ago) by florian
Branch: MAIN
Changes since 1.23: +5 -1 lines
Diff to previous 1.23 (colored)
Send source link-layer address option in router advertisements. With this, hosts immediately learn the layer 2 (i.e. ethernet mac) address of their default router and don't need to do another round trip. It also turns out that apple devices (macOS & iOS) install the default route as what they call "interface scoped" if a DNS option is present and the source link-layer address option is absent. This effectively makes the default route unusable. Problem with fruit devices tracked down & diff by Ryan Vogt (rvogt.ca AT gmail), thanks! OK sthen, bket
Revision 1.23 / (download) - annotate - [select for diffs], Tue Apr 23 22:17:49 2024 UTC (6 weeks, 3 days ago) by florian
Branch: MAIN
Changes since 1.22: +3 -3 lines
Diff to previous 1.22 (colored)
Use "indicate" to match reset of the document. Pointed out by kn, missed in previous.
Revision 1.22 / (download) - annotate - [select for diffs], Tue Apr 23 22:11:59 2024 UTC (6 weeks, 3 days ago) by florian
Branch: MAIN
Changes since 1.21: +5 -2 lines
Diff to previous 1.21 (colored)
Implement RFC 4191 default router preference. OK phessler, kn (Committing from a ferry somewhere on the English channel. Sadly the free WiFi does not provide IPv6.)
Revision 1.21 / (download) - annotate - [select for diffs], Thu Apr 27 16:56:52 2023 UTC (13 months, 1 week ago) by phessler
Branch: MAIN
CVS Tags: OPENBSD_7_5_BASE,
OPENBSD_7_5,
OPENBSD_7_4_BASE,
OPENBSD_7_4
Changes since 1.20: +3 -3 lines
Diff to previous 1.20 (colored)
RFC 9096 changes the default timers for prefix preferred and valid lifetimes, so update rad(8) to the new ones. OK florian@
Revision 1.20 / (download) - annotate - [select for diffs], Sat Oct 15 15:18:15 2022 UTC (19 months, 3 weeks ago) by jmc
Branch: MAIN
CVS Tags: OPENBSD_7_3_BASE,
OPENBSD_7_3
Changes since 1.19: +3 -3 lines
Diff to previous 1.19 (colored)
.Oc -> .Op in previous;
Revision 1.19 / (download) - annotate - [select for diffs], Sat Oct 15 13:26:15 2022 UTC (19 months, 3 weeks ago) by florian
Branch: MAIN
Changes since 1.18: +20 -3 lines
Diff to previous 1.18 (colored)
Implement RFC 8781 PREF64 router advertisement option. With this clients can learn the presence and used prefix for Network Address and Protocol Translation between IPv6 and IPv4 (NAT64). Apparently there is support in mobile devices as well as in macOS. This option, together with the the dhcp "IPv6-only preferred" option (108) enables the Customer-side transLATor (CLAT) on macOS so IPv4 literals can be used in IPv6-only networks. Input & OK kn
Revision 1.18 / (download) - annotate - [select for diffs], Fri Sep 23 19:24:08 2022 UTC (20 months, 2 weeks ago) by florian
Branch: MAIN
CVS Tags: OPENBSD_7_2_BASE,
OPENBSD_7_2
Changes since 1.17: +3 -3 lines
Diff to previous 1.17 (colored)
Xr to correct man page; from Josiah Frentsos, thanks!
Revision 1.17 / (download) - annotate - [select for diffs], Sat May 16 16:58:12 2020 UTC (4 years ago) by jmc
Branch: MAIN
CVS Tags: OPENBSD_7_1_BASE,
OPENBSD_7_1,
OPENBSD_7_0_BASE,
OPENBSD_7_0,
OPENBSD_6_9_BASE,
OPENBSD_6_9,
OPENBSD_6_8_BASE,
OPENBSD_6_8
Changes since 1.16: +4 -4 lines
Diff to previous 1.16 (colored)
list example files in FILES with a short description: generally, "Example configuration file.", but occasionally something else fit better; at the same time, try to make the format for FILES more consistent; original diff from clematis
Revision 1.16 / (download) - annotate - [select for diffs], Mon Feb 10 13:18:21 2020 UTC (4 years, 3 months ago) by schwarze
Branch: MAIN
CVS Tags: OPENBSD_6_7_BASE,
OPENBSD_6_7
Changes since 1.15: +5 -3 lines
Diff to previous 1.15 (colored)
briefly mention /etc/examples/ in the FILES section of all the manual pages that document the corresponding configuration files; OK jmc@, and general direction discussed with many
Revision 1.15 / (download) - annotate - [select for diffs], Thu Aug 8 20:37:08 2019 UTC (4 years, 10 months ago) by fcambus
Branch: MAIN
CVS Tags: OPENBSD_6_6_BASE,
OPENBSD_6_6
Changes since 1.14: +3 -3 lines
Diff to previous 1.14 (colored)
Fix a bunch of typos in various man pages.
Revision 1.14 / (download) - annotate - [select for diffs], Wed Jan 2 07:45:17 2019 UTC (5 years, 5 months ago) by jmc
Branch: MAIN
CVS Tags: OPENBSD_6_5_BASE,
OPENBSD_6_5
Changes since 1.13: +5 -6 lines
Diff to previous 1.13 (colored)
minor tweaks;
Revision 1.13 / (download) - annotate - [select for diffs], Wed Nov 21 09:50:19 2018 UTC (5 years, 6 months ago) by reyk
Branch: MAIN
Changes since 1.12: +3 -3 lines
Diff to previous 1.12 (colored)
Allow rad(8) to watch interface groups; e.g. "interface tap" in rad.conf. OK florian@, additional review from kn@
Revision 1.12 / (download) - annotate - [select for diffs], Sun Sep 16 18:58:36 2018 UTC (5 years, 8 months ago) by bluhm
Branch: MAIN
CVS Tags: OPENBSD_6_4_BASE,
OPENBSD_6_4
Changes since 1.11: +4 -1 lines
Diff to previous 1.11 (colored)
If a prefix without length was specifed in the config file, then 128 was used. This does not make much sense for rad(8). Change the default prefixlen to 64. OK florian@
Revision 1.11 / (download) - annotate - [select for diffs], Fri Aug 3 19:54:11 2018 UTC (5 years, 10 months ago) by jmc
Branch: MAIN
Changes since 1.10: +17 -17 lines
Diff to previous 1.10 (colored)
sort; ok florian
Revision 1.10 / (download) - annotate - [select for diffs], Fri Aug 3 13:14:46 2018 UTC (5 years, 10 months ago) by florian
Branch: MAIN
Changes since 1.9: +17 -22 lines
Diff to previous 1.9 (colored)
Move dns settings to global options so that they don't need to be repeated in every interface block - they can still be overwritten on a per interface basis. Pointed out by, tweaks & OK sthen
Revision 1.9 / (download) - annotate - [select for diffs], Sat Jul 21 09:35:50 2018 UTC (5 years, 10 months ago) by jmc
Branch: MAIN
Changes since 1.8: +6 -6 lines
Diff to previous 1.8 (colored)
sort;
Revision 1.8 / (download) - annotate - [select for diffs], Fri Jul 20 17:55:09 2018 UTC (5 years, 10 months ago) by bket
Branch: MAIN
Changes since 1.7: +7 -2 lines
Diff to previous 1.7 (colored)
Introduce MTU option. The MTU option is used in Router Advertisement messages to ensure that all nodes on a link use the same MTU value in those cases where the link MTU is not well known. Feedback (thank you!) and OK from florian@
Revision 1.7 / (download) - annotate - [select for diffs], Fri Jul 20 13:17:02 2018 UTC (5 years, 10 months ago) by florian
Branch: MAIN
Changes since 1.6: +5 -5 lines
Diff to previous 1.6 (colored)
Rename "resolver" to "nameserver" in the configuration file. resolv.conf(5) and dhclient(8) are using the term nameserver for many years, there is no good reason to be different here. Pointed out by deraadt
Revision 1.6 / (download) - annotate - [select for diffs], Sun Jul 15 11:35:57 2018 UTC (5 years, 10 months ago) by jmc
Branch: MAIN
Changes since 1.5: +2 -2 lines
Diff to previous 1.5 (colored)
tweak previous;
Revision 1.5 / (download) - annotate - [select for diffs], Sun Jul 15 09:28:21 2018 UTC (5 years, 10 months ago) by florian
Branch: MAIN
Changes since 1.4: +22 -2 lines
Diff to previous 1.4 (colored)
Implement RFC 8106: IPv6 Router Advertisement Options for DNS Configuration.
Revision 1.4 / (download) - annotate - [select for diffs], Sun Jul 15 09:27:02 2018 UTC (5 years, 10 months ago) by florian
Branch: MAIN
Changes since 1.3: +3 -3 lines
Diff to previous 1.3 (colored)
mark up managed / other configuration
Revision 1.3 / (download) - annotate - [select for diffs], Fri Jul 13 08:08:11 2018 UTC (5 years, 10 months ago) by florian
Branch: MAIN
Changes since 1.2: +5 -2 lines
Diff to previous 1.2 (colored)
Explain what the example is doing. Prompted by, tweak & OK jmc
Revision 1.2 / (download) - annotate - [select for diffs], Fri Jul 13 05:25:29 2018 UTC (5 years, 10 months ago) by jmc
Branch: MAIN
Changes since 1.1: +25 -27 lines
Diff to previous 1.1 (colored)
various tweaks; ok florian
Revision 1.1 / (download) - annotate - [select for diffs], Tue Jul 10 16:39:54 2018 UTC (5 years, 11 months ago) by florian
Branch: MAIN
Import rad(8). It's a Router Advertisement Daemon written using the standard 3 process privsep pattern and a parse.y based config file. Commit early to continue work in tree. OK jca "it's totally rad" phessler@ "usr.sbin never runs out of space" deraadt@