Statistics
| Branch: | Revision:

iof-bird-daemon / sysdep / unix @ 1bc26957

# Date Author Comment
1bc26957 05/10/2011 12:42 AM Ondrej Zajicek

Allows run with restricted privileges.

Adds option -u and -g to specify user and group.
When different user (than root) is specified,
linux capabilities CAP_NET_* are kept.

acc93efd 04/27/2011 10:31 PM Ondrej Zajicek

Use constants from /etc/iproute2/rt_* files.

71ca7716 04/13/2011 10:32 AM Ondrej Zajicek

Adds support for several Linux kernel route attributes.

52a43ae3 03/28/2011 08:46 PM Ondrej Zajicek

Minor changes in addresses.

Mainly changes IA_UNNUMBERED to IA_PEER and adds IA_HOST. Also do not
show broadcast addr in show interfaces. Nobody cares for that.

d0e9b36d 03/23/2011 04:15 PM Ondrej Zajicek

Added header file.

93e868c7 03/13/2011 10:33 AM Ondrej Zajicek

Implements Router Advertisement protocol.

f25cb0ef 11/11/2010 09:03 AM Ondrej Zajicek

Implements link state detection.

Also changes some symbol names (IFF_ADMIN_DOWN -> IFF_SHUTDOWN,
IFF_LINK_UP -> IFF_ADMIN_UP).

0d1b3c4c 09/20/2010 11:01 AM Ondrej Zajicek

Changes print-like filter commands to use a log instead of a stderr.

And extends the log subsystem to better handle that.

f428631c 08/02/2010 11:12 PM Ondrej Zajicek

Ignore warning when BGP peer is unreachable.

f038f0a6 07/12/2010 07:39 PM Ondrej Zajicek

Fixes missing check in reconfiguration.

9be9a264 07/12/2010 03:39 PM Ondrej Zajicek

Implements proper multihop BGP.

Also does some incompatible changes to config file syntax,
like removing 'via IP' from multihop option.

acb60628 06/02/2010 08:20 PM Ondrej Zajicek

Implements command that shows memory usage.

002b6423 05/21/2010 10:00 AM Ondrej Zajicek

Fixes bug on Linux 2.4.x - kernel sync does not work until restart of kernel protocol.

Which was, actually, a bug in timers - on older kernel, monotonic timer
is missing and the other implementation started with now == 0, which
collides with usage 0 as a special value in timer->expires field.

47597724 05/14/2010 02:54 PM Ondrej Zajicek

Handle EPIPE as a common connection close event.

ba321706 04/27/2010 10:39 PM Ondrej Zajicek

Better support for /31 networks.

607d9914 04/14/2010 01:35 PM Ondrej Zajicek

Fixes build on newer Linux systems.

dcc60494 04/14/2010 12:46 PM Ondrej Zajicek

Fixes IPv6 build on older systems.

646b24d9 04/08/2010 03:45 PM Ondrej Zajicek

Minor changes.

44d4ab7a 04/07/2010 01:34 PM Ondrej Zajicek

Configurable syslog name.

Also fixes a bug in syslog initialization.

c429d4a4 04/04/2010 01:41 PM Ondrej Zajicek

Restrict export of device routes to the kernel protocol.

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...

46a82e9c 04/03/2010 08:45 AM Ondrej Zajicek

Fixes missing header.

e7b09e4a 04/02/2010 02:11 PM Ondrej Zajicek

Use SO_BINDTODEVICE also in Linux/IPv6.

bed41728 04/02/2010 09:31 AM Ondrej Zajicek

Minor fixes to previous patches.

eb0f129f 03/26/2010 05:53 PM Ondrej Zajicek

Merge branch 'socket2' into new

97e46d28 03/17/2010 11:19 AM Ondrej Zajicek

Adds check for no protocol and some minor CLI fixes.

- Adds check to deny config file with no specified protocol to prevent
loading of empty config file.
- Moves CLI init before config parse to receive immediate error message
when cannot open control socket....

54305181 03/11/2010 05:55 PM Ondrej Zajicek

Merge branch 'new' into socket2

53434e44 02/27/2010 03:00 PM Ondrej Zajicek

Better flushing of interfaces.

When device protocol goes down, interfaces should be flushed
asynchronously (in the same way like routes from protocols are flushed),
when protocol goes to DOWN/HUNGRY.

This fixes the problem with static routes staying in kernel routing...

ff2857b0 02/26/2010 09:55 AM Ondrej Zajicek

Many changes in (mainly) kernel syncers.

- 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...

e81b440f 02/21/2010 01:34 PM Ondrej Zajicek

Fix configure to enable warnings and fix most of them.

e0a45fb4 02/21/2010 08:57 AM Ondrej Zajicek

Restricted read-only CLI.

Also adds support for executing commands using birdc <cmd>.

dca75fd7 02/13/2010 11:26 AM Ondrej Zajicek

Removes phantom protocol from the pipe design.

It seems that by adding one pipe-specific exception to route
announcement code and by adding one argument to rt_notify() callback i
could completely eliminate the need for the phantom protocol instance
and therefore make the code more straightforward. It will also fix some...

2af25a97 02/11/2010 10:12 AM Ondrej Zajicek

Fixes a crash caused by missing error hook on BGP listening socket.

Error happened when too many BGP connections arrived in one moment
(ECONNABORTED).

353729f5 02/11/2010 09:23 AM Ondrej Zajicek

Temporary OSPF commit - socket changes.

76b53a4e 02/06/2010 09:57 PM Ondrej Zajicek

Adds some log messages related to configure.

Also fixes a bug in the previous patch.

c37e7851 02/02/2010 11:19 PM Ondrej Zajicek

Makes date/time formats configurable.

861f223a 01/06/2010 10:20 PM Ondrej Zajicek

BSD compatibility fix.

cf31112f 01/03/2010 11:17 AM Ondrej Zajicek

Implements MRTdump feature.

63542845 12/14/2009 07:37 PM Ondrej Zajicek

Merge branch 'dev' into ospf3

Conflicts:

proto/ospf/lsreq.c
proto/ospf/lsupd.c
proto/ospf/rt.c
a6250a7d 11/26/2009 10:23 PM Ondrej Zajicek

Fix -p option.

a4644ed6 11/19/2009 10:44 AM Ondrej Zajicek

Implement option to exit after config file parsing.

653b4015 11/13/2009 01:54 PM Ondrej Zajicek

After shutdown, BIRD should have exit code 0.

d3f36e59 11/13/2009 01:43 PM Ondrej Zajicek

Fixes BIRD socket unlink.

4ac7c834 11/09/2009 10:22 PM Ondrej Zajicek

Use IPv6 checksums in OSPFv3.

3f22fa9e 11/09/2009 09:54 PM Ondrej Zajicek

Merge branch 'dev' into ospf3

ea89da38 10/11/2009 04:56 PM Ondrej Zajicek

Workaround for stupid callback scheduler.

There is no reak callback scheduler and previous behavior causes
bad things during hard congestion (like BGP hold timeouts).

Smart callback scheduler is still missing, but main loop was
changed such that it first processes all tx callbacks (which...

daeeb8e9 09/04/2009 09:24 AM Ondrej Zajicek

Clear memory allocated by ralloc().

This also fixes bug that timer->recurrent was not cleared
in tm_new() and unexpected recurrence of startup timer
in BGP confused state machine and caused crash.

f9c799a0 09/04/2009 09:06 AM Ondrej Zajicek

Temporary OSPFv3 development commit (changing multicast support).

061ab802 08/27/2009 04:25 PM Ondrej Zajicek

Temporary OSPFv3 development commit

6baef17e 07/14/2009 12:18 PM Ondrej Zajicek

Fixes bug in CLI TX buffer management.

2d785e8d 06/26/2009 11:33 AM Ondrej Zajicek

Fixes bug on TCP passive socket binding on BSD.

BGP on BSD was bound to random port. I am surprised that
nobody noticed it already.

1876e18d 06/25/2009 01:44 PM Ondrej Zajicek

Minor bugfix.

4323099d 06/19/2009 10:59 PM Ondrej Zajicek

Fixes bug in scheduling of callback by main loop.

If other side of a socket is sending data faster than
BIRD is processing, BIRD does not schedule any other
callbacks (events, timers, rx/tx callbacks).

bf1aec97 06/19/2009 09:49 PM Ondrej Zajicek

Adds support for soft reconfiguration.

789772ed 06/18/2009 05:20 PM Ondrej Zajicek

Implements option that changes BGP listening socket parametres.

f98e2915 06/01/2009 12:07 PM Ondrej Zajicek

The pipe cleanup.

23ac9e9a 05/31/2009 01:24 PM Ondrej Zajicek

Changes pipes to transfer all routes between routing table, not just optimal routes.

874b8685 05/29/2009 08:49 PM Ondrej Zajicek

Implements primary address selection base on 'primary' option.

6f68f066 05/29/2009 11:32 AM Ondrej Zajicek

Add 'primary' configuration option.

ef9c9ab9 05/10/2009 11:32 PM Ondrej Filip

OpenBSD port related changes.

2b70f074 05/04/2009 04:17 PM Ondrej Filip

Linux specific TCP-MD5 handling moved to sysdep/linux/sysio.h
FreeBSD coded added. BSD cannot set BGP passwords itself.
This has to be done by external command.

1bc4b2cc 05/04/2009 03:49 PM Ondrej Filip

Syntax error fix for systems without CONFIG_SELF_CONSCIOUS (KRT_ALLOW_LEARN)

3d574679 03/20/2009 11:58 AM Ondrej Zajicek

Fix bugs related to kernel table synchronization.

KRF_INSTALLED flag was not cleared during reconfiguration
that lead to not removing routes during reconfigure when
export rules changed.

We also should not try to remove routes we didi not installed,
on Linux this leads to warnings (as kernel checks route source...

cb530392 02/26/2009 01:23 PM Ondrej Zajicek

Rate limit for most abundant log messages

35164c50 12/12/2008 04:48 PM Ondrej Zajicek

rx_hook may be cleaned in some callback so we check it before
executing sk_read().

35f983f8 11/21/2008 05:17 PM Ondrej Zajicek

Fixes segfault with multiple routing tables.

eac21b46 11/21/2008 12:01 PM Ondrej Zajicek

This is bug, isn't it?

fd91ae33 11/05/2008 09:36 PM Ondrej Zajicek

Fix problem with local time changes.

1389f369 11/05/2008 08:39 PM Ondrej Zajicek

Fixes bugs in IPv6 code caused by recent commits.

a39b165e 11/01/2008 03:58 PM Ondrej Zajicek

Multihop BGP was completely broken, because listening socket has always
ttl 1.

a98fbf0f 10/26/2008 11:20 PM Ondrej Zajicek

Merge branch 'dev' into out

68fa95cf 10/26/2008 10:55 PM Ondrej Zajicek

Check of socket name length

1567edea 10/26/2008 10:09 PM Ondrej Zajicek

Bugfix for routing table breaking bug.

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)...

d51aa281 10/26/2008 09:42 PM Ondrej Zajicek

Implementation of MD5 authentication of BGP sessions.

97c6fa02 08/25/2008 12:06 PM Ondrej Filip

Previous patch reverted. :-(

030e3a79 08/25/2008 11:57 AM Ondrej Filip

Buffer overflow fix.

057021df 08/25/2008 11:19 AM Martin Mares

Fix behavior of ipa_opposite().

It was giving wrong results on /30 networks.

3c3271d9 08/24/2008 11:24 PM Ondrej Filip

Close fd of config file after reconfiguration.

8411a37e 06/20/2007 07:33 AM Martin Mares

Detach from the TTY properly.

c025b852 02/14/2005 11:15 PM Ondrej Filip

Real write is only in sk_maybe_write. Previous change partially reverted.
Thank you MJ.

7c49f715 02/14/2005 09:28 PM Ondrej Filip

Added s->err_hook wrapper that empties socket.

030d3b38 02/14/2005 11:58 AM Ondrej Filip

Small changed to reduce the number of warnings.

0d3effcf 02/12/2005 10:27 PM Ondrej Filip

Time added in password management.

09e4117c 06/18/2004 12:54 PM Ondrej Filip

sk_write bugfix for BSD.

b7e9c74c 06/07/2004 04:51 PM Ondrej Filip

Used parameter can be marked as unused. :-) Thanx MJ.

19d9e303 06/07/2004 09:52 AM Ondrej Filip

Marked unused parameters as unused.

41c8976e 06/06/2004 05:05 PM Ondrej Filip

Test old instance of BIRD.

6578a604 06/05/2004 09:11 AM Martin Mares

Marked unused parameters in sysdep code as such.

e98bc2ea 06/05/2004 09:05 AM Martin Mares

Renamed log() to log_msg(), but still keeping the old name as a macro.
This is done to avoid clashes with gcc-3.3 which has built-in logarithms :)

4da25acb 06/05/2004 08:56 AM Martin Mares

Cleaned up sk_reallocate() and friends.
Also, removed the `if (s)' test, because I believe that as the whole
socket interface doesn't accent NULL pointers, sk_reallocate() shouldn't
be the only exception.

e7ef86a5 06/04/2004 06:51 PM Ondrej Filip

OSPF is ready for changing MTU.

7d72aadb 06/03/2004 08:18 AM Ondrej Filip

CONFIG_SKIP_MC_BIND added.
BSD hates it, Linux needs it.

cb4dd4e2 06/02/2004 03:14 PM Ondrej Filip

Deleted useless rfree. (Socked was freed by cli_free())

b613b992 06/01/2004 10:32 AM Ondrej Filip

#ifdef CONFIG_UNIX_DONTROUTE added.

ea0ac8f6 05/31/2004 10:00 PM Martin Mares

Move CLI socket to the newly created CLI's pool.

(thanks to Andreas for the original idea)

38a608c5 05/31/2004 09:48 PM Martin Mares

Rewritten the I/O loop. All socket operations are now safe, meaning that
you can delete the socket from anywhere in the hooks and nothing should break.
Also, the receive/transmit buffers are now regular xmalloc()'ed buffers,
not separate resources which would need shuffling around between pools....

5f2a6a9f 05/31/2004 05:55 PM Martin Mares

Fix handling on full pipe to client in bird. Prevent packet overflows
for even only medium sized route table output. Fix a strange garbled
output problem in the client. The latter seems to be caused by some
library doing tcflush while there is still command output pending. So...

c222500d 05/31/2004 05:00 PM Ondrej Filip

Previous change was mistake.

b1a1faba 05/31/2004 01:25 PM Ondrej Filip

*BSD port added. (Tested on FreeBSD and NetBSD)

c197d44e 08/13/2003 10:07 PM Martin Mares

This probably IS the memory leak we're looking for. Alien routes weren't
correctly disposed of.

7d875e09 11/13/2002 08:47 AM Martin Mares

Added missing includes.