summaryrefslogtreecommitdiff
path: root/usr.sbin/ospfd/control.c
AgeCommit message (Collapse)Author
2008-01-31do not leak confd on malloc failure in control_accept()Henning Brauer
found by Igor Zinovik <zinovik@cs.karelia.ru>
2007-10-13Funny typo, it is fib not fip so adjust function name.Claudio Jeker
2007-03-21Add support for RFC 3137: OSPF Stub Router AdvertisementClaudio Jeker
This allows ospfd to announce networks without the need to transit traffic. stub router is enabled if the fib is not coupled, net.inet.ip.forwarding is not 1 or if the stub router global config option is set to yes. OK norby@
2007-03-19when our red/recv/recvmsg in imsg_read gives EINTR or EAGAIN, do notHenning Brauer
signal "connection closed" upstream. spotted by Valentin Kozamernik <tin@komna.com>
2007-01-23Typo in fatal() message found by dunceor @ gmail dot comClaudio Jeker
2006-04-25Mark event handlers with ARGSUSED to please lint.Claudio Jeker
2006-03-21Kill debug message that floods the log if ospfctl is killed while dumpingClaudio Jeker
large tables.
2006-02-10ospfd does not need fd passing via the imsg framework so remove that codeClaudio Jeker
and remove other unneeded functions that are only used in bgpd.
2005-10-18Simplify code a bit. OK norby@Claudio Jeker
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-03-26Implement the IMSG_CTL_IFINFO bits correctly. This is needed forClaudio Jeker
"ospfctl show fib interface". OK henning@ norby@
2005-03-22Remove bool cruft.Esben Norby
ok claudio@
2005-03-15Add control messages for the show fib commands.Claudio Jeker
OK norby@ deraadt@
2005-03-15First close() than unlink().Claudio Jeker
2005-03-14Add "show summary" to ospfctl.Esben Norby
ok claudio@ henning@
2005-03-14unlink() control socket in error path. Spotted by Theo at FOSDEM.Claudio Jeker
Was way too long in one of my trees.
2005-03-12Add "show rib" and "show rib detail" to ospfctl.Esben Norby
ok henning@
2005-03-12Small K&F.Esben Norby
ok henning@
2005-03-11move umask() song and dance closer around the bind, being more careful about ↵Theo de Raadt
errors; ok claudio
2005-01-28Welcome ospfdClaudio Jeker
started by Esben Norby some time ago by using the imsg/three process framework of bgpd. He implemented the basic concept plus the ospf finite state machines. Later I joined and helped him cleanup, debug and extend his work. Right now it is not particularly useful, major parts are still missing but is imported to allow more people to work on it. status: The basic protocol works for broadcast networks and the LS database is synchronized and updated. It is not possible to be DR or BDR on a network and other interface types like point-to-point are not yet supported. The shortest path tree is not calculated and so no routing information is exchanged with the kernel FIB. Not yet connected to the builds. OK henning@