- 論壇徽章:
- 0
|
如何將一個(gè)已經(jīng)創(chuàng)建TCP連接斷開?
原帖由 "wufeiwf"]不管用,我對(duì)iptables只是了解,但是我的理解和txkss一樣,這種方式對(duì)已經(jīng)建立的tcp連接有用嗎?而且我用你的命令試過(guò)了,沒有斷開[/quote 發(fā)表:
你是怎么試的?
man iptables
[quote]
state
This module, when combined with connection tracking, allows access to
the connection tracking state for this packet.
--state state
Where state is a comma separated list of the connection states
to match. Possible states are INVALID meaning that the packet
could not be identified for some reason which includes running
out of memory and ICMP errors which don't correspond to any
known connection, ESTABLISHED meaning that the packet is associ-
ated with a connection which has seen packets in both direc-
tions, NEW meaning that the packet has started a new connection,
or otherwise associated with a connection which has not seen
packets in both directions, and RELATED meaning that the packet
is starting a new connection, but is associated with an existing
connection, such as an FTP data transfer, or an ICMP error. |
|