summaryrefslogtreecommitdiffstats
path: root/usr.sbin/ospfctl (follow)
Commit message (Collapse)AuthorAgeFilesLines
* work on making log.c similar in all daemons:benno2016-09-021-2/+2
| | | | | | | move daemon-local functions into new logmsg.c, and reduce the (mostly whitespace) differences so that log.c's can be diffed easily. ok claudio@, feedback from henning@, deraadt@, reyk@
* Another imsg_read EAGAIN check. OK benno@claudio2015-12-031-2/+2
|
* There is still a bit of an issue with connected routes in the RIB. Printclaudio2015-11-221-3/+4
| | | | what ospfd thinks is connected by adding a 'C' to the nexthop output.
* can use pledge "stdio"; ok bennoderaadt2015-10-091-1/+4
|
* As done for bgpd recently, rename if_mediatype to if_type in ospfd/ospf6d.stsp2015-09-271-12/+12
| | | | | And some ifmedia64 fixes. "move forward" deraadt@
* match a few if_media uint64_t conversions; ok miodderaadt2015-09-131-6/+6
|
* use file system path (.Pa) semantic markup macros where appropriate.sobrado2015-07-271-3/+3
|
* handle msgbuf_write() returning EAGAIN, looks right to deraadtsthen2013-11-131-2/+3
|
* do not store a time_t or the result of a time_t division in an intgilles2013-04-091-3/+4
| | | | prompted by deraadt@, ok claudio@ chl@ guenther@
* ospfctl bits for opaque LSA support.claudio2011-05-093-14/+80
| | | | tested and OK sthen@
* Print the checksum sum as a simple fingerprint of the LSDB.claudio2010-09-251-3/+5
| | | | OK dlg@
* move some things around to make intentions clear. not really a functionaltedu2010-09-042-19/+21
| | | | change. ok claudio
* Print 'Number of Routers' in show database network.bluhm2010-06-121-1/+2
| | | | ok claudio@
* Move imsg into libutil and add a man page.nicm2010-05-261-2/+4
| | | | | | | | Minor bump for libutil. Previous versions of this diff and man page looked at by various people. "you should just commit" deraadt
* Mention that commands may be abbreviated. ok claudio@sthen2010-05-101-2/+6
|
* implement ospfctl fib reload.dlg2010-02-194-5/+16
| | | | | | | | | 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@
* implement support for fast hello packets.dlg2010-02-161-10/+19
| | | | | | | | | | | | | | | | | | 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.
* allow spf-delay and spf-holdtime to be specified in msec so ospfd candlg2010-02-161-3/+3
| | | | | | | better respond to rapid topology changes. developed while working with joshua atterbury ok claudio@ as part of a larger diff.
* Don't use [] in function arguments when dealing with arraysjsg2009-11-132-6/+6
| | | | | | we don't know the size of, otherwise gcc >= 4 will error. ok markus@ deraadt@
* sort;jmc2009-11-031-4/+4
|
* Implement "log verbose" and "log brief" to enable or disable verbose debugclaudio2009-11-024-6/+31
| | | | logging. henning, sthen, michele like the idea
* write UNIX-domain in a more consistent way; while here, replace asobrado2009-10-221-3/+3
| | | | | | | | few remaining ".Tn UNIX" macros with ".Ux" ones. pointed out by ratchov@, thanks! ok jmc@
* use the UNIX-related macros (.At and .Ux) where appropriate.sobrado2009-10-221-3/+4
| | | | ok jmc@
* Switch the various link state printing codes to use the new if_mediaclaudio2009-09-141-45/+18
| | | | | | 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
* sync ospfctl/ospfd with the common imsg code, making it lib ready as well.eric2009-06-061-2/+2
| | | | "looks ok" claudio@
* forgot to commit the ospfctl bits, this unbreaks the tree.pyr2009-06-051-27/+20
| | | | noticed by michele@
* standard wording;jmc2009-04-081-3/+3
|
* allow to specify an alternate control socket instead of /var/run/ospfd.sock.reyk2009-04-072-7/+37
| | | | | | this is required to run multiple instances of ospfd. ok claudio@
* Add missing free.norby2009-01-301-1/+2
| | | | OK claudio@
* In show interface only print the hello_timer value if valid.claudio2009-01-021-1/+2
|
* ospfd knows now priorities so let ospfctl know and print them as well.claudio2008-12-121-2/+3
|
* the ellipsis allows more than one argument being specified.sobrado2008-12-062-5/+5
| | | | | | discussed with gilles@ ok jmc@
* specifying int instead of just unsigned is better stylederaadt2007-10-151-2/+2
|
* please lintderaadt2007-10-142-7/+8
|
* Cleanup the way we display timers.norby2007-10-111-10/+6
| | | | | | | | 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@
* Baudrate is 64bit so use %llu in printf(). Reminded by chl@claudio2007-09-111-7/+7
|
* document reload command.pyr2007-08-031-2/+4
| | | | ok claudio@
* convert to new .Dd format;jmc2007-05-311-2/+2
|
* yuck, no cookie for mehenning2007-05-301-6/+1
|
* Enable reload support in ospfctl. This is still a bit experimental so tryclaudio2007-02-011-2/+2
| | | | it out in your test lab before using it on the core infrastructure.
* No need to check if word is NULL before calling parse_addr/prefix.claudio2007-01-251-4/+3
| | | | The functions do that check already.
* Correctly detect missing arguments like in "ospfctl show data area".claudio2007-01-251-6/+9
| | | | OK henning@ norby@
* add additional link states to report the half duplex / full duplexreyk2006-11-281-2/+4
| | | | | | | | 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@
* use Forwarding Information Base vs. Forward Information Base;stevesk2006-08-281-5/+5
| | | | ok jmc@ claudio@
* Add a comment about the empty imsg_event_add() function to make it clearclaudio2006-08-231-1/+3
| | | | why it is needed.
* -Wmissing-declarations -Wredundant-decls are not very useful and especiallyclaudio2006-08-171-2/+1
| | | | | -Wredundant-decls causes many false warnings because of redeclarations in header files. Remove them, requested by deraadt@
* amazing how far a typo of mine (CFLAGS vs CLFAGS) from early 2004 spreadhenning2006-07-251-2/+2
| | | | | (and how long it went unnoticed) From: Alexey Dobriyan <adobriyan@gmail.com>
* Track the uptime of the ospfd daemon itself.norby2006-06-281-1/+3
| | | | | | | It is possible to read the uptime of the daemon with the "ospfctl show" command. ok claudio@
* Add IFT_PPP to the iftype to ifmedia type conversion function. Now P2P linksclaudio2006-04-211-8/+5
| | | | | will show the correct link state. While there do some cleanup and shorten the output if the media or link state is unknown.
* Show the neighbor uptime in "show nei detail".norby2006-03-261-1/+2
| | | | ok claudio@