summaryrefslogtreecommitdiff
path: root/sbin
AgeCommit message (Collapse)Author
2013-06-13Add support for protected-subnet config types.Reyk Floeter
From Ryan Slack
2013-06-11final removal of daddr64_t. daddr_t has been 64 bit for a long enoughTheo de Raadt
test period; i think 3 years ago the last bugs fell out. ok otto beck others
2013-06-09Make route adding interface more flexible by passing flags to beKenneth R Westerback
used rather than deducing them. Use priv_add_route() to add the 127.0.0.1 address when adding an address.
2013-06-09Fix/clarify some comments. do memset()'s only when variable is goingKenneth R Westerback
to be used.
2013-06-09Re-apply static route and classless static route support -- this timeKenneth R Westerback
passing the correct destination for the default route, '0.0.0.0', rather than the new lease address. Populating egress group works this time. Problem found the hard way by Chris Smith.
2013-06-09Re-apply route adding code refactoring -- it wasn't the problem thatKenneth R Westerback
broke populating the egress group.
2013-06-09add fuse sysctls, from Sylvestre GallonTed Unangst
2013-06-09fix an off by one preventing access to the last filesystem.Ted Unangst
from Sylvestre Gallon
2013-06-09Add back backslash fixes caught in rollback.Kenneth R Westerback
2013-06-09Backout static/classless route handling and default route refactoringKenneth R Westerback
since the former relies on the latter and the latter breaks 'egress' group populating.
2013-06-08Add new sysctl for pipex packet input/output queue length andYASUOKA Masahiko
counters. ok guenther, feedback jmc
2013-06-04Add support for static routes option (33) and classless staticKenneth R Westerback
routes option (121). ok sthen@
2013-06-04Fix "\" escape handling in read_string().Kenneth R Westerback
Problem noted, fix tested and ok sthen@.
2013-06-03sprinkle $OpenBSD$, pointed out by pedroMarc Espie
2013-06-03dependent clause requires a subject (comment grammar)Ted Unangst
2013-06-02Add mentions about net.mpls and net.inet.ip.ifq.YASUOKA Masahiko
input from jmc claudio
2013-06-02various fixes; passed back to netbsdJason McIntyre
2013-06-02Switch from antique struct direct to struct direntPhilip Guenther
2013-06-01remove set-tos backwards compat, moved into the set {} block a year agoHenning Brauer
ok ryan
2013-06-01Refactor the default route adding code to use a general route addingKenneth R Westerback
function that will be reused for future work. ok claudio@
2013-06-01import tmpfs code, originally from netbsd.Marc Espie
heavy lifting by Pedro Martelletto, timestamp fixes by me. THIS IS NOT ENABLED YET, AND REQUIRES UVM CHANGES AND REVIEW. Imported, so that working on it can be mostly done in tree with less painful diff exchanges, and that we have history of further changes. okay tedu@, deraadt@
2013-05-31Correct the range checks in ifconfig properly for vhid, advbase and advskew.YASUOKA Masahiko
Clarify about the ranges in the man page. ok mpf mcbride
2013-05-31don't truncate trailing zeros from the round-trip times; ok deraadt@ sthen@Christian Weisgerber
2013-05-27autodetect ipv6 addresses for route(8). ok benno@ bluhm@, manpage help jmc@Stuart Henderson
2013-05-22Move the gmac/null ciphers to a different table block, clearly labelled asStuart Henderson
not doing encryption. ok reyk@
2013-05-10Fix subnet check. Check our rdomain against the rdomains of the otherKenneth R Westerback
interfaces and not against our own. Problem noted, fix tested and ok mikeb@
2013-05-05Add a flag to struct client_state (IS_RESPONSIBLE) to record whenKenneth 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-02Bunch of comment/whitespace cleanup. Eliminate some misleading orKenneth R Westerback
pointless ones, make multiline comments readable, nuke '...' in favour of '.', etc.
2013-05-02Enough of the hand-rolling of queues. Turn client->leases andKenneth R Westerback
client->offered_leases into TAILQs.
2013-04-27Use 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-25big int_t/time_t fixes; ok deraadt@ krw@Otto Moerbeek
2013-04-25fix format string; found while scaning the tree for time_t/ino_t problems;Otto Moerbeek
ok deraadt@ krw@
2013-04-24pretty print bigger off_tTheo de Raadt
ok tedu otto
2013-04-24remove old backwards random junkTheo de Raadt
ok mikeb
2013-04-24Follow ISC and freebsd by increasing ip_ttl on packets from 16 toKenneth R Westerback
128, so people living many hops from their dhcp server can still get leases. Pointed out by deraadt@
2013-04-23handle large ino_t; ok teduTheo de Raadt
2013-04-23handle large ino_t; ok teduTheo de Raadt
2013-04-23simple repair for large ino_tTheo de Raadt
2013-04-23handle big ino_tTheo de Raadt
ok otto
2013-04-23prepare for more time (bits); ok deraadt@ millert@Otto Moerbeek
2013-04-21avoid truncating a time_t division into daysTheo de Raadt
2013-04-21Check both f_mntfromname and f_mntfromspec when looking for a mountedJoel Sing
filesystem. This makes umount via DUID possible. ok krw@
2013-04-21When mount(1) is run in verbose mode, display f_mntfromspec if it differsJoel Sing
from f_mntfromname. ok krw@
2013-04-19remove comment about "make gcc happy" for variables which WERE beingTheo de Raadt
used uninitialized... clean up time related variables too for 2038++ ok millert
2013-04-19make sure the fs blocksize doesn't get too big; ok krw@Otto Moerbeek
2013-04-17ext2fs 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-16mark time_t edges with commentsTheo de Raadt
2013-04-16improve name of the 32-bit timeval that ping uses, and bound the useTheo de Raadt
a bit better. discussed with guenther
2013-04-16handle big time_t types; ok guentherTheo de Raadt
2013-04-16remove casts to time_t * which are not neededTheo de Raadt