summaryrefslogtreecommitdiffstats
path: root/sysdep/linux
AgeCommit message (Collapse)Author
2010-04-19It seems that prefixes /31 and /127 are valid and used in this strange world.Ondrej Filip
2010-04-08Minor changes.Ondrej Zajicek
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-04-02Use SO_BINDTODEVICE also in Linux/IPv6.Ondrej Zajicek
2010-04-02Minor fixes to previous patches.Ondrej Zajicek
2010-03-14Temporary OSPF commit - sockets.Ondrej Zajicek
2010-03-11Merge branch 'new' into socket2Ondrej Zajicek
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
2010-02-21Fix configure to enable warnings and fix most of them.Ondrej Zajicek
2010-02-11Temporary OSPF commit - socket changes.Ondrej Zajicek
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-30Fixes one previous commit.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-09-04Temporary OSPFv3 development commit (changing multicast support).Ondrej Zajicek
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-21Merge branch 'master' into devOndrej Zajicek
2009-05-08Fixes communication on netlink socketsOndrej Zajicek
Independent sessions on netlink sockets mixed state in some common variables.
2009-05-04Linux specific TCP-MD5 handling moved to sysdep/linux/sysio.hOndrej Filip
FreeBSD coded added. BSD cannot set BGP passwords itself. This has to be done by external command.
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
2009-01-16Fixes compilation on older systems.Ondrej Zajicek
Older kernel headers (the ones in Debian Sarge) does not have __kernel_sockaddr_storage .
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-10-26Implementation of MD5 authentication of BGP sessions.Ondrej Zajicek
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-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-11Multicast problems should be gone, although the fix is Linux only and we'llMartin Mares
need to figure out something better when working on new ports.
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-06IPv6 support compiles on both glibc 2.0 and 2.1.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-21IPv6 compiles with glibc 2.1.Martin Mares