Hi, I got the same problem when I started to try out the QUEUE target, the reason is that user code needs the module "ip_queue" module.
This module is not loaded when adding a rule with the QUEUE target (This is a nice to have I think!) The solution is simple, just run "modprobe ip_queue", before you run your program. On Friday 15 March 2002 06:31, you wrote: > From: "PAUL FABRICIO VILLACRESES LEON" <[EMAIL PROTECTED]> > To: [EMAIL PROTECTED] > Cc: [EMAIL PROTECTED] > Date: Thu, 14 Mar 2002 19:16:57 +0000 > > [root@firewall iptables-1.2.5]# iptables -t mangle -L > Chain PREROUTING (policy ACCEPT) > target prot opt source destination > QUEUE all -- anywhere anywhere > > Chain OUTPUT (policy ACCEPT) > target prot opt source destination > > [root@firewall iptables-1.2.5]# ./dump > passer: Failed to send netlink message: Connection refused > > I compile dump.c inside folder iptables-1.2.5 with dcc -o dump dump.c > libipq/libipq.a > I don't Know what happen, I proved another examples inside the man page of > libipq but the same problems for example this with a example in tools of > CVS: > > is intercept.c > > [root@firewall iptables-1.2.5]# ./interc FORWARD ACCEPT 1 2 > intercept: Connection refused > intercept: Failed to send netlink message: Illegal seek > [root@firewall iptables-1.2.5]# > > By above output of iptables listing I guess you haven't applied newnat > patch in kernel. I can't say that is a problem but I don't know what was > there for QUEUE in previous netfilter. Since iptables-1.2.4 enableing > Userspace queueing via NETLINK (EXPERIMENTAL) or CONFIG_IP_NF_QUEUE will > solve this problem. If you have that option selected as module then just do > insmod ip_queue. > > HELP ME!!!! > You still getting help ;-) > Is for my Graduation . > Graduation, Profession, Lerner,... all doesn't matter in help for > OpenSource > > :-))) > > I don't know write me another man page that you tell me for more > information > about this . > Hope this won't require you another documents :-) > > From: "Sumit Pandya" <[EMAIL PROTECTED]> > > >To: <[EMAIL PROTECTED]> > >CC: <[EMAIL PROTECTED]> > > > >Hi PAUL, > >Get program from attachment. To get it working you need an entry in > >iptables > ># iptables -t mangle -I PREROUINTG "more filter and match here" -j QUEUE > >then run this program.... with -d option, it will dump packet information. > >Hope this help -- Andries van Schie Let's make the linux-world a safer place to live in ;-)