Re: Possible bug: 11.2-RELEASE guest with vtnet and PF

2018-08-29 Thread N V
Hello. I confirm this with 11.2-RELEASE-p2 and vtnet interface. # ifconfig vtnet0: flags=8843 metric 0 mtu 1500 options=6c07bb ether ... hwaddr ... inet6 %vtnet0 prefixlen 64 scopeid 0x1 inet6 prefixlen 64 autoconf inet ... netmask 0xff

Re: Possible bug: 11.2-RELEASE guest with vtnet and PF

2018-07-02 Thread Jakub Chromy
... omg.. sorry. I've checked the r333181 revision, but I'm not as capable in C to understand it completely. So it looks like that in up to 11.1-RELEASE, one can run the /sbin/pfctl -n -f ./config successfully without having the pf module loaded. Now in 11.2, the pfctl without pf module in

Re: Possible bug: 11.2-RELEASE guest with vtnet and PF

2018-07-02 Thread Kristof Provost
On 2 Jul 2018, at 16:17, Kristof Provost wrote: Hi Jakub, On 30 Jun 2018, at 17:07, Jakub Chromy wrote: I've just installed a 11.2-RELEASE guest under bhyve (hypervisor is 11.1-RELEASE)... and I cant use Virtio network interface with PF: odine:/boot/kernel# /sbin/pfctl -n -f ~/local/tmp/pf.wo

Re: Possible bug: 11.2-RELEASE guest with vtnet and PF

2018-07-02 Thread Jakub Chromy
... will try without that "-n" parameter also... -- regards Jakub Chromy CGI Systems div. CGI CZ s.r.o. sa...@cgi.cz 775 144 257 234 697 102 www.cgi.cz Dne 02.07.2018 v 16:17 Kristof Provost napsal(a): Hi Jakub, On 30 Jun 2018, at 17:07, Jakub Chromy wrote: I'v

Re: Possible bug: 11.2-RELEASE guest with vtnet and PF

2018-07-02 Thread Jakub Chromy
Hello Kristof, I can give you access to that instance if you wish... -- regards Jakub Chromy CGI Systems div. CGI CZ s.r.o. sa...@cgi.cz 775 144 257 234 697 102 www.cgi.cz Dne 02.07.2018 v 16:17 Kristof Provost napsal(a): Hi Jakub, On 30 Jun 2018, at 17:07, Jakub Ch

Re: Possible bug: 11.2-RELEASE guest with vtnet and PF

2018-07-02 Thread Kristof Provost
Hi Jakub, On 30 Jun 2018, at 17:07, Jakub Chromy wrote: I've just installed a 11.2-RELEASE guest under bhyve (hypervisor is 11.1-RELEASE)... and I cant use Virtio network interface with PF: odine:/boot/kernel# /sbin/pfctl -n -f ~/local/tmp/pf.work *pfctl: pfi_get_ifaces: Bad file descriptor*

Re: Possible bug: 11.2-RELEASE guest with vtnet and PF

2018-06-30 Thread Jakub Chromy
... problem replicated with e1000 / em driver: pass out quick on *em0* proto tcp from any to any keep state -> pfctl: pfi_get_ifaces: Bad file descriptor vs. odine:~# ifconfig -a em0: flags=8843 metric 0 mtu 1500 options=9b     ether 58:9c:fc:04:aa:91     hwaddr 58:9c:fc:04:aa:91    

Possible bug: 11.2-RELEASE guest with vtnet and PF

2018-06-30 Thread Jakub Chromy
Hello guys, I've just installed a 11.2-RELEASE guest under bhyve (hypervisor is 11.1-RELEASE)... and I cant use Virtio network interface with PF: odine:/boot/kernel# /sbin/pfctl -n -f ~/local/tmp/pf.work *pfctl: pfi_get_ifaces: Bad file descriptor* the file contains the following single line