Age | Commit message (Collapse) | Author |
|
to IF_STA_LOOPBACK in if_act_start() this way they will repsect
IFF_UP on startup. Also mark the interfaces as passive.
Initial diff provided by Patrick Coleman. OK dlg@
|
|
|
|
ospfd's version.
|
|
|
|
|
|
|
|
"it's worth killing, if just to stop it being copied all over the place"
|
|
already defined as a u_int32_t type.
|
|
From: "Anthony J. Bentley" <anthonyjbentley at gmail dot com>
|
|
the needed bits
ok deraadt@, millert@
|
|
ok claudio@
|
|
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@
|
|
from the LSA that is currently in the tree. Based on claudio@'s
diff and his fix for ospfd. Additionally originate an LSA with
external route tag correctly by writing the AS-external-LSA's bit
T into the correct field.
ok claudio@
|
|
Without this fix Cisco's OSPF 6 ignores our network-LSAs.
ok claudio@
|
|
problem reported with the obvious fix for bgpd by Sebastian Benoit
<benoit-lists at fb12.de>, also PR 6432
applied to all the others by yours truly. ok theo
isn't it amazing how far this parser (and more) spread?
|
|
mask2prefixlen6 version from bgpd.
|
|
stolen from ospf.h
|
|
ok claudio@
|
|
address changes that does not belong to any area. This fixes an
ospf6d crash. To not search for the area in orig_intra_lsa_net(),
just pass the area as function parameter.
ok claudio@
|
|
is needed to orginate correct intra-area-prefix-lsas.
ok claudio@ stsp@
|
|
The other imessages use the stack variables area and iface.
ok claudio@
|
|
router's prefixes were ignored if all other routers on that link
had no prefixes. Advertise a intra-area-prefix-lsa with all prefixes
for the network if there are any adjacent neighbors on link.
ok stsp@
|
|
ok claudio@
|
|
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@
|
|
the interface index for writing routes into the kernel.
ok claudio@
|
|
the area of an ASE LSA is NULL.
ok claudio@
|
|
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.
|
|
not devidable by 32. Problem found and identified by Martin Pelikán.
|
|
for IPsec. Avoid IPv6 fragments where possible. If a single LSA
is too big, put it into a separate packet with up to IPV6_MAXPACKET
bytes. This packet may get fragmented by the kernel.
ok stsp@
|
|
the ospf6d packet lenght calculation.
ok claudio@ stsp@
|
|
workaround it is better to drop this LSA with a log entry instead
of sending emtpy update packets in a burst. As link LSAs cannot
be split, the propper solution might be IPv6 fragments. See also
RFC5340 Section 4.4.3.8 and Appendix A.1.
ok stsp@
|
|
ok claudio@ stsp@
|
|
ok claudio@ stsp@
|
|
Minor bump for libutil.
Previous versions of this diff and man page looked at by various people.
"you should just commit" deraadt
|
|
ibuf, buf_read to ibuf_read, READ_BUF_SIZE to IBUF_READ_SIZE.
ok henning gilles claudio jacekm deraadt
|
|
more readable, and fixes a spacing bug we had in smtpd.8;
|
|
|
|
way the memory is zeroed. This is equivalent to the relayd commit by reyk.
OK reyk, jsg
|
|
ok eric
|
|
|
|
If this happens the imsg may no longer be usable as there may be queued
messages, but this is a) already the case with the code now, and b)
would be the case if recvmsg() fails anyway, so we can document that -1
from imsg_read() invalidates the struct imsgbuf.
discussed with and ok eric
|
|
Sync description of the OSPF protocol between ospfd(8) and ospf6d(8).
Document current shortcomings -- in particular, document that ospf6d(8)
needs manual IPsec setup for security. Clean up various grammatical errors,
re-order and re-phrase things a bit to improve readability.
Update RFC references. Remove IPv4-specific stuff from ospf6d.conf(5).
OK jmc@ claudio@
|
|
Appart from multi-area support this is the last big missing piece in
ospf6d. ospf6d should now work correctly in single area setups.
So please test.
"it's always nice to see those #if 0 being killed" stsp@
|
|
specified by type, adv_rtr and an LSA to compare against. This is needed
to find either a free LS ID or the previously assigned LS ID of an AS-ext
LSA. "looks like you know what you're doing" stsp@
|
|
latter are not realy tested. AS-ext LSA are now correctly added to the
RIB. "looks like you know what you're doing" stsp@
|