Dear all coln,
I have a problem with the nat/firewall of my office:
This is a debian testing box with netfilter
it work fine most of the time, but some time,
one of the Windows XP workstation of my office try to access to many
many ip address. This is maybe another virus or spyware on this bugy
system. but this workstation shudown our network connection.
So, my problem is not to increase the number of
/proc/sys/net/ipv4/ip_conntrack_max
my problem is to forbid a windows workstation to do some kind of DOS
on my firewall ... Because when this table is full, my firewall refuse
to do is job.
So, is there a way to automatically detect this kind of workstation on
the internal network ? and automatically cut connection for this
workstation, purge the table and send a mail to the network
administrator? is there some script for this ?.
I really need help on this stuff,
Guillaume
Here is (a part of) my kernel.log:
....
Jul 22 09:00:03 mars kernel: ip_conntrack: table full, dropping
packet.
Jul 22 09:03:16 mars kernel: ip_conntrack: table full, dropping
packet.
Jul 22 09:03:47 mars last message repeated 4 times
Jul 22 09:05:28 mars kernel: ip_conntrack: table full, dropping
packet.
Jul 22 09:05:53 mars kernel: ip_conntrack: table full, dropping
packet.
Jul 22 09:09:57 mars kernel: ip_conntrack: table full, dropping
packet.
Jul 22 09:11:31 mars kernel: ip_conntrack: table full, dropping
packet.
Jul 22 09:12:29 mars kernel: ip_conntrack: table full, dropping
packet.
Jul 22 09:13:09 mars kernel: ip_conntrack: table full, dropping
packet.
....
In my /proc/net/ip_conntrack there is many many SYNC from the same
internal ip address to many many differents external IP. On this
computer there is no kazaa/mule/game or what ever. In fact there is
nothing running on this WXP workstation (this is a spyware or a virus
or another XP SP2 Bug or ...)
|