Re: Programmatically forwarding packets to outgoing interface

2013-09-22 Thread Ihsan Junaidi Ibrahim
Thanks. Is there a specific C API I can use to call this? On Sep 23, 2013, at 12:10 PM, Julian Elischer wrote: > On 9/23/13 11:55 AM, Ihsan Junaidi Ibrahim wrote: >> Hi folks, >> >> I'm trying to learn building a VPN-type application on FreeBSD and I'm >&g

Programmatically forwarding packets to outgoing interface

2013-09-22 Thread Ihsan Junaidi Ibrahim
Hi folks, I'm trying to learn building a VPN-type application on FreeBSD and I'm currently stuck at trying to route packets to outgoing interface. I've managed to push/pop IP packets in a tun(4) interface but now that I can read the inner packet header, I need to route the payload out of the bo

Re: increasing 'requests for jumbo clusters denied'

2013-03-11 Thread Ihsan Junaidi Ibrahim
On Mar 11, 2013, at 4:18 PM, Andre Oppermann wrote: > On 11.03.2013 08:52, Ihsan Junaidi Ibrahim wrote: >> Hi, >> >> I'm on 9.0-RELEASE-p3 and have had a number of instances where my igb0 >> network connectivity locked up under heavy load. > > This probl

increasing 'requests for jumbo clusters denied'

2013-03-11 Thread Ihsan Junaidi Ibrahim
Hi, I'm on 9.0-RELEASE-p3 and have had a number of instances where my igb0 network connectivity locked up under heavy load. I've had another em1 device which I used for side-band access which does not have as much load as my primary igb0 device. I've read previous cases of this but can't seem

SIOCIFCREATE and SIOCIFCREATE2 difference

2013-02-23 Thread Ihsan Junaidi Ibrahim
Hi, What's the internal difference between these two ioctl socket flags? I've looked at sockio.h and notice that they refer to different identifiers. I've created gif(4) via both flags and they both seem to work. Why prefer one over the other? ihsan

getifaddrs() gif tunnel src/dst address

2013-02-17 Thread Ihsan Junaidi Ibrahim
Hi, I've been trying to obtain gif tunnel addresses via getifaddrs() but I've not been able to. The tunnel addresses can be inet/inet6 depending on the scenario. I can however get the inet/inet6 address of the interface. Is there a way to get them? Also looking at if_gif.c, I notice that there

Re: Enable LRO by default on igb

2012-07-12 Thread Ihsan Junaidi Ibrahim
orwarding could verify that there is no problem with it enabled I'd > be happy > to change it to be on by default. > > Jack > > > On Sat, Jul 7, 2012 at 9:01 AM, Ihsan Junaidi Ibrahim wrote: > >> Hi folks, >> >> Just curious is there a r

Enable LRO by default on igb

2012-07-07 Thread Ihsan Junaidi Ibrahim
Hi folks, Just curious is there a reason why LRO isn't turned on by default for igb(4) like for other capabilities? I have a couple of 82575EB igb devices and LRO had to be turned on manually. Thanks.___ freebsd-net@freebsd.org mailing list http://lis

Re: netstat: memstat_sysctl_all: Too many CPUs

2012-03-20 Thread Ihsan Junaidi Ibrahim
AM, Sergey Kandaurov wrote: > On 20 March 2012 21:16, Ihsan Junaidi Ibrahim wrote: >> Hi folks, >> >> While trying to poke around my mbuf stats, I ran across the following error >> message. >> >> ihsan@sv01:~ $ netstat -m >> netstat: memstat_sysctl_all: T

netstat: memstat_sysctl_all: Too many CPUs

2012-03-20 Thread Ihsan Junaidi Ibrahim
Hi folks, While trying to poke around my mbuf stats, I ran across the following error message. ihsan@sv01:~ $ netstat -m netstat: memstat_sysctl_all: Too many CPUs It's an E3-1230 CPU on a Supermicro X9SCM-F with 4G RAM. I'm on 9.0-RELEASE. Has anybody encountered this before? _

Re: kern/147824: [msk]: watchdog timeouts

2010-08-17 Thread Ihsan Junaidi Ibrahim
The following reply was made to PR kern/147824; it has been noted by GNATS. From: Ihsan Junaidi Ibrahim To: bug-follo...@freebsd.org Cc: Subject: Re: kern/147824: [msk]: watchdog timeouts Date: Wed, 18 Aug 2010 06:14:13 +0800 Hi, I believe PR 116853 is related to this. -- Thank you

Re: kern/147824: [msk]: watchdog timeouts

2010-08-17 Thread Ihsan Junaidi Ibrahim
The following reply was made to PR kern/147824; it has been noted by GNATS. From: Ihsan Junaidi Ibrahim To: bug-follo...@freebsd.org, d...@edarb.com Cc: Subject: Re: kern/147824: [msk]: watchdog timeouts Date: Wed, 18 Aug 2010 02:29:09 +0800 --0015174c0fe2fb030f048e091f88 Content-Type: text