Delete connection tracking for udp connection

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,
how can i delete an entry in /proc/net/ip_conntrack for a udp connection?

I am doing NAT and have the following problem:

An internal client sends a udp packet every 10 sekonds.
After the first packet the connection is listet in /proc/net/ip_conntrack.
eg:
source: 192.168.1.1
destionatin: 1.2.3.4
NAT
destionatin: external ip of nat machine (3.4.5.6
source: 1.2.3.4
State: Assured
Timeout: 180-170 (sends every 10 seconds)

now, my external address changes (from 3.4.5.6 -> 4.5.6.7) (reconnect to the
internet).
My problem is, that in /proc/net/ip_conntrack the old address (3.4.5.6) is
listed
How can i delete the connection tracking manually (on reconnect; on change
of external address)?  it will never reach the timeout because the client
sends a new packet every 10 seconds.

Or, is there a possibility to change the ip-address in the connection
tracking table?

Regards 
Andreas



-- 
GMX ProMail mit bestem Virenschutz http://www.gmx.net/de/go/mail
+++ Empfehlung der Redaktion +++ Internet Professionell 10/04 +++


[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux