Re: Netgraph VLANs on Hyper-V

2020-04-10 Thread Reshad Patuck
xpose not recognized by Hyper-v and maybe other Hypetvisors. > > Myabe someone can shed more light on it. > > Sami > > בתאריך יום ו׳, 10 באפר׳ 2020, 10:07, מאת Reshad Patuck ‏< > reshadpatu...@gmail.com>: > >> Hi, >> >> I am trying to use ng_vlan on Hyper-V

Netgraph VLANs on Hyper-V

2020-04-10 Thread Reshad Patuck
Hi, I am trying to use ng_vlan on Hyper-V to deploy vnet jails. The "Enable MAC address Spoofing" setting on the Hyper-V host is enabled. However when I try to use ng_vlan I am not able to reach the jail. If I change this to if_vlan instead everything works fine. Is there something that creating

Re: Proxy a TCP connection

2018-05-18 Thread Reshad Patuck
Hi, If you are running pf or ipfw on your router you could use a forward rule to forward connections that come in on a certain internet IP and port to a select internal IP or port. If you don't have a firewall running and can install ports on your router have a look at relayd, it should do wha

Re: [netgraph] ng_bpf filter large list of IP addresses

2018-04-25 Thread Reshad Patuck
T, Eugene Grosbein wrote: >31.03.2018 20:46, Reshad Patuck wrote: > ​ >> Please let me know what I am doing wrong with the ngctl config file >and >> if there is another way, maybe something more direct to load a binary >bpf filter directly into ng_bpf. > >There is also netg

Re: [netgraph] ng_bpf filter large list of IP addresses

2018-04-01 Thread Reshad Patuck
Hi Eugene, ​ Yes I do remove the \" and replace it with just " in the file I use with the `ngctl -f` command. ​ Here is the link to the file and everything that I am using to setup the BPF program. ​ https://paste.ee/p/BHOoG ​ It contains the following: - ngtl-command -> the ngctl command which r

Re: [netgraph] ng_bpf filter large list of IP addresses

2018-04-01 Thread Reshad Patuck
gene Grosbein wrote: >31.03.2018 20:46, Reshad Patuck wrote: > >[skip] > >> Please let me know what I am doing wrong with the ngctl config file >and if there is another way, >> maybe something more direct to load a binary bpf filter directly into >ng_bpf. > >[skip] > &

[netgraph] ng_bpf filter large list of IP addresses

2018-03-31 Thread Reshad Patuck
Hey, ​ I am trying to load a bpf filter into netgraph's ng_bpf for filtering out thousands of separate individual IP addresses. ​ I am using a simple c program to generate output that I can load into ng_bpf using a shell. ​ This works fine for upto a list of about 250 IP addresses, but as I get u

Re: [vnet] [epair] epair interface stops working after some time

2018-03-29 Thread Reshad Patuck
Hi, I have filed a bug for this issue and cc'd both of you in it. https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=227100 Best, Reshad On 29 March 2018 6:39:13 PM IST, Kristof Provost wrote: >On 29 Mar 2018, at 14:48, Reshad Patuck wrote: >> pulling the 'net.link.epair.n

Re: [vnet] [epair] epair interface stops working after some time

2018-03-29 Thread Reshad Patuck
you would like me to check ​ Thanks for the help, ​ Reshad On 28 March 2018 12:32:44 AM IST, Kristof Provost wrote: >On 27 Mar 2018, at 20:59, Reshad Patuck wrote: >> The current value of 'net.link.epair.netisr_maxqlen' is 2100, I will >> make it 210. >> Will t

Re: [vnet] [epair] epair interface stops working after some time

2018-03-27 Thread Reshad Patuck
Excellent, will give it a try on a box that I never have this problem on. Will let you know of the symptoms are the same when I trigger it. Best, Reshad On 28 March 2018 12:32:44 AM IST, Kristof Provost wrote: >On 27 Mar 2018, at 20:59, Reshad Patuck wrote: >> The current

Re: [vnet] [epair] epair interface stops working after some time

2018-03-27 Thread Reshad Patuck
uot;Bjoern A. Zeeb" wrote: >On 27 Mar 2018, at 14:40, Kristof Provost wrote: > >> (Re-cc freebsd-net, because this is useful information) >> >> On 27 Mar 2018, at 13:07, Reshad Patuck wrote: >>> The epair crash occurred again today running the epair module

Re: [vnet] [epair] epair interface stops working after some time

2018-01-14 Thread Reshad Patuck
Reshad On Thursday 11 January 2018 2:20:06 AM IST Kristof Provost wrote: > On 5 Jan 2018, at 20:54, Reshad Patuck wrote: > > I have done the following on both servers to test what happens: > > - Created a new epair interface epair3a and epair3b > > - upped both interfaces

[vnet][epair] epair interface stops working after some time

2018-01-05 Thread Reshad Patuck
Hey, I am having a strange issue with one of my servers. I have a couple of VNET jails FreeBSD 12 r321619 set up using if_bridge and epairs. Each VNET jail (and the host too) has a pf firewall limiting inbound traffic. Everything works as intended for some time (1-5 days), services inside the jai

Re: VNET kernel panic on remove renamed interfaces

2017-03-16 Thread Reshad Patuck
.org/base?view=revision&revision=315192 > > >Ayaka > >On Tue, Mar 14, 2017 at 11:25 AM, Reshad Patuck > wrote: >> Hi, >> >> I am trying to use vnet and pf to host multiple (100s of) jails on a >server with a jailed pf router, which will be spun up and dow

Re: VNET kernel panic on remove renamed interfaces

2017-03-15 Thread Reshad Patuck
Looks like my scripts did not come through. Here is a link to them https://paste.ee/p/lB3iE Best, Reshad On 14 March 2017 23:55:23 GMT+05:30, Reshad Patuck wrote: >Hi, > >I am trying to use vnet and pf to host multiple (100s of) jails on a >server with a jailed pf router, which