Age | Commit message (Collapse) | Author |
|
up and running. This makes redistribution of carp(4)-ed networks magically
work. OK norby@
|
|
state of static prefixes.
OK norby@
|
|
the buffer. While RTM_IFINFO starts with a struct if_msghdr RTM_NEWADDR
does not. In other words (struct sockaddr *)(next + sizeof(ifm)) is only
correct for RTM_IFINFO and not for RTM_NEWADDR. So move the ifm_type check
up else get_rtaddrs() would access memory outside of buf.
OK henning@
|
|
|
|
With "redistribute (static|connected|default|none)" it is possible to
tell ospfd which external routes should be announced.
Connected routes will be announced only if there is no corresponding
interface configured, in that case the prefix is not external.
Adding and removing of announced prefixes are done automaticaly.
OK norby@
|
|
ok and input claudio@
|
|
"ospfctl show fib interface".
OK henning@ norby@
|
|
OK henning@
|
|
so the strlcpy() will copy to much. Use sa_nlen instead with some additional
logic. This fixes a problem where interfaces where not found.
OK norby@
|
|
by using an in_addr_t as return type. It simplyfies also the usage as in most
cases the mask is used with a struct in_addr address which is also network
byte order. Add prototypes of prefixlen2mask() and mask2prefixlen() to
ospfd.h as it is used or will be used at different places.
OK norby@
|
|
|
|
|
|
OK norby@ deraadt@
|
|
by using the kif/kroute info while allocating interfaces.
|
|
ospfd. While there clean up some other no longer needed stuff.
OK norby@
|
|
|
|
do with this software, just happend to be my only valid email address at
the time.
|
|
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@
|