summaryrefslogtreecommitdiff
path: root/usr.sbin/ospfctl
AgeCommit message (Collapse)Author
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
2005-10-181) indicate optional argsKevin Steves
2) add missing args 3) reword some areas ok claudio@ jmc@
2005-10-17initial documentation of 'show fib'; ok claudio@ jmc@Kevin Steves
2005-10-16remove duplicate function declaration; ok claudio@Kevin Steves
2005-10-16missing break caused erroneous auth-type crypt enabled in 'sh int'Kevin Steves
when simple enabled; ok claudio@
2005-09-24- add auth_type and auth_keyid to struct ctl_ifaceMathieu Sauve-Frankel
- have ospfctl tell us when we are using authentication with 'show interface' ok claudio@ norby@
2005-06-16use prefixlen2mask which handles zero prefixlens rightHenning Brauer
2005-05-27Small formatting bits in show neighbor detail.Esben Norby
ok claudio@
2005-05-26Fix multi area display bug.Esben Norby
ok claudio@
2005-05-22Add missing bits to ospfctl show rib detail.Esben Norby
ok claudio@
2005-05-12tweaks;Jason McIntyre
2005-05-12Reflect reality.Esben Norby
2005-05-12Add "show database asbr/external/network/router/self-originate/summary"Esben Norby
to ospfctl. Show detailed information about the LSAs in the Link State Database. ok claudio@
2005-05-06Fix a display bug in 'show database', when ospfd is member of moreEsben Norby
than one area. Input from claudio. ok claudio@
2005-04-19Document the fact that ospfctl(8) understands "show rib".Esben Norby
ok claudio@
2005-04-16Static routes are flagged with F_STATIC and not with F_KERNEL.Claudio Jeker
2005-03-29The RFC never mentions anything about transfer, this should be transmit.Esben Norby
From Jason Ackley (thanks). ok claudio@
2005-03-26ospfctl bits for the "ospfctl show fib interface" part. This will printClaudio Jeker
the interface status as seen from the parent kroute perspective. OK henning@ norby@