Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Make the struct imsgev static. With this ospf6d compiles with -fno-common | 2021-01-19 | 1 | -3/+3 | |
| | |||||
* | Like in ospfd rename nconf to noeconf in the ospf engine to remove | 2021-01-19 | 1 | -10/+10 | |
| | | | | a common symbol. | ||||
* | Like in ospfd use a static pkt_ptr buffer. | 2021-01-19 | 1 | -5/+1 | |
| | |||||
* | Do the same control cleanup as in ospfd. Move control_state and ctl_conns | 2021-01-19 | 1 | -4/+2 | |
| | | | | into control.c nothing outside needs access to this. | ||||
* | When IMSG_IFADD is removed, IMSG_IFDELETE becomes useless | 2020-05-16 | 1 | -15/+1 | |
| | | | | OK remi@ | ||||
* | IMSG_IFADD is never used, wipe it | 2020-05-16 | 1 | -13/+1 | |
| | | | | OK remi@ | ||||
* | Rename orig_rtr_lsa_area() to orig_rtr_lsa() | 2020-01-02 | 1 | -15/+4 | |
| | | | | | | | | Now that area is part of iface, original orig_rtr_lsa() is useless. Also verifying that area != NULL is not needed in some cases (these are leftovers of the previous diff). OK remi@ | ||||
* | Cleanup control. | 2020-01-01 | 1 | -5/+1 | |
| | | | | "Looks fine" deraadt@ | ||||
* | Refactor link state ack/req. | 2019-12-28 | 1 | -2/+2 | |
| | | | | OK remi@ | ||||
* | Area is now part of struct iface | 2019-12-23 | 1 | -15/+10 | |
| | | | | OK remi@ | ||||
* | Scale send buffer on socket. | 2019-12-22 | 1 | -2/+2 | |
| | | | | OK remi@ | ||||
* | Introduce conf_clear_redist_list() (from ospfd) and use it in all 3 procs. | 2019-06-11 | 1 | -6/+2 | |
| | | | | ok benno@ | ||||
* | Prevent ospf6d from starting when another process is listening on the | 2018-09-01 | 1 | -6/+13 | |
| | | | | | | control socket. ok florian@ | ||||
* | Add support for rdomains. | 2018-07-12 | 1 | -2/+2 | |
| | | | | | small quirk from tb@ ok phessler@ | ||||
* | With the "depend on" option routes are sent out with a metric of 65535 if | 2018-07-12 | 1 | -5/+35 | |
| | | | | | | | the referenced interface is down or in state backup. This is especially useful on a carp cluster to ensure all traffic goes to the carp master. ok friehm@ jca@ | ||||
* | pledge(2) | 2018-07-10 | 1 | -1/+4 | |
| | | | | | | Looks great! deraadt@ OK florian OK remi@ | ||||
* | bring ospf6d's log.c in sync with ospfd and bgpd | 2017-08-12 | 1 | -2/+8 | |
| | | | | ok florian@ claudio@ | ||||
* | Don't run the FSM if the interface state hasn't changed. | 2016-12-22 | 1 | -4/+12 | |
| | | | | ok benno@ claudio@ | ||||
* | Simplify shutdown process. | 2016-09-03 | 1 | -7/+11 | |
| | | | | | | | | | | | | | On shutdown, there's no need to use kill(2) to kill the child processes. Just closing the IPC sockets will make the children receive an EOF, break out from the event loop and then exit. Tha advantages of this "pipe teardown" are: * simpler code; * no need to pledge "proc" in the parent process; * removal of a (hard to trigger) PID reuse race condition. ok benno@ claudio@ | ||||
* | work on making log.c similar in all daemons: | 2016-09-02 | 1 | -1/+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@ | ||||
* | EAGAIN handling for imsg_read. OK henning@ benno@ | 2015-12-05 | 1 | -5/+5 | |
| | |||||
* | As done for bgpd recently, rename if_mediatype to if_type in ospfd/ospf6d. | 2015-09-27 | 1 | -2/+2 | |
| | | | | | And some ifmedia64 fixes. "move forward" deraadt@ | ||||
* | Same session_socket_blockmode() changes as done to ospfd. Also do the same | 2015-02-10 | 1 | -3/+3 | |
| | | | | kroute change (make socket non-blocking and add trigger for partial reads). | ||||
* | Nuke more obvious #include duplications. | 2014-11-18 | 1 | -2/+1 | |
| | | | | ok deraadt@ millert@ tedu@ | ||||
* | Close connections when msgbuf_write() returns 0. | 2014-07-12 | 1 | -3/+7 | |
| | | | | ok claudio@ | ||||
* | handle msgbuf_write() returning EAGAIN, | 2013-11-13 | 1 | -3/+3 | |
| | | | | | | taken from claudios previous fix to ospfd. "do it" deraadt@ | ||||
* | sync w/ospfd: improve snapshot handling; ok claudio, sthen | 2013-03-25 | 1 | -3/+15 | |
| | |||||
* | Allow use of an alternative control socket, ported from ospfd. ok claudio@ | 2013-03-22 | 1 | -2/+2 | |
| | |||||
* | typo in comment | 2013-03-22 | 1 | -2/+2 | |
| | |||||
* | Fix trailing whitespaces. | 2012-09-17 | 1 | -2/+2 | |
| | |||||
* | Rework the distribution of link state and iface FSM state changes. | 2011-07-07 | 1 | -3/+4 | |
| | | | | | Link state changes are sent from the parent to both childs and iface FSM state changes are sent from the ospfe to the rde. | ||||
* | KNF | 2011-07-07 | 1 | -8/+8 | |
| | |||||
* | Kill nh_reachable. Link state checking is so easy now that it does not | 2011-07-07 | 1 | -3/+3 | |
| | | | | matter anymore to cache this value for ospf6d. | ||||
* | Some cleanup, some KNF and sync non functional differences with | 2011-05-02 | 1 | -11/+14 | |
| | | | | ospfd's version. | ||||
* | Origin network-LSA with options based on the options of the link-LSAs. | 2010-08-22 | 1 | -2/+15 | |
| | | | | | Without this fix Cisco's OSPF 6 ignores our network-LSAs. ok claudio@ | ||||
* | Use the static variable narea only where needed for config reload. | 2010-07-06 | 1 | -15/+15 | |
| | | | | | The other imessages use the stack variables area and iface. ok claudio@ | ||||
* | Fix all white space bugs in ospf6d at once. No binary change. | 2010-07-01 | 1 | -3/+3 | |
| | | | | ok claudio@ | ||||
* | The prefixes of interface addresses of an ospf link have to be | 2010-07-01 | 1 | -1/+47 | |
| | | | | | | | | | advertised as link-lsa and intra-area-prefix-lsa when they change dynamically. Handle RTM_NEWADDR and RTM_DELADDR in kroute by sending an imsg to ospfe. Upon this event, originate a new link-lsa in ospfe. In rde a new intra-area-prefix-lsa is generated when a link-lsa appears or goes away. ok claudio@; ok and test stsp@ | ||||
* | Rename some imsg bits to make namespace collisions less likely buf to | 2010-05-26 | 1 | -44/+44 | |
| | | | | | | ibuf, buf_read to ibuf_read, READ_BUF_SIZE to IBUF_READ_SIZE. ok henning gilles claudio jacekm deraadt | ||||
* | make ospf6ctl/ospf6d imsg-in-a-lib ready too. | 2009-06-06 | 1 | -40/+46 | |
| | | | | | | ospf6ctl is already broken in tree (not connected to build). ok pyr@ | ||||
* | Remove redundant imsg_event_add calls; ok claudio@ | 2009-05-31 | 1 | -3/+1 | |
| | |||||
* | libevent handler fix to allow EV_READ and EV_WRITE to be set at the same | 2009-05-31 | 1 | -15/+7 | |
| | | | | | time in the callback. Same diff that went into ospfd applied with some fuzz. | ||||
* | Now that struct lsa_net represents just the options, orig_net_lsa() | 2009-03-29 | 1 | -8/+8 | |
| | | | | | | can make use of it much better. No functional change. ok claudio@ | ||||
* | Remove origination of Intra-Area-Prefix LSAs from ospfe. | 2009-02-19 | 1 | -104/+1 | |
| | | | | | | Will soon be done in rde instead. "Sure but don't wait too long before readding the code in rde" claudio@ | ||||
* | Fix two obvious copy-paste errors in fatal error messages. We were | 2009-02-10 | 1 | -2/+2 | |
| | | | | printing IFINFO while we are actually handling an IFDELETE imsg. | ||||
* | In Intra-Area-Prefix LSAs, set the LA-bit for all prefixes of 128-bit | 2009-02-03 | 1 | -2/+4 | |
| | | | | | length, regardless of interface type. Allowed by RFC5340 and ok claudio@ | ||||
* | Formatting fixes. | 2009-02-03 | 1 | -3/+3 | |
| | |||||
* | Correctly byte-swap the link state ID when building Intra-Area-Prefix | 2009-01-29 | 1 | -2/+2 | |
| | | | | | LSAs which refer to Router LSAs. ok claudio@ | ||||
* | Originate Intra-Area-Prefix LSAs which reference a router LSA. | 2009-01-29 | 1 | -2/+104 | |
| | | | | | | | Routers can now advertise prefixes with global scope throughout an area. This paves the way towards doing SPF calculations to generate routing tables for a single area. ok claudio@ | ||||
* | Teach ospf6d to originate Intra-Area-Prefix LSAs, which associate a list | 2009-01-28 | 1 | -1/+2 | |
| | | | | | | | of IPv6 prefixes with a Network LSA (there's another type of this LSA which associates prefixes with a Router LSA -- this remains to be done). Add what is necessary to allow ospf6ctl to read the new LSA type via IMSG. ok claudio@ |