summaryrefslogtreecommitdiff
path: root/usr.sbin
AgeCommit message (Collapse)Author
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
2006-06-02whitespace cleanup, no binary change.Moritz Jodeit
2006-06-02Make sasyncd fail back correctly with carp preemption enabled.Ryan Thomas McBride
Hold the carp demotion when booting, to prevent carp from preempting until we've sync'd with our peers. This adds a new CTL_ENDSNAP message to the exchange between the sasync daemons to indicate when the complete snapshot has been sent. Undemote after 60 seconds, or when recieve a CTL_ENDSNAP from all our peers. Syntax is slightly changed, removing the 'carp' keyword (so do "interface carp0" rather than "carp interface carp0". Adds 'group <ifgroup>', defaults to the 'carp' group. ok moritz@
2006-06-02Print the demotion indicator in the carp packet.Ryan Thomas McBride
ok mpf@
2006-06-02remove unused variable, found by lint.Esben Norby
2006-06-02grok AESCTRHans-Joerg Hoexer
2006-06-02allow igmp to work properly on p2p interfaces.Esben Norby
2006-06-02simplify netid_len calculation, inspired by stuff from bgpd.Esben Norby
2006-06-01Document all the new and shiny redistribute options. With a lot of help fromClaudio Jeker
jmc@
2006-06-01Instead of polling the carp interface to detect a switch between MASTER andRyan Thomas McBride
BACKUP, listen to the routing socket for link change messages. Based on a diff from nathanael at polymorpheous dot com. ok moritz@