Age | Commit message (Collapse) | Author | |
---|---|---|---|
2006-06-14 | sort options; | Jason McIntyre | |
2006-06-14 | This diff allows dhcpd to put active leases into a pf table. Dhcpd will then | Chris Kuethe | |
periodically - based on the length of the shortest lease time - walk across all leases searching for expired leases which are then removed from the pf table. ok henning | |||
2006-06-14 | Move the transmission of privsep messages into its own function. Wherever | Chris Kuethe | |
we might have conditionally sent a message, we now just call the pfmsg() function, and let it figure out whether the message should be sent or not. ok henning | |||
2006-06-14 | Avoid changing pf tables when table name is NULL | Chris Kuethe | |
ok henning | |||
2006-06-13 | typo; from sstull | Jason McIntyre | |
ok ckuethe | |||
2006-06-01 | Sort options in usage. From jmc. | Chris Kuethe | |
ok henning@ | |||
2006-05-31 | Missing $OpenBSD$ tag. Spotted by Masao Uebayashi. | Chris Kuethe | |
ok henning@ | |||
2006-05-31 | - tidy up SYNOPSIS | Jason McIntyre | |
- sort options - +.Xr pf 4 , | |||
2006-05-31 | This diff makes dhcpd able to manipulate pf tables on certain lease events. | Chris Kuethe | |
dhcpd is now able to place abandoned addresses into a table (to offer some protection against machines camping on an address) and remove them from the table if they are properly leased. When dhcpd assigns an IP to a new hardware address, it can remove that address from a table. This is for use with the overload table in pf; newly arrived machines will not be punished for the actions of a machine that went away. beck@ and krw@ liked previous versions of this, henning@ final ok | |||
2006-05-30 | This patch renames dhcpd's "struct timeout" to "struct dhcpd_timeout" | Chris Kuethe | |
so as not to conflict with "struct timeout" from <sys/timeout.h>. ok henning@ | |||
2006-05-29 | repair some broken indentation in an example; ok jmc@ | Kevin Steves | |
2006-05-27 | Don't exit just because an interface has no subnet configured in | Kenneth R Westerback | |
dhcpd.conf. Just don't listen on that interface. Make warning messages textually consistant. tested & ok beck@ | |||
2006-05-27 | When an interface is ignored because it has no IP address, say so. | Kenneth R Westerback | |
Don't just say 'not found". And always complain, not just when specific interfaces were requested. requested by and ok uwe@ | |||
2006-05-11 | If a list of interfaces is supplied via the command line or | Kenneth R Westerback | |
dhcpd.interfaces then a) don't bother looking up information on interfaces that were not requested; b) don't exit if a requested interface is not found, just issue a warning message; c) exit if none of the interfaces were found. The command line for dhcpd shown in ps will continue to show requested but ignored interfaces. As usual with dhc* code, whack a bunch of unused states, constants, flags, etc. Since we only invoke discover_interfaces() with DISCOVER_SERVER, there is no need to keep track of other possibilities. | |||
2006-04-20 | list must be sorted | Theo de Raadt | |
2006-04-18 | cleanup keyword lookup for the lexer, and remove keywords not valid in | Theo de Raadt | |
either dhclient or dhcpd context; tested by many | |||
2006-03-16 | KNF. No binary change. | Claudio Jeker | |
2006-03-13 | tiny bit of delinting; ok krw@ | Otto Moerbeek | |
2006-02-01 | NTP is described by RFC 1305, not 1035; | Jason McIntyre | |
from michal f. hanula (freebsd docs/92629) | |||
2006-01-13 | correction from tamas tevesz; ok ian | Jason McIntyre | |
2005-11-25 | Missing 'break;' found by lint. 'blass' is not the same as 'class'! | Kenneth R Westerback | |
ok moritz@ otto@ | |||
2005-11-22 | fix problem of dhcp server looping with "already acking lease" | Bob Beck | |
when busy with short lease times. Fix by and discussed with millert over a year ago, run at u of a for over a year, but never committed. ok millert@ cloder@ | |||
2005-11-13 | pretty up print_hw_addr(), and even fix a teeny buffer overflow; ok otto | Theo de Raadt | |
2005-09-30 | deploy .An -nosplit; ok jmc | Jared Yanovich | |
2005-07-29 | Fix erroneous use of '=' instead of '+' that caused infinite loops | Kenneth R Westerback | |
when skipping packets. Use BPF_WORDALIGN() to properly skip packets. From Brooks Davis at FreeBSD. ok deraadt@ henning@ | |||
2005-07-26 | Fix buffer overflows in dhcpd and dhclient. Closes PR#4306. | Kenneth R Westerback | |
ok henning@ | |||
2005-05-23 | -endpwent | Henning Brauer | |
2005-05-02 | more setres[ug]id; ok deraadt@ | Damien Miller | |
2005-04-18 | snprintf() return value handling. ok cloder@ henning@ | Moritz Jodeit | |
2005-04-11 | use STDERR_FILENO; ok cloder | Theo de Raadt | |
2005-04-11 | use writev() here too; henning ok | Theo de Raadt | |
2005-04-11 | when -d is used, log to stderr, not via syslog(3); fixed pr/4171. | Federico G. Schwindt | |
ok henning@ | |||
2005-03-02 | oops - 2 copies of this file... | Jason McIntyre | |
move the .Bl after .Ss; | |||
2005-01-31 | Be a bit more paranoid about leases that are currently acked. There is a | Claudio Jeker | |
small window where it is possible that a lease is acked and simultaniously removed and so the state is not removed. This may be a cause for the "already acking" issue. OK millert@ | |||
2005-01-31 | Simply use the ethernet source address of the request as new ethernet | Claudio Jeker | |
destination instead of the one included in the dhcp packet. Especially because there are to many cases where the supplied address is wrong. This hopefully solves all problems with gateways involved, like the one reported by Dylan Martin. OK krw@ henning@ millert@ | |||
2005-01-31 | Don't malloc fds each time, just realloc() as needed. | Todd C. Miller | |
There's no need to clear revents -- poll() does that for us. Move setting of cur_time to the top of the loop for better accuracy. When poll returns 0, don't check revents since we know none were set. | |||
2005-01-29 | Fix memory leak when supersede_lease() fails and it is a DHCPACK | Todd C. Miller | |
or a dynamic BOOTREPLY offer. OK claudio@ | |||
2004-12-06 | Bah, unbreak. from not form. Noticed by Dan Harnett. | Claudio Jeker | |
2004-12-06 | Set correct source address for relayed packets. This affects only setups that | Claudio Jeker | |
use 'next-server' config option. From Hans Kremers. OK henning@ | |||
2004-10-31 | change the undocumented -t flag to -n used for configuration testing | Can Erkin Acar | |
and document it. cleanup some unused/unneeded variables while there. idea & ok henning@ | |||
2004-09-21 | spelling fixes; ok jmc@ henning@ | David Krause | |
2004-09-16 | Use inet_ntop() instead of inet_ntoa() in piaddr. This solves a problem | Claudio Jeker | |
where inet_ntoa() was called twice per log message -- once here and once directly. This is a workaround acctually no static buffer should be used. OK deraadt@ | |||
2004-09-16 | avoid aliasing with libc functions; ok henning | Theo de Raadt | |
2004-09-16 | Remove the not initialized fallback_interface code and use the normal bpf | Claudio Jeker | |
interface for that. Also store the hardware (ethernet) address in the state so that relayed dhcp request are sent to the correct destination. OK henning@ requested by deraadt@ tested otto@ | |||
2004-09-15 | size_t vs ssize_t confusion | Theo de Raadt | |
2004-09-15 | minor KNF, Moritz Jodeit <moritz@jodeit.org> | Henning Brauer | |
2004-09-09 | Avoid following a NULL pointer if a hostname lookup fails and | Todd C. Miller | |
remove an extraneous "exiting" when there is a config file error. OK henning@ and mcbride@ | |||
2004-08-23 | update bootp example "filename" location to reflect tftp default of | Peter Valchev | |
chrooting to /tftpboot (thus "filename foo" searches there); ok henning | |||
2004-07-29 | don't wipe lease file on startup, found & solution tested nick@ | Henning Brauer | |
2004-07-09 | ansi | Theo de Raadt | |