itojun
937e8b0fbe
add O_TRUNC to open(2). revision 1.11 used fopen(foo, "w") which implies
...
truncation of opened file. it should suppress bogus "corrupted lease file"
warning and broken dhclient.leases staying around.
2004-05-06 09:07:54 +00:00
darrenr
221fa57241
With recent changes to BPF, pushing the default buffer size to 1MB, running
...
a bunch of small daemons that seem small packet flows can easily chew up
significant kernel memory (each BPF device opened takes 2*buffersize of
wired memory.) In each of these applications, add code to set the buffer
size to 32k before setting the interface.
2004-04-10 17:53:05 +00:00
nakayama
083eb7818c
Use _LP64 to indicate 64-bit platform, per suggestion on source-changes@.
2004-04-05 13:06:23 +00:00
nakayama
cf7c3ba713
s/__sparc_v9__/__sparc64__/
...
"gcc -m32 -mcpu=ultrasparc" defines __sparc_v9__, so __sparc64__ is
more appropriate to indicate a 64-bit environment.
2004-04-04 11:59:51 +00:00
mrg
8808c7e901
create the dhclient.leases file mode 600 for now as it may contain
...
"media" lines that contain wireless network keys, that eg, ifconfig(8)
carefully hides.
this is not a complete solution, but it's OK until one arrives.
approved by mellon@. fixes the problem described in PR#22271.
2004-04-04 02:35:21 +00:00
mellon
47427353e5
Cut out some stuff that can't or shouldn't be defined in SMALL builds.
2004-04-02 22:53:15 +00:00
mellon
5bbdf02211
- If we find a lease in the lease file that matches a predefined lease,
...
and it's expiry time is earlier than the expiry on the predefined lease,
don't nuke the predefined lease.
2004-03-31 19:05:18 +00:00
mellon
53b16d12a9
Document omapi port and omapi key
2004-03-30 20:05:01 +00:00
mellon
65489ae9e4
Add omapi key.
2004-03-30 19:41:35 +00:00
mellon
15943a0402
If an omapi key is configured, use it.
2004-03-30 19:40:58 +00:00
mellon
40a59b47b4
Add support for OMAPI KEY configuration.
2004-03-30 19:39:39 +00:00
mellon
de4e43d0c5
- Add declarations for lhs_context and rhs_context. For some reason these
...
were missing from the diff between 3.0.1rc11 and 3.0.1rc12, so the previous
commit didn't compile. :'(
2003-10-27 21:08:25 +00:00
mellon
0f26f5c9ea
- Apply patches from ISC DHCP 3.0.1rc12 to correct a parser bug that causes
...
the ISC DHCP server to fail to start when it is configured to use the
ad-hoc DNS update mechanism. This fixes PR#20460 and PR#23284 (once
this is pulled up to the 1.6 branch).
2003-10-27 20:16:09 +00:00
mellon
5ec655da0e
increase ttl - internet is getting big.
2003-10-24 05:30:33 +00:00
mellon
dddda170ba
Write the pid file twice, so scripts can kill client before it daemonizes.
2003-10-24 05:27:55 +00:00
mellon
bc6c928df7
Attempt to fix a bug which throws away valid static leases
...
when parsing dhclient.leases. PR bin/9405.
2003-10-24 05:19:31 +00:00
mycroft
769c59467e
The I/O path is assymetric -- we can't deal with IPsec packets coming in, so
...
don't send them out. For now.
XXX "Oh my does this need work."
2003-09-25 01:01:39 +00:00
agc
865595bdf3
Move UCB-licensed code from 4-clause to 3-clause licence.
...
Patches provided by Joel Baker in PR 22253, verified by myself.
2003-08-07 09:20:39 +00:00
abs
7aabc9df8a
Skip !IFF_BROADCAST interfaces (such as strip). After discussion
...
with Ted Lemon leave in checks for IFF_LOOPBACK and IFF_POINTTOPOINT
in case an OS incorrectly marks them with IFF_BROADCAST.
Patch submitted back to dhcp-server@isc.org
2003-05-16 15:16:41 +00:00
drochner
8aee2aa821
Get rid of an extremely annoying message logged with "error"
...
priority:
"<src address>: network <whatever>: no free leases"
on each "foreign" request if I'm just not serving for
unknown clients.
Replace it which a less misleading message at "info" priority.
2003-04-11 17:11:11 +00:00
perry
63b7f42d33
occurrance->occurrence
...
Igor Sobrado, PR misc/19909
Will feed back to Ted Lemon
2003-03-31 17:32:28 +00:00
perry
d2e86b176e
Some spelling changes.
...
Will feed back to Ted Lemon
2003-03-31 17:31:19 +00:00
perry
fbf638659e
Spelling errors, some from Igor Sobrado, PR misc/19909
...
This needs to be fed back to Ted Lemon
2003-03-31 17:27:57 +00:00
wiz
a29072f49a
3Com, not 3com. From jmc@openbsd.
2003-03-31 11:36:22 +00:00
wiz
0385ba9e85
Fix section in Xref.
2003-03-17 07:30:38 +00:00
wiz
644690013e
Replace some man macros with mdoc macros, and clean up a bit.
2003-03-17 07:28:59 +00:00
wiz
76c4d78af3
eliminating, not elimininating. From Igor Sobrado in PR 20723.
2003-03-15 22:38:46 +00:00
drochner
b6ae80da0f
merge dhcp-3.0.1rc11
2003-02-18 17:08:38 +00:00
drochner
49c6e76122
import of ISC dhcp-3.0.1rc11
2003-02-18 16:37:52 +00:00
perry
8a49ec08e4
"Utilize" has exactly the same meaning as "use," but it is more
...
difficult to read and understand. Most manuals of English style
therefore say that you should use "use".
2003-02-04 23:07:28 +00:00
groo
9361711536
Be careful about destination buffer having positive size.
2003-01-15 00:29:13 +00:00
tron
8fcc2bc94f
The file "src/dist/dhcp/minires/res_mkupdate.c,v" is corrupted on
...
"anoncvs.netbsd.org" and hence in many checked out source trees. Add
a dummy revision to fix that problem.
2003-01-02 10:04:32 +00:00
thorpej
eb4df29507
Avoid strict alias warnings.
2002-12-06 04:09:30 +00:00
thorpej
452f3dd1ad
Avoid strict-alias warnings.
2002-12-06 04:06:13 +00:00
thorpej
6086842609
Avoid strict alias warnings.
2002-12-06 04:02:49 +00:00
wiz
bcae355603
Fix typo. Found by Adrian Mrva.
2002-10-29 16:16:14 +00:00
wiz
756bcd1182
Fix typo. Found by Adrian Mrva.
2002-10-29 16:08:59 +00:00
wiz
4b20971f01
Spell acquire with a 'c'.
2002-07-10 23:16:32 +00:00
drochner
ee19f13ab5
add a "ddns-updata-style" line; dhcpd won't start without one
...
(PR bin/12702 by Patrick Welche)
2002-06-19 15:49:02 +00:00
wiz
a518254934
Add a missing semicolon. Reported by Ian Dall in bin/17311.
2002-06-19 08:51:38 +00:00
matt
1a1ebdfac1
If rcsid away since gcc3 doesn't like unreferenced static vars. Also we
...
do that for other stuff like tcpdump.
2002-06-15 01:32:13 +00:00
wiz
67e1c672d0
'comparison', not 'comparision' (hi Matthias!)
2002-06-11 15:22:57 +00:00
drochner
15dd275fb1
some more:
...
add a comment at some code which looks like nonsense but is a -fshort-enums
fix (by bjh21)
2002-06-11 15:16:28 +00:00
drochner
0cfebeeb7a
add a comment at some code which looks like nonsense but is a -fshort-enums
...
fix (by bjh21)
2002-06-11 14:50:30 +00:00
drochner
d6101bf1eb
get closer to the original in a whitespace matter
2002-06-11 14:27:21 +00:00
drochner
e13d261ece
Coordinated Universal Time, damnit!
2002-06-11 14:24:54 +00:00
drochner
70e620efb1
remove a wrong fix: UTC is really "Coordinated Universal Time"
2002-06-11 14:22:18 +00:00
drochner
01ce8ad711
printf format fix
2002-06-11 14:17:27 +00:00
drochner
7020df4066
make it compile with -Wall again
2002-06-11 14:12:58 +00:00
drochner
c12aee07f2
merge dhcp-3.0.1rc9
2002-06-11 13:59:59 +00:00