summaryrefslogtreecommitdiffstats
path: root/usr.sbin/dhcpd/pfutils.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* remove double word in comment;jmc2007-12-231-2/+2
|
* Allow the various pf table actions to operate independently. For example,ckuethe2007-10-061-16/+6
| | | | | | "-L leased" wouldn't work without "-A abandoned". testing help from merdely "i like" deraadt
* use the correct fd for poll. we're waiting on the pipe, not pftedu2007-05-151-2/+2
| | | | ok ckuethe deraadt
* indentderaadt2006-10-201-18/+18
|
* This diff allows dhcpd to put active leases into a pf table. Dhcpd will thenckuethe2006-06-141-11/+45
| | | | | | | | 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
* Move the transmission of privsep messages into its own function. Whereverckuethe2006-06-141-1/+40
| | | | | | | 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
* Avoid changing pf tables when table name is NULLckuethe2006-06-141-1/+4
| | | | ok henning
* Missing $OpenBSD$ tag. Spotted by Masao Uebayashi.ckuethe2006-05-311-0/+1
| | | | ok henning@
* This diff makes dhcpd able to manipulate pf tables on certain lease events.ckuethe2006-05-311-0/+182
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