Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | print "depend on" information when available in "ospfctl sh int" output. | 2020-11-02 | 1 | -1/+6 | |
| | | | | ok remi@ | ||||
* | style(9), no functionnal change. | 2020-05-20 | 3 | -129/+123 | |
| | |||||
* | Externalise the output aspect of ospfctl. | 2020-05-18 | 4 | -891/+832 | |
| | | | | | | | | | It is the first step towards implementing json output support. Diff by Richard Chivers <r.chivers () zengenti . com>, based on Claudio's work. Thanks ! OK claudio@ | ||||
* | Correctly group initialization of AF_UNIX socket. | 2019-11-01 | 1 | -2/+2 | |
| | | | | | spotted by deraadt in new code, sweep by me. OK deraadt | ||||
* | Accept address and number format for "ospfctl show database area XXX". | 2019-05-16 | 2 | -4/+43 | |
| | | | | OK denis@ benno@ | ||||
* | Change the control socket to ospfd.sock.<rdomain>. | 2018-07-11 | 1 | -3/+6 | |
| | | | | ok friehm@ jca@ | ||||
* | Also print the mtu when showing interface details | 2016-12-05 | 1 | -2/+3 | |
| | | | | ok sthen@ benno@ | ||||
* | work on making log.c similar in all daemons: | 2016-09-02 | 1 | -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@ | 2015-12-03 | 1 | -2/+2 | |
| | |||||
* | There is still a bit of an issue with connected routes in the RIB. Print | 2015-11-22 | 1 | -3/+4 | |
| | | | | what ospfd thinks is connected by adding a 'C' to the nexthop output. | ||||
* | can use pledge "stdio"; ok benno | 2015-10-09 | 1 | -1/+4 | |
| | |||||
* | As done for bgpd recently, rename if_mediatype to if_type in ospfd/ospf6d. | 2015-09-27 | 1 | -12/+12 | |
| | | | | | And some ifmedia64 fixes. "move forward" deraadt@ | ||||
* | match a few if_media uint64_t conversions; ok miod | 2015-09-13 | 1 | -6/+6 | |
| | |||||
* | use file system path (.Pa) semantic markup macros where appropriate. | 2015-07-27 | 1 | -3/+3 | |
| | |||||
* | handle msgbuf_write() returning EAGAIN, looks right to deraadt | 2013-11-13 | 1 | -2/+3 | |
| | |||||
* | do not store a time_t or the result of a time_t division in an int | 2013-04-09 | 1 | -3/+4 | |
| | | | | prompted by deraadt@, ok claudio@ chl@ guenther@ | ||||
* | ospfctl bits for opaque LSA support. | 2011-05-09 | 3 | -14/+80 | |
| | | | | tested and OK sthen@ | ||||
* | Print the checksum sum as a simple fingerprint of the LSDB. | 2010-09-25 | 1 | -3/+5 | |
| | | | | OK dlg@ | ||||
* | move some things around to make intentions clear. not really a functional | 2010-09-04 | 2 | -19/+21 | |
| | | | | change. ok claudio | ||||
* | Print 'Number of Routers' in show database network. | 2010-06-12 | 1 | -1/+2 | |
| | | | | ok claudio@ | ||||
* | Move imsg into libutil and add a man page. | 2010-05-26 | 1 | -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@ | 2010-05-10 | 1 | -2/+6 | |
| | |||||
* | implement ospfctl fib reload. | 2010-02-19 | 4 | -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. | 2010-02-16 | 1 | -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 can | 2010-02-16 | 1 | -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 arrays | 2009-11-13 | 2 | -6/+6 | |
| | | | | | | we don't know the size of, otherwise gcc >= 4 will error. ok markus@ deraadt@ | ||||
* | sort; | 2009-11-03 | 1 | -4/+4 | |
| | |||||
* | Implement "log verbose" and "log brief" to enable or disable verbose debug | 2009-11-02 | 4 | -6/+31 | |
| | | | | logging. henning, sthen, michele like the idea | ||||
* | write UNIX-domain in a more consistent way; while here, replace a | 2009-10-22 | 1 | -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. | 2009-10-22 | 1 | -3/+4 | |
| | | | | ok jmc@ | ||||
* | Switch the various link state printing codes to use the new if_media | 2009-09-14 | 1 | -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. | 2009-06-06 | 1 | -2/+2 | |
| | | | | "looks ok" claudio@ | ||||
* | forgot to commit the ospfctl bits, this unbreaks the tree. | 2009-06-05 | 1 | -27/+20 | |
| | | | | noticed by michele@ | ||||
* | standard wording; | 2009-04-08 | 1 | -3/+3 | |
| | |||||
* | allow to specify an alternate control socket instead of /var/run/ospfd.sock. | 2009-04-07 | 2 | -7/+37 | |
| | | | | | | this is required to run multiple instances of ospfd. ok claudio@ | ||||
* | Add missing free. | 2009-01-30 | 1 | -1/+2 | |
| | | | | OK claudio@ | ||||
* | In show interface only print the hello_timer value if valid. | 2009-01-02 | 1 | -1/+2 | |
| | |||||
* | ospfd knows now priorities so let ospfctl know and print them as well. | 2008-12-12 | 1 | -2/+3 | |
| | |||||
* | the ellipsis allows more than one argument being specified. | 2008-12-06 | 2 | -5/+5 | |
| | | | | | | discussed with gilles@ ok jmc@ | ||||
* | specifying int instead of just unsigned is better style | 2007-10-15 | 1 | -2/+2 | |
| | |||||
* | please lint | 2007-10-14 | 2 | -7/+8 | |
| | |||||
* | Cleanup the way we display timers. | 2007-10-11 | 1 | -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@ | 2007-09-11 | 1 | -7/+7 | |
| | |||||
* | document reload command. | 2007-08-03 | 1 | -2/+4 | |
| | | | | ok claudio@ | ||||
* | convert to new .Dd format; | 2007-05-31 | 1 | -2/+2 | |
| | |||||
* | yuck, no cookie for me | 2007-05-30 | 1 | -6/+1 | |
| | |||||
* | Enable reload support in ospfctl. This is still a bit experimental so try | 2007-02-01 | 1 | -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. | 2007-01-25 | 1 | -4/+3 | |
| | | | | The functions do that check already. | ||||
* | Correctly detect missing arguments like in "ospfctl show data area". | 2007-01-25 | 1 | -6/+9 | |
| | | | | OK henning@ norby@ | ||||
* | add additional link states to report the half duplex / full duplex | 2006-11-28 | 1 | -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@ |