Summary: | net/openbgpd: OpenBGPd fails to initiate TCP MD5 sig connexions | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Product: | Ports & Packages | Reporter: | anarcat+register | ||||||||
Component: | Individual Port(s) | Assignee: | Kurt Jaeger <pi> | ||||||||
Status: | Closed FIXED | ||||||||||
Severity: | Affects Many People | CC: | eksffa, garga, mykel, pi | ||||||||
Priority: | Normal | Flags: | pi:
merge-quarterly-
|
||||||||
Version: | Latest | ||||||||||
Hardware: | Any | ||||||||||
OS: | Any | ||||||||||
See Also: | https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=220170 | ||||||||||
Attachments: |
|
Description
anarcat+register
2013-12-06 16:20:02 UTC
Responsible Changed From-To: freebsd-ports-bugs->hrs Over to maintainer (via the GNATS Auto Assign Tool) Created attachment 151804 [details]
OpenBGP port patch for proper tcp md5sig support.
Here is an updated patch against the most recent version of the port. Fully functional, tested w/ MD5 signed BGP session against Cisco iOS, Mikrotik RouterOS and Juniper. Production running for a week now.
i can confirm this patch works. we have been using this in production since january without problems. thanks! files/patch-openbsd-compat_pfkey_compat.c can be removed from port since it's not going to be used anymore Created attachment 160135 [details]
Updated patch from pfSense
This is the last version of the patch used by pfSense for years. I also removed patch-openbsd-compat_pfkey_compat.c since it's not used anymore and bumped PORTREVISION
Just compiled & tested against 10.3 and 11p1 and it works. Important to note that the local-address needs to be set in the neighbor config stanza, and not to use the "other" method w/IPSEC & setkey outside of bgpd.conf. (That method also has problem of SYNs not being signed, so you can't initiate a connection to an MD5 peer in passive mode.) Maintainer timeout (2 years 9 months), implicit approval. Pending QA across supported FreeBSD versions, but we have enough people confirming this patch works to progress. Testbuilds are fine, committed, thanks! A commit references this bug: Author: pi Date: Fri Jan 12 09:03:50 UTC 2018 New revision: 458810 URL: https://svnweb.freebsd.org/changeset/ports/458810 Log: net/openbgpd: Add patches to allow use of TCPMD5 options - For additional details, see this post from 2013: http://lists.freebsd.org/pipermail/freebsd-net/2013-November/037133.html - Please note that this patch is used by pfsense - related changes in the base system have already been integrated, see https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=220170 PR: 184545 Submitted by: anarcat@koumbit.org, eksffa@freebsdbrasil.com.br, garga@FreeBSD.org Reviewed by: mykel@mware.ca Approved by: hrs (maintainer timeout) Changes: head/net/openbgpd/Makefile head/net/openbgpd/files/patch-bgpd_Makefile head/net/openbgpd/files/patch-bgpd_pfkey.c head/net/openbgpd/files/patch-bgpd_session.c head/net/openbgpd/files/patch-openbsd-compat_pfkey_compat.c |