Age | Commit message (Collapse) | Author | |
---|---|---|---|
2007-02-06 | fix some dodgy displays; | Jason McIntyre | |
2007-02-06 | remove -j from usage(); | Jason McIntyre | |
2007-02-03 | in decide_address_family(), only limit a rule to a specific address family | Daniel Hartmeier | |
when ALL entries have this specific AF (when even just one entry has no specific AF, use any). found by Maurice Janssen, ok henning@ | |||
2007-02-01 | Don't count ethernet as overhead for UDP packet constuction. Gives | Kenneth R Westerback | |
14 more bytes of option space! A change ISC made a long time ago. ok stevesk@ (DHCP) canacar@ (bpf) | |||
2007-01-30 | document -sI -v; | Jason McIntyre | |
from Janne Johansson, tweaked by myself; ok dhartmei | |||
2007-01-29 | sort FILES; | Jason McIntyre | |
2007-01-29 | sort FILES; | Jason McIntyre | |
2007-01-29 | add /fastboot to FILES, since these pages discuss that file; | Jason McIntyre | |
2007-01-29 | Don't malloc memory to store option data in leases, just appropriate | Kenneth R Westerback | |
the malloc'd memory from the parsed option buffer since it would be thrown away after the copy anyway. 'looks sane' millert@ | |||
2007-01-28 | Remove cross references between fstab(5) and umount(8). | Alexander Bluhm | |
ok millert jmc | |||
2007-01-28 | Remove #include <fstab.h> as there is no fstab in umount anymore. | Alexander Bluhm | |
Always use defined type name. Comment clarification. No binary change. ok millert | |||
2007-01-27 | We only poll on the bpf fd and the routing socket fd. No need for | Kenneth R Westerback | |
complex list code to keep track. So nuke it. Also eliminate unnecessary variable ('dead') that means 'rfdesc is closed'. Just set rfdesc to -1 when it is closed and use that. As suggested by millert@ and claudio@, don't bother setting revents members to zero since poll() does that. Np functional change, just less code. 'looks good' claudio@ 'I like where this is going' henning@ | |||
2007-01-25 | Cleanup some more code. Eliminate dhcp(), bootp(), parse_options() by | Kenneth R Westerback | |
moving the minimal code into do_packet(). Eliminate repeated code for checking the client hardware address and the reject list by putting those checks into do_packet as well. No functional change, just much easier to read. ok stevesk@ | |||
2007-01-24 | A reallocated root directory gets ownership of the fsck process. | Alexander Bluhm | |
If lost+found is created, it gets ownership of the root directory. ok pedro | |||
2007-01-19 | add an EXAMPLES section; | Jason McIntyre | |
from mark lumsden via otto, tidied up somewhat by myself; ok otto claudio | |||
2007-01-18 | implement -T expire. | Henning Brauer | |
"pfctl -t tablename -T expire 3600" would expire all entries in the given table that are older than 3600 seconds. ok dhartmei, manpage help & ok jmc | |||
2007-01-16 | More cleanup. Eliminate 'struct packet' by cleverly passing as | Kenneth R Westerback | |
parameters just those things actually needed and using existing structs and information. No functional change. ok stevesk@ | |||
2007-01-15 | reference ripd(8) vs. routed(8) and remove routed statement in BUGS | Kevin Steves | |
that no longer applies because it is not referenced. ok claudio@ jmc@ | |||
2007-01-14 | Don't treat any packet with an invalid option buffer or an invalid | Kenneth R Westerback | |
message type option of 0 as a BOOTP offer. Don't process any option buffer after one is found to be corrupt. Don't process overflow buffers in a BOOTP packet. At least try to accept DHCP offers even if a bad options buffer is encountered. Brings code more into line with current ISC dhclient. ok stevesk@ | |||
2007-01-12 | make the description match synopsis for -chs; | Jason McIntyre | |
discussed with nick | |||
2007-01-11 | avoid an ugly grammar construction; | Jason McIntyre | |
2007-01-11 | make the description of -e point to the COMMAND MODE section; | Jason McIntyre | |
2007-01-11 | Move options into DESCRIPTION section. This conforms with most | Ray Lai | |
other man pages, where the options are near the top of the page for easy access. OK jmc@. | |||
2007-01-11 | Since bootp_packet_handler is always set to do_packet before we | Kenneth R Westerback | |
process any packets, eliminate that abstraction and just call do_packet directly. No functional change. ok stevesk | |||
2007-01-11 | remove unused #define DHCP_MIN_LEN | Kevin Steves | |
2007-01-11 | Reject all packets with an option claiming to extend past the end of | Kenneth R Westerback | |
an option buffer. No longer accept the 6th such packet. From ISC. ok ckuethe@ stevesk@ | |||
2007-01-10 | allow rule if there is at least _one_ matching address family combination. | Markus Friedl | |
this allows 'flow from lo0 to 127.0.0.1' if lo0 has an ipv6 address. ok itojun@, hshoexer@ | |||
2007-01-10 | add -k to usage(); | Jason McIntyre | |
2007-01-08 | Don't leak strings. | Kenneth R Westerback | |
ok miod@ | |||
2007-01-08 | Initialize incoming packet buffer with DHO_END (0xff) rather than | Kenneth R Westerback | |
DHO_PAD (0x00) so that option scanning will terminate on hitting initialized data rather than scanning and ignoring trailing DHO_PAD characters. Suggested by & ok stevesk | |||
2007-01-06 | Fix options parsing. Last commit lost the proper length of the | Kenneth R Westerback | |
incoming packet. But since we bzero() the packet buffer before copying the incoming data into it, and the options are at the end, and we use a fixed sized buffer, and 0's are ignored as pad options, and proper option lists end with 0xff, it's simplier to always try to scan the whole buffer. Problem found by, and patch tested by kettenis@. | |||
2007-01-06 | pretty up the sensor outputs a wee bit more; partly spotted by jsg | Theo de Raadt | |
2007-01-04 | Eliminate the 'len' parameter from send_packet() since it always | Kenneth R Westerback | |
contains the global value client->packet_length. Use client->packet_length. No functional change. Suggested by stevesk@. | |||
2007-01-04 | Another round of cleanup. There is only one instance of struct | Kenneth R Westerback | |
dhcp_packet and it is contained in the global *client. So don't pass around pointers to a struct that contains a pointer to the dhcp_packet instance. Just use the global client->packet. Eliminate unused struct packet members and parameter lists accordingly. No functional change. Suggestions by stevesk@. ok stevesk@ | |||
2007-01-04 | don't pass -1 as a netmask; report vicviq at gmail.com | Markus Friedl | |
2007-01-04 | <sys/un.h> not needed | Kevin Steves | |
2007-01-03 | do not print secret keys by default, -k restores old behaviour; ok hshoexer | Markus Friedl | |
2007-01-02 | better support for IPv6 hostname/numeric representation. | Jun-ichiro itojun Hagino | |
hostname/prefixlen works only for IPv4-only hostname. markus ok (regress tested) | |||
2007-01-02 | return is no function. | Marc Balmer | |
2007-01-01 | some minor improvements; | Jason McIntyre | |
2007-01-01 | find a better place for EXAMPLES; | Jason McIntyre | |
2007-01-01 | - use "interface", not "interface-name", consistently | Jason McIntyre | |
- mark up "interface" consistently - a little .Sx | |||
2007-01-01 | sort the list of parameters brconfig(8) accepts; | Jason McIntyre | |
2007-01-01 | - merge first two synopses | Jason McIntyre | |
- standard options list - sync usage() started by a diff from stevesk; usage() help from dlg; ok reyk; | |||
2006-12-31 | -A before -a; | Jason McIntyre | |
2006-12-30 | add -A to usage(). | Reyk Floeter | |
thanks to Sven-Volker Nowarra | |||
2006-12-29 | Route warns about a illegal prefixlen when a default inet6 route is present. | Claudio Jeker | |
Need to typecast the sizeof() to int so that the compare works. Having a negativ lim is OK. Reported by Björn Ketelaars. OK deraadt@ | |||
2006-12-28 | please lint | Theo de Raadt | |
2006-12-28 | parenthesis not needed here; consistent with usage in other areas. | Kevin Steves | |
no binary change. | |||
2006-12-28 | small knf (extra space, newline) | Kevin Steves | |