IP fast forwarding and setkey

2014-09-21 Thread Paul S.

Hi folks,

I plan to make an edge router out of a freebsd system with OpenBGPD + 
FreeBSD 10, or such.


I've been reading up, and noticed that the net.inet.ip.fastforwarding 
flag provides rather nice performance benefits.


My issue is, my upstream networks insist on using TCP MD5 authentication 
on their BGP sessions.


This is fine, except on FreeBSD -- I'm going to have to use the setkey 
utility to set those since native PF_KEY support for OpenBGPD does not 
seem available.


Now, since setkey is part of IPSec, and there are countless warnings 
about using IPSec and fastforwarding together in the manpage, am I 
correct in assuming that this will not work if I have fastforwarding 
enabled?


Is there any way to make it work? Quagga, from what I've read, seems to 
also be in the same boat (Usage of setkey required for TCP MD5).


I tried searching the manpages, but couldn't locate anything concrete on 
this.


Any assistance/replies are welcome.

Thank you!
___
freebsd-net@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to freebsd-net-unsubscr...@freebsd.org


Re: IP fast forwarding and setkey

2014-09-21 Thread Ermal Luçi
If for you is an option pfSense has all the hard work done for you and you
can use it for such installations.

On Sun, Sep 21, 2014 at 12:08 PM, Paul S. cont...@winterei.se wrote:

 Hi folks,

 I plan to make an edge router out of a freebsd system with OpenBGPD +
 FreeBSD 10, or such.

 I've been reading up, and noticed that the net.inet.ip.fastforwarding flag
 provides rather nice performance benefits.

 My issue is, my upstream networks insist on using TCP MD5 authentication
 on their BGP sessions.

 This is fine, except on FreeBSD -- I'm going to have to use the setkey
 utility to set those since native PF_KEY support for OpenBGPD does not seem
 available.

 Now, since setkey is part of IPSec, and there are countless warnings about
 using IPSec and fastforwarding together in the manpage, am I correct in
 assuming that this will not work if I have fastforwarding enabled?

 Is there any way to make it work? Quagga, from what I've read, seems to
 also be in the same boat (Usage of setkey required for TCP MD5).

 I tried searching the manpages, but couldn't locate anything concrete on
 this.

 Any assistance/replies are welcome.

 Thank you!
 ___
 freebsd-net@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-net
 To unsubscribe, send any mail to freebsd-net-unsubscr...@freebsd.org




-- 
Ermal
___
freebsd-net@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to freebsd-net-unsubscr...@freebsd.org


Re: IP fast forwarding and setkey

2014-09-21 Thread Paul S.

Ermal,

I'd prefer a raw BSD installation (Call it a comfort thing, if you will).

Has the pfSense project actually managed to patch OpenBGPD to remove its 
dependency on OpenBSD specific bindings for TCP_MD5?


It might be worth it to just try to build their fork, if that's the case.

Thank you for responding!

On 9/21/2014 午後 07:26, Ermal Luçi wrote:
If for you is an option pfSense has all the hard work done for you and 
you can use it for such installations.


On Sun, Sep 21, 2014 at 12:08 PM, Paul S. cont...@winterei.se 
mailto:cont...@winterei.se wrote:


Hi folks,

I plan to make an edge router out of a freebsd system with
OpenBGPD + FreeBSD 10, or such.

I've been reading up, and noticed that the
net.inet.ip.fastforwarding flag provides rather nice performance
benefits.

My issue is, my upstream networks insist on using TCP MD5
authentication on their BGP sessions.

This is fine, except on FreeBSD -- I'm going to have to use the
setkey utility to set those since native PF_KEY support for
OpenBGPD does not seem available.

Now, since setkey is part of IPSec, and there are countless
warnings about using IPSec and fastforwarding together in the
manpage, am I correct in assuming that this will not work if I
have fastforwarding enabled?

Is there any way to make it work? Quagga, from what I've read,
seems to also be in the same boat (Usage of setkey required for
TCP MD5).

I tried searching the manpages, but couldn't locate anything
concrete on this.

Any assistance/replies are welcome.

Thank you!
___
freebsd-net@freebsd.org mailto:freebsd-net@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to
freebsd-net-unsubscr...@freebsd.org
mailto:freebsd-net-unsubscr...@freebsd.org




--
Ermal


___
freebsd-net@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to freebsd-net-unsubscr...@freebsd.org

Re: IP fast forwarding and setkey

2014-09-21 Thread Ermal Luçi
On Sun, Sep 21, 2014 at 12:31 PM, Paul S. cont...@winterei.se wrote:

  Ermal,

 I'd prefer a raw BSD installation (Call it a comfort thing, if you will).

 Has the pfSense project actually managed to patch OpenBGPD to remove its
 dependency on OpenBSD specific bindings for TCP_MD5?

 It might be worth it to just try to build their fork, if that's the case.

 Thank you for responding!


Yeah OpenBGPd port of pfSense has the support for installing SPDs without
setkey.



 On 9/21/2014 午後 07:26, Ermal Luçi wrote:

 If for you is an option pfSense has all the hard work done for you and you
 can use it for such installations.

 On Sun, Sep 21, 2014 at 12:08 PM, Paul S. cont...@winterei.se wrote:

 Hi folks,

 I plan to make an edge router out of a freebsd system with OpenBGPD +
 FreeBSD 10, or such.

 I've been reading up, and noticed that the net.inet.ip.fastforwarding
 flag provides rather nice performance benefits.

 My issue is, my upstream networks insist on using TCP MD5 authentication
 on their BGP sessions.

 This is fine, except on FreeBSD -- I'm going to have to use the setkey
 utility to set those since native PF_KEY support for OpenBGPD does not seem
 available.

 Now, since setkey is part of IPSec, and there are countless warnings
 about using IPSec and fastforwarding together in the manpage, am I correct
 in assuming that this will not work if I have fastforwarding enabled?

 Is there any way to make it work? Quagga, from what I've read, seems to
 also be in the same boat (Usage of setkey required for TCP MD5).

 I tried searching the manpages, but couldn't locate anything concrete on
 this.

 Any assistance/replies are welcome.

 Thank you!
 ___
 freebsd-net@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-net
 To unsubscribe, send any mail to freebsd-net-unsubscr...@freebsd.org




  --
 Ermal





-- 
Ermal
___
freebsd-net@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to freebsd-net-unsubscr...@freebsd.org

Re: IP fast forwarding and setkey

2014-09-21 Thread Paul S.

Interesting.

Would you happen to know where I could obtain sources to their version 
of OpenBGPD, then?


Thanks!

On 9/21/2014 午後 07:35, Ermal Luçi wrote:



On Sun, Sep 21, 2014 at 12:31 PM, Paul S. cont...@winterei.se 
mailto:cont...@winterei.se wrote:


Ermal,

I'd prefer a raw BSD installation (Call it a comfort thing, if you
will).

Has the pfSense project actually managed to patch OpenBGPD to
remove its dependency on OpenBSD specific bindings for TCP_MD5?

It might be worth it to just try to build their fork, if that's
the case.

Thank you for responding!


Yeah OpenBGPd port of pfSense has the support for installing SPDs 
without setkey.



On 9/21/2014 午後 07:26, Ermal Luçi wrote:

If for you is an option pfSense has all the hard work done for
you and you can use it for such installations.

On Sun, Sep 21, 2014 at 12:08 PM, Paul S. cont...@winterei.se
mailto:cont...@winterei.se wrote:

Hi folks,

I plan to make an edge router out of a freebsd system with
OpenBGPD + FreeBSD 10, or such.

I've been reading up, and noticed that the
net.inet.ip.fastforwarding flag provides rather nice
performance benefits.

My issue is, my upstream networks insist on using TCP MD5
authentication on their BGP sessions.

This is fine, except on FreeBSD -- I'm going to have to use
the setkey utility to set those since native PF_KEY support
for OpenBGPD does not seem available.

Now, since setkey is part of IPSec, and there are countless
warnings about using IPSec and fastforwarding together in the
manpage, am I correct in assuming that this will not work if
I have fastforwarding enabled?

Is there any way to make it work? Quagga, from what I've
read, seems to also be in the same boat (Usage of setkey
required for TCP MD5).

I tried searching the manpages, but couldn't locate anything
concrete on this.

Any assistance/replies are welcome.

Thank you!
___
freebsd-net@freebsd.org mailto:freebsd-net@freebsd.org
mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to
freebsd-net-unsubscr...@freebsd.org
mailto:freebsd-net-unsubscr...@freebsd.org




-- 
Ermal





--
Ermal


___
freebsd-net@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to freebsd-net-unsubscr...@freebsd.org

getting factory MAC address

2014-09-21 Thread clutton
Hi list. I'm relatively new here. So, Hi. :)

I don't know how to read the real MAC, I mean the one which is burned in
ROM. Is it possible from the user space? I've ported GNU macchanger and
it's the last non ported feature.

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=187363

In Linux it can be done like this:
https://github.com/alobbs/macchanger/blob/master/src/netinfo.c#L118


___
freebsd-net@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to freebsd-net-unsubscr...@freebsd.org


[Solved] Re: IP fast forwarding and setkey

2014-09-21 Thread Paul S.
So, just to notify -- I got a copy of the pfsense port of OpenBGPD 
(available from the pfsense-tools repository -- see 
https://forum.pfsense.org/index.php?topic=76132.0) and TCP-MD5 indeed 
does work in the build.


Configuring local-address per peer is mandatory, however. I think it 
uses that to configure the SPDs.


Cheers!

On 9/21/2014 午後 07:35, Ermal Luçi wrote:



On Sun, Sep 21, 2014 at 12:31 PM, Paul S. cont...@winterei.se 
mailto:cont...@winterei.se wrote:


Ermal,

I'd prefer a raw BSD installation (Call it a comfort thing, if you
will).

Has the pfSense project actually managed to patch OpenBGPD to
remove its dependency on OpenBSD specific bindings for TCP_MD5?

It might be worth it to just try to build their fork, if that's
the case.

Thank you for responding!


Yeah OpenBGPd port of pfSense has the support for installing SPDs 
without setkey.



On 9/21/2014 午後 07:26, Ermal Luçi wrote:

If for you is an option pfSense has all the hard work done for
you and you can use it for such installations.

On Sun, Sep 21, 2014 at 12:08 PM, Paul S. cont...@winterei.se
mailto:cont...@winterei.se wrote:

Hi folks,

I plan to make an edge router out of a freebsd system with
OpenBGPD + FreeBSD 10, or such.

I've been reading up, and noticed that the
net.inet.ip.fastforwarding flag provides rather nice
performance benefits.

My issue is, my upstream networks insist on using TCP MD5
authentication on their BGP sessions.

This is fine, except on FreeBSD -- I'm going to have to use
the setkey utility to set those since native PF_KEY support
for OpenBGPD does not seem available.

Now, since setkey is part of IPSec, and there are countless
warnings about using IPSec and fastforwarding together in the
manpage, am I correct in assuming that this will not work if
I have fastforwarding enabled?

Is there any way to make it work? Quagga, from what I've
read, seems to also be in the same boat (Usage of setkey
required for TCP MD5).

I tried searching the manpages, but couldn't locate anything
concrete on this.

Any assistance/replies are welcome.

Thank you!
___
freebsd-net@freebsd.org mailto:freebsd-net@freebsd.org
mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to
freebsd-net-unsubscr...@freebsd.org
mailto:freebsd-net-unsubscr...@freebsd.org




-- 
Ermal





--
Ermal


___
freebsd-net@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to freebsd-net-unsubscr...@freebsd.org

Re: IP fast forwarding and setkey

2014-09-21 Thread Olivier Cochard-Labbé
On Sun, Sep 21, 2014 at 12:08 PM, Paul S. cont...@winterei.se wrote:

 Hi folks,

 I plan to make an edge router out of a freebsd system with OpenBGPD +
 FreeBSD 10, or such.

 I've been reading up, and noticed that the net.inet.ip.fastforwarding flag
 provides rather nice performance benefits.

 My issue is, my upstream networks insist on using TCP MD5 authentication
 on their BGP sessions.

 This is fine, except on FreeBSD -- I'm going to have to use the setkey
 utility to set those since native PF_KEY support for OpenBGPD does not seem
 available.

 Now, since setkey is part of IPSec, and there are countless warnings about
 using IPSec and fastforwarding together in the manpage, am I correct in
 assuming that this will not work if I have fastforwarding enabled?

 Is there any way to make it work? Quagga, from what I've read, seems to
 also be in the same boat (Usage of setkey required for TCP MD5).


fastforwarding is not compatible with IPSec only but can be used with
TCP_MD5 without problem (tested on FreeBSD 10-stable).

Regards,

Olivier
___
freebsd-net@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to freebsd-net-unsubscr...@freebsd.org


Re: IP fast forwarding and setkey

2014-09-21 Thread Jim Thompson


 On Sep 21, 2014, at 10:41, Olivier Cochard-Labbé oliv...@cochard.me wrote:
 
 On Sun, Sep 21, 2014 at 12:08 PM, Paul S. cont...@winterei.se wrote:
 
 Hi folks,
 
 I plan to make an edge router out of a freebsd system with OpenBGPD +
 FreeBSD 10, or such.
 
 I've been reading up, and noticed that the net.inet.ip.fastforwarding flag
 provides rather nice performance benefits.
 
 My issue is, my upstream networks insist on using TCP MD5 authentication
 on their BGP sessions.
 
 This is fine, except on FreeBSD -- I'm going to have to use the setkey
 utility to set those since native PF_KEY support for OpenBGPD does not seem
 available.
 
 Now, since setkey is part of IPSec, and there are countless warnings about
 using IPSec and fastforwarding together in the manpage, am I correct in
 assuming that this will not work if I have fastforwarding enabled?
 
 Is there any way to make it work? Quagga, from what I've read, seems to
 also be in the same boat (Usage of setkey required for TCP MD5).
 fastforwarding is not compatible with IPSec only but can be used with
 TCP_MD5 without problem (tested on FreeBSD 10-stable).

Even this is solvable, and will likely occur in a future version of pfSense. 

Jim

___
freebsd-net@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to freebsd-net-unsubscr...@freebsd.org

Problem reports for freebsd-net@FreeBSD.org that need special attention

2014-09-21 Thread bugzilla-noreply
To view an individual PR, use:
  https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=(Bug Id).

The following is a listing of current problems submitted by FreeBSD users,
which need special attention. These represent problem reports covering
all versions including experimental development code and obsolete releases.

Status  |Bug Id | Description
+---+-
Needs MFC   |183659 | [tcp] TCP stack lock contention with short-live 

1 problems total for which you should take action.
___
freebsd-net@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to freebsd-net-unsubscr...@freebsd.org