About tcp conntrack with UNREPLIED and ESTABLISHED
When I was using netfilter,rebooted system,then I found a conntrack:
tcp 6 430290 ESTABLISHED src=61.172.241.50 dst=1.2.3.4 sport=21 dport=1055 [UNREPLIED] src=1.2.3.4 dst=61.172.241.50 sport=1055 dport=21 use=1
the srp 1.2.3.4 is my firewall, and my doubt is that why the sport is 21? I think 21 must be a dport, and that UNREPLIED and ESTABLISHED is here, it is impossible, so I think the tcp conntrack with UNREPLIED is invalid,don't you think so?
please help me,thanks.
Quoted 1 line · qianunix
When I was using netfilter,rebooted system,then I found a conntrack:
_please_ always tell us which particular kernel version you are running, and which patches from patch-o-matic you might have applied to that kernel.
Quoted 3 lines
tcp 6 430290 ESTABLISHED src=61.172.241.50 dst=1.2.3.4 sport=21 dport=1055 [UNREPLIED] src=1.2.3.4 dst=61.172.241.50 sport=1055 dport=21 use=1
the srp 1.2.3.4 is my firewall, and my doubt is that why the sport is 21?
because somebody seems to have opened a connection from that source. You can verify this by running netstat. It could also be a spoofed connection, since it is yet unreplied and we don't know if your iptables filtering ruleset has any anti-spoofing rules in place.
Quoted 3 lines
I think 21 must be a dport, and that UNREPLIED and ESTABLISHED is here, it is impossible, so I think the tcp conntrack with UNREPLIED is invalid,don't you think so? please help me,thanks.
Yes. This seems like either a 2.4.10 or a 2.4.20 kernel to me?
Signature · 5 lines
- Harald Welte <[email protected]> http://www.netfilter.org/ ============================================================================ "Fragmentation is like classful addressing -- an interesting early architectural error that shows how much experimentation was going on while IP was being designed." -- Paul Vixie