summaryrefslogtreecommitdiff
path: root/usr.sbin
AgeCommit message (Collapse)Author
2006-06-26fix printing of the RSSI radiotap element: use the PRINTF wrapperReyk Floeter
around hostapd_log instead of the printf function
2006-06-26increase polling intervbal, but only after we are synced and have doneOtto Moerbeek
a few frequency adjustments. ok henning@
2006-06-26Reset adjtime() on startup; having an adjtime() active while startingOtto Moerbeek
up causes overcompensation and confusing debug log entries; noticed by dtucker@
2006-06-26Code cleanup/shortening. No binary changes.Marc Balmer
2006-06-23set the RSSI Max value in ath(4) and use the new RSSI radiotap headerReyk Floeter
instead of the old db signal header. also allow tcpdump and hostapd to print the new RSSI radiotap header values current/max rssi. ok damien@ jsg@
2006-06-22CAVEATSRay Lai
syslogd does not create files, it only logs to existing ones. From millert@: http://marc.theaimsgroup.com/?m=106329875409953 ``Good idea'' millert@, ``fine by me too'' jmc@
2006-06-22Document /var/db/ntpd.drift; ok jmc@Otto Moerbeek
2006-06-22Save the computed clock drift and use it on startup. ok deraadt@Otto Moerbeek
henning@
2006-06-21avoid a race by installing SIGCHLD handler before fork() is called.Otto Moerbeek
ok henning@ ckuethe@
2006-06-19a little .Xr;Jason McIntyre
2006-06-19add -c to usage() and synopsis;Jason McIntyre
2006-06-19if at startup a given group has carpdemote == 0, we don't do carp demotion.Henning Brauer
now, once all sessions went to established, we start doing demotion, so that when one drops and has dmeotion enabled, we actually demote. ok claudio
2006-06-18tsk, tsk, tsk... the rule is simple: any define consisting ofOtto Moerbeek
more than one token MUST be put in parentheses!
2006-06-18fix a commentHenning Brauer
2006-06-18make cloned sessions appear with RECONF_REINIT so they are treated likeHenning Brauer
peers added at runtime
2006-06-17Import frequency conrrection code from dragonfly, whith some changes:Otto Moerbeek
only do frequency compensation if the clock is synced, and a slightly diffent way of computing the linear regression. You'll need a recent kernel and libc to use this. Testing by naddy@ and ckuethe@ and others, thanks! ok henning@
2006-06-17make dvmrpd(8) behave correctly on sparc64 when generating and parsingEsben Norby
route reports. help from claudio@
2006-06-17use the carp_demote_ioctl directly instead of carp_demote_set, ok claudioHenning Brauer
2006-06-17urgs, helps to commit everything, sorryHenning Brauer
2006-06-17implement carp demotion control for bgpd.Henning Brauer
sessions can be configured to modify the carp demotion counter for a given interface group (usually, "carp", which has all carp interfaces) when the session is not established. once the session is established for 60 seconds, the demotion is cleared. this, used correctly, can prevent a bgpd-box which lost all sessions (and thus has no routes) to be carp master, while the backup has sessions. thought through and partially hacked on a drive from calgary to vancouver with ryan, ok claudio
2006-06-17make dvmrpd(8) capable of fetching interfaces correctly on sparc64.Esben Norby
2006-06-16printing these version numbers in usage is ugly and uselessTheo de Raadt
2006-06-16Don't use rmx_hopcount any longer. The kernel ignores it anyway.Claudio Jeker
OK henning@, norby@, hshoexer@
2006-06-15Use new struct ctl_show_rib_request for show rib requests. OK henning@Claudio Jeker
2006-06-15Instead of passing three different kinds of arguments in show rib controlClaudio Jeker
request use one struct ctl_show_rib_request where all the info is encoded. OK henning@
2006-06-15Move the PREFIX token to the end of the list. The other tokens are moreClaudio Jeker
specific in what they match.
2006-06-15Shuffle some vars to make the struct ordered by size.Claudio Jeker
2006-06-14sort options;Jason McIntyre
2006-06-14bgpctl show rib shows now the exit nexthop per default and not the trueClaudio Jeker
nexthop as before. The detailed output includes both nexthops. OK henning@
2006-06-14Send bot nexthops (exit and true) in the bgpctl show rib cases. bgpctlClaudio Jeker
can than select which nexthop should be printed. OK henning@
2006-06-14Use inet_net_pton() instead of inet_pton() so that it is possible to useClaudio Jeker
10/8 as prefix. OK henning@
2006-06-14This diff allows dhcpd to put active leases into a pf table. Dhcpd will thenChris Kuethe
periodically - based on the length of the shortest lease time - walk across all leases searching for expired leases which are then removed from the pf table. ok henning
2006-06-14Move the transmission of privsep messages into its own function. WhereverChris Kuethe
we might have conditionally sent a message, we now just call the pfmsg() function, and let it figure out whether the message should be sent or not. ok henning
2006-06-14Avoid changing pf tables when table name is NULLChris Kuethe
ok henning
2006-06-13typo; from sstullJason McIntyre
ok ckuethe
2006-06-12in session_setup_socket(), to take address family dependent actionHenning Brauer
(set v4 TTL/v6 hoplimit, v4 TOS), do not look at remote sockaddr's af, since that is not set at the first connection attempt yet. instead, use the configured remote address' af. problem spotted & my fix tested by Leen Besselink <leen@consolejunkie.net>
2006-06-11change "apmd not running" to "cannot connect to apmd" in error messageNikolay Sturm
as it could be a permission problem as well, pr 5151 ok deraadt
2006-06-10back in the dark age, carp interfaces were very strange - and we had toHenning Brauer
detect them looking at their name, beginning with carp. these days, we can just check for the iftype to be IFT_CARP. wanted to do this for some time and kept forgetting. from the airplane over two weeks ago, forgotten in a secondary tree again...
2006-06-09set session id and init logging in -s mode. tested by david@ and matthieu@;Otto Moerbeek
ok henning@
2006-06-08simplify; ok henning@Otto Moerbeek
2006-06-07remove first person statement; stejones@gmail.comTheo de Raadt
2006-06-07mention the nmea line discipline in the pstat(8) man page.Marc Balmer
found by mk, ok deraadt
2006-06-07Compensate old offsets with the amount of adjustment done, avoidingOtto Moerbeek
overcompensating. From DragonFly, uses recent adjtime(2) changes, so you'll need a recent kernel. ok henning@
2006-06-06another typoTheo de Raadt
2006-06-06System build pieces for armish arch.Dale Rahn
2006-06-04Only invalidate stored replies if an adjustment was really made.Otto Moerbeek
ok henning@
2006-06-04teach this about NMEADISC tooTheo de Raadt
2006-06-03tweaks;Jason McIntyre
2006-06-02just ise "HARD" as refid with sensors for v3 clientsHenning Brauer
2006-06-02incredibly stupid typoHenning Brauer