OpenBSD CVS

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


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

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.17, Sat Jun 3 10:00:29 2017 UTC (7 years ago) by florian
Branch: MAIN
CVS Tags: HEAD
Changes since 1.16: +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.16 / (download) - annotate - [select for diffs], Wed May 31 07:14:58 2017 UTC (7 years ago) by florian
Branch: MAIN
Changes since 1.15: +1 -13 lines
Diff to previous 1.15 (colored)

remove DEBUG_IMSG; I have figured out imsg flow by now; no binary
change

Revision 1.15 / (download) - annotate - [select for diffs], Tue May 30 19:27:16 2017 UTC (7 years ago) by florian
Branch: MAIN
Changes since 1.14: +17 -4 lines
Diff to previous 1.14 (colored)

Send a source link-layer address option with our solicitations.
Servers following RFC 7772 may then send us unicast router
advertisments and thus reduce multicast traffic which might
increase the battery life of other devices using the same shared
media.

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

whitespace encountered during review

Revision 1.13 / (download) - annotate - [select for diffs], Mon May 29 08:59:42 2017 UTC (7 years ago) by florian
Branch: MAIN
Changes since 1.12: +2 -2 lines
Diff to previous 1.12 (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.12 / (download) - annotate - [select for diffs], Mon May 29 07:54:46 2017 UTC (7 years ago) by florian
Branch: MAIN
Changes since 1.11: +1 -7 lines
Diff to previous 1.11 (colored)

only send router solicitation on RTM_NEWADDR if the l2 address changed

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

propose and configure default gateway

Revision 1.10 / (download) - annotate - [select for diffs], Sat May 27 16:16:49 2017 UTC (7 years ago) by florian
Branch: MAIN
Changes since 1.9: +5 -1 lines
Diff to previous 1.9 (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.9 / (download) - annotate - [select for diffs], Sat May 27 10:52:16 2017 UTC (7 years ago) by florian
Branch: MAIN
Changes since 1.8: +3 -1 lines
Diff to previous 1.8 (colored)

show address proposals in slaacdctl show interface output

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

delete proposal if address gets deleted

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

sync route socket processing to netcfgd
 - handle multiple messages
 - switch to get_rtaddrs() to get an array of addresses transported in
the message

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

configure address on interface

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

handle proposal ack

Revision 1.4 / (download) - annotate - [select for diffs], Mon Mar 20 16:13:27 2017 UTC (7 years, 2 months ago) by florian
Branch: MAIN
CVS Tags: OPENBSD_6_1_BASE, OPENBSD_6_1
Changes since 1.3: +2 -5 lines
Diff to previous 1.3 (colored)

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

Revision 1.3 / (download) - annotate - [select for diffs], Sun Mar 19 16:11:38 2017 UTC (7 years, 2 months ago) by florian
Branch: MAIN
Changes since 1.2: +34 -37 lines
Diff to previous 1.2 (colored)

introduce & use update_iface() function, we need the full song & dance
in more places

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: +33 -18 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@

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.