Re: netfilter C++

2002-05-16 Thread Fabrice MARIE
Hello, On Wednesday 15 May 2002 23:06, Dotan Lior wrote: Hi, I'm trying to write a class in C++ that will retreive statistics from iptable in order to find out the traffic on each rule in the NAT table. The problem is that after including iptables.h whenever I'm compiling I get:

Re: netfilter C++

2002-05-16 Thread Harald Welte
On Thu, May 16, 2002 at 03:15:11PM +0800, Fabrice MARIE wrote: I probably didn't understand.. but is there any reason to explicitely cast the pointer to become a 'void *' when the declaration specifically says it is returning an 'ipt_entry_target *' ? Shouldn't it be casted to

USER SPACE ROUTER

2002-05-16 Thread Anand S
We are implementing a user space router for Linux ***Our architecture is as follows User Space Router architecture -- Incoming packet - NETFILTER - Queued

[OT] Off from my email for 5 days.

2002-05-16 Thread Harald Welte
Hi! I just want to let you know: For the first time in several years, I'm now totally off my email for five days [starting with friday, 17th of May to 22nd of May]. So please excuse otherwise unexpected delays in email reply. [if anybody's interested, I'm off for something not computer

help with ipq_set_verdict

2002-05-16 Thread Tassilo Schütz
Hello netfilter-devel-list, maybe my problem has nothing to do specialy with netfilter, but the error comes from ipq_set_verdict. Here is my problem: (all in userspace) I tried to code the example from man 3 libipq with 2 processes. Userspace Packet Queuing I have one parentprocess (control.c)

[Q] Relating multiple streams in conntrack helper

2002-05-16 Thread Brennen Reynolds
I need to relate multiple streams within my conntrack helper module. The problem I am running into is that I do not know one of the port numbers needed for the tuple. I have tried creating a tuple mask that did not look at the unknown port number, but that resulted in only the first stream

Re: invoking script from kernel space??

2002-05-16 Thread William Stearns
Good day, Avinash, On Fri, 17 May 2002, Avinash natarajan wrote: i am asking this question in the wrong group..bear with me.. You are, but we'll point you in the right direction if you're willing to do some more asking in the right place. :-) i am writing a driver for USB

problem when use linux2.4 as firewall

2002-05-16 Thread Ö£´«²¨
i met some problem when use linux2.4 as our firewall. when we use linux2.2 as our firewall it worked well.but when we upgraded to linux2.4 on the same machine,the firewall always lost packets. anyone met the same problem? when i run ping from one side to the other side of the firewall,the