]>
git.ipfire.org Git - thirdparty/dhcp.git/log
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
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.
Ted Lemon [Mon, 2 Jun 1997 22:30:52 +0000 (22:30 +0000)]
Add REJECT keyword
Ted Lemon [Fri, 9 May 1997 08:27:56 +0000 (08:27 +0000)]
Cygwin32 compatibility. Initialize DNS
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.
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
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
Ted Lemon [Fri, 9 May 1997 08:20:12 +0000 (08:20 +0000)]
Check for BOOTREQUEST moved here
Ted Lemon [Fri, 9 May 1997 08:19:38 +0000 (08:19 +0000)]
Cygwin32 definitions
Ted Lemon [Fri, 9 May 1997 08:18:37 +0000 (08:18 +0000)]
Lose BROKEN_FREEBSD_CF by default
Ted Lemon [Fri, 9 May 1997 08:18:06 +0000 (08:18 +0000)]
Cygwin32 support
Ted Lemon [Fri, 9 May 1997 08:17:23 +0000 (08:17 +0000)]
Add new keywords
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
Ted Lemon [Fri, 9 May 1997 08:13:38 +0000 (08:13 +0000)]
name-servers -> ien116-name-servers, to reduce confusion. Add nds- options
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
Ted Lemon [Fri, 9 May 1997 08:07:33 +0000 (08:07 +0000)]
Work around Ultrix gotcha
Ted Lemon [Fri, 9 May 1997 08:07:09 +0000 (08:07 +0000)]
Let bootp() check for correct type of packet
Ted Lemon [Fri, 9 May 1997 08:06:29 +0000 (08:06 +0000)]
Call new ns_inaddr_lookup code for testing
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.
Ted Lemon [Fri, 9 May 1997 08:03:44 +0000 (08:03 +0000)]
Cygwin32 compatibility; reindent; add routine for printing WinSock errors
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.
Ted Lemon [Fri, 9 May 1997 08:00:50 +0000 (08:00 +0000)]
Fix stupid allocation bug. Handle IFF_POINTTOPOINT only if defined
Ted Lemon [Fri, 9 May 1997 07:58:33 +0000 (07:58 +0000)]
Swap shorts with htons, not htonl!
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
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
Ted Lemon [Fri, 9 May 1997 07:55:19 +0000 (07:55 +0000)]
Add resolver parser
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.
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.
Ted Lemon [Fri, 9 May 1997 07:42:28 +0000 (07:42 +0000)]
Add cygwin32 configuration information
Ted Lemon [Mon, 31 Mar 1997 23:35:57 +0000 (23:35 +0000)]
Define PTRSIZE_64BIT on alpha
Ted Lemon [Sat, 29 Mar 1997 10:39:11 +0000 (10:39 +0000)]
Solaris needs inet_aton and faked-up endian.h
Ted Lemon [Sat, 29 Mar 1997 10:38:38 +0000 (10:38 +0000)]
SunOS needs inet_aton
Ted Lemon [Sat, 29 Mar 1997 10:38:08 +0000 (10:38 +0000)]
Add prototype for inet_aton
Ted Lemon [Sat, 29 Mar 1997 10:37:51 +0000 (10:37 +0000)]
Lose const in inet_aton declaration
Ted Lemon [Sat, 29 Mar 1997 10:37:18 +0000 (10:37 +0000)]
Cast pointer to char * in sendto for SunOS
Ted Lemon [Sat, 29 Mar 1997 10:36:56 +0000 (10:36 +0000)]
Wrap prototype with PROTO for 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
Ted Lemon [Sat, 29 Mar 1997 04:07:32 +0000 (04:07 +0000)]
foo
Ted Lemon [Sat, 29 Mar 1997 03:57:20 +0000 (03:57 +0000)]
Build inet_addr.o
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
Ted Lemon [Sat, 29 Mar 1997 03:32:34 +0000 (03:32 +0000)]
Update copyright
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().
Ted Lemon [Sat, 29 Mar 1997 03:19:54 +0000 (03:19 +0000)]
Don't include netdevice.h - it causes compilation problems
Ted Lemon [Sat, 29 Mar 1997 03:19:02 +0000 (03:19 +0000)]
to is pointer to struct, not struct
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
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
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
Ted Lemon [Sat, 29 Mar 1997 01:26:08 +0000 (01:26 +0000)]
Return the result of sends and receives
Ted Lemon [Sat, 29 Mar 1997 01:25:32 +0000 (01:25 +0000)]
Adjust indentation; fix up calling conventions
Ted Lemon [Sat, 29 Mar 1997 01:25:10 +0000 (01:25 +0000)]
Add bnackoff-cutoff and initial-interval keywords
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
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
Ted Lemon [Sat, 29 Mar 1997 01:20:40 +0000 (01:20 +0000)]
Use -pipe on NetBSD
Ted Lemon [Sat, 29 Mar 1997 00:10:22 +0000 (00:10 +0000)]
Fix up a few typos and pastos
Ted Lemon [Sat, 29 Mar 1997 00:09:51 +0000 (00:09 +0000)]
Fix install dependencies
Ted Lemon [Sat, 29 Mar 1997 00:08:40 +0000 (00:08 +0000)]
Add a couple more fussy defines to work around Linux weirdnesses
Ted Lemon [Sat, 29 Mar 1997 00:06:50 +0000 (00:06 +0000)]
Allow users to specify vendor-encapsulated-options as a string of hex digits
Ted Lemon [Sat, 29 Mar 1997 00:06:07 +0000 (00:06 +0000)]
Ignore EHOSTUNREACH and ECONNREFUSED errors on Linux (for now).
Ted Lemon [Sat, 29 Mar 1997 00:02:45 +0000 (00:02 +0000)]
Skip dummy interfaces on Linux; lose vestigial and erroneous USE_FALLBACK code; timeout -> what, not timeout -> interface
Ted Lemon [Sat, 29 Mar 1997 00:01:18 +0000 (00:01 +0000)]
Fix stupid, stupid, stupid allocation size underrun
Ted Lemon [Fri, 28 Mar 1997 23:59:56 +0000 (23:59 +0000)]
Don't have ARP code look up names; net_netmask_arg, not new_subnet_arg
Ted Lemon [Fri, 28 Mar 1997 23:57:47 +0000 (23:57 +0000)]
Move top_level_config to clparse.c; use more defaults from client config structure; be less noisy about broadcasts that aren't for us; fix up exponential backoff code; time out in REQUESTING state if server doesn't ACK; record how long we've been trying to boot in the DHCP packet.
Ted Lemon [Fri, 28 Mar 1997 23:50:15 +0000 (23:50 +0000)]
Set up enough defaults that we can actually boot without a configuration file.
Ted Lemon [Fri, 28 Mar 1997 23:48:43 +0000 (23:48 +0000)]
Clean up subdir targets
Ted Lemon [Fri, 28 Mar 1997 22:27:50 +0000 (22:27 +0000)]
IANA ARP code types and hardware types
Ted Lemon [Sat, 8 Mar 1997 02:24:16 +0000 (02:24 +0000)]
DNS Support code
Ted Lemon [Sat, 8 Mar 1997 00:22:47 +0000 (00:22 +0000)]
Use MAX_TIME for abandoned leases rather than an explicit constant (which was wrong).
Ted Lemon [Sat, 8 Mar 1997 00:22:01 +0000 (00:22 +0000)]
raw reads include IP header before icmp header, so we have to skip over it.
Ted Lemon [Thu, 6 Mar 1997 23:41:27 +0000 (23:41 +0000)]
Record the time of the db_startup rewrite of the lease file so that we don't rewrite the file again the next time we offer a lease.
Ted Lemon [Thu, 6 Mar 1997 22:20:17 +0000 (22:20 +0000)]
If a lease is abandoned, write it out even though it doesn't appear to be assigned. When abandoning a lease, set hardware type to zero, not -1
Ted Lemon [Thu, 6 Mar 1997 20:23:27 +0000 (20:23 +0000)]
Put parentheses around & operations
Ted Lemon [Thu, 6 Mar 1997 20:21:32 +0000 (20:21 +0000)]
If a lease is abandoned, it's okay to supersede even if things don't quite match up.
Ted Lemon [Thu, 6 Mar 1997 20:13:42 +0000 (20:13 +0000)]
Send client identifier when declining.
Ted Lemon [Thu, 6 Mar 1997 20:00:51 +0000 (20:00 +0000)]
When we toss all our leases, just go back to init state - don't try to get fancy
Ted Lemon [Thu, 6 Mar 1997 19:45:20 +0000 (19:45 +0000)]
ABANDONED_LEASE is persistent, so set it in the lease structure, not in the supersede structure.
Ted Lemon [Thu, 6 Mar 1997 19:30:52 +0000 (19:30 +0000)]
If a lease has been abandoned, don't find it.
Ted Lemon [Thu, 6 Mar 1997 19:29:39 +0000 (19:29 +0000)]
Support abandoned keyword in leases
Ted Lemon [Thu, 6 Mar 1997 19:28:49 +0000 (19:28 +0000)]
Add ABANDONED token
Ted Lemon [Thu, 6 Mar 1997 19:28:35 +0000 (19:28 +0000)]
Add ABANDONED_LEASE flag
Ted Lemon [Thu, 6 Mar 1997 19:28:18 +0000 (19:28 +0000)]
Set ABANDONED_LEASE flag when abandoning a lease.
Ted Lemon [Thu, 6 Mar 1997 19:27:57 +0000 (19:27 +0000)]
Add abandoned keyword
Ted Lemon [Thu, 6 Mar 1997 18:41:36 +0000 (18:41 +0000)]
Start up icmp protocol; handle ICMP EchoReplies and also handle non-replies.
Ted Lemon [Thu, 6 Mar 1997 18:40:22 +0000 (18:40 +0000)]
Add a message to abandon_lease; ping before sending DHCPREQUEST.
Ted Lemon [Thu, 6 Mar 1997 18:38:59 +0000 (18:38 +0000)]
Adjust and add prototypes
Ted Lemon [Thu, 6 Mar 1997 18:27:55 +0000 (18:27 +0000)]
Export checksum and wrapsum
Ted Lemon [Thu, 6 Mar 1997 18:27:20 +0000 (18:27 +0000)]
Add informational message to abandon_lease.
Ted Lemon [Thu, 6 Mar 1997 07:29:36 +0000 (07:29 +0000)]
Don't use n_* types
Ted Lemon [Thu, 6 Mar 1997 07:28:54 +0000 (07:28 +0000)]
Fix prototype for icmp_startup
Ted Lemon [Thu, 6 Mar 1997 07:27:56 +0000 (07:27 +0000)]
Remove declaration for relay() - no longer needed
Ted Lemon [Thu, 6 Mar 1997 07:27:32 +0000 (07:27 +0000)]
Oops - didn't compile
Ted Lemon [Thu, 6 Mar 1997 07:09:59 +0000 (07:09 +0000)]
ICMP structure definitions
Ted Lemon [Thu, 6 Mar 1997 07:08:00 +0000 (07:08 +0000)]
Support for ICMP Echo protocol
Ted Lemon [Thu, 6 Mar 1997 07:06:08 +0000 (07:06 +0000)]
Traversal of interface list to weed out bad interfaces was broken when I added the dummy interface list - fix is to save the next pointer before weeding out interfaces.
Ted Lemon [Thu, 6 Mar 1997 07:02:54 +0000 (07:02 +0000)]
Change calling conventions to dispatch(). Set bootp_packet_handler to do_packet().
Ted Lemon [Thu, 6 Mar 1997 07:02:00 +0000 (07:02 +0000)]
Move a ton of bits from the lease structure into the lease_state structure. The lease structure is permanent, whereas the state structure is ephemeral, which means that leases now consume less memory (memory consumption is now about the same as in Beta 5 Patchlevel 14). Allocate and free the lease_state structure. If ack_lease is called on a lease that already has a state structure, we're already acking something, so we don't try to ack it again.
Ted Lemon [Thu, 6 Mar 1997 06:58:37 +0000 (06:58 +0000)]
Declare relay() same as do_packet(). Set bootp_handler to relay(). Change dispatch() calling conventions.
Ted Lemon [Thu, 6 Mar 1997 06:57:19 +0000 (06:57 +0000)]
Adjust prototypes; prototype new functions. Add protocol structure; add move some lease fields into lease state structure.
Ted Lemon [Thu, 6 Mar 1997 06:55:53 +0000 (06:55 +0000)]
Adjust declaration of fallback_discard so that it can be a protocol handler
Ted Lemon [Thu, 6 Mar 1997 06:55:06 +0000 (06:55 +0000)]
Options whose format is X now print as colon-seperated hex, so that pretty_print output can be parsed. do_packet() moved here from dispatch.c
Ted Lemon [Thu, 6 Mar 1997 06:53:49 +0000 (06:53 +0000)]
Check address ranges to see if they're on the right net (previously we just silently made them be on the right net, with interesting results). In supersede_leases, don't copy offered_expiry anymore since it's now in the state structure