OpenBSD CVS

CVS log for src/sbin/dhclient/Attic/dhclient-script


[BACK] Up to [local] / src / sbin / dhclient

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.24, Fri Nov 9 23:50:39 2012 UTC (11 years, 7 months ago) by krw
Branch: MAIN
CVS Tags: HEAD
Changes since 1.23: +1 -1 lines
FILE REMOVED

Remove now unused files.

Revision 1.23 / (download) - annotate - [select for diffs], Tue Sep 18 18:27:55 2012 UTC (11 years, 8 months ago) by krw
Branch: MAIN
Changes since 1.22: +6 -1 lines
Diff to previous 1.22 (colored)

Once resolv.conf.saved has been copied back as resolv.conf, delete it so
it isn't copied again the next time a dhclient goes away.

Do the resolv.conf.saved restore for v6 as well since v6 goes through
the trouble to create resolv.conf.saved.

ok beck@

Revision 1.22 / (download) - annotate - [select for diffs], Sat Apr 9 19:53:00 2011 UTC (13 years, 2 months ago) by krw
Branch: MAIN
CVS Tags: OPENBSD_5_2_BASE, OPENBSD_5_2, OPENBSD_5_1_BASE, OPENBSD_5_1, OPENBSD_5_0_BASE, OPENBSD_5_0
Changes since 1.21: +1 -18 lines
Diff to previous 1.21 (colored)

We are incorrectly processing option 33 (static route), treating
is as a host route rather than a classful network route. Too
much trouble to fix such an obsolete feature, so ignore option
33 info.

Revision 1.21 / (download) - annotate - [select for diffs], Mon Apr 4 12:22:41 2011 UTC (13 years, 2 months ago) by krw
Branch: MAIN
Changes since 1.20: +9 -9 lines
Diff to previous 1.20 (colored)

route(8) has a -q option. No need for all this >/dev/null 2>&1
stuff.

Revision 1.20 / (download) - annotate - [select for diffs], Mon Apr 4 11:29:51 2011 UTC (13 years, 2 months ago) by krw
Branch: MAIN
Changes since 1.19: +2 -2 lines
Diff to previous 1.19 (colored)

Stray '$medium' missed in last commit.

Revision 1.19 / (download) - annotate - [select for diffs], Mon Apr 4 11:14:52 2011 UTC (13 years, 2 months ago) by krw
Branch: MAIN
Changes since 1.18: +14 -45 lines
Diff to previous 1.18 (colored)

Dump some useless calls to dhclient-script. i.e. MEDIUM, PREINIT,
ARPSEND, ARPCHECK. Drop support for 'media', 'medium' and 'alias'
specifications in dhclient.conf. Old leases still parse but these
options now have no effect.

Be more polite and decline all offers we don't accept. Fix a IMSG
length check.

Many expressions of support at various bars.

ok henning@ deraadt@ beck@

Revision 1.18 / (download) - annotate - [select for diffs], Sun Mar 27 12:15:46 2011 UTC (13 years, 2 months ago) by krw
Branch: MAIN
Changes since 1.17: +8 -2 lines
Diff to previous 1.17 (colored)

Fix interval handling. Start at initial_interval instead of
exponentially backed off initial_interval. Don't hallucinate that
we can send ARP packets without waiting. Don't claim to be waiting
for ARP packets when not doing so. Correctly detect expiry of
selecting period. Speeds up negotiations.

Tested on various dhcp servers by Martin Pelika, ian@, and David
Coppa. And works at Starbucks and a mall for me.

Revision 1.17 / (download) - annotate - [select for diffs], Wed Jun 2 09:57:16 2010 UTC (14 years ago) by phessler
Branch: MAIN
CVS Tags: OPENBSD_4_9_BASE, OPENBSD_4_9, OPENBSD_4_8_BASE, OPENBSD_4_8
Changes since 1.16: +11 -11 lines
Diff to previous 1.16 (colored)

Have dhclient obey the interface's rdomain, instead of doing routes on
rdomain 0.

OK krw@, claudio@
sharp stick prodding from claudio@

Revision 1.16 / (download) - annotate - [select for diffs], Sun Apr 4 22:53:50 2010 UTC (14 years, 2 months ago) by jsg
Branch: MAIN
Changes since 1.15: +79 -1 lines
Diff to previous 1.15 (colored)

Add some ipv6 hooks the isc code expects for dhcpv6.
ok krw@ ramdisks checked by deraadt@

Revision 1.15 / (download) - annotate - [select for diffs], Wed Jun 3 05:12:51 2009 UTC (15 years ago) by claudio
Branch: MAIN
CVS Tags: OPENBSD_4_7_BASE, OPENBSD_4_7, OPENBSD_4_6_BASE, OPENBSD_4_6
Changes since 1.14: +3 -3 lines
Diff to previous 1.14 (colored)

Use the new powerful route flush to clean up the mess. With this multiple
dhclient can more or less peacefully coexist. OK beck@ krw@

Revision 1.14 / (download) - annotate - [select for diffs], Sat Jan 24 15:48:47 2009 UTC (15 years, 4 months ago) by sobrado
Branch: MAIN
CVS Tags: OPENBSD_4_5_BASE, OPENBSD_4_5
Changes since 1.13: +4 -4 lines
Diff to previous 1.13 (colored)

improve indentation without wasting space on the install media;
make source code fit on 80-column displays; while here, remove superfluous
comment sign.

ok krw@

Revision 1.13 / (download) - annotate - [select for diffs], Sat Jan 24 13:59:43 2009 UTC (15 years, 4 months ago) by krw
Branch: MAIN
Changes since 1.12: +4 -6 lines
Diff to previous 1.12 (colored)

Improve comment about resolv.conf creation. Prodded by sobrado@.

Revision 1.12 / (download) - annotate - [select for diffs], Sat Aug 11 17:58:55 2007 UTC (16 years, 10 months ago) by krw
Branch: MAIN
CVS Tags: OPENBSD_4_4_BASE, OPENBSD_4_4, OPENBSD_4_3_BASE, OPENBSD_4_3, OPENBSD_4_2_BASE, OPENBSD_4_2
Changes since 1.11: +1 -9 lines
Diff to previous 1.11 (colored)

Kill a couple of 'echo' statements that can never produce visible
output. i.e. not visible on the screen, nor in any log.

If nothing else, makes dhclient-script smaller for install media.

'yesh kill' (sic) henning@

Revision 1.11 / (download) - annotate - [select for diffs], Sun Feb 25 16:02:51 2007 UTC (17 years, 3 months ago) by stevesk
Branch: MAIN
CVS Tags: OPENBSD_4_1_BASE, OPENBSD_4_1
Changes since 1.10: +4 -4 lines
Diff to previous 1.10 (colored)

no need to quote/escape here; ok krw@

Revision 1.10 / (download) - annotate - [select for diffs], Sat Jun 3 19:30:06 2006 UTC (18 years ago) by mpf
Branch: MAIN
CVS Tags: OPENBSD_4_0_BASE, OPENBSD_4_0
Changes since 1.9: +5 -5 lines
Diff to previous 1.9 (colored)

Use ifconfig delete/alias conforming with the man page.
OK krw@

Revision 1.9 / (download) - annotate - [select for diffs], Thu Jun 1 19:00:39 2006 UTC (18 years ago) by krw
Branch: MAIN
Changes since 1.8: +4 -4 lines
Diff to previous 1.8 (colored)

'-alias' is deprecated. Use 'delete' in ifconfig statements.

ok beck@

Revision 1.8 / (download) - annotate - [select for diffs], Tue May 24 03:11:12 2005 UTC (19 years ago) by todd
Branch: MAIN
CVS Tags: OPENBSD_3_9_BASE, OPENBSD_3_9, OPENBSD_3_8_BASE, OPENBSD_3_8
Changes since 1.7: +2 -3 lines
Diff to previous 1.7 (colored)

no more 'ifconfig $if 0.0.0.0 up' only 'ifconfig $if up' since dhclient
uses bpf exclusively

ok deraadt@, henning@, claudio@

Revision 1.7 / (download) - annotate - [select for diffs], Sat Apr 9 09:14:58 2005 UTC (19 years, 2 months ago) by jmc
Branch: MAIN
Changes since 1.6: +2 -2 lines
Diff to previous 1.6 (colored)

incorrect apostrophe (in comment);

Revision 1.6 / (download) - annotate - [select for diffs], Thu May 6 18:22:41 2004 UTC (20 years, 1 month ago) by claudio
Branch: MAIN
CVS Tags: OPENBSD_3_7_BASE, OPENBSD_3_7, OPENBSD_3_6_BASE, OPENBSD_3_6
Changes since 1.5: +6 -2 lines
Diff to previous 1.5 (colored)

Support ADSL routers running in half-bridge mode or acctually
almost-broken mode. It seems these devices do proxyarp for the whole
internet and do not provide a real default gateway.
Fix for and from PR3747 by Andrew Basterfield.
OK deraadt@ makes sense krw@

Revision 1.5 / (download) - annotate - [select for diffs], Wed May 5 23:08:54 2004 UTC (20 years, 1 month ago) by deraadt
Branch: MAIN
Changes since 1.4: +3 -2 lines
Diff to previous 1.4 (colored)

line wrap

Revision 1.4 / (download) - annotate - [select for diffs], Sun Apr 18 18:22:20 2004 UTC (20 years, 1 month ago) by deraadt
Branch: MAIN
Changes since 1.3: +1 -2 lines
Diff to previous 1.3 (colored)

zap comment; han@mijncomputer.nl

Revision 1.3 / (download) - annotate - [select for diffs], Mon Apr 12 20:39:21 2004 UTC (20 years, 2 months ago) by deraadt
Branch: MAIN
Changes since 1.2: +2 -2 lines
Diff to previous 1.2 (colored)

spacing

Revision 1.2 / (download) - annotate - [select for diffs], Mon Apr 12 20:29:16 2004 UTC (20 years, 2 months ago) by henning
Branch: MAIN
Changes since 1.1: +2 -2 lines
Diff to previous 1.1 (colored)

simplify, from Han Boetes & pb@, theo ok

Revision 1.1 / (download) - annotate - [select for diffs], Sun Jan 18 01:26:20 2004 UTC (20 years, 4 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_3_5_BASE, OPENBSD_3_5

this is where dhclient will start surgery

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.