Age | Commit message (Collapse) | Author | |
---|---|---|---|
2013-05-10 | Fix subnet check. Check our rdomain against the rdomains of the other | Kenneth R Westerback | |
interfaces and not against our own. Problem noted, fix tested and ok mikeb@ | |||
2013-05-05 | Add a flag to struct client_state (IS_RESPONSIBLE) to record when | Kenneth R Westerback | |
the first expected RTM_NEWADDR arrives, which signals that a lease has been bound to the interface. Ignore RTM_NEWADDR and RTM_DELADDR messages until the flag has been set. Makes it more likely that the last dhclient started will be the last dhclient standing. Fixes the problem reported by David Higgs, where restarting an install in a vm consistantly caused the new dhclient to be the one that dies. | |||
2013-05-02 | Bunch of comment/whitespace cleanup. Eliminate some misleading or | Kenneth R Westerback | |
pointless ones, make multiline comments readable, nuke '...' in favour of '.', etc. | |||
2013-05-02 | Enough of the hand-rolling of queues. Turn client->leases and | Kenneth R Westerback | |
client->offered_leases into TAILQs. | |||
2013-04-27 | Use same parse_date() and date writing logic as in dhcpd. i.e. | Kenneth R Westerback | |
strptime() rather than handrolling parsing. Change date format in leases to same as dhcpd, fixing 'u' vs 'w' error made in initial strftime() introduction. | |||
2013-04-25 | big int_t/time_t fixes; ok deraadt@ krw@ | Otto Moerbeek | |
2013-04-25 | fix format string; found while scaning the tree for time_t/ino_t problems; | Otto Moerbeek | |
ok deraadt@ krw@ | |||
2013-04-24 | pretty print bigger off_t | Theo de Raadt | |
ok tedu otto | |||
2013-04-24 | remove old backwards random junk | Theo de Raadt | |
ok mikeb | |||
2013-04-24 | Follow ISC and freebsd by increasing ip_ttl on packets from 16 to | Kenneth R Westerback | |
128, so people living many hops from their dhcp server can still get leases. Pointed out by deraadt@ | |||
2013-04-23 | handle large ino_t; ok tedu | Theo de Raadt | |
2013-04-23 | handle large ino_t; ok tedu | Theo de Raadt | |
2013-04-23 | simple repair for large ino_t | Theo de Raadt | |
2013-04-23 | handle big ino_t | Theo de Raadt | |
ok otto | |||
2013-04-23 | prepare for more time (bits); ok deraadt@ millert@ | Otto Moerbeek | |
2013-04-21 | avoid truncating a time_t division into days | Theo de Raadt | |
2013-04-21 | Check both f_mntfromname and f_mntfromspec when looking for a mounted | Joel Sing | |
filesystem. This makes umount via DUID possible. ok krw@ | |||
2013-04-21 | When mount(1) is run in verbose mode, display f_mntfromspec if it differs | Joel Sing | |
from f_mntfromname. ok krw@ | |||
2013-04-19 | remove comment about "make gcc happy" for variables which WERE being | Theo de Raadt | |
used uninitialized... clean up time related variables too for 2038++ ok millert | |||
2013-04-19 | make sure the fs blocksize doesn't get too big; ok krw@ | Otto Moerbeek | |
2013-04-17 | ext2fs has a 32-bit time fields. store a u_int32_t of the real time_t -- | Theo de Raadt | |
that should tide us over for a long time. ok guenther | |||
2013-04-16 | mark time_t edges with comments | Theo de Raadt | |
2013-04-16 | improve name of the 32-bit timeval that ping uses, and bound the use | Theo de Raadt | |
a bit better. discussed with guenther | |||
2013-04-16 | handle big time_t types; ok guenther | Theo de Raadt | |
2013-04-16 | remove casts to time_t * which are not needed | Theo de Raadt | |
2013-04-16 | bzero struct tm before use | Theo de Raadt | |
2013-04-16 | do not need to cast type to same type | Theo de Raadt | |
2013-04-16 | These are already static, because of ../Makefile.inc | Theo de Raadt | |
2013-04-16 | spelling fixes; | Jason McIntyre | |
2013-04-15 | Remove CTL_USER hierarchy from sysctl() | Philip Guenther | |
(Use sysconf() or confstr() instead) ok miod@ millert@ | |||
2013-04-06 | remove kern.rthreads | Ted Unangst | |
2013-04-05 | send_packet() and writev() return ssize_t, not int. Use correct | Kenneth R Westerback | |
type to store the returned value. From dhill. | |||
2013-04-05 | Nuke parameter to do_packet() not used since 2006. From dhill. | Kenneth R Westerback | |
2013-04-04 | Make our dump(8) honour the "nodump" flag for directories, effectively | Vadim Zhukov | |
disabling dumping their contents. input and ok otto@ millert@ man page bits input and ok jmc@ | |||
2013-04-03 | handle larger time_t types; toss some unused code | Theo de Raadt | |
ok guenther | |||
2013-04-02 | handle large time_t | Theo de Raadt | |
2013-04-02 | handle time_t which is not u_int32_t | Theo de Raadt | |
ok guenther | |||
2013-04-02 | Stop assuming time_t is long | Philip Guenther | |
ok deraadt@ | |||
2013-04-02 | Use a time_t variable with ctime() | Philip Guenther | |
ok deraadt@ | |||
2013-04-02 | Don't assume sizeof(time_t)==4 | Philip Guenther | |
ok krw@ | |||
2013-03-31 | typo fix from rodent@netbsd; | Jason McIntyre | |
ok otto | |||
2013-03-30 | Sync with latest IKEv2 Parameters from IANA. No functional change. | Reyk Floeter | |
2013-03-30 | Since deleting all the addresses on an interface removes all the | Kenneth R Westerback | |
relevant entries from the arp cache, don't bother asking for/processing arp entries in the route dumps. Thus allowing use of NET_RT_FLAGS with RTF_GATEWAY and AF_INET, to ask for only the routes dhclient wants to expunge rather than all routes in existance. Greatly shrinks and simplifies the code. No intentional functional change. Tested by sthen@. | |||
2013-03-29 | remove some of the unused fields from rndstats and stop printing zeroes. | Ted Unangst | |
print labels before stats so people can tell what's what. | |||
2013-03-29 | sadly, we are going to need machine/cpu.h here for a while to get machdep | Ted Unangst | |
noticed by naddy | |||
2013-03-28 | remove excesss includes | Theo de Raadt | |
2013-03-25 | the unused palm code goes away. | Theo de Raadt | |
2013-03-24 | Simplify logic when processing route dump by using a helper function | Kenneth R Westerback | |
delete_route(). No functional change. | |||
2013-03-22 | Ignore client-identifier option in leases from a server. They're not supposed | Kenneth R Westerback | |
to be there! Instead, always record the client-identifier used to obtain the lease. Ignore recorded leases that have a different client-identifier than the one currently in force. If a client-identifier is not specified in the dhclient.conf file, construct one from the network type and MAC, like most other clients out there do these days. Thus, if one plugs in a different USB network adapter, renewing the previous lease (which upsets servers due to the MAC being different) is skipped and DISCOVER is attempted at once. Issue noted and fix tested by tedu@. | |||
2013-03-21 | more substantial include cleanup | Theo de Raadt | |