| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
OK remi@
|
|
|
|
| |
OK remi@
|
|
|
|
| |
reads OK benno@ remi@
|
|
|
|
| |
OK remi@
|
|
|
|
|
|
|
| |
RTP_OSPF (or the configured fib-priority) inserted by another program.
ospfd does the same.
OK claudio@ benno@
|
|
|
|
|
|
| |
inserts into the kernel routing table.
OK denis@
|
|
|
|
|
| |
small quirk from tb@
ok phessler@
|
|
|
|
|
|
|
| |
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@
|
|
|
|
|
|
|
|
|
|
|
| |
may become gateway routes and contrary. The kernel does not allow to change the
flags RTF_GATEWAY / RTF_CLONING in RTM_CHANGE messages, but ospf6d tried this
anyway. The result is a broken route.
Instead of modifying such routes remove the old route and insert a new one.
Thanks to Raimund Specht for reporting the problem and testing the fix.
OK claudio@
|
|
|
|
| |
OK claudio@
|
|
|
|
|
| |
found while investigating routing socket desync with claudio.
ok remi jca claudio
|
| |
|
|
|
|
|
|
|
| |
Also remove the RTF_UP flag from hdr.rtm_flags in send_rtmsg() since
ospfd and bgpd don't set the flag.
OK bluhm@ claudio@
|
|
|
|
| |
OK bluhm@
|
|
|
|
| |
ok claudio@
|
|
|
|
|
|
|
| |
The parent now passes all IFINFO messages down to the children, then
looks whether he has any work to do. Same idea as ospfd.
ok benno@ claudio@
|
|
|
|
| |
routes also adjust the tracking of connected routes to the new way.
|
|
|
|
|
| |
are less then sizeof(*rtm) bytes long (e.g. interface announcements).
Found the hard way by phessler@
|
|
|
|
| |
kroute change (make socket non-blocking and add trigger for partial reads).
|
|
|
|
|
|
|
|
|
| |
possible. Annotate <sys/param.h> lines with their current reasons. Switch
to PATH_MAX, NGROUPS_MAX, HOST_NAME_MAX+1, LOGIN_NAME_MAX, etc. Change
MIN() and MAX() to local definitions of MINIMUM() and MAXIMUM() where
sensible to avoid pulling in the pollution. These are the files confirmed
through binary verification.
ok guenther, millert, doug (helped with the verification protocol)
|
|
|
|
| |
inconsistent usage in route(8) noted by Gregor Best (gbe (at) ring0.de)
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
------------------------------------------------------------------------
date: 2009/06/02 20:16:59; author: claudio; state: Exp; lines: +13 -3
Track reject and blackhole routes and allow them to be redistributed even
though they point to the loopback. Mainly used for redistribute default since
on default free routers we need to have a fake route now.
After discussion with Tonnerre Lombard, idea OK henning@
------------------------------------------------------------------------
ok claudio@
|
|
|
|
|
| |
util.c to reuse them in ospf6ctl.
OK claudio@
|
|
|
|
|
|
|
| |
route from the gateway's scope id. That does not work as the kernel
provides the scope id via the kame hack instead of the sin6_scope_id
field of the sockaddr_in6. Call recoverscope() to fix that.
OK claudio@
|
|
|
|
|
| |
the functions embedscope(), recoverscope(), clearscope().
ok claudio@
|
| |
|
| |
|
|
|
|
|
| |
Link state changes are sent from the parent to both childs and
iface FSM state changes are sent from the ospfe to the rde.
|
|
|
|
|
| |
is actually used by the config. This should fix the exits caused when
interfaces are dynamically added to the kernel.
|
|
|
|
|
| |
been in the last commit. I should not work on multiple laptops at
the same time.
|
|
|
|
| |
matter anymore to cache this value for ospf6d.
|
|
|
|
|
|
|
|
| |
case carp(4) interfaces anymore. LINK_STATE_IS_UP() almost always does
the right job.
OK deraadt@ henning@
This needs a -current kernel or link state may be not reported correctly.
|
|
|
|
| |
From: "Anthony J. Bentley" <anthonyjbentley at gmail dot com>
|
|
|
|
| |
is called with the head node of a multipath chain.
|
|
|
|
|
|
|
|
|
| |
- kroute.c may not ignore the default route.
- Use the ROUNDUP macro from route/show.c as this one is also correct
for netmask with prefixlen 0.
- Implement ospf_redistribute and the redistribute parser like
ospfd.
ok claudio@
|
|
|
|
| |
mask2prefixlen6 version from bgpd.
|
|
|
|
| |
ok claudio@
|
|
|
|
|
| |
is needed to orginate correct intra-area-prefix-lsas.
ok claudio@ stsp@
|
|
|
|
| |
ok claudio@
|
|
|
|
|
|
|
|
|
| |
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@
|
|
|
|
|
|
|
|
| |
route. This happens when we learn from another router that a
directly attached link has a prefix for which we have no address
configured at the interface. In this case, we should do neighbor
discovery to directly reach the hosts with that prefix on the link.
ok claudio@
|
|
|
|
|
|
| |
and prevented dynamic route redistribution. Fix the logic bug that
was introduced during IPv4 to IPv6 conversion.
ok claudio@
|
|
|
|
|
| |
an optional non link local forwarding address so we need to be a bit more
careful here. Problem found and analyzed by Martin Pelikán.
|
|
|
|
|
|
|
| |
created a badly sized struct sockaddr_in6 we need to add some magic pading
on 64bit archs.
Code stolen from bgpd after a painful afternoon of bug hunting, head
scratching and violent cursing. Now ospf6d works on 64bit archs.
|
|
|
|
| |
address for so that the device is no considered unnumbered.
|
|
|
|
|
|
|
|
| |
in almost all sockaddr_in6 addresses it is required for the nexthop and
sin6_scope_id is actually ignored there.
This needs to be fixed but my quota of IPv6 insanity is already used for today.
Workaround for now. My simple testsetup is now actually able to install
the first ospf6d learned routes in the kernel. Weeee!
|
|
|
|
|
| |
this information to kroute and kroute can use that information to fill in
the various sin6_scope_id fields.
|
| |
|