# DROP\_CTINVALID from unusual IP

**URL:** <https://community.ipfire.org/t/drop-ctinvalid-from-unusual-ip/7525>\
**Category:** Network\
**Created:** [22 March 2022 05:44 UTC](https://community.ipfire.org/t/drop-ctinvalid-from-unusual-ip/7525 "2022-03-22T05:44:46Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![trish](https://community.ipfire.org/user_avatar/community.ipfire.org/trish/32/16863_2.png) [@trish](https://community.ipfire.org/u/trish)\
**Post date:** [22 March 2022 05:44 UTC](https://community.ipfire.org/t/drop-ctinvalid-from-unusual-ip/7525/1 "2022-03-22T05:44:47Z")

</div>

Anyone could explain what this log means? I am getting some weird  
traffic from an IP that belongs to a Government in UA

DROP\_CTINVALID red0 TCP [77.120.110.150]

 ![ukl](https://community.ipfire.org/uploads/default/original/2X/6/6556364ba2280566873ada3d5ccc9c238eabfe12.jpeg)

 ![uu](https://community.ipfire.org/uploads/default/original/2X/5/51b6fde8655fdf42915f8442c3686ae6a424d3a5.jpeg)

---

<div class="post-metadata">

**Author:** ![pmueller](https://community.ipfire.org/user_avatar/community.ipfire.org/pmueller/32/9019_2.png) [@pmueller](https://community.ipfire.org/u/pmueller)\
**Post date:** [22 March 2022 08:59 UTC](https://community.ipfire.org/t/drop-ctinvalid-from-unusual-ip/7525/2 "2022-03-22T08:59:23Z")

</div>

Hi,

since the firewall log in the WebUI is missing some technical details (such as the flags of a packet), could you please post the log message as it appeared in `/var/log/messages` here?

Thanks, and best regards,  
Peter Müller

---

<div class="post-metadata">

**Author:** ![trish](https://community.ipfire.org/user_avatar/community.ipfire.org/trish/32/16863_2.png) [@trish](https://community.ipfire.org/u/trish)\
**Post date:** [22 March 2022 17:03 UTC](https://community.ipfire.org/t/drop-ctinvalid-from-unusual-ip/7525/3 "2022-03-22T17:03:59Z")

</div>

Thank you Peter  
I posted this because I found it interesting that it’s coming from a goverment IP.

Here is the log message, hope it is legible enough.  
kernel: DROP\_CTINVALID IN=red0 OUT= MAC=XX.XX.XX.XX SRC=193.19.152.72 DST=X.X.X.X LEN=44 TOS=0x00 PREC=0x00 TTL=50 ID=50000 PROTO=TCP SPT=80 DPT=47356 WINDOW=16384 RES=0x00 ACK SYN URGP=0 MARK=0x80000000

---

<div class="post-metadata">

**Author:** ![pmueller](https://community.ipfire.org/user_avatar/community.ipfire.org/pmueller/32/9019_2.png) [@pmueller](https://community.ipfire.org/u/pmueller)\
**Post date:** [3 April 2022 09:07 UTC](https://community.ipfire.org/t/drop-ctinvalid-from-unusual-ip/7525/4 "2022-04-03T09:07:59Z")

</div>

Hi,

that’s interesting indeed, as the offending packet was a SYN-ACK (the second packet in a TCP handshake). If the initial SYN was not sent from your IPFire machine or a client behind it, I would expect this packet to have been caught by `NEWNOTSYN`, since it is precisely that.

On the other hand, if the connection _was_ established by one of your devices, I don’t really see why `conntrack` flags it as being invalid.

This makes no sense either way… ☹

Thanks, and best regards,  
Peter Müller
