]> git.ipfire.org Git - thirdparty/dhcp.git/log
thirdparty/dhcp.git
27 years agoAdd missing fi
Ted Lemon [Fri, 10 Jul 1998 23:07:33 +0000 (23:07 +0000)] 
Add missing fi

27 years agoIf there's another server running, refuse to run.
Ted Lemon [Fri, 10 Jul 1998 04:52:17 +0000 (04:52 +0000)] 
If there's another server running, refuse to run.

27 years agoTell people they have to type make install to install the software.
Ted Lemon [Wed, 8 Jul 1998 23:37:02 +0000 (23:37 +0000)] 
Tell people they have to type make install to install the software.

27 years agoFix up PID file definitions
Ted Lemon [Wed, 8 Jul 1998 23:25:42 +0000 (23:25 +0000)] 
Fix up PID file definitions

27 years agoStore server identifier in group.
Ted Lemon [Tue, 7 Jul 1998 17:50:29 +0000 (17:50 +0000)] 
Store server identifier in group.

27 years agoFix typo
Ted Lemon [Mon, 29 Jun 1998 22:46:53 +0000 (22:46 +0000)] 
Fix typo

27 years agoFix typos
Ted Lemon [Mon, 29 Jun 1998 22:46:44 +0000 (22:46 +0000)] 
Fix typos

27 years agoMake lease_state -> filename a static array for now.
Ted Lemon [Mon, 29 Jun 1998 22:28:00 +0000 (22:28 +0000)] 
Make lease_state -> filename a static array for now.
Add lease_state -> from to allow the IP source address of the packet to
be computed in ack_lease().

27 years agoSend client-supplied filename if nothing supersedes it.
Ted Lemon [Mon, 29 Jun 1998 22:24:34 +0000 (22:24 +0000)] 
Send client-supplied filename if nothing supersedes it.

27 years agoSend the same IP address in the source address of the IP packet that we
Ted Lemon [Mon, 29 Jun 1998 22:16:38 +0000 (22:16 +0000)] 
Send the same IP address in the source address of the IP packet that we
send in the DHCP Server Identifier option (if we build our own IP packet).

27 years agoPull up 1.29 and 1.30
Ted Lemon [Mon, 29 Jun 1998 22:14:11 +0000 (22:14 +0000)] 
Pull up 1.29 and 1.30

27 years agoPull up relevant portions of 1.60
Ted Lemon [Mon, 29 Jun 1998 20:40:47 +0000 (20:40 +0000)] 
Pull up relevant portions of 1.60

27 years agoPull up relevant portions of 1.58
Ted Lemon [Mon, 29 Jun 1998 20:38:15 +0000 (20:38 +0000)] 
Pull up relevant portions of 1.58

27 years agoUpdate copyright date V2-BETA-1-PATCHLEVEL-6
Ted Lemon [Fri, 26 Jun 1998 21:11:01 +0000 (21:11 +0000)] 
Update copyright date

27 years agoMore 2.0b1pl6 notes.
Ted Lemon [Fri, 26 Jun 1998 21:09:45 +0000 (21:09 +0000)] 
More 2.0b1pl6 notes.

27 years agoPull up 1.16
Ted Lemon [Fri, 26 Jun 1998 21:07:11 +0000 (21:07 +0000)] 
Pull up 1.16

27 years agoUpdate server-identifier documentation.
Ted Lemon [Fri, 26 Jun 1998 21:06:24 +0000 (21:06 +0000)] 
Update server-identifier documentation.

27 years agoRelease notes for 2.0b1pl6
Ted Lemon [Fri, 26 Jun 1998 20:56:00 +0000 (20:56 +0000)] 
Release notes for 2.0b1pl6

27 years agoinet_ntoa should take const char *, not char *.
Ted Lemon [Fri, 26 Jun 1998 20:51:35 +0000 (20:51 +0000)] 
inet_ntoa should take const char *, not char *.

27 years agoFix prototype for inet_ntoa
Ted Lemon [Fri, 26 Jun 1998 20:51:00 +0000 (20:51 +0000)] 
Fix prototype for inet_ntoa

27 years agoDefine a couple of DPLI things I originally forgot.
Ted Lemon [Fri, 26 Jun 1998 20:50:41 +0000 (20:50 +0000)] 
Define a couple of DPLI things I originally forgot.

27 years agoRelease notes for 2.0b1pl5 V2-BETA-1-PATCH-5
Ted Lemon [Fri, 26 Jun 1998 18:25:01 +0000 (18:25 +0000)] 
Release notes for 2.0b1pl5

27 years agoAccount for argument promotion in assemble_udp_ip_header.
Ted Lemon [Fri, 26 Jun 1998 18:20:44 +0000 (18:20 +0000)] 
Account for argument promotion in assemble_udp_ip_header.

27 years agoUse DLPI on Solaris
Ted Lemon [Fri, 26 Jun 1998 18:20:10 +0000 (18:20 +0000)] 
Use DLPI on Solaris

27 years agoFix assemble_udp_ip_header prototype .
Ted Lemon [Fri, 26 Jun 1998 18:19:51 +0000 (18:19 +0000)] 
Fix assemble_udp_ip_header prototype .

27 years ago-Wstrict-prototypes is not safe on Solaris unless you've installed ISC BIND, so don...
Ted Lemon [Fri, 26 Jun 1998 18:19:04 +0000 (18:19 +0000)] 
-Wstrict-prototypes is not safe on Solaris unless you've installed ISC BIND, so don't use it.

27 years agoRelease notes for 2.0b1pl4 V2-BETA-1-PATCH-4
Ted Lemon [Fri, 26 Jun 1998 18:00:42 +0000 (18:00 +0000)] 
Release notes for 2.0b1pl4

27 years agochar-subscripts, not char-subscript.
Ted Lemon [Fri, 26 Jun 1998 17:41:12 +0000 (17:41 +0000)] 
char-subscripts, not char-subscript.

27 years agoRelease notes for 2.0b1pl2 V2-BETA-1-PATCH-3
Ted Lemon [Fri, 26 Jun 1998 04:24:22 +0000 (04:24 +0000)] 
Release notes for 2.0b1pl2

27 years agoNew dhcpd.leases document
Ted Lemon [Fri, 26 Jun 1998 04:17:25 +0000 (04:17 +0000)] 
New dhcpd.leases document

27 years agoFix possible null pointer dereference. Remove newlines from "reclaimed" syslog...
Ted Lemon [Fri, 26 Jun 1998 04:17:12 +0000 (04:17 +0000)] 
Fix possible null pointer dereference.   Remove newlines from "reclaimed" syslog messages.

27 years agoPull up 1.3
Ted Lemon [Thu, 25 Jun 1998 22:59:54 +0000 (22:59 +0000)] 
Pull up 1.3

27 years agoAllow server-identifier in any scope.
Ted Lemon [Thu, 25 Jun 1998 22:12:59 +0000 (22:12 +0000)] 
Allow server-identifier in any scope.

27 years agoOnly release non-requested leases on DHCPREQUEST. Use server-identifier if it's...
Ted Lemon [Thu, 25 Jun 1998 22:12:05 +0000 (22:12 +0000)] 
Only release non-requested leases on DHCPREQUEST.   Use server-identifier if it's in scope.

27 years agoPull up 1.2
Ted Lemon [Thu, 25 Jun 1998 21:56:33 +0000 (21:56 +0000)] 
Pull up 1.2

27 years agoMore updates for 2.0b1pl2 V2-BETA-1-PATCH-2
Ted Lemon [Thu, 25 Jun 1998 21:22:55 +0000 (21:22 +0000)] 
More updates for 2.0b1pl2

27 years agoIf a client REQUESTs an abandoned lease, reclaim it.
Ted Lemon [Thu, 25 Jun 1998 21:20:41 +0000 (21:20 +0000)] 
If a client REQUESTs an abandoned lease, reclaim it.

27 years agoFix inconsistencies between signed and unsigned character declarations. Account...
Ted Lemon [Thu, 25 Jun 1998 21:11:35 +0000 (21:11 +0000)] 
Fix inconsistencies between signed and unsigned character declarations.   Account for promotion in prototypes.

27 years agoUpdate for 2.0b1pl2
Ted Lemon [Thu, 25 Jun 1998 18:45:40 +0000 (18:45 +0000)] 
Update for 2.0b1pl2

27 years agoThis commit was manufactured by cvs2git to create branch 'RELEASE_2'.
cvs2git [Thu, 25 Jun 1998 18:37:46 +0000 (18:37 +0000)] 
This commit was manufactured by cvs2git to create branch 'RELEASE_2'.

27 years agoRhapsody support
Ted Lemon [Thu, 25 Jun 1998 18:37:45 +0000 (18:37 +0000)] 
Rhapsody support

27 years agoRhapsody support
Ted Lemon [Thu, 25 Jun 1998 18:34:47 +0000 (18:34 +0000)] 
Rhapsody support

27 years agoBuild dlpi.o
Ted Lemon [Thu, 25 Jun 1998 06:07:12 +0000 (06:07 +0000)] 
Build dlpi.o

27 years agoAdd DLPI support.
Ted Lemon [Thu, 25 Jun 1998 06:06:10 +0000 (06:06 +0000)] 
Add DLPI support.

27 years agoUpdate prototypes
Ted Lemon [Thu, 25 Jun 1998 06:05:47 +0000 (06:05 +0000)] 
Update prototypes

27 years agoCheck hardware address length in packet, toss packet if it's unreasonable. Dhcp...
Ted Lemon [Thu, 25 Jun 1998 05:50:23 +0000 (05:50 +0000)] 
Check hardware address length in packet, toss packet if it's unreasonable.   Dhcp packet structure is passed in directly - no need to align it.

27 years agoFix ancient typo. Sort abandoned leases at current time, not at end of time.
Ted Lemon [Thu, 25 Jun 1998 05:47:29 +0000 (05:47 +0000)] 
Fix ancient typo.   Sort abandoned leases at current time, not at end of time.

27 years agoPass dhcp_packet * to packet handler instead of unsigned char *. Align input buffer...
Ted Lemon [Thu, 25 Jun 1998 05:45:10 +0000 (05:45 +0000)] 
Pass dhcp_packet * to packet handler instead of unsigned char *.   Align input buffer ahead of time.

27 years agoUpdate copyrights. Use -Wno-char-subscript on Solaris.
Ted Lemon [Thu, 25 Jun 1998 05:38:54 +0000 (05:38 +0000)] 
Update copyrights.   Use -Wno-char-subscript on Solaris.

27 years agoDeclarations for executable statements.
Ted Lemon [Thu, 25 Jun 1998 03:58:24 +0000 (03:58 +0000)] 
Declarations for executable statements.

27 years agoExecute statements.
Ted Lemon [Thu, 25 Jun 1998 03:57:00 +0000 (03:57 +0000)] 
Execute statements.

27 years agoMove a lot of packet discard code into ack_lease(), after we've evaluated the stateme...
Ted Lemon [Thu, 25 Jun 1998 03:56:24 +0000 (03:56 +0000)] 
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.

27 years agoGet rid of root group defaults. Merge trees into expressions. Allow host statemen...
Ted Lemon [Thu, 25 Jun 1998 03:51:59 +0000 (03:51 +0000)] 
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.

27 years agomatch_expr -> expression. Move expression evaluator into tree.c. Add find_class...
Ted Lemon [Thu, 25 Jun 1998 03:42:18 +0000 (03:42 +0000)] 
match_expr -> expression.   Move expression evaluator into tree.c.   Add find_class function.

27 years agoConvert to using executable statements instead of old-style options.
Ted Lemon [Thu, 25 Jun 1998 03:41:03 +0000 (03:41 +0000)] 
Convert to using executable statements instead of old-style options.

27 years agoTake dhcp packet as an argument instead of converting. Limit length of hardware...
Ted Lemon [Thu, 25 Jun 1998 03:39:04 +0000 (03:39 +0000)] 
Take dhcp packet as an argument instead of converting.   Limit length of hardware address.

27 years agoMerge tree struct into expression struct. tree_cache -> option_cache. Move data_s...
Ted Lemon [Thu, 25 Jun 1998 03:35:31 +0000 (03:35 +0000)] 
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.

27 years agoAdd ADD, BREAK, ELSE, ELSIF, IF, MATCH, SUBCLASS, SPAWN and WITH tokens
Ted Lemon [Thu, 25 Jun 1998 03:32:58 +0000 (03:32 +0000)] 
Add ADD, BREAK, ELSE, ELSIF, IF, MATCH, SUBCLASS, SPAWN and WITH tokens

27 years agoAdd statement.h include file. Move data_string to tree.h. Add option_state struct...
Ted Lemon [Thu, 25 Jun 1998 03:25:02 +0000 (03:25 +0000)] 
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.

27 years agoUpdate all the names to reflect the unification of expression evaluation and dns...
Ted Lemon [Thu, 25 Jun 1998 03:10:32 +0000 (03:10 +0000)] 
Update all the names to reflect the unification of expression evaluation and dns lookup evaluation.   Add expression evaluator.

27 years agoAdd server option universe. Install dhcp option universe set function.
Ted Lemon [Thu, 25 Jun 1998 03:09:09 +0000 (03:09 +0000)] 
Add server option universe.   Install dhcp option universe set function.

27 years agoNive parse-ip-addr-or-hostbname into common parser. Add executable statement parser...
Ted Lemon [Thu, 25 Jun 1998 03:07:51 +0000 (03:07 +0000)] 
Nive parse-ip-addr-or-hostbname into common parser.   Add executable statement parser.   Add xpression parser.      Unify the option statement parsers.   Make the option token parser its own function.

27 years agocons_options now takes option_state struct instead of options and agent_options args...
Ted Lemon [Thu, 25 Jun 1998 03:02:50 +0000 (03:02 +0000)] 
cons_options now takes option_state struct instead of options and agent_options args.   Fix bufgfer overflow attack in parameter request list.   Change over to expression evaluation code instead of ds tree evaluation code.   do_packet now takes a pointer to a dhcp packet instead of a pointer to a character buffer.   This fixess another possible overflow.   Add per-option-universe lookup and set functions.

27 years agoLose special case code for vendor and user classes. Get client identifier in host...
Ted Lemon [Thu, 25 Jun 1998 02:59:15 +0000 (02:59 +0000)] 
Lose special case code for vendor and user classes.   Get client identifier in host declaration off of per-host executable statement list rather than now-nonexistent option list.   Fixed address is now an expression, not a tree.   Take out host reverse lookup code - it doesn't belong here.   Fix botch in dangling lease code.

27 years agoClear out unused portion of icmp packet.
Ted Lemon [Thu, 25 Jun 1998 02:55:56 +0000 (02:55 +0000)] 
Clear out unused portion of icmp packet.

27 years agoRead DHCP packet into aligned buffer and pass it as a struct pointer instead of a...
Ted Lemon [Thu, 25 Jun 1998 02:55:16 +0000 (02:55 +0000)] 
Read DHCP packet into aligned buffer and pass it as a struct pointer instead of a character buffer.

27 years agoAdd ADD, BREAK, ELSE, ELSIF, IF, MATCH, SUBCLASS and WITH tokens
Ted Lemon [Thu, 25 Jun 1998 02:54:29 +0000 (02:54 +0000)] 
Add ADD, BREAK, ELSE, ELSIF, IF, MATCH, SUBCLASS and WITH tokens

27 years agotree -> expression. tree_cache -> option_cache. New destructors for dhcp_packet...
Ted Lemon [Thu, 25 Jun 1998 02:53:00 +0000 (02:53 +0000)] 
tree -> expression.   tree_cache -> option_cache.   New destructors for dhcp_packet and packet structures.

27 years agoAdd statement executor module
Ted Lemon [Thu, 25 Jun 1998 02:51:49 +0000 (02:51 +0000)] 
Add statement executor module

27 years agoAdd -Wno-char-subscript for Solaris. Update copyright.
Ted Lemon [Thu, 25 Jun 1998 02:51:14 +0000 (02:51 +0000)] 
Add -Wno-char-subscript for Solaris. Update copyright.

27 years agoUpdate for 2.0b1pl1
Ted Lemon [Mon, 18 May 1998 05:52:52 +0000 (05:52 +0000)] 
Update for 2.0b1pl1

27 years agoDon't mention BPF or NIT in multiple-interface socket error message. = -> ==
Ted Lemon [Mon, 18 May 1998 05:45:49 +0000 (05:45 +0000)] 
Don't mention BPF or NIT in multiple-interface socket error message.   = -> ==

27 years agoPull up 1.17
Ted Lemon [Mon, 18 May 1998 05:32:18 +0000 (05:32 +0000)] 
Pull up 1.17

27 years agoPull up 1.11
Ted Lemon [Mon, 18 May 1998 05:31:17 +0000 (05:31 +0000)] 
Pull up 1.11

27 years agoPull up 1.14 and 1.15
Ted Lemon [Mon, 18 May 1998 05:30:21 +0000 (05:30 +0000)] 
Pull up 1.14 and 1.15

27 years agonetwork_number, not network_address.
Ted Lemon [Mon, 18 May 1998 05:29:23 +0000 (05:29 +0000)] 
network_number, not network_address.

27 years agoPull up half of 1.61: reclaim abandoned leases.
Ted Lemon [Mon, 18 May 1998 05:28:06 +0000 (05:28 +0000)] 
Pull up half of 1.61: reclaim abandoned leases.

27 years agoFix possible priority_list and buffer array overruns
Ted Lemon [Mon, 18 May 1998 05:24:23 +0000 (05:24 +0000)] 
Fix possible priority_list and buffer array overruns

27 years agoMove option name parsing to its own function.
Ted Lemon [Mon, 20 Apr 1998 18:05:44 +0000 (18:05 +0000)] 
Move option name parsing to its own function.

27 years agoMove option name parsing into its own function. Use parse_cshl to parse colon-seper...
Ted Lemon [Mon, 20 Apr 1998 18:05:19 +0000 (18:05 +0000)] 
Move option name parsing into its own function.   Use parse_cshl to parse colon-seperated hexadecimal lists.   Add match expression parsing.

27 years agoCarry some data structure changes across from parser. Nuke named hash stuff.
Ted Lemon [Mon, 20 Apr 1998 18:03:33 +0000 (18:03 +0000)] 
Carry some data structure changes across from parser.   Nuke named hash stuff.

27 years agoAdd new tokens for match expressions.
Ted Lemon [Mon, 20 Apr 1998 18:02:40 +0000 (18:02 +0000)] 
Add new tokens for match expressions.

27 years agoMove parse.c declarations under their own filename. Add function declarations for...
Ted Lemon [Mon, 20 Apr 1998 18:02:29 +0000 (18:02 +0000)] 
Move parse.c declarations under their own filename.   Add function declarations for expression parsing.

27 years agoAdd parse_option_name and parse_cshl functions.
Ted Lemon [Mon, 20 Apr 1998 18:01:32 +0000 (18:01 +0000)] 
Add parse_option_name and parse_cshl functions.

27 years agoInitialize client classification system in main().
Ted Lemon [Sun, 19 Apr 1998 23:35:26 +0000 (23:35 +0000)] 
Initialize client classification system in main().

27 years agoDo client classification. If user supplies a dhcp-lease-time or related option...
Ted Lemon [Sun, 19 Apr 1998 23:34:43 +0000 (23:34 +0000)] 
Do client classification.   If user supplies a dhcp-lease-time or related option, print a warning when issuing a lease.

27 years agoSupport for classifying clients.
Ted Lemon [Sun, 19 Apr 1998 23:24:48 +0000 (23:24 +0000)] 
Support for classifying clients.

27 years agoAdd class.c
Ted Lemon [Sun, 19 Apr 1998 23:24:28 +0000 (23:24 +0000)] 
Add class.c

27 years agoAdd a lookup function to the option universe structure.
Ted Lemon [Sun, 19 Apr 1998 23:23:34 +0000 (23:23 +0000)] 
Add a lookup function to the option universe structure.

27 years agoAdd the concept of named hashes.
Ted Lemon [Sun, 19 Apr 1998 23:22:20 +0000 (23:22 +0000)] 
Add the concept of named hashes.

27 years agoAdd prototypes and structure declarations for client classification
Ted Lemon [Sun, 19 Apr 1998 23:21:54 +0000 (23:21 +0000)] 
Add prototypes and structure declarations for client classification

27 years agoAdd agent option universe.
Ted Lemon [Sun, 19 Apr 1998 23:20:06 +0000 (23:20 +0000)] 
Add agent option universe.

27 years agoAdd dhcp_option_lookup and agent_option_lookup functions.
Ted Lemon [Sun, 19 Apr 1998 23:19:14 +0000 (23:19 +0000)] 
Add dhcp_option_lookup and agent_option_lookup functions.

27 years agoInteractive client for DHCP servers.
Ted Lemon [Thu, 9 Apr 1998 05:20:14 +0000 (05:20 +0000)] 
Interactive client for DHCP servers.

27 years agoInteractive client data structures for DHCP server.
Ted Lemon [Thu, 9 Apr 1998 05:19:26 +0000 (05:19 +0000)] 
Interactive client data structures for DHCP server.

27 years agoInteractive client for browsing internal database.
Ted Lemon [Thu, 9 Apr 1998 05:18:56 +0000 (05:18 +0000)] 
Interactive client for browsing internal database.

27 years agoAdd min-lease-time, min-secs and use-lease-addr-for-default-route. Allow empty...
Ted Lemon [Thu, 9 Apr 1998 04:57:46 +0000 (04:57 +0000)] 
Add min-lease-time, min-secs and use-lease-addr-for-default-route.   Allow empty option declarations.

27 years agoStart interactive client
Ted Lemon [Thu, 9 Apr 1998 04:47:46 +0000 (04:47 +0000)] 
Start interactive client

27 years agoDon't respond to requests that are newer than a configured number of seconds. Enfor...
Ted Lemon [Thu, 9 Apr 1998 04:41:52 +0000 (04:41 +0000)] 
Don't respond to requests that are newer than a configured number of seconds.   Enforce a minimum lease time, if specified.   If a dhcp-server-identifier option has been specified, use that instead of coming up with one from the shared_network structure.   Allow the routers option to be set to the client's address.   Be more clever about dealing with duplicate leases.

27 years agoAdd min-lease-time, min-secs and use-lease-addr-for-default-route. Allow empty...
Ted Lemon [Thu, 9 Apr 1998 04:38:24 +0000 (04:38 +0000)] 
Add min-lease-time, min-secs and use-lease-addr-for-default-route.   Allow empty option declarations.