OpenBSD CVS

CVS log for src/usr.sbin/slaacd/Attic/slaacd.c


[BACK] Up to [local] / src / usr.sbin / slaacd

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.24, Sat Jun 3 10:00:29 2017 UTC (7 years ago) by florian
Branch: MAIN
CVS Tags: HEAD
Changes since 1.23: +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.23 / (download) - annotate - [select for diffs], Tue May 30 22:04:46 2017 UTC (7 years ago) by florian
Branch: MAIN
Changes since 1.22: +2 -2 lines
Diff to previous 1.22 (colored)

Oops, this was RTP_BGP during development to be able to easier spot
the configured route. Should be RTP_DEFAULT.

Revision 1.22 / (download) - annotate - [select for diffs], Tue May 30 18:18:08 2017 UTC (7 years ago) by deraadt
Branch: MAIN
Changes since 1.21: +3 -3 lines
Diff to previous 1.21 (colored)

whitespace encountered during review

Revision 1.21 / (download) - annotate - [select for diffs], Tue May 30 15:39:49 2017 UTC (7 years ago) by florian
Branch: MAIN
Changes since 1.20: +28 -6 lines
Diff to previous 1.20 (colored)

delete default route from FIB when it expires

Revision 1.20 / (download) - annotate - [select for diffs], Mon May 29 20:31:31 2017 UTC (7 years ago) by florian
Branch: MAIN
Changes since 1.19: +4 -1 lines
Diff to previous 1.19 (colored)

The kernel sets IN6_IFF_AUTOCONF for autoconf addresses, also make
slaacd(8) do that. At least you can identify them in ifconfig output.
Difference pointed out by & OK naddy

Revision 1.19 / (download) - annotate - [select for diffs], Mon May 29 08:59:42 2017 UTC (7 years ago) by florian
Branch: MAIN
Changes since 1.18: +1 -2 lines
Diff to previous 1.18 (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.18 / (download) - annotate - [select for diffs], Sun May 28 21:05:54 2017 UTC (7 years ago) by naddy
Branch: MAIN
Changes since 1.17: +3 -2 lines
Diff to previous 1.17 (colored)

only mark privacy addresses as such instead of all configured addresses
ok florian@

Revision 1.17 / (download) - annotate - [select for diffs], Sun May 28 20:40:13 2017 UTC (7 years ago) by florian
Branch: MAIN
Changes since 1.16: +1 -147 lines
Diff to previous 1.16 (colored)

removed if 0'ed code; it gets in the way of grepping for things

Revision 1.16 / (download) - annotate - [select for diffs], Sun May 28 19:57:38 2017 UTC (7 years ago) by florian
Branch: MAIN
Changes since 1.15: +2 -1 lines
Diff to previous 1.15 (colored)

set autoconfprivacy flag; prodding naddy

Revision 1.15 / (download) - annotate - [select for diffs], Sun May 28 09:35:56 2017 UTC (7 years ago) by florian
Branch: MAIN
Changes since 1.14: +84 -3 lines
Diff to previous 1.14 (colored)

propose and configure default gateway

Revision 1.14 / (download) - annotate - [select for diffs], Sat May 27 16:16:49 2017 UTC (7 years ago) by florian
Branch: MAIN
Changes since 1.13: +2 -1 lines
Diff to previous 1.13 (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.13 / (download) - annotate - [select for diffs], Sat May 27 13:10:07 2017 UTC (7 years ago) by florian
Branch: MAIN
Changes since 1.12: +2 -5 lines
Diff to previous 1.12 (colored)

remove unused vars

Revision 1.12 / (download) - annotate - [select for diffs], Sat May 27 10:57:23 2017 UTC (7 years ago) by florian
Branch: MAIN
Changes since 1.11: +4 -3 lines
Diff to previous 1.11 (colored)

SOCK_CLOEXEC | SOCK_NONBLOCK

Revision 1.11 / (download) - annotate - [select for diffs], Sat May 27 10:52:16 2017 UTC (7 years ago) by florian
Branch: MAIN
Changes since 1.10: +2 -1 lines
Diff to previous 1.10 (colored)

show address proposals in slaacdctl show interface output

Revision 1.10 / (download) - annotate - [select for diffs], Sat May 27 10:50:25 2017 UTC (7 years ago) by florian
Branch: MAIN
Changes since 1.9: +2 -1 lines
Diff to previous 1.9 (colored)

delete proposal if address gets deleted

Revision 1.9 / (download) - annotate - [select for diffs], Sat May 27 10:47:23 2017 UTC (7 years ago) by florian
Branch: MAIN
Changes since 1.8: +65 -8 lines
Diff to previous 1.8 (colored)

configure address on interface

Revision 1.8 / (download) - annotate - [select for diffs], Sat May 27 10:46:27 2017 UTC (7 years ago) by florian
Branch: MAIN
Changes since 1.7: +2 -5 lines
Diff to previous 1.7 (colored)

remove unused vars

Revision 1.7 / (download) - annotate - [select for diffs], Sat May 27 10:45:14 2017 UTC (7 years ago) by florian
Branch: MAIN
Changes since 1.6: +5 -3 lines
Diff to previous 1.6 (colored)

handle proposal ack

Revision 1.6 / (download) - annotate - [select for diffs], Sat May 27 10:42:51 2017 UTC (7 years ago) by florian
Branch: MAIN
Changes since 1.5: +91 -1 lines
Diff to previous 1.5 (colored)

use new address_proposal struct to generate proposals

Revision 1.5 / (download) - annotate - [select for diffs], Sat May 27 10:37:56 2017 UTC (7 years ago) by florian
Branch: MAIN
Changes since 1.4: +20 -3 lines
Diff to previous 1.4 (colored)

send route label

Revision 1.4 / (download) - annotate - [select for diffs], Sat May 27 10:37:04 2017 UTC (7 years ago) by florian
Branch: MAIN
Changes since 1.3: +19 -5 lines
Diff to previous 1.3 (colored)

bluhm pointed out that the prefix itself can be scoped, too. So we
need to pass around sockaddr_in6s for that, too. While here add some
more validation of what we get handed in as proposal from engine.

Revision 1.3 / (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.2: +141 -6 lines
Diff to previous 1.2 (colored)

send proposals

Revision 1.2 / (download) - annotate - [select for diffs], Mon Mar 20 16:13:27 2017 UTC (7 years, 2 months ago) by florian
Branch: MAIN
Changes since 1.1: +7 -9 lines
Diff to previous 1.1 (colored)

simplify control socket path handling; sync from netcfgd by krw@

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@

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.