Ondrej Zajicek
abffa9d421
Update socket code to be synced with master branch.
2014-05-18 11:51:15 +02:00
Ondrej Zajicek
cd50872c3b
Merge commit '4dd24f05f384ac14546d4bebbfcb0ecf9a976ec6' into integrated
2014-05-02 18:28:33 +02:00
Ondrej Zajicek
36a16cc8b9
Merge commit 'c980f8002e0f0578d5e715d48d65d9fb9a0c5a70' into integrated
...
Conflicts:
sysdep/unix/krt.h
2014-05-02 18:25:41 +02:00
Ondrej Zajicek
c0821881fe
Merge commit '3216eb03ddddc057bb18fa4dd02b7935a604f71f' into integrated
...
Conflicts:
sysdep/linux/netlink.c
2014-05-02 18:05:57 +02:00
Ondrej Zajicek
2077201920
Merge commit '5c200e0a4d26d183e04fda43de16340521002c40' into integrated
...
Conflicts:
lib/ipv4.h
lib/ipv6.h
2014-05-02 17:41:45 +02:00
Ondrej Zajicek
c93f50635c
Merge commit '48e5f32db676645640f84ab3d630cce975aa6b20' into integrated
2014-05-02 17:05:23 +02:00
Ondrej Zajicek
a485fd2909
Merge commit 'f48fa14214301382b2e6b134788a7506b61b664f' into integrated
...
Conflicts:
nest/rt-table.c
proto/bgp/attrs.c
proto/bgp/packets.c
proto/ospf/ospf.c
proto/rip/rip.c
proto/static/static.c
sysdep/unix/krt.c
2014-04-29 17:23:38 +02:00
Ondrej Zajicek
b1c680a680
Merge commit '2b3d52aa421ae1c31e30107beefd82fddbb42854' into integrated
2014-04-29 16:25:09 +02:00
Ondrej Zajicek
f47914c8a8
Merge commit '0aeac9cb7f9887374ce0258c8653f9518529bf08' into integrated
...
Conflicts:
configure.in
lib/printf.c
proto/ospf/config.Y
proto/ospf/hello.c
proto/ospf/iface.c
proto/ospf/ospf.h
2014-04-29 16:17:09 +02:00
Ondrej Zajicek
455539ba1b
Merge commit 'e7c2380260f20a4a3587b47df97879ef91c69774' into integrated
2014-04-29 15:16:32 +02:00
Ondrej Zajicek
2187708520
Merge commit '6a8d3f1c1ffbd964e4d11b452c73e1ea70310af3' into integrated
...
Conflicts:
configure.in
lib/socket.h
nest/protocol.h
2014-04-29 13:00:14 +02:00
Ondrej Filip
7c4a800725
Fixed bug in unused function.
2014-04-14 12:28:30 +02:00
Ondrej Zajicek
0c791f873a
BGP graceful restart support.
...
Also significant core protocol state changes needed for that,
global graceful restart recovery state and kernel proto support
for recovery.
2014-03-20 14:07:12 +01:00
Ondrej Zajicek
5c200e0a4d
Merge branch 'add-path'
2014-02-06 20:15:05 +01:00
Ondrej Zajicek
48e5f32db6
Many changes in I/O and OSPF sockets and packet handling.
...
I/O:
- BSD: specify src addr on IP sockets by IP_HDRINCL
- BSD: specify src addr on UDP sockets by IP_SENDSRCADDR
- Linux: specify src addr on IP/UDP sockets by IP_PKTINFO
- IPv6: specify src addr on IP/UDP sockets by IPV6_PKTINFO
- Alternative SKF_BIND flag for binding to IP address
- Allows IP/UDP sockets without tx_hook, on these
sockets a packet is discarded when TX queue is full
- Use consistently SOL_ for socket layer values.
OSPF:
- Packet src addr is always explicitly set
- Support for secondary addresses in BSD
- Dynamic RX/TX buffers
- Fixes some minor buffer overruns
- Interface option 'tx length'
- Names for vlink pseudoifaces (vlinkX)
- Vlinks use separate socket for TX
- Vlinks do not use fixed associated iface
- Fixes TTL for direct unicast packets
- Fixes DONTROUTE for OSPF sockets
- Use ifa->ifname instead of ifa->iface->name
2014-02-06 17:46:01 +01:00
Ondrej Zajicek
e7d2ac4401
Finishes add-path.
...
Fixes some bugs and uses generic hash implementation.
2013-12-01 13:49:42 +01:00
Ondrej Zajicek
736e143fa5
Merge branch 'master' into add-path
...
Conflicts:
filter/filter.c
nest/proto.c
nest/rt-table.c
proto/bgp/bgp.h
proto/bgp/config.Y
2013-11-23 11:50:34 +01:00
Ondrej Zajicek
41f8bf57c4
Changes identifiers to avoid use of reserved ones.
2013-11-22 21:59:43 +01:00
Ondrej Zajicek
0aeac9cb7f
Merge commit 'origin/bfd'
2013-11-22 02:48:44 +01:00
Ondrej Zajicek
1ec522538f
BFD protocol, ready for release.
...
Supports OSPF and BGP and also statically configured sessions.
2013-11-19 22:33:48 +01:00
Ondrej Zajicek
0e175f9f0f
Fixes some BFD bugs and makes logging thread-safe.
2013-10-05 20:12:28 +02:00
Ondrej Zajicek
b655596d1d
Simplifies val_in_range().
...
Also fixes missing type check for element ~ set.
2013-10-02 11:42:46 +02:00
Ondrej Zajicek
6a8d3f1c1f
BFD work in progress.
...
Now it compiles and mostly works.
2013-09-16 23:57:40 +02:00
Ondrej Zajicek
bf139664aa
Initial BFD commit, work in progress.
2013-09-10 12:09:36 +02:00
Ondrej Zajicek
6abc22f4b0
Merge commit '6ac4f87a2d661c739e55a63577e7bccf696c7abd' into integrated
...
Conflicts:
lib/socket.h
proto/ospf/config.Y
proto/ospf/iface.c
proto/ospf/ospf.h
proto/rip/rip.c
sysdep/bsd/sysio.h
sysdep/linux/sysio.h
sysdep/unix/io.c
2013-07-31 16:29:34 +02:00
Ondrej Zajicek
9cf24ba8e7
Merge commit 'ef4a50be10c6dd0abffd957132cd146029c3d79d' into integrated
...
Conflicts:
lib/ipv6.h
nest/config.Y
proto/ospf/config.Y
proto/rip/rip.c
sysdep/bsd/sysio.h
sysdep/linux/sysio.h
sysdep/unix/io.c
2013-07-30 23:48:07 +02:00
Ondrej Zajicek
3de342dae1
Adapts BSD sysdep code for integrated branch.
...
Thanks to Alexander V. Chernikov for the original patch.
2013-06-28 00:57:22 +02:00
Ondrej Zajicek
3da07ce1f0
Minor updates to lib/ip.h .
2013-06-27 14:46:57 +02:00
Ondrej Zajicek
70e212f913
Implements TTL security for OSPF and RIP.
...
Interfaces for OSPF and RIP could be configured to use (and request)
TTL 255 for traffic to direct neighbors.
Thanks to Simon Dickhoven for the original patch for RIPng.
2013-06-25 15:39:44 +02:00
Ondrej Zajicek
ef4a50be10
Better packet priority and traffic class handling.
...
Implements support for IPv6 traffic class, sets higher priority for OSPF
and RIP outgoing packets by default and allows to configure ToS/DS/TClass
IP header field and the local priority of outgoing packets.
2013-06-24 16:37:30 +02:00
Ondrej Zajicek
f53e2a31d6
Merge commit '48cf5e84e6ed17578e4ad43c5ef54d6ff7d825c4' into integrated
2013-01-12 22:13:22 +01:00
Ondrej Zajicek
5aa9d7447c
Temporary integrated commit (OSPF), unfinished.
2012-10-02 11:44:05 +02:00
Ondrej Zajicek
a7b7b2bd0f
Temporary integrated commit (OSPF), unfinished.
2012-08-29 12:37:17 +02:00
Ondrej Zajicek
094d2bdb79
Implements ADD-PATH extension for BGP.
...
Allows to send and receive multiple routes for one network by one BGP
session. Also contains necessary core changes to support this (routing
tables accepting several routes for one network from one protocol).
It needs some more cleanup before merging to the master branch.
2012-08-14 16:46:43 +02:00
Ondrej Zajicek
c4b76d7b19
Rename sk_new() to avoid name collision with OpenSSL.
2012-07-18 19:35:30 +02:00
Ondrej Zajicek
fc06fb6244
Implements RDNSS and DNSSL support for RAdv.
2012-07-07 14:26:42 +02:00
Ondrej Zajicek
1ee54a8413
Temporary integrated commit (RIP).
2012-06-25 02:56:09 +02:00
Ondrej Zajicek
3f03288514
Temporary integrated commit.
2012-06-23 15:17:50 +02:00
Ondrej Zajicek
ed6c144066
Temporary integrated commit.
...
This one mostly merges patches from Alexander Chernikov.
2012-06-23 10:13:32 +02:00
Ondrej Zajicek
b9c8061b19
Temporary integrated commit.
2012-06-22 13:38:52 +02:00
Ondrej Zajicek
d494df63ac
Some minor fixes.
2012-04-27 00:04:51 +02:00
Ondrej Filip
cca970666a
Small typo in programmer's documentation.
2012-04-22 14:03:07 +02:00
Ondrej Zajicek
af582c4811
Route Origin Authorization basics.
...
- ROA tables, which are used as a basic part for RPKI.
- Commands for examining and modifying ROA tables.
- Filter operators based on ROA tables consistent with RFC 6483.
2012-03-18 17:32:30 +01:00
Ondrej Zajicek
53ffbff39f
Implements support for link-local addresses in BGP.
...
Thanks Matthias Schiffer for the original patch.
2012-01-08 15:31:34 +01:00
Ondrej Zajicek
eb1451a3a0
Better support for link-local addresses in IO code.
2012-01-08 15:27:04 +01:00
Ondrej Zajicek
a03ede6493
Fixes a tricky bug in route filtering.
...
Route attributes was used after rta was freed during copy-on-write in
filter code. This causes some random crashes, esp. with multipath
routes.
2012-01-03 00:42:25 +01:00
Ondrej Zajicek
bf6d91dc4e
Use undefined scope for undefined IPv6 addresses.
2011-09-24 11:06:42 +02:00
Ondrej Zajicek
b1b1943360
The generalized TTL security mechanism (RFC 5082) support.
...
Thanks to Alexander V. Chernikov for the patch.
2011-08-16 23:13:05 +02:00
Ondrej Zajicek
93e868c730
Implements Router Advertisement protocol.
2011-03-13 11:33:50 +01:00
Ondrej Zajicek
d5356072ac
Fixes a bug in LSA update of large LSAs.
2010-11-04 17:22:43 +01:00