summaryrefslogtreecommitdiff
path: root/usr.sbin
AgeCommit message (Collapse)Author
2004-06-09Take better care of people down under living in X and a half hourOtto Moerbeek
timezones. ok canacar@
2004-06-09move to a dynamically allocated struct pollfd array.Henning Brauer
we used a ststic one with OPEN_MAX entries, which is a rather arbitary limit as OPEN_MAX is _not_ the max # of open fds we can have, but just a default for that setting. in the same move we have to allocate the peer_l array, basically there for pfd-index to peer pointers to prevent peer list scans all time, dynamiccaly to. we overallocate a little and use that reserve until we have to realloc again later to prevent reallocs for every single control connection or a single flapping peer. help & ok claudio
2004-06-09 * Bring rdate's SNTP support into compliance with SNTPv4 (RFC 2030).Alexander Guy
* More robust handling of NTP error conditions (e.g. host or service unreachable). * Improve the detection of stale and/or spoofed NTP responses from servers. * Add support for getaddrinfo(3)'s multiple host support if error conditions occur (e.g. round-robin DNS, and the first NTP server isn't responding, try the next host in line). * Minor formatting/code cleanup. ok henning@
2004-06-08Remove 'nmbuclust' setting of NMBCLUSTERS. They don't exist anymore.Ryan Thomas McBride
ok millert@
2004-06-08fix a few memory leaks in error paths and one in the pftable path,Henning Brauer
and simplyfy the prefix production error handling slightly from Mr. Memleak Terminator Patrick Latifi <pat@eyeo.org>, kickass!
2004-06-07consistently refer to the authpf_users table;Jason McIntyre
noticed by die tuere; ok beck@
2004-06-07clarify how tags are parsed;Jason McIntyre
help from, tweaks, and ok's: dhartmei@ otto@ millert@
2004-06-07mod_digest for Apache does not properly verify the nonce of a client responseBrad Smith
by using a AuthNonce secret. CAN-2003-0987 ok henning@
2004-06-07Apache does not filter terminal escape sequences from its error logs, whichBrad Smith
could make it easier for attackers to insert those sequences into terminal emulators containing vulnerabilities related to escape sequences. CAN-2003-0020 ok henning@
2004-06-07check for NOPIC instead of using a list of arch names.Brad Smith
ok drahn@ henning@
2004-06-06Fix typo in last commit for non-compiled code. Dmitry V. LevinTodd C. Miller
2004-06-06clean some lists and displays;Jason McIntyre
2004-06-06rework bgpd's handling of listening sockets. instead of one for eachHenning Brauer
supported address familiy, keep a tailq of an arbitary number of them. the new struct listen_addr contains the sockaddr and the fd. this fixes quite some nasty behaviour which was a consequence of the previous model. looks right deraadt@, and discussed with claudio
2004-06-05Typo correction, and consistency changes.Alexander Guy
ok jakob@, henning@
2004-06-05Move prototype definitions. Add multi-include protection to header.Alexander Guy
ok henning@
2004-06-04Clear up some confusion: -e is account expiry flag, -f is passwordOtto Moerbeek
expiry flag. Resolves PR 3792, though not by changing code, but by changing docs, comments and an error message or two. ok jmc@ millert@
2004-06-04various tweaks;Jason McIntyre
ok grange@
2004-06-03Document behavior if MAILTO is set to the empty string.Todd C. Miller
2004-06-03More changes from Dmitry V. Levin:Todd C. Miller
Check return values for setgid, initgroups and setuid in code we don't compile. Print the correct filename for the at job in mail sent. Add some #if DEBUGGING in cron.c's usage(). Set sunlen each time before using it in accept(). Don't send mail at all if MAILTO is set but empty.
2004-06-03Add gpioctl.Alexander Yurchenko
2004-06-03gpioctl -- program to control GPIO devices.Alexander Yurchenko
The gpioctl program allows to manipulate GPIO devices pins Quick start for the Soekris net4801 users: # gpioctl -c 20 out pp # gpioctl 20 1 This will turn on the red error led. If you want to use JP5 I/O pins, just use the /dev/gpio1 device. Quick start for the PC Engines WRAP.1C users: # gpioctl 40 This will read the state of the button (0 means pressed). # gpioctl -c 2 pp out This will turn the first led on, to turn off write 1 to the pin, it's reversed. For the second and the third leds use pins 3 and 18. ok deraadt@
2004-06-03Though crontab files are created mode 0600 we should accept ones thatTodd C. Miller
are mode 0400 too. From Walt Howard.
2004-06-03allow '!!prog', where the second '!' means messages from prog should onlyDaniel Hartmeier
be logged by the subsequent block, aborting evaluation when matching. Useful to log some daemons to dedicated files only (not polluting standard files with their messages). ok beck@, henning@, millert@
2004-06-03Interpret !* correcly. ok dhartmei@Otto Moerbeek
2004-06-02prepare for client functionalityHenning Brauer
2004-06-01$OpenBSD$Henning Brauer
2004-06-01first cut at config file parserHenning Brauer
for now, one can set the addresses to listen on
2004-06-01tzset(); noticed by theoHenning Brauer
2004-06-01I would have sworn I added tzset() hereHenning Brauer
2004-06-01allow ntpd to listen on nearly arbitary number of sockets (OPEN_MAX - 1 atm).Henning Brauer
default to one IPv4 wildcard and one IPv6 wildcard one.
2004-05-31naming consistencyHenning Brauer
2004-05-31make my japanese friends happy by supporting IPv6 as wellHenning Brauer
2004-05-31initial cut at a manpageHenning Brauer
2004-05-31fix usage()Henning Brauer
2004-05-31initial cut at ntpd.Henning Brauer
it is just capable of answering (s)ntp4 requests with the local time for now. imsg/buffer and logging framework from bgpd, ntp protocol hackery with Alexander Guy
2004-05-31Remove redundant errno declaration. ok deraadt@Otto Moerbeek
2004-05-31Avoid unintentional trigraph.Brad Smith
From FreeBSD
2004-05-30insane spacingTheo de Raadt
2004-05-30verify that the server is confident in the result it is sending us; from ↵Jakob Schlyter
Alexander Guy
2004-05-30only call getprotobynumber() when necessary. from freebsd (dds@)Ted Unangst
testing jmc todd. ok deraadt
2004-05-30+hotplugdTheo de Raadt
2004-05-30Better error message.Alexander Yurchenko
2004-05-30Missing waitpid, noticed by Gregory Steuck <greg@y2004.nest.cx>.Alexander Yurchenko
2004-05-30Can only exist on alpha, amd64, i386, macppc and sparc64.Alexander Yurchenko
2004-05-30hotplugd -- devices hot plugging monitor daemon.Alexander Yurchenko
The hotplugd daemon monitors the hotplug(4) pseudo-device, acting on signaled events by executing the scripts in the /etc/hotplug directory. Not linked to the build yet.
2004-05-28cvs really sucks.Brad Smith
2004-05-28bye bye old package tools.Brad Smith
ok deraadt@
2004-05-28detect absence of PF_KEY interface and/or the TCP_MD5SIG setsockoptsHenning Brauer
at runtime and disable said subsystems if so. helps the guys porting bgpd to $otherBSD, and is actually the right thing to do. claudio ok
2004-05-28don't want SO_REUSEPORT...Henning Brauer
2004-05-27some updates for openssl smime;Jason McIntyre