All of lore.kernel.org
 help / color / mirror / Atom feed
* How to use the Intercept.c example in iptables?
@ 2003-06-06  3:31 yong
  0 siblings, 0 replies; 2+ messages in thread
From: yong @ 2003-06-06  3:31 UTC (permalink / raw)
  To: netfilter-devel

Hello All,

I want to use the libipq, I encountered an error message with the Intercepts.c example:

#./a.out LOCAL_IN DROP 5 5

Get the error message:

Intercept: connection refused
Intercept: failed to send netlink message: illegal seek

The ipq_create_handle function returnes the above error message. How to use this example?

Thanks in advance!

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: How to use the Intercept.c example in iptables?
       [not found] <6330DC96389A924A804F52FA3848930E888E48@MBXSRV26.stu.nus.edu.sg>
@ 2003-06-06  5:23 ` yong
  0 siblings, 0 replies; 2+ messages in thread
From: yong @ 2003-06-06  5:23 UTC (permalink / raw)
  To: Colin Cyrille; +Cc: netfilter-devel

Thank you for your help. problem resolved! I did not load the ip_queue module!

Another question, is there any more examples and tutorials about the netfilter? I want to encrypt TCP data, do i must use user space appliction? Can I use a module to process it?

Thank you again!

Yong
----- Original Message ----- 
From: "Colin Cyrille" <engp2437@nus.edu.sg>
To: "yong" <sdssly@sina.com>
Sent: Friday, June 06, 2003 12:44 PM
Subject: RE: How to use the Intercept.c example in iptables?


Have you loaded the following modules :

# modprobe ip_queue
# modprobe iptable_filter

And set up ur filtering 

#iptables -A ...... -j QUEUE


Cyrille

-----Original Message-----
From: yong [mailto:sdssly@sina.com] 
Sent: Friday, June 06, 2003 11:31 AM
To: netfilter-devel@lists.netfilter.org
Subject: How to use the Intercept.c example in iptables?


Hello All,

I want to use the libipq, I encountered an error message with the
Intercepts.c example:

#./a.out LOCAL_IN DROP 5 5

Get the error message:

Intercept: connection refused
Intercept: failed to send netlink message: illegal seek

The ipq_create_handle function returnes the above error message. How to
use this example?

Thanks in advance!


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2003-06-06  5:23 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-06-06  3:31 How to use the Intercept.c example in iptables? yong
     [not found] <6330DC96389A924A804F52FA3848930E888E48@MBXSRV26.stu.nus.edu.sg>
2003-06-06  5:23 ` yong

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.