Age | Commit message (Collapse) | Author |
|
function. Correct fix will follow but this compiles again.
|
|
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.
|
|
|
|
by lsa_asext_check().
|
|
Diff originally from stsp@, some minor modifications by me.
First step to support type 5 LSA.
|
|
in slightly different ways. this unifies these handlers and cuts
fetchtable over to using the generic handler.
help from claudio@ and sthen@
ok claudio@
|
|
unfortunately this backs out the use of strtonum and goes back to strtoll
will need more love in a future diff.
This fix from Dan Harnett <daniel @ harnett . name>
ok deraadt@
|
|
dispatch_rtmsg, factor the message handling out. both fetchifs and
dispatch_rtmsg get a buffer full of messages and then run it through a
parser. now they get their buffers and pass it to rtmsg_process.
ok claudio@
|
|
refetchtable.
tested by me and sthen@
ok claudio@
|
|
OK michele
|
|
aggregate, as mandated by RFC5340.
OK claudio@
|
|
From Christiano F. Haesbaert.
ok claudio@
|
|
and return.
From Martin Hedenfalk.
ok claudio@
|
|
or fatal().
ok claudio@
|
|
ok claudio@
|
|
found by and unbreaking the build with mandoc(1).
I will also send this patch upstream.
ok jmc@
|
|
|
|
in the correct place. Queue mappings ordered by inserting at tail.
OK michele
|
|
via that neighbor. Fixes a use after free and an additional NULL dereference
in a log_debug is fixed as well.
OK michele
|
|
will free the node if something fails.
OK michele
|
|
|
|
this tells the daemon to resync the kernels list of interfaces and routes
with the daemons list. this is very useful if the routing socket overflows
and you want to sync things up again.
lots and lots of help from claudio@
ok claudio@
|
|
connection and while here create a seperate function for handling cleaning
up after a request; with suggestions from reyk and claudio.
ok claudio@
|
|
OK michele@
|
|
ok claudio@
|
|
something here as well.
ok claudio@ phessler@
|
|
resolve the contradiction in the manual whether it's allowed or not
in favour of "not allowed" for now, shelving my diff to support
nested displays in mandoc(1) for later consideration.
Found by and unbreaking the build with mandoc(1).
Feedback and OK jmc@
|
|
Found by and unbreaking the build with mandoc(1).
OK jmc@
|
|
It does not help to set SO_REUSEPORT after doing the bind.
Fixes failures to start ldpd because of TIME_WAIT sessions.
OK michele
|
|
OK michele@
|
|
OK michele
|
|
will be NULL 99% of the times... fixes segv in path that's not enabled
yet
|
|
|
|
As the child processes now call event_loopexit() and signal handling
is done through libevent if a child process died we wouldn't always
cleanup properly and wouldn't do carp demote to failover either.
This matches the way ospfd does things which is where the event_loopexit()
in child processes change came from originally.
ok claudio@ pyr@
|
|
stdio(3) backends, though for now we only enable db(3). this is the first
commit of a serie to improve maps and everything related.
idea discussed with and diff okay jacekm@
|
|
fatalx() on a lowercase() call in some cases. make sure lka uses a buffer
capable of holding a localpart, and do not attempt getpwnam() if we know
it's going to fail anyway...
issue reported by Ben Lindstrom <mouring@eviladmin.org>
|
|
ok claudio@
|
|
inform about the interface address change. If this is an active interface
it will be downed. A ospfctl reload is needed to fetch the new/changed IP
if one got set. OK dlg@, sthen@
|
|
the interface was removed or when the address changed leaving the multicast
groups will fail because that already happend. Fix if_leave_group() to
remove the refcount before doing the ioctl() so that the reference is
correctly removed. OK dlg@, sthen@
|
|
with reloads when running ospfd on multiple aliases on the same interface.
Is also needed to handle interface address changes in a much better way.
OK dlg@, sthen@
|
|
process more reliable after interface flaps. Especially when the router-id
changed at the same time.
OK dlg@, sthen@
|
|
neighbors from using the source IP on broadcast interfaces to using the
router-id all the time. The interface lookup will already check for
matching subnets so there is no conflict possible. This makes ospfd finally
grok router-id changes without freaking out. Additionally whinge when an
other router is using the same router-id instead of failing in a very
horrible way.
OK sthen@, dlg@
|
|
OK dlg@, sthen@
|
|
if route-dead-time is set to "minimal" (rather than a number of
seconds), the dead time is set to 1 second and hellos are sent at
the interval specified by fast-hello-interval in msecs. this is non
standard wrt to the ospf rfc, but it does interoperate with at least
one other router vendor.
this allows much better responsiveness to l3 topology changes than
the standard intervals allow. if i yank a cable to one of my
upstreams, the routes adjust in a second rather than the default
of 40 i was running with before. the users dont even notice something
changed.
developed while working with joshua atterbury.
ok claudio@ as part of a larger diff.
dedicated to zan rowe who thinks she is a bigger nerd than me.
|
|
pointed out by claudio@ before, somehow it snuck back in.
|
|
better respond to rapid topology changes.
developed while working with joshua atterbury
ok claudio@ as part of a larger diff.
|
|
ok claudio@
|
|
a session. Just print a warning and move on since both side need to
announce a pair to use it. Found and OK sthen@
|
|
ignored. Found and fix tested by Elisa Jasinska.
|
|
no-modify are not supported for MP protocols like IPv6. Add support for
those and while testing find another bug in the same region. Inverse the
check for the return value of memcmp() -- we're interested in equality.
Until now IPv6 was running with an implicit set nexthop self on all iBGP
sessions. Oups. set nexthop stuff is OK when tested henning@ and sthen@
|