Age | Commit message (Collapse) | Author |
|
|
|
interfaces and areas. With this carp setups using ospfd are more reliable
because we can fail over if the OSPF connectivity is (partially) lost.
OK norby@
|
|
|
|
all other routers will drop the session immediatly instead of waiting for
the timeout that is normaly 40 sec. This reduces fail-over time massivly
and does not hurt anymore since we are now able to reload the configuration
on the fly. OK norby@ pyr@
|
|
Needed for reload support. OK norby@
|
|
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@
|
|
address of a interface could be used. Now it is possible to specify a
interface more than once if multiple networks are configured. An alternative
network can be specified via e.g. interface em0:10.0.5.1. The old interface
syntax without the IP still works and uses the main/first configured IP
address.
ospfd now needs to include the IP header on outgoing messages as it is not
possible to specifiy the source address in sendto(2). Additionally all
multicast joins and leaves have to be tracked.
OK norby@
|
|
the source address and the interface index to find the corresponding
struct interface which is less error prone. OK norby@
|
|
in state DR or BACKUP. Found while analizing PR5192 with norby@ -- seems to
help but there is still a issue left. OK norby@
|
|
global and per area defaults. With this it is now possible to define one
set of auth-md keys and use them in every defined interface. OK 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@
|
|
c string with a lenght <= 8 with a buffer of size 8. Now in some cases
there can be trailing garbage after the c-string and so the bcmp() fails.
Found by Sergey Matveychuk who provided a similar patch.
OK norby@
|
|
Switch them to void functions and check if evtimer_add/del fails -- in which
case we fatal() as there is no useful way to recover in such an event.
OK norby@
|
|
ok claudio@
|
|
Stuff that is only used in ospfd debug messages is simplified.
OK norby@
|
|
almost happy.
|
|
|
|
|
|
not be used to connect to a OSPF cloud and forced to be passive. With this
ospfd will only announce the carp interface route if the interface is master.
So you can connect a LAN in a redundant way to your ospf backbone. OK norby@
|
|
and do not remove a element twice in iface_del(). OK norby@
|
|
Prevents some of the retransmitting during bulk ls update transfers.
ok claudio@
|
|
|
|
especially it got called in the wrong place. OK norby@
|
|
OK norby@
|
|
ok norby@
|
|
- have ospfctl tell us when we are using authentication with 'show interface'
ok claudio@ norby@
|
|
- remove rtr_id from struct iface we don't need to keep a copy of this value
per interface
- replace all references to iface->rtr_id.s_addr with calls to ospfe_rtr_id()
ok claudio@ norby@
|
|
that are in loopback mode. With this it is possible to use lo1 to hold the
loopback address of the router as done often on ciscos etc.
Problem found and fix tested by jakob@ OK norby@
|
|
One of the main problems is that the RFC is very unprecise about the process
and so a bit of guessing and "violating" the RFC is needed.
The problem was that on fast restarts ospfd computed wrong DR and BDR
routers. OK norby@ deraadt@
|
|
timer in IF_STA_WAITING. We are not ready for this because the RFC is totaly
fucked up in that specific area causing many issues on fast reloads.
OK norby@
|
|
and init) are not electable not only neighbors that are in state down.
OK norby@
|
|
OK norby@
|
|
ignores the event. This removes the warning "fsm_if: interface em0, event
WAITTIMER not expected in state DROTHER" in case of a quick startup.
OK norby@
|
|
faster and follows the RFC more closely).
OK norby@
|
|
ok claudio@
|
|
|
|
ok claudio@
|
|
This makes it possible to have ospfd(8) parse a configuration file and
display the parsed result.
ok claudio@
|
|
because of a stupid typo that I fixed in rev. 1.6 but forgot to fix the
bug I introduced before because of that typo. Also reset the DR/BDR fields
of iface->self when going to round two. Without the reset it is e.g. not
possible to drop from DR to BDR.
Issue found and patch tested by Stephen Marley
OK norby@
|
|
Move code from if_act_start() to if_init() that needs to be called only
once per interface. Especially event_set should be called only once as it
initializes struct event and so may cause corruption of the event queue if
called twice.
|
|
This makes it possible to call if_init() at a much later time.
|
|
|
|
that the interface gets reset (NBR_EVT_KILL_NBR) and than clear all
timers of the interface. The nbr_fsm() may start some of the timers which
has strange results.
Tested by Philip Olsson.
|
|
OK norby@
|
|
Suggested by henning@
ok henning@
|
|
ok and input claudio@
|
|
From Jason Ackley (thanks).
ok claudio@
|
|
ok claudio@
|
|
|