All of lore.kernel.org
 help / color / mirror / Atom feed
* userspace tool for ctnetlink
@ 2003-10-22  2:50 zhengchuanbo
  2003-10-22  3:04 ` Patrick McHardy
  0 siblings, 1 reply; 4+ messages in thread
From: zhengchuanbo @ 2003-10-22  2:50 UTC (permalink / raw)
  To: netfilter-devel

	
I'm trying to add new conntrack to the kernel from userspace. 
The nfnetlink-conntrack patch should be helpful to this. But
what is the userspace tool to do that? Is it iptables2?  I
can't get a version which works. 

regards,
Jack

E-mail: zhengcb@netpower.com.cn 

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

* Re: userspace tool for ctnetlink
  2003-10-22  2:50 zhengchuanbo
@ 2003-10-22  3:04 ` Patrick McHardy
  0 siblings, 0 replies; 4+ messages in thread
From: Patrick McHardy @ 2003-10-22  3:04 UTC (permalink / raw)
  To: zhengchuanbo; +Cc: netfilter-devel@lists.netfilter.org

zhengchuanbo wrote:

>	
>I'm trying to add new conntrack to the kernel from userspace. 
>The nfnetlink-conntrack patch should be helpful to this. But
>what is the userspace tool to do that? Is it iptables2?  I
>can't get a version which works. 
>
>regards,
>Jack
>
>E-mail: zhengcb@netpower.com.cn 
>
>  
>
There is a hacked tool for testing at trash.net/~kaber/ctnetlink.
It should be enough as a starting point if you want to use ctnetlink
with you own software. It is not useful as a general purpose tool
however and is incomplete.

Best regards,
Patrick

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

* userspace tool for ctnetlink
@ 2003-10-22  3:25 zhengchuanbo
  2003-10-22  3:39 ` Patrick McHardy
  0 siblings, 1 reply; 4+ messages in thread
From: zhengchuanbo @ 2003-10-22  3:25 UTC (permalink / raw)
  To: kaber; +Cc: netfilter-devel

Patrick,
	
sorry to disturb you. I got your code ct.tar.gz. There are some
problem when compile. 
first,it reported that the libnfnetlink.h is missed. So I copied
this file from iptables2.
Then it reported some error like this,
	utils.c:225: `IPS_CONFIRMED' undeclared (first use in this function)
	utils.c:225: (Each undeclared identifier is reported only once
	utils.c:225: for each function it appears in.) 
So I don't know if I got the right version.

Best regards,
Jack
zhengcb@netpower.com.cn
	
>	
>I'm trying to add new conntrack to the kernel from userspace. 
>The nfnetlink-conntrack patch should be helpful to this. But
>what is the userspace tool to do that? Is it iptables2?  I
>can't get a version which works. 
>
>regards,
>Jack
>
>E-mail: zhengcb@netpower.com.cn 
>
>  
>
>There is a hacked tool for testing at trash.net/~kaber/ctnetlink.
>It should be enough as a starting point if you want to use ctnetlink
>with you own software. It is not useful as a general purpose tool
>however and is incomplete.

>Best regards,
>Patrick

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

* Re: userspace tool for ctnetlink
  2003-10-22  3:25 userspace tool for ctnetlink zhengchuanbo
@ 2003-10-22  3:39 ` Patrick McHardy
  0 siblings, 0 replies; 4+ messages in thread
From: Patrick McHardy @ 2003-10-22  3:39 UTC (permalink / raw)
  To: zhengchuanbo; +Cc: netfilter-devel@lists.netfilter.org

I'm sorry I deleted my old compile environment just today.
IPS_CONFIRMED should be defined in the kernel header files
so you probably need to adjust the location of these in the
Makefile. IIRC you also need this patch:
http://trash.net/~kaber/ctnetlink/libnfnetlink-nfnl_talk.diff

Best regards,
Patrick

zhengchuanbo wrote:

>Patrick,
>	
>sorry to disturb you. I got your code ct.tar.gz. There are some
>problem when compile. 
>first,it reported that the libnfnetlink.h is missed. So I copied
>this file from iptables2.
>Then it reported some error like this,
>	utils.c:225: `IPS_CONFIRMED' undeclared (first use in this function)
>	utils.c:225: (Each undeclared identifier is reported only once
>	utils.c:225: for each function it appears in.) 
>So I don't know if I got the right version.
>
>Best regards,
>Jack
>zhengcb@netpower.com.cn
>
>  
>

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

end of thread, other threads:[~2003-10-22  3:39 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-10-22  3:25 userspace tool for ctnetlink zhengchuanbo
2003-10-22  3:39 ` Patrick McHardy
  -- strict thread matches above, loose matches on Subject: below --
2003-10-22  2:50 zhengchuanbo
2003-10-22  3:04 ` Patrick McHardy

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.