summaryrefslogtreecommitdiff
path: root/usr.sbin
AgeCommit message (Collapse)Author
2006-10-31create a temporary neighbor instead of a permanent one when a request is ↵Michele Marchetto
received
2006-10-31Time is not a secret.Ryan Thomas McBride
Modulate the timer with an MD5 hash of the key to generate the sequence number. Ensure that the most significant bit of the modulated value is 0 to prevent wrapping of the sequence number. ok michele@
2006-10-31Remove dead code; len is always >= 1.Todd C. Miller
Convert a strncpy() to strlcpy() since it is followed by strlcat(). OK marco@ mk@
2006-10-30Now that we have smarter lex and yacc rules, remove redundant linesOtto Moerbeek
from Makefile. ok millert@
2006-10-29Allow braces to fit on a single line if only one or no argument is used.Claudio Jeker
This allows construct like these: area 0.0.0.1 { interface lo0 interface em1 { passive } } From Pierre-Yves Ritschard
2006-10-29Connect ripd and ripctl to the build.Esben Norby
ok claudio@ deraadt@
2006-10-27use clock_gettime(CLOCK_MONOTONIC, ..) to get a monotonically increasingHenning Brauer
time, and make ntpd use that to send the next uery to an ntp peer and the like. this has the advantage that changes to the clock do not interfere with the intervals. for example, when we start on machines without an RTC and the initial settime (-s) kicks in, intervals were strange. idea from amandal@entrisphere.com, this implementation by me tested ckuethe, phessler, mbalmer, ok mbalmer
2006-10-26 * make sure we keep copies of everything we need toHenning Brauer
* remove SAs and flows later again, even if the * configuration info changed due to reload. * We need: SPIs, method, local_addr, remote_addr. * remote_addr cannot change, so no copy. with this, I have just migrated a session from tcp md5sig to ipsec esp ike, just with bgpctl reload (both sides) followed by bgpctl neighbor $foo clear (just one side)! claudio ok
2006-10-26storing the dynamically acquired SPIs for tcpmd5 inside the conf structHenning Brauer
is not such a good idea - it gets nulled on config reloads, and thus we fail to clear the old SAs when the session is restarted after a config reload occured. obvious solution: store the SPIs outside the config area. ok claudio
2006-10-25strtonum, Pierre-Yves Ritschard <pyr@spootnik.org>Henning Brauer
2006-10-25geez, the anno 2004 bgpd debug shitz made it to ripd tooHenning Brauer
Pierre-Yves Ritschard <pyr@spootnik.org>
2006-10-25strtonum, Pierre-Yves Ritschard <pyr@spootnik.org>Henning Brauer
2006-10-25same old debug cruft from bgpd as killed in ospfd and dvrmpd - is it yetHenning Brauer
somewhere else?
2006-10-25strtonum, Pierre-Yves Ritschard <pyr@spootnik.org>Henning Brauer
2006-10-25remove unused debug crap, that years ago accidently hit the tree withHenning Brauer
bgpd (2004 :)), and spread ;(
2006-10-25use strtonum, Pierre-Yves Ritschard <pyr@spootnik.org>Henning Brauer
2006-10-25Remove a parser debug functionality that was never used in ospfd.Claudio Jeker
From Pierre-Yves Ritschard
2006-10-25Use strtonum(3) instead of the hand made atoul. This solves an issue withClaudio Jeker
possible integer truncation because of the use of u_longs and u_int32_t in the code. Initial diff by Pierre-Yves Ritschard but slightly modified version commited.
2006-10-24spelling and typo fixesDavid Krause
2006-10-24first appeared in OpenBSD 4.1 not 4.0David Krause
2006-10-24timedelta sensors are usually updated very often, but we used to queryHenning Brauer
them only every 30 seconds. now query them every 5,and take the median value from 7 queries as sensor value. this takes outliers out of the equation and makes the overall result much better, especially for sensors with heavy jitter (like nmea for now)
2006-10-24Check that string length != 0 before setting buf[strlen(buf) - 1].Ray Lai
OK cloder@.
2006-10-23no need to use "keep state" and "flags S/SA" in pf rules,Jason McIntyre
now that it is the default; ok henning mcbride camield (ftp-proxy bits) deraadt
2006-10-22word fix; ok norbyJason McIntyre
2006-10-21in client_nextaddr, check fd != -1 before close, just nicer this wayHenning Brauer
From: amandal@entrisphere.com
2006-10-21 Found that even if client fd (i.e to NTP source) is set toHenning Brauer
-1 because of error, it may still participate in poll() causing poll() to repeatedly wake up on error fd. so make sure w edon't add -1 fds to pollevents to avoid unnecessary wakeups From: amandal@entrisphere.com
2006-10-21when ntp_sendmsg fails, reset trustlevel to TRUSTLEVEL_PATHETICHenning Brauer
From: amandal@entrisphere.com
2006-10-21EADDRNOTAVAIL after connect is one of the soft errors where we don't abortHenning Brauer
too. from amandal@entrisphere.com
2006-10-20indentTheo de Raadt
2006-10-19Correct function name in log_debug() messagesRyan Thomas McBride
2006-10-18do not name FILE * variables "fd" since it is confusingTheo de Raadt
2006-10-18uppercase for `RFC';Jason McIntyre
2006-10-18symlinks marked @extra need special care for deletionNikolay Sturm
ok bernd, espie
2006-10-18Controller for the ripd.Esben Norby
All relevant information in the rip daemon can be displayed with this controller. Not connected to builds yet. ok claudio@
2006-10-18Welcome ripd started by Michele Marchetto some time ago by using the ↵Esben Norby
imsg/three process framework of ospfd. He implemented most of the daemon with a little help and guidance from Claudio and I. Currently the daemon is more or less complete, with the exception of key lifetime and rollover. Not yet connected to the builds. OK claudio@
2006-10-18Welcome ripdEsben Norby
started by Michele Marchetto some time ago by using the imsg/three process framework of ospfd. He implemented most of the daemon with a little help and guidance from Claudio and I. Currently the daemon is more or less complete, with the exception of key lifetime and rollover. Not yet connected to the builds. OK claudio@
2006-10-17add proper version handling, not really used yet.Marc Espie
2006-10-17add -F conflicts: force installation in the presence of registered conflicts,Marc Espie
provided nothing else happens (like, huh, the presence of actual conflicts between files). Allows nikolay@ to work with redhat/base and fedora_core at the same time.
2006-10-15Close file descriptors before cleaning up the events, might cause a raceCamiel Dobbelaar
otherwise.
2006-10-15tweaks;Jason McIntyre
2006-10-15Normalize query options: make them not stop the package generation unlessMarc Espie
-n is also mentioned. Do some devious speed tricks in case -n && -[qQ] (forgetting to checksum files, for instance), so that it can be used for batch jobs.
2006-10-14landisk will need this tooTheo de Raadt
2006-10-13check error condition of strtonumReyk Floeter
2006-10-12need to call adjtime once in a while here too, otherwise sensor-onlyHenning Brauer
servers never update the system clock
2006-10-12internally, ntpd doesn't work with absolute offsets to system time, butHenning Brauer
takes the offset it adjtime() is already correcting for into account when taking the offset from a sensor, we need to correct it by the offset between system time and ntpd view.
2006-10-11use SEEK_SET; chl@tuxfamily.orgTheo de Raadt
2006-10-10fgets(3) returns NULL on error, not 0. No functional change, but it makesChad Loder
the code easier to read. OK deraadt
2006-10-08use 'weight-value' vs. 'offset' for the weight argument;Kevin Steves
ok jmc@ henning@
2006-10-03strtonum() with INT_MAX intead of LONG_MAX, problem pointed out by ↵Theo de Raadt
pierre-yves@spootnik.org
2006-09-29remove an -O0 workaround for egcs/alpha; noone remembers why it was thereMartin Reindl
and alpha is gcc3 now