Up to [local] / src / usr.sbin / slaacd
Request diff between arbitrary revisions
Default branch: MAIN
Revision 1.39, Sat Jun 3 10:00:29 2017 UTC (7 years ago) by florian
Branch: MAIN
CVS Tags: HEAD
Changes since 1.38: +1 -1 lines
FILE REMOVED
Move slaacd to /sbin jca points out that all the other interface configuration tools live there (like ifconfig or dhclient). Furthermore it starts so early in the boot process that /usr might not be mounted yet if it's a nfs filesystem. sthen and deraadt agree
Revision 1.38 / (download) - annotate - [select for diffs], Wed May 31 09:39:03 2017 UTC (7 years ago) by florian
Branch: MAIN
Changes since 1.37: +23 -14 lines
Diff to previous 1.37 (colored)
Deleting a default route proposal is a bit of work and the code got copied around (not always correctly). Introduce free_dfr_proposal() to have this in one place.
Revision 1.37 / (download) - annotate - [select for diffs], Wed May 31 07:30:32 2017 UTC (7 years ago) by florian
Branch: MAIN
Changes since 1.36: +16 -1 lines
Diff to previous 1.36 (colored)
do not leak address and dfr proposals if an interface goes away
Revision 1.36 / (download) - annotate - [select for diffs], Wed May 31 07:14:58 2017 UTC (7 years ago) by florian
Branch: MAIN
Changes since 1.35: +1 -24 lines
Diff to previous 1.35 (colored)
remove DEBUG_IMSG; I have figured out imsg flow by now; no binary change
Revision 1.35 / (download) - annotate - [select for diffs], Tue May 30 18:18:08 2017 UTC (7 years ago) by deraadt
Branch: MAIN
Changes since 1.34: +13 -15 lines
Diff to previous 1.34 (colored)
whitespace encountered during review
Revision 1.34 / (download) - annotate - [select for diffs], Tue May 30 15:57:12 2017 UTC (7 years ago) by florian
Branch: MAIN
Changes since 1.33: +13 -3 lines
Diff to previous 1.33 (colored)
delete default route from FIB when we receive advertisement with router lifetime of 0
Revision 1.33 / (download) - annotate - [select for diffs], Tue May 30 15:39:49 2017 UTC (7 years ago) by florian
Branch: MAIN
Changes since 1.32: +17 -1 lines
Diff to previous 1.32 (colored)
delete default route from FIB when it expires
Revision 1.32 / (download) - annotate - [select for diffs], Tue May 30 14:56:34 2017 UTC (7 years ago) by florian
Branch: MAIN
Changes since 1.31: +13 -18 lines
Diff to previous 1.31 (colored)
no need to pass the slaacd_iface around, the proposal has the if_index
Revision 1.31 / (download) - annotate - [select for diffs], Tue May 30 14:45:22 2017 UTC (7 years ago) by florian
Branch: MAIN
Changes since 1.30: +3 -1 lines
Diff to previous 1.30 (colored)
fix previous; actually free the memory
Revision 1.30 / (download) - annotate - [select for diffs], Tue May 30 14:23:10 2017 UTC (7 years ago) by florian
Branch: MAIN
Changes since 1.29: +22 -1 lines
Diff to previous 1.29 (colored)
Remove default router proposals and address_proposals when their lifetime reaches zero.
Revision 1.29 / (download) - annotate - [select for diffs], Tue May 30 14:21:33 2017 UTC (7 years ago) by florian
Branch: MAIN
Changes since 1.28: +20 -9 lines
Diff to previous 1.28 (colored)
Update default router states; pointed out by naddy
Revision 1.28 / (download) - annotate - [select for diffs], Tue May 30 12:38:36 2017 UTC (7 years ago) by naddy
Branch: MAIN
Changes since 1.27: +2 -2 lines
Diff to previous 1.27 (colored)
fix a jumbled conditional clang warns about; ok florian@
Revision 1.27 / (download) - annotate - [select for diffs], Mon May 29 08:59:42 2017 UTC (7 years ago) by florian
Branch: MAIN
Changes since 1.26: +2 -2 lines
Diff to previous 1.26 (colored)
clang points out that the first argument to setproctitle is a format string. Not really an issue since we are eventually passing in a string literal... While here don't set the proctitle for the main process to play nicer with rc.d(8)
Revision 1.26 / (download) - annotate - [select for diffs], Mon May 29 08:15:38 2017 UTC (7 years ago) by florian
Branch: MAIN
Changes since 1.25: +10 -1 lines
Diff to previous 1.25 (colored)
Compare the l2 address from which the slaac address was formed with the current interface l2 address. Only update the address lifetime if they are the same. This way we get a new address on ifconfig lladdr random.
Revision 1.25 / (download) - annotate - [select for diffs], Mon May 29 07:54:46 2017 UTC (7 years ago) by florian
Branch: MAIN
Changes since 1.24: +21 -7 lines
Diff to previous 1.24 (colored)
only send router solicitation on RTM_NEWADDR if the l2 address changed
Revision 1.24 / (download) - annotate - [select for diffs], Sun May 28 20:40:13 2017 UTC (7 years ago) by florian
Branch: MAIN
Changes since 1.23: +1 -111 lines
Diff to previous 1.23 (colored)
removed if 0'ed code; it gets in the way of grepping for things
Revision 1.23 / (download) - annotate - [select for diffs], Sun May 28 19:57:38 2017 UTC (7 years ago) by florian
Branch: MAIN
Changes since 1.22: +2 -1 lines
Diff to previous 1.22 (colored)
set autoconfprivacy flag; prodding naddy
Revision 1.22 / (download) - annotate - [select for diffs], Sun May 28 19:13:13 2017 UTC (7 years ago) by naddy
Branch: MAIN
Changes since 1.21: +12 -12 lines
Diff to previous 1.21 (colored)
pasto, typos, spelling; ok florian@
Revision 1.21 / (download) - annotate - [select for diffs], Sun May 28 16:36:53 2017 UTC (7 years ago) by florian
Branch: MAIN
Changes since 1.20: +19 -4 lines
Diff to previous 1.20 (colored)
get a new privacy address before the old one expires
Revision 1.20 / (download) - annotate - [select for diffs], Sun May 28 15:58:02 2017 UTC (7 years ago) by florian
Branch: MAIN
Changes since 1.19: +7 -4 lines
Diff to previous 1.19 (colored)
No need to constantly re-add the default route. It will not expire like the prefixes. We might want to check if someone deleted the route by hand though.
Revision 1.19 / (download) - annotate - [select for diffs], Sun May 28 09:35:56 2017 UTC (7 years ago) by florian
Branch: MAIN
Changes since 1.18: +293 -8 lines
Diff to previous 1.18 (colored)
propose and configure default gateway
Revision 1.18 / (download) - annotate - [select for diffs], Sat May 27 18:37:09 2017 UTC (7 years ago) by florian
Branch: MAIN
Changes since 1.17: +10 -2 lines
Diff to previous 1.17 (colored)
print router preference
Revision 1.17 / (download) - annotate - [select for diffs], Sat May 27 16:16:49 2017 UTC (7 years ago) by florian
Branch: MAIN
Changes since 1.16: +9 -1 lines
Diff to previous 1.16 (colored)
Generate a fake ack (or is it an alternative ack?) internally. This allows slaacd to configure addresses in the absence of netcfgd and might be a less scary step forward to move stateless address autoconfiguration out of the kernel. This intentionally a compile time option and will go away once we figure out how to do proposals.
Revision 1.16 / (download) - annotate - [select for diffs], Sat May 27 10:55:50 2017 UTC (7 years ago) by florian
Branch: MAIN
Changes since 1.15: +106 -24 lines
Diff to previous 1.15 (colored)
handle expiration / renewal of non-privacy addresses
Revision 1.15 / (download) - annotate - [select for diffs], Sat May 27 10:54:44 2017 UTC (7 years ago) by florian
Branch: MAIN
Changes since 1.14: +15 -14 lines
Diff to previous 1.14 (colored)
there is no need to construct and send a proposal if we reached the limit and just remove the list element directly afterwards
Revision 1.14 / (download) - annotate - [select for diffs], Sat May 27 10:53:37 2017 UTC (7 years ago) by florian
Branch: MAIN
Changes since 1.13: +7 -7 lines
Diff to previous 1.13 (colored)
do not use %hhu
Revision 1.13 / (download) - annotate - [select for diffs], Sat May 27 10:52:16 2017 UTC (7 years ago) by florian
Branch: MAIN
Changes since 1.12: +39 -7 lines
Diff to previous 1.12 (colored)
show address proposals in slaacdctl show interface output
Revision 1.12 / (download) - annotate - [select for diffs], Sat May 27 10:50:25 2017 UTC (7 years ago) by florian
Branch: MAIN
Changes since 1.11: +47 -5 lines
Diff to previous 1.11 (colored)
delete proposal if address gets deleted
Revision 1.11 / (download) - annotate - [select for diffs], Sat May 27 10:47:23 2017 UTC (7 years ago) by florian
Branch: MAIN
Changes since 1.10: +12 -2 lines
Diff to previous 1.10 (colored)
configure address on interface
Revision 1.10 / (download) - annotate - [select for diffs], Sat May 27 10:45:14 2017 UTC (7 years ago) by florian
Branch: MAIN
Changes since 1.9: +113 -31 lines
Diff to previous 1.9 (colored)
handle proposal ack
Revision 1.9 / (download) - annotate - [select for diffs], Sat May 27 10:42:51 2017 UTC (7 years ago) by florian
Branch: MAIN
Changes since 1.8: +46 -1 lines
Diff to previous 1.8 (colored)
use new address_proposal struct to generate proposals
Revision 1.8 / (download) - annotate - [select for diffs], Sat May 27 10:41:41 2017 UTC (7 years ago) by florian
Branch: MAIN
Changes since 1.7: +29 -3 lines
Diff to previous 1.7 (colored)
proposal state
Revision 1.7 / (download) - annotate - [select for diffs], Sat May 27 10:40:43 2017 UTC (7 years ago) by florian
Branch: MAIN
Changes since 1.6: +3 -82 lines
Diff to previous 1.6 (colored)
no longer carry addresses in struct radv_prefix
Revision 1.6 / (download) - annotate - [select for diffs], Sat May 27 10:39:32 2017 UTC (7 years ago) by florian
Branch: MAIN
Changes since 1.5: +1 -20 lines
Diff to previous 1.5 (colored)
we need to loop over all proposals
Revision 1.5 / (download) - annotate - [select for diffs], Sat May 27 10:38:54 2017 UTC (7 years ago) by florian
Branch: MAIN
Changes since 1.4: +244 -2 lines
Diff to previous 1.4 (colored)
move towards $thing proposals and attach them to iface
Revision 1.4 / (download) - annotate - [select for diffs], Mon Mar 20 16:15:37 2017 UTC (7 years, 2 months ago) by florian
Branch: MAIN
CVS Tags: OPENBSD_6_1_BASE,
OPENBSD_6_1
Changes since 1.3: +87 -1 lines
Diff to previous 1.3 (colored)
send proposals
Revision 1.3 / (download) - annotate - [select for diffs], Sun Mar 19 16:12:22 2017 UTC (7 years, 2 months ago) by florian
Branch: MAIN
Changes since 1.2: +100 -1 lines
Diff to previous 1.2 (colored)
generate and show addresses from announced prefix
Revision 1.2 / (download) - annotate - [select for diffs], Sun Mar 19 16:10:23 2017 UTC (7 years, 2 months ago) by florian
Branch: MAIN
Changes since 1.1: +10 -1 lines
Diff to previous 1.1 (colored)
Get and display link local address, needed to generate addresses from a router advertisement.
Revision 1.1 / (download) - annotate - [select for diffs], Sat Mar 18 17:33:13 2017 UTC (7 years, 2 months ago) by florian
Branch: MAIN
Add slaacd, a Stateless Address AutoConfiguration Daemon. Based on krw's newd effort where he did all the heavy lifting to extract a generic OpenBSD-style privsep daemon out of all the existing daemons in tree. It's at a point now where it makes sense to work on it in tree. Sounds good to deraadt@