Re: DNS ALG

2002-06-11 Thread andre achternaam
Hi Tommy & others, At my gateway I have already installed DNS together with DHCP (Bind isc) when a lease is hand out the DHCP will update the DNS as well. (ad-hoc for the people who know i'am talking 'bout). Let's say DHCP adds: host_foo at address 10.0.0.3 than it should not not result in a (e

Re: New target 'ROUTE' and new table 'rsip'

2002-06-11 Thread Harald Welte
On Mon, Jun 10, 2002 at 11:23:12AM +0200, Cédric de Launois wrote: > Source files are available at > http://openresources.info.ucl.ac.be/rsip/netfilter/ > > These files are not yet packaged in any way. Sorry. sounds interesting. For being included with the iptables package, I need a patch ag

Re: [PATCH] DSCP match/target patches

2002-06-11 Thread Harald Welte
On Mon, Jun 10, 2002 at 01:49:13PM +, [EMAIL PROTECTED] wrote: > Hi, > > Here is a simple patch to the DSCP match to allow the use of DiffServ class > names in the matches, in a similar manner to the target. > > Also attached is a one line fix for a typo in the DSCP target where CS6 was > de

Re: [PATCH] small optimization in __ip_conntrack_find()

2002-06-11 Thread Harald Welte
On Sat, Jun 08, 2002 at 01:00:59AM +0200, Martin Josefsson wrote: > Hi, > > Attached is a small optimization for __ip_conntrack_find(). > The way I read the use of the LIST_FIND macro it seems that we are > calling hash_conntrack() for each iteration with the same inparameters. Thanks. My assum

Re: [PATCH] remove exessive timer updates (3/4)

2002-06-11 Thread Harald Welte
On Thu, Jun 06, 2002 at 02:24:04PM +0200, Martin Josefsson wrote: > This patch adds a check to ip_ct_refresh() so it doesn't update the > timer of a connection unless it's been >HZ ticks since the last update. > both del_timer() and add_timer() disables interrupts while > removing/inserting the ti

Re: [Fwd: Bug fixed]

2002-06-11 Thread Harald Welte
> From: zhongyu <[EMAIL PROTECTED]> > To: [EMAIL PROTECTED] > Subject: Bug fixed > Date: 10 Jun 2002 16:23:34 +0800 > > Fix iptable_nat's memory leak problem. ouch. thanks. How can something as obvious as this bug survive for that long time? I'll pass this on for kernel inclusion immediately.

New target 'ROUTE' - cvs patch

2002-06-11 Thread Cédric de Launois
Hi, Here is the patch against the current CVS tree to include the new target 'ROUTE'. The patches have been tested, they work fine for me. Doing patch -p0 < ROUTE.cvs.patch in the same directory as netfilter/ should apply the patch correctly. The new rsip table is not included in this patch,

[PATCH] New 'ROUTE' target - cvs patch

2002-06-11 Thread Cédric de Launois
Hi again, Sorry, I didn't include the ROUTE target patch straight in the body of my last message. It should be better now... apologies... Cédric diff -Nru netfilter.orig/userspace/extensions/.ROUTE-test netfilter/userspace/extensions/.ROUTE-test --- netfilter.orig/userspace/extensions/.ROUTE-

How to close a sock?

2002-06-11 Thread Damiano Bolzoni
Hi, I've posted some days ago about a problem with a lkm. I'm trying to close all the sock that remain too much time in SYN_RECV state. This is how I obtain a pointer to each of them: tcp_listen_lock(); for(i = 0; i < TCP_LHTABLE_SIZE; i++) { sk_copy = tcp_listening_hash[i]; while(sk_copy !=

Re: [PATCH] remove exessive timer updates (3/4)

2002-06-11 Thread Henrik Nordstrom
On Tuesday 11 June 2002 09:59, Harald Welte wrote: > On Thu, Jun 06, 2002 at 02:24:04PM +0200, Martin Josefsson wrote: > > This patch adds a check to ip_ct_refresh() so it doesn't update > > the timer of a connection unless it's been >HZ ticks since the > > last update. both del_timer() and add_ti