OpenBSD CVS

CVS log for src/usr.sbin/dhcpd/conflex.c


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

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.17.4.1 / (download) - annotate - [select for diffs], Wed May 3 02:22:00 2017 UTC (7 years, 1 month ago) by jsg
Branch: OPENBSD_6_1
Changes since 1.17: +2 -1 lines
Diff to previous 1.17 (colored) next main 1.18 (colored)

OpenBSD 6.1 errata 001, May 2, 2017

dhcpd(8) unconditionally echoed client identifier. Add parameter
"echo-client-id" to allow this behaviour to be turned off.

Revision 1.19 / (download) - annotate - [select for diffs], Mon Apr 24 14:58:36 2017 UTC (7 years, 1 month ago) by krw
Branch: MAIN
CVS Tags: OPENBSD_7_5_BASE, OPENBSD_7_5, OPENBSD_7_4_BASE, OPENBSD_7_4, OPENBSD_7_3_BASE, OPENBSD_7_3, OPENBSD_7_2_BASE, OPENBSD_7_2, 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, OPENBSD_6_7_BASE, OPENBSD_6_7, OPENBSD_6_6_BASE, OPENBSD_6_6, OPENBSD_6_5_BASE, OPENBSD_6_5, OPENBSD_6_4_BASE, OPENBSD_6_4, OPENBSD_6_3_BASE, OPENBSD_6_3, OPENBSD_6_2_BASE, OPENBSD_6_2, HEAD
Changes since 1.18: +2 -1 lines
Diff to previous 1.18 (colored)

Add 'echo-client-id' statment, so that RFC 6842 behaviour can be
turned off for those clients and networks that find it impossible to
move past RFC 2131. Modelled on the same statement in recent ISC
versions, though we default to 'on' (a.k.a. RFC 6842) rather that
'off' (a.k.a. RFC 2131).

Problems reported by Bastien Durel (Xerox Phaser 6022 printer) and
Bryan Vyhmeister (Hon Hai Precision router) via misc@. Thanks!

Revision 1.18 / (download) - annotate - [select for diffs], Wed Apr 12 19:12:01 2017 UTC (7 years, 1 month ago) by krw
Branch: MAIN
Changes since 1.17: +3 -2 lines
Diff to previous 1.17 (colored)

Add missing function prototypes. Mark kw_cmp() as static like all
its friends.

Revision 1.17 / (download) - annotate - [select for diffs], Mon Feb 13 22:33:39 2017 UTC (7 years, 3 months ago) by krw
Branch: MAIN
CVS Tags: OPENBSD_6_1_BASE
Branch point for: OPENBSD_6_1
Changes since 1.16: +46 -45 lines
Diff to previous 1.16 (colored)

Adjust some long lines.

Revision 1.16 / (download) - annotate - [select for diffs], Sat Feb 6 23:50:10 2016 UTC (8 years, 4 months ago) by krw
Branch: MAIN
CVS Tags: OPENBSD_6_0_BASE, OPENBSD_6_0, OPENBSD_5_9_BASE, OPENBSD_5_9
Changes since 1.15: +13 -1 lines
Diff to previous 1.15 (colored)

Eliminate #include inside *.h files and include only needed headers in
each *.c file.

Inspired by mention of header silliness by Edgar Pettijohn and mmcc@
on tech@.

Revision 1.15 / (download) - annotate - [select for diffs], Mon May 18 17:51:21 2015 UTC (9 years ago) by krw
Branch: MAIN
CVS Tags: OPENBSD_5_8_BASE, OPENBSD_5_8
Changes since 1.14: +23 -41 lines
Diff to previous 1.14 (colored)

Tweak parsing so that hostnames starting with 0-9 are accepted.

Reported long ago by matthieu@. Also Jacob Berkman via the lists.

Tests and suggestions from Jacob and Matthieu.

Revision 1.14 / (download) - annotate - [select for diffs], Sat May 2 14:29:32 2015 UTC (9 years, 1 month ago) by krw
Branch: MAIN
Changes since 1.13: +3 -9 lines
Diff to previous 1.13 (colored)

Hoist common assignments out of a series of if/if-else statements
in get_token(). Simplifies code and shrinks future diff.

No intentional functional change.

Revision 1.13 / (download) - annotate - [select for diffs], Sat May 2 12:37:35 2015 UTC (9 years, 1 month ago) by krw
Branch: MAIN
Changes since 1.12: +3 -3 lines
Diff to previous 1.12 (colored)

Correct switch between current and previous line buffers when
encountering a carriage return in the input.

Found by jsg@ a long time ago in a respository far, far away.

Revision 1.12 / (download) - annotate - [select for diffs], Thu Dec 5 22:31:35 2013 UTC (10 years, 6 months ago) by krw
Branch: MAIN
CVS Tags: OPENBSD_5_7_BASE, OPENBSD_5_7, OPENBSD_5_6_BASE, OPENBSD_5_6, OPENBSD_5_5_BASE, OPENBSD_5_5
Changes since 1.11: +1 -3 lines
Diff to previous 1.11 (colored)

Stop pretending we still support FDDI or token ring hardware types.

idea ok deraadt@ matthew@

Revision 1.11 / (download) - annotate - [select for diffs], Tue Jun 4 13:00:07 2013 UTC (11 years ago) by krw
Branch: MAIN
CVS Tags: OPENBSD_5_4_BASE, OPENBSD_5_4
Changes since 1.10: +17 -22 lines
Diff to previous 1.10 (colored)

Fix "\" escape handling in read_string().

Problem noted, fix tested and ok sthen@.

Revision 1.10 / (download) - annotate - [select for diffs], Tue Sep 1 08:42:31 2009 UTC (14 years, 9 months ago) by reyk
Branch: MAIN
CVS Tags: OPENBSD_5_3_BASE, OPENBSD_5_3, OPENBSD_5_2_BASE, OPENBSD_5_2, OPENBSD_5_1_BASE, OPENBSD_5_1, OPENBSD_5_0_BASE, OPENBSD_5_0, OPENBSD_4_9_BASE, OPENBSD_4_9, OPENBSD_4_8_BASE, OPENBSD_4_8, OPENBSD_4_7_BASE, OPENBSD_4_7
Changes since 1.9: +2 -1 lines
Diff to previous 1.9 (colored)

Echo back the Relay Agent Information option if present (RFC 3046).
Also add support for the "ipsec-tunnel" hardware type as described in
RFC 3456.

ok henning@ krw@ (but needs more testing from others)

Revision 1.9 / (download) - annotate - [select for diffs], Sun Dec 17 18:03:33 2006 UTC (17 years, 5 months ago) by stevesk
Branch: MAIN
CVS Tags: OPENBSD_4_6_BASE, OPENBSD_4_6, OPENBSD_4_5_BASE, OPENBSD_4_5, OPENBSD_4_4_BASE, OPENBSD_4_4, OPENBSD_4_3_BASE, OPENBSD_4_3, OPENBSD_4_2_BASE, OPENBSD_4_2, OPENBSD_4_1_BASE, OPENBSD_4_1
Changes since 1.8: +1 -2 lines
Diff to previous 1.8 (colored)

remove one-lease-per-client parameter which was never implemented (it
doesn't do anything and is not documented); ok henning@

Revision 1.8 / (download) - annotate - [select for diffs], Thu Apr 20 19:50:08 2006 UTC (18 years, 1 month ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_4_0_BASE, OPENBSD_4_0
Changes since 1.7: +2 -2 lines
Diff to previous 1.7 (colored)

list must be sorted

Revision 1.7 / (download) - annotate - [select for diffs], Tue Apr 18 19:18:31 2006 UTC (18 years, 1 month ago) by deraadt
Branch: MAIN
Changes since 1.6: +68 -214 lines
Diff to previous 1.6 (colored)

cleanup keyword lookup for the lexer, and remove keywords not valid in
either dhclient or dhcpd context; tested by many

Revision 1.6 / (download) - annotate - [select for diffs], Fri Nov 25 16:24:12 2005 UTC (18 years, 6 months ago) by krw
Branch: MAIN
CVS Tags: OPENBSD_3_9_BASE, OPENBSD_3_9
Changes since 1.5: +2 -1 lines
Diff to previous 1.5 (colored)

Missing 'break;' found by lint. 'blass' is not the same as 'class'!

ok moritz@ otto@

Revision 1.5 / (download) - annotate - [select for diffs], Tue Jul 26 19:14:57 2005 UTC (18 years, 10 months ago) by krw
Branch: MAIN
CVS Tags: OPENBSD_3_8_BASE, OPENBSD_3_8
Changes since 1.4: +2 -2 lines
Diff to previous 1.4 (colored)

Fix buffer overflows in dhcpd and dhclient. Closes PR#4306.

ok henning@

Revision 1.4 / (download) - annotate - [select for diffs], Thu Sep 16 18:35:42 2004 UTC (19 years, 8 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_3_7_BASE, OPENBSD_3_7
Changes since 1.3: +2 -3 lines
Diff to previous 1.3 (colored)

avoid aliasing with libc functions; ok henning

Revision 1.3 / (download) - annotate - [select for diffs], Wed Apr 14 00:56:02 2004 UTC (20 years, 2 months ago) by henning
Branch: MAIN
CVS Tags: OPENBSD_3_6_BASE, OPENBSD_3_6
Changes since 1.2: +320 -330 lines
Diff to previous 1.2 (colored)

more crap bites the dust

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

time_t and kill a few dumb defines

Revision 1.1 / (download) - annotate - [select for diffs], Tue Apr 13 23:41:48 2004 UTC (20 years, 2 months ago) by henning
Branch: MAIN

may the whacking begin

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.