2
0
mirror of https://gitlab.isc.org/isc-projects/dhcp synced 2025-08-31 06:15:55 +00:00
Commit Graph

1047 Commits

Author SHA1 Message Date
Ted Lemon
71498466f8 Minor documentation clarification on maximum lease time handling. 1998-11-05 18:57:46 +00:00
Ted Lemon
23b217251f Add command-line argument to set pid file name. 1998-11-05 18:56:38 +00:00
Ted Lemon
6603eed953 Oops, fix a conflict that was committed in previous revision. 1998-11-05 18:56:15 +00:00
Ted Lemon
5d25508cf5 Use evaluation-based option handling 1998-11-05 18:54:55 +00:00
Ted Lemon
f90c6527fa Add some code to prevent linking in stuff we don't need (yuck). 1998-11-05 18:51:16 +00:00
Ted Lemon
92346c6166 Lose extraneous tab. 1998-11-05 18:50:04 +00:00
Ted Lemon
166e479055 Add endian.h defines - not present in hpux headers. 1998-11-05 18:49:36 +00:00
Ted Lemon
8a1f72f092 INADDR_LOOPBACK now defined in some FreeBSD versions - don't redefine it. 1998-11-05 18:49:12 +00:00
Ted Lemon
95732025a4 Add send option statement. 1998-11-05 18:48:37 +00:00
Ted Lemon
dac426fa64 Add some new debugging types 1998-11-05 18:48:24 +00:00
Ted Lemon
983ea35c77 Make dhcp token type an enum for easier debugging. 1998-11-05 18:47:09 +00:00
Ted Lemon
27fe61a702 New prototypes. Many data structure updates. 1998-11-05 18:46:42 +00:00
Ted Lemon
1d07a807ef Implement reference-based option cache and expressions. 1998-11-05 18:45:23 +00:00
Ted Lemon
5bb74e19bc Get rid of ad-hoc option priority list. 1998-11-05 18:44:41 +00:00
Ted Lemon
2d0eb01961 Add new printers for prettier printing of 'x' format. Add expression printer. 1998-11-05 18:44:11 +00:00
Ted Lemon
02a015fb46 Fix up all the option handling code to use evaluation instead of fixed data. 1998-11-05 18:43:23 +00:00
Ted Lemon
a370b55d06 Add new option cache handling code. 1998-11-05 18:42:47 +00:00
Ted Lemon
15b5c093be Fix up all the option handling code to use evaluation instead of fixed data. User-specified option statements are not stored in a linked list of executable statements, rather than as data trees. 1998-11-05 18:42:18 +00:00
Ted Lemon
a1933e2df8 Add expression debugging printfs. Supply input and output options to execute_statements. 1998-11-05 18:40:40 +00:00
Ted Lemon
62366286cf Add new reference-based allocators and some new new/free allocators for data types that were previously being allocated with malloc(). 1998-11-05 18:39:54 +00:00
Ted Lemon
a560623f05 Add some code to prevent pulling in libraries we don't need. (yuck) 1998-11-05 18:36:34 +00:00
Ted Lemon
14ecb5bacd Intermediary changes 1998-10-22 04:52:23 +00:00
Ted Lemon
94ab0b3be1 Add depend target 1998-10-22 04:50:29 +00:00
Ted Lemon
7d77172d26 Move discover_interfaces and relate goop to discover.c 1998-10-17 13:35:24 +00:00
Ted Lemon
0c6a64b23a Add EXISTS token. 1998-10-17 13:34:31 +00:00
Ted Lemon
1bc9d4926b Add discover.c. Remove spurious tab. 1998-10-17 13:33:40 +00:00
Ted Lemon
1938efb00d Add bsd/os script. Use -Wno-switch (sigh). 1998-10-17 13:32:20 +00:00
Ted Lemon
6fdff3b8eb Don't write leases that contain non-printable or whitespace characters. 1998-08-05 19:32:20 +00:00
Ted Lemon
1409f29058 Make the documentation a little clearer for those who don't know their way around shells and compilers. 1998-07-18 06:08:29 +00:00
Ted Lemon
02361a184b If there's another server running, refuse to run. 1998-07-10 04:52:25 +00:00
Ted Lemon
68c039d334 Tell people they have to type make install to install the software. 1998-07-08 23:37:44 +00:00
Ted Lemon
2c51668a22 Fix up PID file definitions 1998-07-08 23:25:34 +00:00
Ted Lemon
b13b05da07 Update server-identifier documentaiton. 1998-06-26 21:05:58 +00:00
Ted Lemon
e5172d3d08 -Wstrict-prototypes is not safe on Solaris unless you've installed ISC BIND, so don't use it. 1998-06-26 18:19:17 +00:00
Ted Lemon
0d22cad91a char-subscripts, not char-subscript. 1998-06-26 17:42:23 +00:00
Ted Lemon
45d5370c5c Document events that cause leases to be written.
Document lease time zones.
Further document abandoned leases.
1998-06-25 22:56:38 +00:00
Ted Lemon
3e18a8b4fb Update binary copyright. 1998-06-25 22:54:13 +00:00
Ted Lemon
c54885bd2d If a client REQUESTs an abandoned lease, reclaim it. 1998-06-25 21:24:23 +00:00
Ted Lemon
aaf053e333 Rhapsody support 1998-06-25 18:37:45 +00:00
Ted Lemon
ae0b5b7d54 Declarations for executable statements. 1998-06-25 03:58:24 +00:00
Ted Lemon
055fa312bd Execute statements. 1998-06-25 03:57:00 +00:00
Ted Lemon
b1dd98c948 Move a lot of packet discard code into ack_lease(), after we've evaluated the statements associated with a packet. Use new-style option processing. No more explicit user/vendor class support. Revamp lease time processing. Get client identifier directly from host declaration. 1998-06-25 03:56:24 +00:00
Ted Lemon
ece6ea338c Get rid of root group defaults. Merge trees into expressions. Allow host statements in class declarations (explicitly declaring a host to be in a specific class). Server universe declarations handled as statements. parse_allow_deny now creates statements. Grandfather old-style user and vendor class declarations. Add support for spawning classes. Can't flag dynamic bootp anymore. Move parse_ip_addr_or_hostname into common code. tree_cache -> option_cache. Move option parameter parsing into common parser. Put expression parser in common code. 1998-06-25 03:51:59 +00:00
Ted Lemon
adb7ed1a7e match_expr -> expression. Move expression evaluator into tree.c. Add find_class function. 1998-06-25 03:42:18 +00:00
Ted Lemon
ef0afca963 Convert to using executable statements instead of old-style options. 1998-06-25 03:41:03 +00:00
Ted Lemon
60dab80975 Take dhcp packet as an argument instead of converting. Limit length of hardware address. 1998-06-25 03:39:04 +00:00
Ted Lemon
50d92f585a Merge tree struct into expression struct. tree_cache -> option_cache. Move data_string and expression structs from dhcpd.h. Fix up dns_host_entry struct. Add a per-universe set function. 1998-06-25 03:35:31 +00:00
Ted Lemon
f442d71842 Add ADD, BREAK, ELSE, ELSIF, IF, MATCH, SUBCLASS, SPAWN and WITH tokens 1998-06-25 03:32:58 +00:00
Ted Lemon
2b9b6ff729 Add statement.h include file. Move data_string to tree.h. Add option_state structure, unifying values from all option universes into one structure. Lease_state structure now has option_state instead of options and agent_options. Group structure now has executable statements i. Configuration state not appropriate for DHCP option universe now in server option universe rather than explicitly declared and specially ahndled. Define names of server state options. Define a default default lease time, default min lease time and default max lease time. Put client identifier in host_decl structure. Move expression struct to tree.h. match_expr -> expression. Fix/update prototypes. 1998-06-25 03:25:02 +00:00
Ted Lemon
33e712eab3 Update all the names to reflect the unification of expression evaluation and dns lookup evaluation. Add expression evaluator. 1998-06-25 03:10:32 +00:00