summaryrefslogtreecommitdiff
path: root/usr.sbin
AgeCommit message (Collapse)Author
2013-03-27some updates from daniel dickman;Jason McIntyre
2013-03-27fix build after asr updateEric Faurot
ok gilles@
2013-03-26Include inttypes.h to get PRIx64; ok gilles@Todd C. Miller
2013-03-26for the sake of argument, let's pretend this #if 0 code isn't wantedTed Unangst
2013-03-25the unused palm code goes away.Theo de Raadt
2013-03-25the unused palm code goes away.Theo de Raadt
2013-03-25remove useless line that breaks with new perlStuart Henderson
2013-03-25sync w/ospfd: improve snapshot handling; ok claudio, sthenMarkus Friedl
2013-03-25sync w/ospfd: ignore the nbr_adj_timer if we are not formingMarkus Friedl
adjacencies; ok claudio sthen
2013-03-25sync w/ospfd: the event NBR_EVT_SEQ_NUM_MIS is not defined in stateMarkus Friedl
NBR_STA_XSTRT; ok claudio@ sthen@
2013-03-25sync w/ ospfd:Markus Friedl
for point-to-point interfaces we need to send lsupdates to the interface address, since there is no DR and multicast messages to the DR will be ignored. ok claudio@, then@
2013-03-25sync w/ospfd: allow two minutes until neighbor adjacencies are formed;Markus Friedl
ok claudio@ sthen@
2013-03-24Do not leak kernel pointers, unless operating as root. Some other displayTheo de Raadt
functionality is lost, but one can argue that privacy was being violated there... ok various, including bluhm and guenther
2013-03-23rework the main loop so we can drop kmem privs a little later,Ted Unangst
prepping for a coming kernel change. we need to call sysctl for all the procs to get their vmspace pointer, then we drop, then we go grovelling. ok deraadt
2013-03-22RFC 2131 4.3.1 seems clear that a server MUST NOT include theKenneth R Westerback
client-identifier option in OFFER or ACK messages. So stop doing so.
2013-03-22tweak previous; ok sthenJason McIntyre
2013-03-22decl's before code. please push to upstream.Theo de Raadt
2013-03-22port from ospfd/lsreq.c r1.20, ok claudio@Stuart Henderson
date: 2013/01/17 09:02:22; author: markus; state: Exp; lines: +4 -2 the peer might still send more DD messages, even if the RDE has processed all received DDs (dd_pending == 0), so we need to check for state != NBR_STA_XCHNG; ok claudio@
2013-03-22Allow use of an alternative control socket, ported from ospfd. ok claudio@Stuart Henderson
2013-03-22sync comment typos/whitespace with ospfdStuart Henderson
2013-03-22typo in commentStuart Henderson
2013-03-22gratuitous whitespace diff with ospfd/ospf.hStuart Henderson
2013-03-22whitespace tweak; gratuitous difference with ospf6dStuart Henderson
2013-03-22reinstate code to announce routes to backup carp interfaces. this was removedStuart Henderson
in a cleanup in r1.83, but we do still want to announce these (with a high metric), so that a specific route to the relevant network is maintained during failover. ok florian@ claudio@
2013-03-22Do not register symlinks in the sum files. This makes no sense and makesAntoine Jacoutot
sysmerge(8) output a warning when the target of the link does not yes exist on the system. ok sthen@
2013-03-21re-add a build fix for vax that was overwritten by the updateRobert Nagy
2013-03-21create realloc() loops around sysctl for array-based mibs, in programsTheo de Raadt
which want a "full" dump ok dlg
2013-03-20revert, that restriction is already enforced the right wayTed Unangst
2013-03-20No need to depend on MCLBYTES here.Theo de Raadt
2013-03-20Only root can look at the kernel address space.Theo de Raadt
2013-03-20less includesTheo de Raadt
2013-03-207 #include which are not neededTheo de Raadt
2013-03-20a tiny bit of knf; mostly whitespaceTheo de Raadt
2013-03-19typo: icpp/ipcp; from Renaud AllardStuart Henderson
2013-03-19dont need to event_add the parent to child writing events twice. especiallyDavid Gwynne
if something stops you from having something to write after the first event_add but before the second one. thank you to Henri Kemppainen for the find.
2013-03-18make the arg name for -t consistent, and add STANDARDS;Jason McIntyre
2013-03-18jmc pointed out i didnt replace the placeholders with the year and my name.David Gwynne
2013-03-18whitespace fixes. no functional changeDavid Gwynne
2013-03-18limit the client to 256 bytes of input. if they send too much we just closeDavid Gwynne
the connection. requested by deraadt@
2013-03-18switch from having a timeout after every read/write for the clientDavid Gwynne
connection to a timeout for the whole session. means a client cant sit there feeding us a byte at a time for long periods, consuming fds on the server. it seems to simplify the code a bit too. requested by deraadt@
2013-03-18handle EMFILE/ENFILE from accept by disabling handling of events on theDavid Gwynne
listeners for a second. modelled on how this has been solved in other network daemons.
2013-03-18this is a new identd daemon to replace the libexec one that can be runDavid Gwynne
from inetd. it is an event driven non-blocking implemention using libevent. it features support for privilege separation and revocation. network connections are handled by a chrooted and unprivileged process, while the username lookups are handled by an unprivileged process. the lookups can block while the network handling can continue. it also features support for handling concurrent client connections. its currently lacking support for handling dotfiles in homedirs like the libexec one, and some error handling on accept. its going into the tree so it can be worked on with a history of changes.
2013-03-17update to 1.2.7Robert Nagy
2013-03-17i missed the bit of maxime villards diff that took the client_free out ofDavid Gwynne
oack on error. his fix is better, so this marges all of it in.
2013-03-17Add the router preference defines to the icmp6.h header and remove theBrad Smith
defines that were part of rtadvd's code. ok bluhm@
2013-03-15camield requested backout of rev 1.26, and indeed ftp-proxy does notSebastian Benoit
need it.
2013-03-15let oack use the full buffer space to build its packet, not just the sizeDavid Gwynne
negotiated for data tranfsers. this lets people negotiate 2 byte transfers with other options too if they want. im looking at you Maxime Villard.
2013-03-15"correct" the order of calloc arguments.David Gwynne
2013-03-15fix up some lwarn()s that should be lwarnx()sDavid Gwynne
2013-03-15fix a huge bug in tftpd.David Gwynne
there was a double free if an option ack failed. if oack fails, the client gets freed, then the oack caller tries to free the options which were just freed. found by Maxime Villard who provided a fix. unfortunately his fix still had a double free but it was pretty close. ok MALLOC_OPTIONS=S