BGP w/ MD5 and range
Adam Kułagowski
fidor at fidor.org
Tue Jan 28 19:57:42 CET 2020
Hi,
Is the following configuration supported ?
protocol bgp {
debug { states, routes, filters, interfaces, events, packets };
debug all;
ipv4 {
import none;
export filter export_bgp;
};
local as 65001;
neighbor range 0.0.0.0/0 as 65001 internal;
#neighbor 10.255.254.3 as 65001 internal;
password "12345678";
}
If I switch to non-range neighbour everything works fins. However w/ above
configuration in place the BIRD does not react to incoming packet:
# tcpdump -veni any port 179
tcpdump: listening on any, link-type LINUX_SLL (Linux cooked v1), capture
size 262144 bytes
19:41:05.377600 P 02:42:0a:ff:fe:03 ethertype IPv4 (0x0800), length 88:
(tos 0xc0, ttl 64, id 52315, offset 0, flags [DF], proto TCP (6), length 72)
10.255.254.3.35894 > 10.255.254.1.179: Flags [S], cksum 0x123e
(incorrect -> 0xb691), seq 307422819, win 64240, options [nop,nop,md5
shared secret not supplied with -M, can't check -
ee89cc98bcbc5b38f7500c2f751a7612,mss 1460,nop,nop,sackOK,nop,wscale 7],
length 0
However at the same time stracing the BIRD process shows nothing:
# strace -p 8042
strace: Process 8042 attached
restart_syscall(<... resuming interrupted read ...>) = 0
poll([{fd=3, events=POLLIN}, {fd=4, events=POLLIN}, {fd=5,
events=POLLOUT}], 3, 3000) = 0 (Timeout)
poll([{fd=3, events=POLLIN}, {fd=4, events=POLLIN}, {fd=5,
events=POLLOUT}], 3, 3000) = 0 (Timeout)
poll([{fd=3, events=POLLIN}, {fd=4, events=POLLIN}, {fd=5,
events=POLLOUT}], 3, 3000) = 0 (Timeout)
poll([{fd=3, events=POLLIN}, {fd=4, events=POLLIN}, {fd=5,
events=POLLOUT}], 3, 3000) = 0 (Timeout)
poll([{fd=3, events=POLLIN}, {fd=4, events=POLLIN}, {fd=5,
events=POLLOUT}], 3, 3000) = 0 (Timeout)
Am I missing something? The BIRD logs are empty.
Best regards,
Adam
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://trubka.network.cz/pipermail/bird-users/attachments/20200128/30e5045e/attachment.htm>
More information about the Bird-users
mailing list