summaryrefslogtreecommitdiff
path: root/usr.sbin
AgeCommit message (Collapse)Author
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
2004-05-26Send out a random 64-bit number as our transmit time. The NTPJakob Schlyter
server will copy said number into the originate field on the response that it sends us. This is totally legal per the SNTP spec. The impact of this is two fold: we no longer send out the current system time for the world to see (which may aid an attacker), and it gives us a (not very secure) way of knowing that we're not getting spoofed by an attacker that can't capture our traffic but can spoof packets from the NTP server we're communicating with. code by Alexander Guy. ok deraadt@
2004-05-26Better message if interface is not available. Hint from Daniel Polak.Otto Moerbeek
ok henning@ jmc@
2004-05-25include hostname in memory buffered logs, spotted byDamien Miller
ssurdock AT engineered-net.com; ok deraadt@
2004-05-25handle interface removals gracefully. reported by Oliver J. MoraisCan Erkin Acar
ok henning@, tedu@
2004-05-25SNTP is RFC 2030Jakob Schlyter
2004-05-25tun interface is stored in /var/run/cuaXX.if, not /var/run/ttyXX.if;Jason McIntyre
2004-05-25clarify how modems on serial ports attach, and their corresponding deviceJason McIntyre
numbers; inspired by a thread on misc@, and my own, er, experiences.. ok markus@
2004-05-24typos from Fabio Olive Leite;Jason McIntyre
2004-05-24- sort optionsJason McIntyre
- sync usage()
2004-05-24Fix copy paste error pointed out by jmc@Claudio Jeker
2004-05-24uppercase `id';Jason McIntyre
ok henning@
2004-05-24typo; From: Andrey Matveev <andrushock@korovino.net>Henning Brauer