Re: netmap-ipfw on em0 em1

2014-11-04 Thread Luigi Rizzo
On Tue, Nov 04, 2014 at 05:44:43PM -0200, Evandro Nunes wrote: > On Tue, Nov 4, 2014 at 5:26 PM, Luigi Rizzo wrote: ... > >> i gues I am missing a piece of the architecture... > >> > > > > ???probably yes :) > > > > kipfw em1 em2 connects the two interfaces to each other, keeping the > > rest ???

GPON SFP, any technical ideas ?

2014-11-04 Thread Kurt Jaeger
Hi! I got my hands on an GPON G.984.2 ClassB SFP and want to find a way to operate it using FreeBSD. What type of NIC with SFP slots can be recommended for this exotic use case ? It's data sheet: http://www.allnet.de/fileadmin/transfer/products/113608.pdf It's asymmetric with these specs: 1

Re: netmap-ipfw on em0 em1

2014-11-04 Thread Evandro Nunes
On Tue, Nov 4, 2014 at 5:52 PM, Michal Buchtík wrote: > Dne 4.11.2014 20:44, Evandro Nunes napsal(a): > >> # ifconfig "em2" | grep flags >> em2: flags=28d02 >> metric 0 mtu 1500 >> > Hi, > interface is OACTIVE and down. > > Do you try "ifconfig em2 up" ? > hey Michal, strange, both NICs are ad

Re: netmap-ipfw on em0 em1

2014-11-04 Thread Michal Buchtík
Dne 4.11.2014 20:44, Evandro Nunes napsal(a): # ifconfig "em2" | grep flags em2: flags=28d02 metric 0 mtu 1500 Hi, interface is OACTIVE and down. Do you try "ifconfig em2 up" ? Michal ___ freebsd-net@freebsd.org mailing list http://lists.freebsd.org

Re: netmap-ipfw on em0 em1

2014-11-04 Thread Evandro Nunes
On Tue, Nov 4, 2014 at 5:26 PM, Luigi Rizzo wrote: > > > On Tue, Nov 4, 2014 at 11:09 AM, Evandro Nunes > wrote: > >> so, running em1 and em2 only should work? >> >> because I have the same behavior: >> >> # ps wauxw | grep kipfw >> root 61484 0.0 0.0 14648 1824 2 S 5:06PM

Re: netmap-ipfw on em0 em1

2014-11-04 Thread Luigi Rizzo
On Tue, Nov 4, 2014 at 11:09 AM, Evandro Nunes wrote: > so, running em1 and em2 only should work? > > because I have the same behavior: > > # ps wauxw | grep kipfw > root 61484 0.0 0.0 14648 1824 2 S 5:06PM 0:02.95 > ./kipfw em1 em2 > root 61518 0.0 0.0 18804

Re: netmap-ipfw on em0 em1

2014-11-04 Thread Evandro Nunes
so, running em1 and em2 only should work? because I have the same behavior: # ps wauxw | grep kipfw root 61484 0.0 0.0 14648 1824 2 S 5:06PM 0:02.95 ./kipfw em1 em2 root 61518 0.0 0.0 18804 1864 2 S+5:07PM 0:00.00 grep kipfw # /usr/src/tools/too

Re: netmap-ipfw on em0 em1

2014-11-04 Thread Luigi Rizzo
​the user space netmap-ipfw only supports two interfaces, The hard problem in moving to 3+ interfaces is not much the code but deciding where to send a packet once it has passed the filter. Basically, passing things through the kernel stack is simple but performance is going to be no better than

Re: netmap-ipfw on em0 em1

2014-11-04 Thread Evandro Nunes
btw, I am generating traffic via pkt-gen which I can see os received on the other side: # /usr/src/tools/tools/netmap/netmap-7e9e5e7602f5/examples/pkt-gen -i em1 -f tx -l 60 -d 172.16.250.10 643.417060 main [1649] interface is em1 643.417344 extract_ip_range [287] range is 10.0.0.1:0 to 10.0.0.1:

[Bug 190102] [tcp] net.inet.tcp.drop_synfin=1 no longer works on FreeBSD 10+ [regression]

2014-11-04 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=190102 Mark Felder changed: What|Removed |Added Status|In Discussion |Issue Resolved Resolution|--

netmap-ipfw on em0 em1

2014-11-04 Thread Evandro Nunes
hello, I am trying to do some basic stateless filtering with netmap-ipfw. what i have running is: ./kipfw em1 em2 lo0 and when i do ipfw/ipfw show: ipfw/ipfw show connected to 127.0.0.1: nalloc 2248 nbytes 136 ptr 0x0 00100 0 0 allow ip from any to any via lo0 65535 0 0 allow ip from any to

[Bug 136911] [netgraph] [panic] system panic on kldload ng_bpf.ko then options NETGRAPH_BPF is built in

2014-11-04 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=136911 rozhuk...@gmail.com changed: What|Removed |Added Status|In Discussion |Issue Resolved Resolu