PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : FreeBSD & openbgpd: pfkey setup failed



403
02.11.08, 18:43
Hi ,

Ich versuche ueber openbgpd mit dem priv. Netz 1.2.3.4 Kontakt aufzunehmen.

/usr/local/sbin/bgpd -n
configuration OK
/usr/local/sbin/bgpd -f /usr/local/etc/bgpd.conf

Leider bekomme ich noch



Nov 2 19:05:53 tc3 bgpd[21454]: md5sig not available, disabling
Nov 2 19:05:53 tc3 bgpd[21454]: neighbor 1.2.3.4 (upstream): pfkey setup failed
Nov 2 19:05:53 tc3 bgpd[21454]: neighbor 2001:4860:0:1001::68 (google-hack): pfkey setup failed
Nov 2 19:06:05 tc3 bgpd[21453]: fatal in RDE: rde_dispatch_imsg_session: pipe closed
Nov 2 19:07:55 tc3 bgpd[21860]: md5sig not available, disabling


bpgd.conf:




peer1="1.2.3.4"
myip="127.0.0.1"

# global
AS 65001

router-id $myip
listen on $myip
holdtime 180
holdtime min 3
fib-update no

neighbor $peer1 {
announce all
# announce IPv4 unicast
remote-as 15169
passive
descr google-hack
multihop 2
holdtime 180
holdtime min 3
tcp md5sig password blah
}

#network 1.2.0.0/8
network 192.168.2/23


any hints? bzw. wie kann ich md5sig ausstellen?


Gruss
403

403
02.11.08, 19:11
FreeBSD hat kein pfkey.

http://lukasz.bromirski.net/projekty/openbgpd/index-en.html

scheint das zu beheben (Patches kamen auch bei Holen des Port)

und hier gibts eine ausfuehrlichere bgpd.conf:

http://www.openbsd.org/cgi-bin/cvsweb/~checkout~/src/etc/bgpd.conf?rev=1.7&content-type=text/plain