summaryrefslogtreecommitdiffstats
path: root/sysdep/linux/netlink/netlink.c
AgeCommit message (Collapse)Author
2011-04-13Adds support for several Linux kernel route attributes.Ondrej Zajicek
2011-03-29Hide 6to4 route warnings.Ondrej Zajicek
2011-03-28Minor changes in addresses.Ondrej Zajicek
Mainly changes IA_UNNUMBERED to IA_PEER and adds IA_HOST. Also do not show broadcast addr in show interfaces. Nobody cares for that.
2010-12-07Multipath support for linux kernel protocol.Ondrej Zajicek
2010-11-19Remove some runaway debug messages and typos.Ondrej Zajicek
2010-11-11Implements link state detection.Ondrej Zajicek
Also changes some symbol names (IFF_ADMIN_DOWN -> IFF_SHUTDOWN, IFF_LINK_UP -> IFF_ADMIN_UP).
2010-07-05Implements hostcache and recursive next hops.Ondrej Zajicek
Hostcache is a structure for monitoring changes in a routing table that is used for routes with dynamic/recursive next hops. This is needed for proper iBGP next hop handling.
2010-05-26Support loopback/dummy addresses.Ondrej Zajicek
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-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-23Current 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-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-04-01Include "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-03-01Rewrote 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-17Removed point-to-point tunnel hack as it breaks ordinary PtP interfaces.Martin Mares
I'll find a better solution soon.
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