summaryrefslogtreecommitdiff
path: root/usr.sbin/ospfctl
AgeCommit message (Collapse)Author
2010-02-19implement ospfctl fib reload.David Gwynne
this tells the daemon to resync the kernels list of interfaces and routes with the daemons list. this is very useful if the routing socket overflows and you want to sync things up again. lots and lots of help from claudio@ ok claudio@
2010-02-16implement support for fast hello packets.David Gwynne
if route-dead-time is set to "minimal" (rather than a number of seconds), the dead time is set to 1 second and hellos are sent at the interval specified by fast-hello-interval in msecs. this is non standard wrt to the ospf rfc, but it does interoperate with at least one other router vendor. this allows much better responsiveness to l3 topology changes than the standard intervals allow. if i yank a cable to one of my upstreams, the routes adjust in a second rather than the default of 40 i was running with before. the users dont even notice something changed. developed while working with joshua atterbury. ok claudio@ as part of a larger diff. dedicated to zan rowe who thinks she is a bigger nerd than me.
2010-02-16allow spf-delay and spf-holdtime to be specified in msec so ospfd canDavid Gwynne
better respond to rapid topology changes. developed while working with joshua atterbury ok claudio@ as part of a larger diff.
2009-11-13Don't use [] in function arguments when dealing with arraysJonathan Gray
we don't know the size of, otherwise gcc >= 4 will error. ok markus@ deraadt@
2009-11-03sort;Jason McIntyre
2009-11-02Implement "log verbose" and "log brief" to enable or disable verbose debugClaudio Jeker
logging. henning, sthen, michele like the idea
2009-10-22write UNIX-domain in a more consistent way; while here, replace aIgor Sobrado
few remaining ".Tn UNIX" macros with ".Ux" ones. pointed out by ratchov@, thanks! ok jmc@
2009-10-22use the UNIX-related macros (.At and .Ux) where appropriate.Igor Sobrado
ok jmc@
2009-09-14Switch the various link state printing codes to use the new if_mediaClaudio Jeker
independent LINK_STATE_DESCRIPTIONS. Code is now more or less a one to one copy of get_linkstate() in route/route.c. OK henning, michele, sthen, deraadt
2009-06-06sync ospfctl/ospfd with the common imsg code, making it lib ready as well.Eric Faurot
"looks ok" claudio@
2009-06-05forgot to commit the ospfctl bits, this unbreaks the tree.Pierre-Yves Ritschard
noticed by michele@
2009-04-08standard wording;Jason McIntyre
2009-04-07allow to specify an alternate control socket instead of /var/run/ospfd.sock.Reyk Floeter
this is required to run multiple instances of ospfd. ok claudio@
2009-01-30Add missing free.Esben Norby
OK claudio@
2009-01-02In show interface only print the hello_timer value if valid.Claudio Jeker
2008-12-12ospfd knows now priorities so let ospfctl know and print them as well.Claudio Jeker
2008-12-06the ellipsis allows more than one argument being specified.Igor Sobrado
discussed with gilles@ ok jmc@
2007-10-15specifying int instead of just unsigned is better styleTheo de Raadt
2007-10-14please lintTheo de Raadt
2007-10-11Cleanup the way we display timers.Esben Norby
It does not make sense to display timer = 0 as "Stopped". When a timer is 0 it usually means that it is getting reset very soon. Display the string "00:00:00" instead. ok claudio@
2007-09-11Baudrate is 64bit so use %llu in printf(). Reminded by chl@Claudio Jeker
2007-08-03document reload command.Pierre-Yves Ritschard
ok claudio@
2007-05-31convert to new .Dd format;Jason McIntyre
2007-05-30yuck, no cookie for meHenning Brauer
2007-02-01Enable reload support in ospfctl. This is still a bit experimental so tryClaudio Jeker
it out in your test lab before using it on the core infrastructure.
2007-01-25No need to check if word is NULL before calling parse_addr/prefix.Claudio Jeker
The functions do that check already.
2007-01-25Correctly detect missing arguments like in "ospfctl show data area".Claudio Jeker
OK henning@ norby@
2006-11-28add additional link states to report the half duplex / full duplexReyk Floeter
state, if known by the driver. this is required to check the full duplex state without depending on the ifmedia ioctl which can't be called in the kernel without process context. ok henning@, brad@
2006-08-28use Forwarding Information Base vs. Forward Information Base;Kevin Steves
ok jmc@ claudio@
2006-08-23Add a comment about the empty imsg_event_add() function to make it clearClaudio Jeker
why it is needed.
2006-08-17-Wmissing-declarations -Wredundant-decls are not very useful and especiallyClaudio Jeker
-Wredundant-decls causes many false warnings because of redeclarations in header files. Remove them, requested by deraadt@
2006-07-25amazing how far a typo of mine (CFLAGS vs CLFAGS) from early 2004 spreadHenning Brauer
(and how long it went unnoticed) From: Alexey Dobriyan <adobriyan@gmail.com>
2006-06-28Track the uptime of the ospfd daemon itself.Esben Norby
It is possible to read the uptime of the daemon with the "ospfctl show" command. ok claudio@
2006-04-21Add IFT_PPP to the iftype to ifmedia type conversion function. Now P2P linksClaudio Jeker
will show the correct link state. While there do some cleanup and shorten the output if the media or link state is unknown.
2006-03-26Show the neighbor uptime in "show nei detail".Esben Norby
ok claudio@
2006-03-26Show the link status of interfaces for real, I guess most users don't knowEsben Norby
what it means that an interface is in state 2. ok claudio@
2006-03-24typo;Jason McIntyre
2006-03-24Document fib couple and decouple. Mostly form bgpctl.8 but with a warningClaudio Jeker
that fib decouple my break you network. OK norby@
2006-03-23List interfaces they way we list neighbors etc.Esben Norby
This makes it much easier to grep in the output. The original format of "show interface" can be seen with "show interface detail". help and ok claudio@
2006-03-22ospfd has the framework to couple and decouple the FIB. Add the neededClaudio Jeker
functionality to ospfctl for it. NOTE: decoupling the FIB one a router may totaly fuck up the complete network. Use it with care! OK norby@
2006-03-09Track interface uptime.Esben Norby
ok claudio@
2006-03-09Start using *_name function that are now shared between ospfd and ospfctl.Claudio Jeker
OK norby@
2006-03-08Last kroute.c commit changed the meaning of the flags so check them correctly.Claudio Jeker
OK norby@
2006-02-24Keep track of the uptime of the entries in the RIB.Esben Norby
It is now possible to see the uptime of the individual entries in the RIB. The uptime can be displayed with "ospfctl show rib" ok claudio@
2006-02-19Keep track of the duration of our relationships with neighbors.Esben Norby
Displayed in "ospfctl show neighbor". ok claudio@
2006-02-10imsg API changed so adapt to it.Claudio Jeker
2005-10-27indicate passive interface in 'show interface'; ok claudio@Kevin Steves
2005-10-250) ospfctl doesn't use ospfd.conf so remove that from FILESKevin Steves
1) add /var/run/ospfd.sock to ospfd and ospfctl FILES 2) add .Xr ospfd.conf 5 to ospfctl SEE ALSO ok claudio@ jmc@
2005-10-23use err() vs. fatal(); ok claudio@Kevin Steves
2005-10-19space between macro args and punctuation;Jason McIntyre