summaryrefslogtreecommitdiff
path: root/sysdep/linux/netlink
AgeCommit message (Collapse)Author
2010-05-21Fixes interface scan on Linux 2.4.x in IPv6 mode.Ondrej Zajicek
2010-04-28Better support for /31 networks.Ondrej Zajicek
2010-04-19It seems that prefixes /31 and /127 are valid and used in this strange world.Ondrej Filip
2010-04-04Restrict export of device routes to the kernel protocol.Ondrej Zajicek
In usual configuration, such export is already restricted with the aid of the direct protocol but there are some races that can circumvent it. This makes it harder to break kernel device routes. Also adds an option to disable this restriction.
2010-02-26Many changes in (mainly) kernel syncers.Ondrej Zajicek
- BSD kernel syncer is now self-conscious and can learn alien routes - important bugfix in BSD kernel syncer (crash after protocol restart) - many minor changes and bugfixes in kernel syncers and neighbor cache - direct protocol does not generate host and link local routes - min_scope check is removed, all routes have SCOPE_UNIVERSE by default - also fixes some remaining compiler warnings
2009-11-09Merge branch 'dev' into ospf3Ondrej Zajicek
2009-10-28Fixes some problems related to link-local routes in KRT interface.Ondrej Zajicek
2009-10-20Allows importing 'onlink' routes.Ondrej Zajicek
2009-09-24Do not allow gateway routes with NULL iface.Ondrej Zajicek
2009-09-08Temporary OSPFv3 development commit.Ondrej Zajicek
Finally, it is working.
2009-08-25Temporary OSPFv3 development commitOndrej Zajicek
2009-08-21Allow more kernel routing tables in IPv6.Ondrej Zajicek
2009-05-29Fixes problems with rewriting of kernel device routes.Ondrej Zajicek
2009-05-08Fixes communication on netlink socketsOndrej Zajicek
Independent sessions on netlink sockets mixed state in some common variables.
2009-04-17Fixes mixed-up messages on netlink socketOndrej Zajicek
Under specific circumstances there might be two mixed-up netlink sessions (one for scan, the other for route change request). This patch separates netlink scans and requests to two fds (and seq counters). This should fix http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=428865
2009-02-26Rate limit for most abundant log messagesOndrej Zajicek
2008-11-04Ignore messages related to wireless extensions.Ondrej Zajicek
2008-10-27Merge branch 'dev' into outOndrej Zajicek
2008-10-26Do not repeat 'Invalid broadcast address' error message.Ondrej Zajicek
'Invalid broadcast address' error is reported only once for an interface and not during every interface scan.
2008-10-26Ignore unknown netlink events.Ondrej Zajicek
Bird sometimes reported 'bird: nl_parse_link: Malformed message received'. The cause is that bird asynchronously received netlink packet from wireless driver about some wireless event on its link layer. In that case bird shouldn't complain.
2008-10-26Bugfix for routing table breaking bug.Ondrej Zajicek
Here is a patch fixing a bug that causes breakage of a local routing table during shutdown of Bird. The problem was caused by shutdown of 'device' protocol before shutdown of 'kernel' protocol. When 'device' protocol went down, the route (with local network prefix) From different protocol (BGP or OSPF) became preferred and installed to the kernel routing table. Such routes were broken (like 192.168.1.0/24 via 192.168.1.2). I think it is also the cause of problem reported by Martin Kraus. The patch disables updating of kernel routing table during shutdown of Bird. I am not sure whether this is the best way to fix it, I would prefer to forbid 'kernel' protocol to overwrite routes with 'proto kernel'. The patch also fixes a problem that during shutdown sometimes routes created by Bird remained in the kernel routing table.
2008-08-25Fix behavior of ipa_opposite().Martin Mares
It was giving wrong results on /30 networks.
2004-06-05Staticized lots of local functions.Martin Mares
2004-06-05Marked unused parameters in sysdep code as such.Martin Mares
2003-02-22Current Linux kernels don't remember rtm_protocol for IPv6 routes and supply ↵Martin Mares
RTPROT_BOOT instead. Work around that.
2003-02-22Report link-scope addresses as well.Martin Mares
2001-08-03Don't loop forever when trying to skip an out-sequence netlink reply.Martin Mares
2000-06-21Check broadcast address sanity before believing it.Martin Mares
2000-06-18Fix numbering of routing tables in IPv6 version.Martin Mares
2000-06-04Removed lots of trailing newlines in log messages.Martin Mares
Please note that the only calls which don't add newlines automatically (i.e., don't print a full line of output) are debug() and DBG().
2000-06-01Updated for new scope handling.Martin Mares
Also, provide proper address scopes in struct ifa.
2000-05-11If a broadcast address is missing, go fake one.Martin Mares
2000-05-08Removed the `async' switch which was used for debugging only anyway.Martin Mares
Don't moan when netlink reports lost packets.
2000-05-08Incoming buffer must be at least 8KB long.Martin Mares
2000-05-04#ifdef out lots of debugging information.Martin Mares
The long resource/routing table dump printed upon startup is gone now and if you wish to see it, just send bird SIGUSR1 or use the `debug' commands.
2000-05-04Removed a lot of unused variables.Martin Mares
Please try compiling your code with --enable-warnings to see them. (The unused parameter warnings are usually bogus, the unused variable ones are very useful, but gcc is unable to control them separately.)
2000-03-31Include "lib/string.h" instead of <string.h>. It should give us bzero()Martin Mares
and other non-portable functions on all systems.
2000-03-12Cleaned up debugging in kernel syncer. Netlink has still LOCAL_DEBUGMartin Mares
turned on, but after some testing I'll gag it.
2000-03-01ipa_opposite hack is not applicable in IPv6.Martin Mares
2000-02-29Rewrote interface type detection logic. The `unnumbered' flag is now perMartin Mares
address, not per interface (hence it's ifa->flags & IA_UNNUMBERED) and should be set reliably. IF_MULTIACCESS should be fixed now, but it isn't wise to rely on it on interfaces configured with /30 prefix.
2000-01-18Kernel route syncer now supports dynamic reconfiguration. Also it doesn'tMartin Mares
depend on the startup counter hack now and uses a zero-time timer instead to make itself scheduled after normal protocol startup.
2000-01-17Removed point-to-point tunnel hack as it breaks ordinary PtP interfaces.Martin Mares
I'll find a better solution soon.
2000-01-17Reconfiguration for device protocol.Martin Mares
1999-12-16Minor cleanups.Martin Mares
1999-12-08Temporary work-arounds for multicast problems. Needs further investigation.Martin Mares
1999-11-04Renamed attr->attrs to attr->eattrs.Martin Mares
1999-08-03Taught Netlink how to behave in IPv6 world.Martin Mares
1999-08-03Basic support for IPv6. The system-dependent part doesn't work yet,Martin Mares
but the core routines are there and seem to be working. o lib/ipv6.[ch] written o Lexical analyser recognizes IPv6 addresses and when in IPv6 mode, treats pure IPv4 addresses as router IDs. o Router ID must be configured manually on IPv6 systems. o Added SCOPE_ORGANIZATION for org-scoped IPv6 multicasts. o Fixed few places where ipa_(hton|ntoh) was called as a function returning converted address.
1999-08-03Kernel route syncer supports multiple tables.Martin Mares
The changes are just too extensive for lazy me to list them there, but see the comment at the top of sysdep/unix/krt.c. The code got a bit more ifdeffy than I'd like, though. Also fixed a bunch of FIXME's and added a couple of others. :)
1999-05-17Kill remaining master_table relics in KRT code.Martin Mares
Make all protocols pass routing table to rte_update and rte_discard.