]> git.ipfire.org Git - thirdparty/dhcp.git/log
thirdparty/dhcp.git
29 years agoDocument SO_BINDTODEVICE for Linux
Ted Lemon [Sun, 8 Jun 1997 04:19:08 +0000 (04:19 +0000)] 
Document SO_BINDTODEVICE for Linux

29 years agoAdjust call to find_lease
Ted Lemon [Sun, 8 Jun 1997 04:10:54 +0000 (04:10 +0000)] 
Adjust call to find_lease

29 years agoOnly store through ours if it's nonzero
Ted Lemon [Sun, 8 Jun 1997 04:10:41 +0000 (04:10 +0000)] 
Only store through ours if it's nonzero

29 years agosize_t -> ssize_t in return values where < 0 == error
Ted Lemon [Sun, 8 Jun 1997 04:08:01 +0000 (04:08 +0000)] 
size_t -> ssize_t in return values where < 0 == error

29 years agoMake it a warning rather than an error if resolv.conf is missing.
Ted Lemon [Sun, 8 Jun 1997 04:05:21 +0000 (04:05 +0000)] 
Make it a warning rather than an error if resolv.conf is missing.

29 years agoDocument new DHCPRELEASE/DHCPNAK behaviour
Ted Lemon [Sun, 8 Jun 1997 04:00:06 +0000 (04:00 +0000)] 
Document new DHCPRELEASE/DHCPNAK behaviour

29 years agoFix variable declaration omission
Ted Lemon [Sun, 8 Jun 1997 03:58:47 +0000 (03:58 +0000)] 
Fix variable declaration omission

29 years agoDocument new NAK behaviour
Ted Lemon [Sun, 8 Jun 1997 03:56:41 +0000 (03:56 +0000)] 
Document new NAK behaviour

29 years agoIf the lease we want to give the client is different than the one it's asking for...
Ted Lemon [Sun, 8 Jun 1997 03:55:58 +0000 (03:55 +0000)] 
If the lease we want to give the client is different than the one it's asking for, and we recognize the one it's asking for as ours, NAK it.

29 years agoWhen parsing a lease database, correctly transfer the client hostname and hostname...
Ted Lemon [Sun, 8 Jun 1997 03:28:01 +0000 (03:28 +0000)] 
When parsing a lease database, correctly transfer the client hostname and hostname to the memory-resident lease structure.

29 years agosize_t -> ssize_t in return values where < 0 == error
Ted Lemon [Sun, 8 Jun 1997 03:18:09 +0000 (03:18 +0000)] 
size_t -> ssize_t in return values where < 0 == error

29 years agoDocument changes
Ted Lemon [Sun, 8 Jun 1997 03:17:26 +0000 (03:17 +0000)] 
Document changes

29 years agoAlways write out two digits for single-byte quantities in arrays
Ted Lemon [Sun, 8 Jun 1997 03:08:29 +0000 (03:08 +0000)] 
Always write out two digits for single-byte quantities in arrays

29 years agoUpdate to 970605
Ted Lemon [Fri, 6 Jun 1997 01:59:10 +0000 (01:59 +0000)] 
Update to 970605

29 years agoAdd a note about why the server doesn't restart with SIGTERM
Ted Lemon [Fri, 6 Jun 1997 01:56:32 +0000 (01:56 +0000)] 
Add a note about why the server doesn't restart with SIGTERM

29 years agoParse client-hostname token
Ted Lemon [Fri, 6 Jun 1997 01:55:15 +0000 (01:55 +0000)] 
Parse client-hostname token

29 years agoLose message on short icmp_echoreplies
Ted Lemon [Wed, 4 Jun 1997 20:59:40 +0000 (20:59 +0000)] 
Lose message on short icmp_echoreplies

29 years agoRecord significant changes for the benefit of users DHCP-970602
Ted Lemon [Tue, 3 Jun 1997 02:40:49 +0000 (02:40 +0000)] 
Record significant changes for the benefit of users

29 years agoAdd useful things to TODO list - there wasn't anything there that I really care about
Ted Lemon [Tue, 3 Jun 1997 02:17:10 +0000 (02:17 +0000)] 
Add useful things to TODO list - there wasn't anything there that I really care about

29 years agoDefine u_int64_t so we can do a safe case from a 64-bit pointer to an int.
Ted Lemon [Tue, 3 Jun 1997 02:12:43 +0000 (02:12 +0000)] 
Define u_int64_t so we can do a safe case from a 64-bit pointer to an int.

29 years agoCast sockopt arg to char * for Solaris.
Ted Lemon [Tue, 3 Jun 1997 02:12:20 +0000 (02:12 +0000)] 
Cast sockopt arg to char * for Solaris.

29 years agocftest wasn't being initialized
Ted Lemon [Tue, 3 Jun 1997 01:41:31 +0000 (01:41 +0000)] 
cftest wasn't being initialized

29 years agoEnclose prototype in PROTO.
Ted Lemon [Tue, 3 Jun 1997 01:40:58 +0000 (01:40 +0000)] 
Enclose prototype in PROTO.

29 years agoNeed definition for struct timeval.
Ted Lemon [Tue, 3 Jun 1997 01:40:24 +0000 (01:40 +0000)] 
Need definition for struct timeval.

29 years agoUse a different bit for hostname than for client-hostname
Ted Lemon [Tue, 3 Jun 1997 01:06:10 +0000 (01:06 +0000)] 
Use a different bit for hostname than for client-hostname

29 years agoOops - previous fix wasn't complete
Ted Lemon [Tue, 3 Jun 1997 00:47:40 +0000 (00:47 +0000)] 
Oops - previous fix wasn't complete

29 years agoDomains aren't seperated by commas after search keyword
Ted Lemon [Tue, 3 Jun 1997 00:44:08 +0000 (00:44 +0000)] 
Domains aren't seperated by commas after search keyword

29 years agoResolver subroutines
Ted Lemon [Tue, 3 Jun 1997 00:25:43 +0000 (00:25 +0000)] 
Resolver subroutines

29 years agoInstall scripts for solaris, freebsd and linux
Ted Lemon [Tue, 3 Jun 1997 00:22:05 +0000 (00:22 +0000)] 
Install scripts for solaris, freebsd and linux

29 years agoSolaris client script
Ted Lemon [Tue, 3 Jun 1997 00:19:55 +0000 (00:19 +0000)] 
Solaris client script

29 years agoLinux client script
Ted Lemon [Tue, 3 Jun 1997 00:19:49 +0000 (00:19 +0000)] 
Linux client script

29 years agoFreeBSD client script
Ted Lemon [Mon, 2 Jun 1997 23:37:12 +0000 (23:37 +0000)] 
FreeBSD client script

29 years agoFix typo
Ted Lemon [Mon, 2 Jun 1997 23:37:04 +0000 (23:37 +0000)] 
Fix typo

29 years agoFix operator precedence bug
Ted Lemon [Mon, 2 Jun 1997 23:28:18 +0000 (23:28 +0000)] 
Fix operator precedence bug

29 years agoMake name-servers option ien116-name-servers
Ted Lemon [Mon, 2 Jun 1997 23:27:22 +0000 (23:27 +0000)] 
Make name-servers option ien116-name-servers

29 years agoAdd cftest flag which just tests config file but doesn't actually run.
Ted Lemon [Mon, 2 Jun 1997 23:26:29 +0000 (23:26 +0000)] 
Add cftest flag which just tests config file but doesn't actually run.

29 years agoDefine alias_names_permuted: Solaris has similar lossage to Linux WRT per-interface...
Ted Lemon [Mon, 2 Jun 1997 23:25:48 +0000 (23:25 +0000)] 
Define alias_names_permuted: Solaris has similar lossage to Linux WRT per-interface address aliases.

29 years agoDon't use polling on SunOS4 - it seems to tweak an O.S. Bug.
Ted Lemon [Mon, 2 Jun 1997 23:25:04 +0000 (23:25 +0000)] 
Don't use polling on SunOS4 - it seems to tweak an O.S. Bug.

29 years agoAdd iaddrlist structure for tracking lists of IP addresses
Ted Lemon [Mon, 2 Jun 1997 23:24:32 +0000 (23:24 +0000)] 
Add iaddrlist structure for tracking lists of IP addresses

29 years agoAdd REJECT token
Ted Lemon [Mon, 2 Jun 1997 23:24:05 +0000 (23:24 +0000)] 
Add REJECT token

29 years agoAdd cygwin32 ifdefs; new prototypes; add some fields to dhcp client structures.
Ted Lemon [Mon, 2 Jun 1997 23:23:05 +0000 (23:23 +0000)] 
Add cygwin32 ifdefs; new prototypes; add some fields to dhcp client structures.

29 years agoSample dhclient.conf takes advantage of some new features.
Ted Lemon [Mon, 2 Jun 1997 22:50:44 +0000 (22:50 +0000)] 
Sample dhclient.conf takes advantage of some new features.

29 years agoTry to renew active lease in REBOOT state even if it's expired.
Ted Lemon [Mon, 2 Jun 1997 22:45:08 +0000 (22:45 +0000)] 
Try to renew active lease in REBOOT state even if it's expired.

29 years agoSupport rejection of messages from rogue servers; print IP addr of server instead...
Ted Lemon [Mon, 2 Jun 1997 22:36:25 +0000 (22:36 +0000)] 
Support rejection of messages from rogue servers; print IP addr of server instead of MAC addr.

29 years agoHandle the REJECT statement
Ted Lemon [Mon, 2 Jun 1997 22:34:19 +0000 (22:34 +0000)] 
Handle the REJECT statement

29 years agoInstall 1.0 README updates and modify for 2.0
Ted Lemon [Mon, 2 Jun 1997 22:33:41 +0000 (22:33 +0000)] 
Install 1.0 README updates and modify for 2.0

29 years agoSupply extra argument to pretty_print_options
Ted Lemon [Mon, 2 Jun 1997 22:32:37 +0000 (22:32 +0000)] 
Supply extra argument to pretty_print_options

29 years agoAdd emit_quotes qualifier to pretty_print_option, so that we don't get extra quotes...
Ted Lemon [Mon, 2 Jun 1997 22:32:05 +0000 (22:32 +0000)] 
Add emit_quotes qualifier to pretty_print_option, so that we don't get extra quotes when emitting strings into configuration scripts

29 years agoDon't select for exceptions, since we don't know how to handle them.
Ted Lemon [Mon, 2 Jun 1997 22:31:30 +0000 (22:31 +0000)] 
Don't select for exceptions, since we don't know how to handle them.

29 years agoAdd REJECT keyword
Ted Lemon [Mon, 2 Jun 1997 22:30:52 +0000 (22:30 +0000)] 
Add REJECT keyword

29 years agoCygwin32 compatibility. Initialize DNS
Ted Lemon [Fri, 9 May 1997 08:27:56 +0000 (08:27 +0000)] 
Cygwin32 compatibility.   Initialize DNS

29 years agoFix bug introduced into dhcprequest processing. Fix core dump differently. Store...
Ted Lemon [Fri, 9 May 1997 08:27:14 +0000 (08:27 +0000)] 
Fix bug introduced into dhcprequest processing.   Fix core dump differently.   Store client-supplied hostname.   Fix ciaddr copy.

29 years agoWrite out client_hostname and hostname values when writing out a lease
Ted Lemon [Fri, 9 May 1997 08:22:00 +0000 (08:22 +0000)] 
Write out client_hostname and hostname values when writing out a lease

29 years agoMove parse_host_name to parse.c. Add support for recording client-supplied and...
Ted Lemon [Fri, 9 May 1997 08:21:25 +0000 (08:21 +0000)] 
Move parse_host_name to parse.c.   Add support for recording client-supplied and locally-derived hostname in lease file

29 years agoCheck for BOOTREQUEST moved here
Ted Lemon [Fri, 9 May 1997 08:20:12 +0000 (08:20 +0000)] 
Check for BOOTREQUEST moved here

29 years agoCygwin32 definitions
Ted Lemon [Fri, 9 May 1997 08:19:38 +0000 (08:19 +0000)] 
Cygwin32 definitions

29 years agoLose BROKEN_FREEBSD_CF by default
Ted Lemon [Fri, 9 May 1997 08:18:37 +0000 (08:18 +0000)] 
Lose BROKEN_FREEBSD_CF by default

29 years agoCygwin32 support
Ted Lemon [Fri, 9 May 1997 08:18:06 +0000 (08:18 +0000)] 
Cygwin32 support

29 years agoAdd new keywords
Ted Lemon [Fri, 9 May 1997 08:17:23 +0000 (08:17 +0000)] 
Add new keywords

29 years agoIf there's no h_errno, assume the error is Host Not Found
Ted Lemon [Fri, 9 May 1997 08:14:57 +0000 (08:14 +0000)] 
If there's no h_errno, assume the error is Host Not Found

29 years agoname-servers -> ien116-name-servers, to reduce confusion. Add nds- options
Ted Lemon [Fri, 9 May 1997 08:13:38 +0000 (08:13 +0000)] 
name-servers -> ien116-name-servers, to reduce confusion.   Add nds- options

29 years agoHandle line-oriented parsing. Add parse_host_name function. Move parse_ip_addr...
Ted Lemon [Fri, 9 May 1997 08:08:53 +0000 (08:08 +0000)] 
Handle line-oriented parsing.   Add parse_host_name function.   Move parse_ip_addr and make it return status.   Fix date parsing off-by-one-day bug

29 years agoWork around Ultrix gotcha
Ted Lemon [Fri, 9 May 1997 08:07:33 +0000 (08:07 +0000)] 
Work around Ultrix gotcha

29 years agoLet bootp() check for correct type of packet
Ted Lemon [Fri, 9 May 1997 08:07:09 +0000 (08:07 +0000)] 
Let bootp() check for correct type of packet

29 years agoCall new ns_inaddr_lookup code for testing
Ted Lemon [Fri, 9 May 1997 08:06:29 +0000 (08:06 +0000)] 
Call new ns_inaddr_lookup code for testing

29 years agoFix alpha ptrsize botch. Try even harder to make sure ICMP Echo request packets...
Ted Lemon [Fri, 9 May 1997 08:05:28 +0000 (08:05 +0000)] 
Fix alpha ptrsize botch.   Try even harder to make sure ICMP Echo request packets are routed.   Better error message.

29 years agoCygwin32 compatibility; reindent; add routine for printing WinSock errors
Ted Lemon [Fri, 9 May 1997 08:03:44 +0000 (08:03 +0000)] 
Cygwin32 compatibility; reindent; add routine for printing WinSock errors

29 years agoUse new resolv.conf parser. Clean up some code. Add experimental (and non-functio...
Ted Lemon [Fri, 9 May 1997 08:02:33 +0000 (08:02 +0000)] 
Use new resolv.conf parser.   Clean up some code.   Add experimental (and non-functional) zone discovery code.

29 years agoFix stupid allocation bug. Handle IFF_POINTTOPOINT only if defined
Ted Lemon [Fri, 9 May 1997 08:00:50 +0000 (08:00 +0000)] 
Fix stupid allocation bug.   Handle IFF_POINTTOPOINT only if defined

29 years agoSwap shorts with htons, not htonl!
Ted Lemon [Fri, 9 May 1997 07:58:33 +0000 (07:58 +0000)] 
Swap shorts with htons, not htonl!

29 years agoAdd keywords supersede, search, prepend, nameserver, domain, append. Add support...
Ted Lemon [Fri, 9 May 1997 07:57:54 +0000 (07:57 +0000)] 
Add keywords supersede, search, prepend, nameserver, domain, append.   Add support for handling newline as its own token instead of as a token seperator, to enable parsing of resolv.conf files

29 years agoFix sizeof bug. Add allocators for name server entries and domain search list entries
Ted Lemon [Fri, 9 May 1997 07:56:13 +0000 (07:56 +0000)] 
Fix sizeof bug.   Add allocators for name server entries and domain search list entries

29 years agoAdd resolver parser
Ted Lemon [Fri, 9 May 1997 07:55:19 +0000 (07:55 +0000)] 
Add resolver parser

29 years agoCygwin32 compatibility. Handle prepend, append and supersede option modifiers....
Ted Lemon [Fri, 9 May 1997 07:54:14 +0000 (07:54 +0000)] 
Cygwin32 compatibility.   Handle prepend, append and supersede option modifiers.   Minimal BOOTP support.   Handle seed generation differently.

29 years agoMake parse_option_decl return the option structure it parsed. parse_ip_addr now...
Ted Lemon [Fri, 9 May 1997 07:48:34 +0000 (07:48 +0000)] 
Make parse_option_decl return the option structure it parsed.   parse_ip_addr now returns a status.   Handle bootp flag in lease declaration.   Handle default, supersede and append option declarators.

29 years agoAdd cygwin32 configuration information
Ted Lemon [Fri, 9 May 1997 07:42:28 +0000 (07:42 +0000)] 
Add cygwin32 configuration information

29 years agoDefine PTRSIZE_64BIT on alpha
Ted Lemon [Mon, 31 Mar 1997 23:35:57 +0000 (23:35 +0000)] 
Define PTRSIZE_64BIT on alpha

29 years agoSolaris needs inet_aton and faked-up endian.h DHCP-970329
Ted Lemon [Sat, 29 Mar 1997 10:39:11 +0000 (10:39 +0000)] 
Solaris needs inet_aton and faked-up endian.h

29 years agoSunOS needs inet_aton
Ted Lemon [Sat, 29 Mar 1997 10:38:38 +0000 (10:38 +0000)] 
SunOS needs inet_aton

29 years agoAdd prototype for inet_aton
Ted Lemon [Sat, 29 Mar 1997 10:38:08 +0000 (10:38 +0000)] 
Add prototype for inet_aton

29 years agoLose const in inet_aton declaration
Ted Lemon [Sat, 29 Mar 1997 10:37:51 +0000 (10:37 +0000)] 
Lose const in inet_aton declaration

29 years agoCast pointer to char * in sendto for SunOS
Ted Lemon [Sat, 29 Mar 1997 10:37:18 +0000 (10:37 +0000)] 
Cast pointer to char * in sendto for SunOS

29 years agoWrap prototype with PROTO for SunOS
Ted Lemon [Sat, 29 Mar 1997 10:36:56 +0000 (10:36 +0000)] 
Wrap prototype with PROTO for SunOS

29 years agoCast malloc so that we don't get an error on SunOS
Ted Lemon [Sat, 29 Mar 1997 10:36:24 +0000 (10:36 +0000)] 
Cast malloc so that we don't get an error on SunOS

29 years agofoo DHCP-970328
Ted Lemon [Sat, 29 Mar 1997 04:07:32 +0000 (04:07 +0000)] 
foo

29 years agoBuild inet_addr.o
Ted Lemon [Sat, 29 Mar 1997 03:57:20 +0000 (03:57 +0000)] 
Build inet_addr.o

29 years agoLocal copy of inet_ntoa for systems that don't provide it
Ted Lemon [Sat, 29 Mar 1997 03:56:23 +0000 (03:56 +0000)] 
Local copy of inet_ntoa for systems that don't provide it

29 years agoUpdate copyright
Ted Lemon [Sat, 29 Mar 1997 03:32:34 +0000 (03:32 +0000)] 
Update copyright

29 years agoAllow IP addresses to be specified on the command line; don't use herror().
Ted Lemon [Sat, 29 Mar 1997 03:30:44 +0000 (03:30 +0000)] 
Allow IP addresses to be specified on the command line; don't use herror().

29 years agoDon't include netdevice.h - it causes compilation problems
Ted Lemon [Sat, 29 Mar 1997 03:19:54 +0000 (03:19 +0000)] 
Don't include netdevice.h - it causes compilation problems

29 years agoto is pointer to struct, not struct
Ted Lemon [Sat, 29 Mar 1997 03:19:02 +0000 (03:19 +0000)] 
to is pointer to struct, not struct

29 years agoCompile checksum code whether or not we're doing a low-level packet driver
Ted Lemon [Sat, 29 Mar 1997 03:18:28 +0000 (03:18 +0000)] 
Compile checksum code whether or not we're doing a low-level packet driver

29 years agoDon't use ARHPRD_METRICOM or ARPHRD_LOOPBACK if they aren't defined
Ted Lemon [Sat, 29 Mar 1997 01:39:38 +0000 (01:39 +0000)] 
Don't use ARHPRD_METRICOM or ARPHRD_LOOPBACK if they aren't defined

29 years agoAdd initial_interval and backoff_cutoff elements to client_config struct; dns.c proto...
Ted Lemon [Sat, 29 Mar 1997 01:26:56 +0000 (01:26 +0000)] 
Add initial_interval and backoff_cutoff elements to client_config struct; dns.c prototypes

29 years agoReturn the result of sends and receives
Ted Lemon [Sat, 29 Mar 1997 01:26:08 +0000 (01:26 +0000)] 
Return the result of sends and receives

29 years agoAdjust indentation; fix up calling conventions
Ted Lemon [Sat, 29 Mar 1997 01:25:32 +0000 (01:25 +0000)] 
Adjust indentation; fix up calling conventions

29 years agoAdd bnackoff-cutoff and initial-interval keywords
Ted Lemon [Sat, 29 Mar 1997 01:25:10 +0000 (01:25 +0000)] 
Add bnackoff-cutoff and initial-interval keywords

29 years agoip -> client -> packet is a struct, not a pointer to a struct
Ted Lemon [Sat, 29 Mar 1997 01:24:30 +0000 (01:24 +0000)] 
ip -> client -> packet is a struct, not a pointer to a struct

29 years agoAdd backoff_cutoff and initial_interval parse keywords; fix send_options thinko
Ted Lemon [Sat, 29 Mar 1997 01:23:17 +0000 (01:23 +0000)] 
Add backoff_cutoff and initial_interval parse keywords; fix send_options thinko

29 years agoUse -pipe on NetBSD
Ted Lemon [Sat, 29 Mar 1997 01:20:40 +0000 (01:20 +0000)] 
Use -pipe on NetBSD