Age | Commit message (Collapse) | Author | |
---|---|---|---|
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 | |
2006-12-28 | no extra "\n" in note(); ok krw@ henning@ | Kevin Steves | |
2006-12-27 | Since we only have the single global struct interface_info, we | Kenneth R Westerback | |
obviously have single global struct client_state and struct client_config nested inside interface_info and client_state respectively. Pull them out to their own global variables and eliminate a bunch (i.e. hundreds) of multi-level dereferences. Make it much nicer to read. No functional change. "makes sense" henning@ Testing stevesk@, ok stevesk@ | |||
2006-12-26 | Our dhclient only handles one interface. Simplify code by using the | Kenneth R Westerback | |
single, global, instance of 'struct interface_info' (ifi) rather than passing around pointers to it. "I agree" henning@ Testing moritz@ stevesk@, ok stevesk@ | |||
2006-12-26 | fts_read returning NULL and errno set is an error. ok ray@ | Otto Moerbeek | |
2006-12-26 | There must be no alias address set, so check ifi->client->alias | Moritz Jodeit | |
for NULL before dereferencing it. OK henning@ krw@ deraadt@ | |||
2006-12-26 | Show more digits in timedelta sensor output as the timedelta sensors become | Marc Balmer | |
increasingly more precise. ok deraadt | |||
2006-12-24 | it is not permitted to change the "hellotime" is in RSTP, but in STP mode. | Reyk Floeter | |
thanks to Edy (email at edylie dot net) ok jmc@ oh spanning tree, oh spanning tree, ... | |||
2006-12-24 | Remove m88k compiler flags tweak which is no longer necessary since a long time | Miod Vallat | |
already. | |||
2006-12-24 | zap incorrect comment | Damien Miller | |
2006-12-23 | adapt to new two-level sensor sysctl framework; by Constantine A. Murenin | Theo de Raadt | |
2006-12-22 | delete prototypes for functions that don't exist | Kevin Steves | |
2006-12-20 | make a list of default interface groups; | Jason McIntyre | |
ok grange deraadt ray(plus tweaks) henning |