summaryrefslogtreecommitdiff
path: root/usr.sbin
AgeCommit message (Collapse)Author
2006-05-29When ntpd backs off polling due to a negative delay, tell the user how longChris Kuethe
it will wait until the next poll. ok henning@
2006-05-29No need for return; at end of functions returning void.Moritz Jodeit
2006-05-29better wording for the "weight" section;Jason McIntyre
2006-05-29Be more careful to not touch memory outside theMoritz Jodeit
captured packet. Fixes some more crashes. ok canacar@ deraadt@
2006-05-29repair some broken indentation in an example; ok jmc@Kevin Steves
2006-05-29document the optional "weight" keyword, and a little cleanup;Jason McIntyre
from henning and myself
2006-05-29ANSI and whitespace. No binary change.Moritz Jodeit
2006-05-29Check that struct p8022Hdr was completely captured,Moritz Jodeit
before accessing it. With some cleanup from canacar@ ok canacar@
2006-05-29The end pointer to fn_print() could possibly point behind the capturedMoritz Jodeit
packet. So make sure, it uses "snapend" in that case. ok canacar@
2006-05-29Add proper bounds checks for the CDP and SSDP protocols byMoritz Jodeit
grouping all LLCSAP_SNAP handling in one block. Also make sure, that enough of "struct llc" was captured, before accessing it. ok canacar@
2006-05-29Delay lsa database deletes for MIN_LS_INTERVAL seconds so that flappingClaudio Jeker
routes do not cause a update storm. OK norby@
2006-05-29Remove useless debug message that gets triggered all the time in big networks.Esben Norby
ok claudio@
2006-05-29when we cannot open /dev/hotplug, donn't bail, just work withoutHenning Brauer
with ckuethe
2006-05-28Even better nexthop delete behaviour. Do not delete nexthop if they are usedClaudio Jeker
by filter sets or if the nexthop is currently looked up. With this the "nexthop_update: non-existent nexthop" warning should be history. OK henning@
2006-05-28Correct more bounds checks which can lead to crashes.Moritz Jodeit
ok canacar@ deraadt@
2006-05-28Preload and pin nexthop used in filtersets so the are validiated when used.Claudio Jeker
This will fix problems with set nexthop on outgoing filters. Found by gluk@ OK henning@
2006-05-28Check that a complete struct llc was captured (not only 3 bytes),Moritz Jodeit
because it is accessed later on. ok deraadt@
2006-05-28allow for weight to be added to sensors or servers, so that one canHenning Brauer
weight timedelta sensors higher than ntp peers, for example ok deraadt mbalmer
2006-05-28get clock src id from the timedelta sensor desc.Henning Brauer
unfortunately I still don't have any hardware to test this ;(
2006-05-28if sysctl gives ENOENT the sensor is gone and we remove itHenning Brauer
2006-05-28let sensor_query handle removals itselfHenning Brauer
2006-05-28Device id was removed from hotplug events so cope with this.Michael Knudsen
2006-05-28sensor_byid not needed any moreHenning Brauer
2006-05-28hotplug devid will go away in a minute, so don't use it here any longerHenning Brauer
2006-05-28do not bother with rmeoval events, we remove sensors whoch vanished orHenning Brauer
are not a timedelta sensor any more on query on the fly anyway
2006-05-28small grammar improvement;Jason McIntyre
2006-05-28DV_SENSORS is no more, plug workaround for the time to the real solutionHenning Brauer
2006-05-28make use of the new hotplug events for sensors showing up or vanishingHenning Brauer
2006-05-28Include device id in hotplug event logging. id is passed as newMichael Knudsen
script parameter so only scripts that are picky about arg count needs updating. ok henning.
2006-05-27add sensor_byid(), return sensor by its idHenning Brauer
2006-05-27stop passing the config around all time, just store one copyHenning Brauer
2006-05-27fix potential crash when using -v. ok canacar@Moritz Jodeit
2006-05-27factor out sensor_probe from sensor_scan so we can probe a sensors whenHenning Brauer
we know its idea without scanning all again
2006-05-27make ntpd listen on the hotplug socket and decode yadda yadda, becauseHenning Brauer
new sensors showing up will be announced that way when slacking ml comes back from food
2006-05-27Wait for a response from bgpd on reloads.Claudio Jeker
2006-05-27Pass a IMSG_CTL_RESULT messgae back to bgpctl on reloads to indicate ifClaudio Jeker
the reload was successful or not. OK henning@
2006-05-27grok modp3072, ok moritz@Hans-Joerg Hoexer
2006-05-27sync to bgpd: use ibuf->pid in imsg_create if pid == 0, claudio okHenning Brauer
2006-05-27if the pid given to imsg_create is 0, use the pid sored in the ibuf (whichHenning Brauer
is the current process' pid). fixes blocking with concurrent bgpctl instances... oups. surprised we missed that earlier, the pid stuff was only ever added for that purposed, but we missed to set the pid. gigantic oups. with & ok claudio
2006-05-27Don't exit just because an interface has no subnet configured inKenneth R Westerback
dhcpd.conf. Just don't listen on that interface. Make warning messages textually consistant. tested & ok beck@
2006-05-27Revert last commit. Having ifindex of 0 is an error and needs to be reported.Claudio Jeker
Having routes with incorrect ifindex makes it impossible to correctly validate routes. -current ospfd needs a -current kernel.
2006-05-27scan for new timedelta sensors every five minutes for now, ok deraadtHenning Brauer
2006-05-27ntpd does timedelta sensors now tooHenning Brauer
2006-05-27document timedelat sensors. ok deraadtHenning Brauer
2006-05-27config file bits for timedelta sensors, so one can specify which devicesHenning Brauer
to use. "sensors *" just uses all. untested due to lack of hardware. hacked on the road somewhere between vancouver and calgary
2006-05-27Cleanup with lint. Make the poll fd indexes unsigned and because of thatClaudio Jeker
control_accept should also return a unsigned int. Remove old prototype.
2006-05-27Unfuck community delete. The if () statement to match communities was FUBARClaudio Jeker
instead reverse logic and use the same if statement as in the match function. Issue found and debugged by Leen Besselink. Thanks.
2006-05-27Move prinitng of communities into own function so that special communitiesClaudio Jeker
like "*" or "neighbor-as" is printed correctly. Issue noticed by Leen Besselink.
2006-05-27When an interface is ignored because it has no IP address, say so.Kenneth R Westerback
Don't just say 'not found". And always complain, not just when specific interfaces were requested. requested by and ok uwe@
2006-05-26make pkg_add exit gracefully if it cannot read from a file handle, whichSteven Mestdagh
happens when the ssh connection could not be established. ok espie@