Age | Commit message (Collapse) | Author |
|
|
|
OK claudio@
|
|
OK tb@
|
|
|
|
use ibuf_size() instead of direct access to ibuf->wpos,
use ibuf_left() in places where the code checks if there is enough
space left in the ibuf.
OK tb@
|
|
automatically on a timeout after RTM_DESYNC (i.e. route socket
overflow). ported across from ospfd. fixes/ok claudio@
(it's much harder to overflow the routing socket buffer these
days since it was bumped to 2MB, but still happens occasionally
on a busy machine).
|
|
This mostly moves away from memcpy(ibuf_seek(buf, off, size), data, size) to
ibuf_set(buf, off, data, size). Also ibuf_reserve() is replaced with
ibuf_add_zero().
OK tb@
|
|
ok miod@ millert@
|
|
various *d, *conf, *ctl files (where relevant) and simple;
also makes "man -k routing" more useful;
help from claudio and florian
ok claudio florian millert
|
|
any parts of his diff not taken are noted on tech
|
|
jmc@ dislikes a comma before "then" in a conditional, so leave those
untouched.
ok jmc@
|
|
ospf6d.c: sync a missing bit of (disabled) code with ospfd
rde.c: ifdef out some more incomplete code
ok denis@ claudio@
|
|
macro-build a replacement for sccsid, and was done without any concern
for namespace damage. Unfortunately this practice started infecting
other code as others were unaware they didn't need the file.
ok millert guenther
|
|
messages. ok remi@ benno@
if a neighbour is reachable over multiple network links, some problems
may be related to the link itself rather than the neighbour, so knowing
the interface can be important when trying to locate the source of a
problem.
|
|
functions that take "char *" arguments. Where such chars are
assigned to int or passed to ctype functions, explicitly cast them
to unsigned char.
For OpenBSD's clang, -Wpointer-sign has been disabled by default,
but when the parse.y code was built elsewhere, the compiler would
complain.
With help from millert@
ok benno@ deraadt@
|
|
|
|
This code assumes some alignment of the buffer which may not be
the case with bss memory.
|
|
|
|
imsg_compose_event() directly. This is needed to make the imsg event
structures static in ospfe.c, rde.c and ospf6d.c.
|
|
a common symbol.
|
|
|
|
|
|
into control.c nothing outside needs access to this.
|
|
IPv6 address. Compare against all possible interface addresses instead of
only against iface->addr which is set to the last link-local address and
so there is a high chance of failure when multiple link-local addresses
are present.
Also simplify send_packet(), there is no need to use sendmsg() just use
sendto().
OK benno@
|
|
iface->dst is not initalized so instead use nbr->addr (like it is done in
ospfd).
OK benno@
|
|
before accessing anything in ifa_addr.
ok claudio@
|
|
|
|
orig_intra_area_prefix_lsas() is called. If not, the ospf6d will not
announce the new intra area db for a newly learned link from another
ospf router of the broadcast domain.
OK denis@
|
|
further. This is in line with what other networking daemons do.
ok mestre@
|
|
for L2 and broadcast routes, since we don't need them at all.
ok remi@ sthen@
|
|
send back LSA with type LSA_TYPE_INTRA_A_PREFIX. LSA_TYPE_INTER_A_PREFIX
should not be included there.
OK claudio@
|
|
OK claudio@, looks fine from tb@
|
|
|
|
OK florian@, millert@, kn@
|
|
|
|
|
|
OK remi@
|
|
configuration file.", but occasionally something else fit better; at the
same time, try to make the format for FILES more consistent;
original diff from clematis
|
|
OK remi@
|
|
OK remi@
|
|
Do not use the pointer returned by ibuf_reserve() after calling another
ibuf function. After the call the internal buffer may have moved by realloc()
and so the pointer is invalid. Instead use ibuf_size() to get the current
offset in the buffer and use ibuf_seek() later on to write back the updated
lsa age into the buffer at the right spot.
This fixes an issue seen by Richard Chivers on routers with many passive
interfaces.
OK stsp@ denis@ deraadt@ also tested by sthen@
|
|
A large number of redistributed routes make ospf6d crash.
OK remi@, sthen@
|
|
|
|
OK remi@
|
|
Also change get_net_link() and get_rtr_link() to work like ospfd(8)
couterpart.
OK remi@
|
|
- update debug messages to be more precise
- simplify call to lsa_self()
- drop lsa_find_lsid() redondant parameters
OK remi@
|
|
manual pages that document the corresponding configuration files;
OK jmc@, and general direction discussed with many
|
|
area. Most of the other interface settings allow this.
ok denis@
|
|
OK remi@
|
|
or they will have no effect.
OK denis@
|