summaryrefslogtreecommitdiffstats
path: root/sysdep/linux
AgeCommit message (Collapse)Author
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
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-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-16Better order of includes.Martin Mares
set_inaddr() moved to sysio.h.
1999-12-16Tried to clean up multicast handling. Now we don't try to guessMartin Mares
multicast abilities depending on definedness of symbols and use hard-wired system-dependent configuration defines instead. Please test whereever you can.
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.
1999-05-07Netlink support for secondary interface addresses.Martin Mares
1999-05-06I rewrote the interface handling code, so that it supports multipleMartin Mares
addresses per interface (needed for example for IPv6 support). Visible changes: o struct iface now contains a list of all interface addresses (represented by struct ifa), iface->addr points to the primary address (if any). o Interface has IF_UP set iff it's up and it has a primary address. o IF_UP is now independent on IF_IGNORED (i.e., you need to test IF_IGNORED in the protocols; I've added this, but please check). o The if_notify_change hook has been simplified (only one interface pointer etc.). o Introduced a ifa_notify_change hook. (For now, only the Direct protocol does use it -- it's wise to just listen to device routes in all other protocols.) o Removed IF_CHANGE_FLAGS notifier flag (it was meaningless anyway). o Updated all the code except netlink (I'll look at it tomorrow) to match the new semantics (please look at your code to ensure I did it right). Things to fix: o Netlink. o Make krt-iface interpret "eth0:1"-type aliases as secondary addresses.
1999-04-12Removed TOS support. This simplifies many things a lot.Martin Mares