summaryrefslogtreecommitdiff
path: root/usr.sbin
AgeCommit message (Collapse)Author
2008-10-08SIOCAIFADDR can fail with EEXIST either if the local or the destinationClaudio Jeker
address already exists so mention both addresses in the error message. From PR4584 (alexander at beard dot se) I just tuned the error message a bit.
2008-10-08Correct exit codes for extra files. PR 5072.Matthias Kilian
Reminded by millert. ok millert, deraaadt
2008-10-07protect better against races from incoming signals; slightly changedTheo de Raadt
from 5394 by tracking the fd instead of the fp. ok beck
2008-10-07dump pci devices from all the domains available in the system. this givesDavid Gwynne
a proper view of what is plugged into the box, previously only the first domain was displayed. from Paul de Weerd <weerd@weirdnet.nl> with help and feedback from kettenis@. thanks paul :)
2008-10-07oops, missed one compute_md5Marc Espie
noticed by djm@
2008-10-07pstat can hide information too; also based on PR 5113Theo de Raadt
2008-10-06Don't exit if the logfile specified on the command line can not beMarc Balmer
created due to a path component not existing, but log the error and retry. This will repeatetly log an error, like it does without the patch, but it will not slowly eat up memory. This fixes pr 4228.
2008-10-06Oops, also commit the header file. Remove silly debug message.aschrijver
2008-10-06turn the checksums stored in packing elements into real objects, so thatMarc Espie
pkg_add becomes mostly independent of the type of checksum stored. separate md5 into an abstract OpenBSD::digest class and an md5 subclass with specific methods to compute checksums and serialize results, and create an sha class that does the same thing with sha256 (with a base64 serializer)
2008-10-06use strtonum() instead of atoi() and remove an unnecessary bzero()aschrijver
ok pyr@
2008-10-05grammar; PR 5394Theo de Raadt
2008-10-05tweak previous;Jason McIntyre
2008-10-04tighter specs (tested for ages locally)Marc Espie
2008-10-04explicitly pad & pack the packetdata structure thrown around on the wire,Theo de Raadt
just like in traceroute6.
2008-10-03Readability changes.Marc Balmer
2008-10-03KNF and readability changes; no binary changes.Marc Balmer
2008-10-03Unify code between the various flavors of imsg buffer.c.Eric Faurot
Use unsigned int for msg_iovlen. ok henning@ claudio@
2008-10-03correct comment; a part of PR4184Theo de Raadt
2008-10-03Use correct function signature when calling the write_host_header hook.Marc Balmer
from Josh Elsasser <josh@elsasser.org>, thanks.
2008-10-02get rid of some unneeded $Id stuffTheo de Raadt
2008-10-02Repair "set reconnect random 0" from PR 5368. This bug report was ignoredTheo de Raadt
since Feb 2007, even though it had a patch. How did this happen??
2008-10-02use calloc() instead of malloc() and bzero()Theo de Raadt
2008-10-02in priv_settime(), we must not adjust the 'next' timestamps on their forHenning Brauer
the offset since we use monotime for these for some time now, and monotime is not affected by system time changes (like, duh, that was the reason for the change). PR5927
2008-10-02correct path for isakmpd/local.pub; from Matthew DempskyJason McIntyre
2008-09-30fix ugly comments.Pierre-Yves Ritschard
2008-09-30add missing copyright.Pierre-Yves Ritschard
2008-09-30aldap library -- Replacement for openldap used in ypldap. aldap is an ↵aschrijver
semi-asynchronous client interface to connect to LDAP servers.
2008-09-29initialize both sides of the lockpipe (only used in debug mode) to -1 toTheo de Raadt
have averted the bug found in pr 5938
2008-09-29do not close a random file descriptor in debug mode, PR 5938 from mickeyTheo de Raadt
2008-09-29add prototype for Carp::croak to prevent error under perl 5.10Simon Bertrang
feedback by espie@, prodded by millert@
2008-09-29fix log option with filter rulesReyk Floeter
2008-09-29also log the label if available for the matching rule node (like theReyk Floeter
URL filter category etc.)
2008-09-29spacingReyk Floeter
2008-09-29Change parsing of comments in external rule files. The hash mark mayReyk Floeter
appear in URLs (eg. /index.html#anchor), so only allow full-line comments indicated by a hash mark # at the beginning of a line.
2008-09-29allow to load expect, filter, log, and remove keys from external filesReyk Floeter
just containing on key per line. this allows easier use of URL white/blacklists from external sources.
2008-09-29Correct the logic when matching prefixes. This solves issues where IPv6Claudio Jeker
prefixes where matched on a simple deny from any prefix 0.0.0.0/0 rule. OK henning@
2008-09-29sort tokens for better readabilityReyk Floeter
2008-09-29allow to listen on a port range for redirections. this fixesReyk Floeter
stickyness with web applications that cannot do the clustering on their own and require stickyness with HTTP to HTTPS migration. this is required in many cases; it is a true fact that we cannot always fix the backend application in the real world. Tested and requested by many
2008-09-29Refactor code that handles the kroute interfaces and make it possible toClaudio Jeker
learn new interfaces during runtime. This should solve the issue with reloads failing when interfaces where created during runtime. OK norby@
2008-09-28ntpd does not require you to run rdate -n before it -- it notices such anTheo de Raadt
event. so don't use the word "before" .. and leave the mention ambigious ok henning
2008-09-26add [-s socket] to usage();Jason McIntyre
2008-09-26allow to add an additional restricted control socket for trap sendingReyk Floeter
only (not even show commands). this allows to place a socket for traps in another daemon's chroot. (based on restricted socket support from bgpd)
2008-09-19Merge printb() fix from ifconfig.c -r 1.157:Marco Pfatschbacher
Don't increment a pointer *before* testing it for NULL. OK canacar@
2008-09-19typoPierre-Yves Ritschard
spotted by uw at o3si dot de
2008-09-18add -A to SYNOPSIS;Jason McIntyre
2008-09-18document -A and include in usageOtto Moerbeek
2008-09-18Add a flag to print amap usage.Artur Grabowski
otto@ ok
2008-09-17- when merging a file, add a key to see a diff between the merged fileAntoine Jacoutot
and the new or old one requested by todd@ months ago "I like the idea" fgsch@, "should be in" todd@
2008-09-15Sync with dhcpd. Do not use < 0 to check for failed syscalls use == -1Claudio Jeker
instead. OK henning@
2008-09-15When checking if a syscall like open(), ioctl() or writev() failed compareClaudio Jeker
directly against -1 and do not use a < 0 test. OK henning@