does iptables is thread-safe???

2002-03-31 Thread
Hi, I am writing a linux broadband access server .And I wan't to use multi thread in process iptables .Every thread have their handle by iptc_init(filter), and they use a semaphore to avoid reenter . But when I start my programe,I get the same error message by

sorry ! Does iptables is thread-safe ?

2002-03-31 Thread Ф±ù
Hi, I am writing a linux broadband access server .And I wan't to use multi thread in process iptables .Every thread have their handle by iptc_init(filter), and they use a semaphore to avoid reenter .But when I start my programe,I get the same error message by iptc_strerror(errno),the error

Re: SNAT for local generated traffic

2002-03-31 Thread Harald Welte
On Sun, Mar 31, 2002 at 06:10:35PM +0200, Henrik Nordstrom wrote: Right.. SNAT was rejected by Harald as he sees no use of it. My original patch posted on the netfilter-devel mailinglist supports both for symmetry. snat on locally-geerated packets has always beeen working in the POSTROUTING