summaryrefslogtreecommitdiff
path: root/usr.sbin
AgeCommit message (Collapse)Author
2005-03-13when fetching the initial table, inherit the ifindex regardless of af, notHenning Brauer
just for AF_LINK
2005-03-13explicitely initialize optHenning Brauer
2005-03-13s/to many/too many/, from jmcHenning Brauer
2005-03-13Fixes in ntpd_settime (ie ntpd -s):Darren Tucker
- Handle errors from syscalls better - Prevent curtime.tv_usec from being negative for negative offsets. - Don't claim to have done settimeofday if it fails. ok henning@
2005-03-13document some common usage of pkg_info to make us look cool.Marc Espie
okay jmc@, prod by theo.
2005-03-12remove useless sentence;Jason McIntyre
ok beck@
2005-03-12Do not leak mem or fd in error paths. From Andrey Matveev (thanks!).Chad Loder
OK niallo@ deraadt@: "stop polishing turds and commit already"
2005-03-12Add "show rib" and "show rib detail" to ospfctl.Esben Norby
ok henning@
2005-03-12Small K&F.Esben Norby
ok henning@
2005-03-12shutdown the inetd socket for reading if secure; ok deraadtMarkus Friedl
2005-03-11freeaddrinfo() isn't needed on the error path from getaddrinfo().Bob Beck
ok claudio@
2005-03-11Fix typo.Esben Norby
ok claudio@
2005-03-11fix usage to reflect new reality, ok jmc@Bob Beck
2005-03-11"Greytrapping" for spamd - allow for spamd greylisting to maintainBob Beck
a list of spamtrap destination addresses in the spamd database. When a spamtrap address gets an attempted greylist delivery, blacklist the offending host for a day. Does not affect hosts already whitelisted. ok deraadt@, jmc@, dhartmei@ to get it in so it can be whacked on
2005-03-11shutdown() directly before close() is useless, theoHenning Brauer
2005-03-11clean up printing of rule numbers. omit ruleset name and sub-rule numberDaniel Hartmeier
when irrelevant. print 'def' for default rule. omit numerical reason if description is printed. ok henning@, deraadt@
2005-03-11move umask() song and dance closer around the bind, being more careful about ↵Theo de Raadt
errors; ok claudio
2005-03-11Finally commit the transparent-as and nexthop no-modify stuff I wrote on theClaudio Jeker
way to FOSDEM. With transparent-as set to ye bgpd will not prepend his own AS for sent updates. NB the neighbor needs to set "enforce neighbor-as no" or it will not like the received AS paths. With set nexthop no-modify bgpd will change the nexthop as done normaly. OK henning@ man page update with help of jmc@
2005-03-11KNFHenning Brauer
2005-03-10only play with umask() for a moment -- restore afterTheo de Raadt
2005-03-10put umask restores in right place; millert okTheo de Raadt
2005-03-10Write this in real C, not some bullshit GNU extension that other compilersTheo de Raadt
do no understand.
2005-03-10the section is named "LOGGING FACILITY", not "Logging Facility";Jason McIntyre
also mention that it is "above", as this is one large page;
2005-03-09Do not leak Keynote sessions on failure. Also check snprintf returnChad Loder
value for truncation and failure. OK hshoexer
2005-03-09nasty: host_dns used to run before forking and chrooting etc, so it wasHenning Brauer
guaranteed that its res_init() call was done once before fork etc... that is no longer the case. call res_init() in main() early.
2005-03-09Check kn_init for failure.Chad Loder
OK hshoexer@, henning@
2005-03-09Preliminary support for the floppy drive on Ultrasparcs. Only tested onMiod Vallat
SBus machines so far, although EBus attachment glue is provided but not enabled by default. Also, fdformat(8) does not work correctly yet, although reading and writing is safe; this will hopefully be fixed in the near future. ok deraadt@
2005-03-09memcpy/memmove correctness here as wellHenning Brauer
2005-03-09correctness: memmove instead of memcpy where we might have overlapsHenning Brauer
2005-03-09when, after processing all complete imsgs we found in the buffer,Henning Brauer
there are some bytes left (less than an imsg header, or less than the imsg header len field says) we copy it to the very beginning of the buffer. use memmove instead of memcpy since it is not guaranteed that there's no overlap. while memcpy on OpenBSD is safe, it might not elsewhere, and we want our code to be correct anyways. funny enough theo and I talked at length about that last week in dublin, and I said I believe I had no memcpys with the chance of overlap in ntpd/bgpd - well, here is one, and Alexander von Gernler <grunk@pestilenz.org> pointed me to it.
2005-03-09just clue() the first time a library is not found.Marc Espie
More clues are generally useless...
2005-03-09report all missing libraries (report is a bit verbose, but this will do).Marc Espie
2005-03-09simplification; ok reykTheo de Raadt
2005-03-09oops, since we don't register destdir along with libs, looking up withMarc Espie
destdir is doomed.
2005-03-09make sure lookup_libspec returns the same thing in -v -v mode.Marc Espie
2005-03-08Remove no longer valid route entries.Esben Norby
ok claudio@
2005-03-08when trying short-circuit the wait for the first reply for -s, onlyHenning Brauer
do so when -we tried to send at least one query (that is the change) -we could not send ou a single one without failure (this was already in place but catched too much) problem independently noticed by nick and danh, ok mickey danh, testing by many
2005-03-08knfTheo de Raadt
2005-03-08from the "shut the fuck up, ntpd" department:Henning Brauer
don't whine about temporary dns errors
2005-03-08make this compile on strict-alignment architectures. someone sendTheo de Raadt
reyk a sparc64 please!
2005-03-08missing break spotted by lintTheo de Raadt
2005-03-08from the "shut the fuck up, ntpd" department:Henning Brauer
move log_debug call to tell about skipping the settime due to lack of answers down slightly below the 2nd (and final) log_init call so it becomes a -d only thing. tested by dlg and me
2005-03-08let client_query return 0 if it requested dns resolutionHenning Brauer
2005-03-07strip down path from generated manpages.Marc Espie
problem noticed by sturm@
2005-03-07oopsMarc Espie
2005-03-07add a printer for 802.11 and for additional radiotap headers,Reyk Floeter
use -y IEEE802_11 or IEEE802_11_RADIO if supported by the driver. ok canacar@
2005-03-07make device MAXPATHLEN long instead of 64, fixes remote dumps withHenning Brauer
long target file names, PR4137, ok miod beck mcbride deraadt
2005-03-07Track interface state (up/down) and media status. Simplify the code a bitClaudio Jeker
by using the kif/kroute info while allocating interfaces.
2005-03-06- do not mark up punctuationJason McIntyre
- use full "For example:" instead of "e.g.," where the latter looks too awful - no need to use Ns before `.'
2005-03-06uppercase takes precedence over lower when sorting options;Jason McIntyre