Re: Как убить tcp соединение?
Stanislav Maslovski -> debian-russian@lists.debian.org @ Sun, 11 Oct 2009 17:13:07 +0400:
>> $ netstat -W -t -n
>> Active Internet connections (w/o servers)
>> Proto Recv-Q Send-Q Local Address Foreign Address State
>> tcp 0 0 94.179.179.252:43485 74.125.65.109:993 ESTABLISHED
>> $ sudo cutter 74.125.65.109
>> openning /proc/net/ip_conntrack: No such file or directory
>> $ sudo modprobe ip_conntrack
>> $ sudo cutter 74.125.65.109
>> No matching connections found
>> $ sudo cutter 94.179.179.252 43485
>> No matching connections found
SM> Это возможно потому, что соединение было установлено до загрузки
SM> conntrack.
>> В багрепортах валяется один одинешинек баг:
>>
>> http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=446343
>>
>> Что посоветуете по сабжу?
SM> iptables -A INPUT -p tcp -s 74.125.65.109 --dport 993 -j REJECT --reject-with tcp-reset
--sport
--
The Eclipse Platform is an open and extensible platform
for anything and yet nothing in particular.
-- apt-cache show eclipse-platform
Reply to: