Re: Send traffic to itself using real NIC

2012-08-07 Thread Jacques Fourie
On Tue, Aug 7, 2012 at 3:53 PM, Eugene Grosbein wrote: > Hi! > > I'd like to run some stability tests for some L2-transparent > gigabit ethernet network hardware I've got. > > I have one spare FreeBSD 9.1-PRERELEASE with two-ports igb(4) card > and connected both ports using my L2 hardward making

Route re-calculation in ip_output()

2009-10-09 Thread Jacques Fourie
Hi, I've noticed what I believe to be a bug in ip_output(). The piece of code in question is when the firewall changes the destination address of an outgoing packet and the subsequent re-calculation of the route. The issue should be clear from the attached diff - basically what happens is that for

Re: Route re-calculation in ip_output()

2009-10-09 Thread Jacques Fourie
On Fri, Oct 9, 2009 at 5:58 PM, Julian Elischer wrote: > Jacques Fourie wrote: >> >> Hi, >> >> I've noticed what I believe to be a bug in ip_output(). The piece of >> code in question is when the firewall changes the destination address >> of an outgo

m_copymdata() bug?

2010-04-13 Thread Jacques Fourie
It seems as if the m_copymdata() function defined in uipc_mbuf.c has a bug. It uses m_apply to copy data from the source mbuf to the target but in the callback function m_bcopyxxx() the arguments are interpreted in the wrong order. Swapping the 's' and 't' arguments in the declaration of m_bcopyxxx

if_vxlan question

2020-03-19 Thread Jacques Fourie
Hi, I noticed that my FreeBSD box was dropping vxlan packets with higher VNI's. Looking at the code it seems that the check at line 2548 is not correct: if (vxh->vxlh_flags != htonl(VXLAN_HDR_FLAGS_VALID_VNI) || vxh->vxlh_vni & ~htonl(VXLAN_VNI_MASK)) <- Incorrect?

Re: Vector Packet Processing (VPP) portability on FreeBSD

2021-05-10 Thread Jacques Fourie
On Mon, May 10, 2021 at 8:42 AM Rainer Duffner wrote: > > > > Am 10.05.2021 um 13:08 schrieb Francois ten Krooden : > > > > Greetings > > > > We have a vested interest in high-speed IPsec VPN on FreeBSD. We have > started with the porting of VPP (https://fd.io/) to FreeBSD. > > > > Currently we h

Re: Vector Packet Processing (VPP) portability on FreeBSD

2021-05-13 Thread Jacques Fourie
On Thu, May 13, 2021 at 7:27 AM Francois ten Krooden wrote: > > On Thursday, 13 May 2021 13:05 Luigi Rizzo wrote: > > > > On Thu, May 13, 2021 at 10:42 AM Francois ten Krooden > > wrote: > > > > > > Hi > > > > > > Just for info I ran a test using TREX (https://trex-tgn.cisco.com/) > > > Where I