hoopycat wrote:
Blocking ICMP traffic breaks various things, such as path MTU discovery. It's recommended to let it pass. Blocking the inbound UDP traffic would be a good idea, though.
Could you post a hunk of the UDP traffic? I'm thinking there might be some pattern in there...
Also, keep in mind that this is apparently generating about ~2 GB of billable traffic per month, or $0.20/mo. It's also probably directed at the IP address you're using, so Cloudflare probably won't even see it. A cost-benefit analysis would be wise before throwing money/time/code at it.
Ok, well I just removed the ICMP rule.
As for blocking inbound UDP traffic, I actually did do that at first, but it slowed down Webmin to a crawl. Because I dont know enough about networking (I live on the application side of things) I decided to quickly remove it.
Below is a dump of log showing both incoming and outgoing:
Dec 31 18:00:06 li154-82 kernel: BANDWIDTH_IN:IN=eth0 OUT= MAC=f2:3c:91:df:8c:41:c8:4c:75:f5:d6:3f:08:00 SRC=222.124.45.209 DST=173.230.144.82 LEN=64 TOS=0x00 PREC=0x00 TTL=246 ID=13264 PROTO=UDP SPT=27739 DPT=53 LEN=44
Dec 31 18:00:06 li154-82 kernel: BANDWIDTH_OUT:IN= OUT=eth0 SRC=173.230.144.82 DST=222.124.45.209 LEN=92 TOS=0x00 PREC=0xC0 TTL=64 ID=40391 PROTO=ICMP TYPE=3 CODE=3 [SRC=222.124.45.209 DST=173.230.144.82 LEN=64 TOS=0x00 PREC=0x00 TTL=246 ID=13264 PROTO=UDP SPT=27739 DPT=53 LEN=44 ]
Dec 31 18:00:06 li154-82 kernel: BANDWIDTH_IN:IN=eth0 OUT= MAC=f2:3c:91:df:8c:41:c8:4c:75:f5:d6:3f:08:00 SRC=110.138.56.212 DST=173.230.144.82 LEN=65 TOS=0x00 PREC=0x00 TTL=246 ID=28 PROTO=UDP SPT=10227 DPT=53 LEN=45
Dec 31 18:00:06 li154-82 kernel: BANDWIDTH_OUT:IN= OUT=eth0 SRC=173.230.144.82 DST=110.138.56.212 LEN=93 TOS=0x00 PREC=0xC0 TTL=64 ID=61369 PROTO=ICMP TYPE=3 CODE=3 [SRC=110.138.56.212 DST=173.230.144.82 LEN=65 TOS=0x00 PREC=0x00 TTL=246 ID=28 PROTO=UDP SPT=10227 DPT=53 LEN=45 ]
Dec 31 18:00:06 li154-82 kernel: BANDWIDTH_IN:IN=eth0 OUT= MAC=f2:3c:91:df:8c:41:c8:4c:75:f5:d6:3f:08:00 SRC=180.251.180.210 DST=173.230.144.82 LEN=60 TOS=0x00 PREC=0x00 TTL=241 ID=10991 PROTO=UDP SPT=10578 DPT=53 LEN=40
Dec 31 18:00:06 li154-82 kernel: BANDWIDTH_OUT:IN= OUT=eth0 SRC=173.230.144.82 DST=180.251.180.210 LEN=88 TOS=0x00 PREC=0xC0 TTL=64 ID=5598 PROTO=ICMP TYPE=3 CODE=3 [SRC=180.251.180.210 DST=173.230.144.82 LEN=60 TOS=0x00 PREC=0x00 TTL=241 ID=10991 PROTO=UDP SPT=10578 DPT=53 LEN=40 ]
Dec 31 18:00:07 li154-82 kernel: BANDWIDTH_IN:IN=eth0 OUT= MAC=f2:3c:91:df:8c:41:c8:4c:75:f5:d6:3f:08:00 SRC=110.138.70.40 DST=173.230.144.82 LEN=62 TOS=0x00 PREC=0x00 TTL=246 ID=9303 PROTO=UDP SPT=14564 DPT=53 LEN=42
Dec 31 18:00:07 li154-82 kernel: BANDWIDTH_OUT:IN= OUT=eth0 SRC=173.230.144.82 DST=110.138.70.40 LEN=90 TOS=0x00 PREC=0xC0 TTL=64 ID=26831 PROTO=ICMP TYPE=3 CODE=3 [SRC=110.138.70.40 DST=173.230.144.82 LEN=62 TOS=0x00 PREC=0x00 TTL=246 ID=9303 PROTO=UDP SPT=14564 DPT=53 LEN=42 ]
Dec 31 18:00:07 li154-82 kernel: BANDWIDTH_IN:IN=eth0 OUT= MAC=f2:3c:91:df:8c:41:c8:4c:75:f5:d6:3f:08:00 SRC=110.138.4.76 DST=173.230.144.82 LEN=60 TOS=0x00 PREC=0x00 TTL=54 ID=40527 PROTO=UDP SPT=10430 DPT=53 LEN=40
Dec 31 18:00:07 li154-82 kernel: BANDWIDTH_OUT:IN= OUT=eth0 SRC=173.230.144.82 DST=110.138.4.76 LEN=88 TOS=0x00 PREC=0xC0 TTL=64 ID=11115 PROTO=ICMP TYPE=3 CODE=3 [SRC=110.138.4.76 DST=173.230.144.82 LEN=60 TOS=0x00 PREC=0x00 TTL=54 ID=40527 PROTO=UDP SPT=10430 DPT=53 LEN=40 ]
Dec 31 18:00:07 li154-82 kernel: BANDWIDTH_IN:IN=eth0 OUT= MAC=f2:3c:91:df:8c:41:c8:4c:75:f5:d6:3f:08:00 SRC=110.139.11.45 DST=173.230.144.82 LEN=60 TOS=0x00 PREC=0x00 TTL=236 ID=4012 PROTO=UDP SPT=29714 DPT=53 LEN=40
Dec 31 18:00:07 li154-82 kernel: BANDWIDTH_OUT:IN= OUT=eth0 SRC=173.230.144.82 DST=110.139.11.45 LEN=88 TOS=0x00 PREC=0xC0 TTL=64 ID=37310 PROTO=ICMP TYPE=3 CODE=3 [SRC=110.139.11.45 DST=173.230.144.82 LEN=60 TOS=0x00 PREC=0x00 TTL=236 ID=4012 PROTO=UDP SPT=29714 DPT=53 LEN=40 ]
Dec 31 18:00:08 li154-82 kernel: BANDWIDTH_IN:IN=eth0 OUT= MAC=f2:3c:91:df:8c:41:c8:4c:75:f5:d6:3f:08:00 SRC=125.166.113.218 DST=173.230.144.82 LEN=73 TOS=0x00 PREC=0x00 TTL=118 ID=4613 PROTO=UDP SPT=12860 DPT=53 LEN=53
Dec 31 18:00:08 li154-82 kernel: BANDWIDTH_OUT:IN= OUT=eth0 SRC=173.230.144.82 DST=125.166.113.218 LEN=101 TOS=0x00 PREC=0xC0 TTL=64 ID=64333 PROTO=ICMP TYPE=3 CODE=3 [SRC=125.166.113.218 DST=173.230.144.82 LEN=73 TOS=0x00 PREC=0x00 TTL=118 ID=4613 PROTO=UDP SPT=12860 DPT=53 LEN=53 ]
Dec 31 18:00:08 li154-82 kernel: BANDWIDTH_IN:IN=eth0 OUT= MAC=f2:3c:91:df:8c:41:c8:4c:75:f5:d6:3f:08:00 SRC=61.94.87.58 DST=173.230.144.82 LEN=65 TOS=0x00 PREC=0x00 TTL=237 ID=7114 PROTO=UDP SPT=11543 DPT=53 LEN=45
Dec 31 18:00:08 li154-82 kernel: BANDWIDTH_OUT:IN= OUT=eth0 SRC=173.230.144.82 DST=61.94.87.58 LEN=93 TOS=0x00 PREC=0xC0 TTL=64 ID=55064 PROTO=ICMP TYPE=3 CODE=3 [SRC=61.94.87.58 DST=173.230.144.82 LEN=65 TOS=0x00 PREC=0x00 TTL=237 ID=7114 PROTO=UDP SPT=11543 DPT=53 LEN=45 ]
Dec 31 18:00:08 li154-82 kernel: BANDWIDTH_IN:IN=eth0 OUT= MAC=f2:3c:91:df:8c:41:c8:4c:75:f5:d6:3f:08:00 SRC=110.138.4.76 DST=173.230.144.82 LEN=60 TOS=0x00 PREC=0x00 TTL=54 ID=40528 PROTO=UDP SPT=10431 DPT=53 LEN=40
Dec 31 18:00:08 li154-82 kernel: BANDWIDTH_OUT:IN= OUT=eth0 SRC=173.230.144.82 DST=110.138.4.76 LEN=88 TOS=0x00 PREC=0xC0 TTL=64 ID=11116 PROTO=ICMP TYPE=3 CODE=3 [SRC=110.138.4.76 DST=173.230.144.82 LEN=60 TOS=0x00 PREC=0x00 TTL=54 ID=40528 PROTO=UDP SPT=10431 DPT=53 LEN=40 ]
Dec 31 18:00:08 li154-82 kernel: BANDWIDTH_IN:IN=eth0 OUT= MAC=f2:3c:91:df:8c:41:c8:4c:75:f5:d6:3f:08:00 SRC=10.252.85.38 DST=173.230.144.82 LEN=61 TOS=0x00 PREC=0x00 TTL=246 ID=5552 PROTO=UDP SPT=10557 DPT=53 LEN=41
Dec 31 18:00:08 li154-82 kernel: BANDWIDTH_OUT:IN= OUT=eth0 SRC=173.230.144.82 DST=10.252.85.38 LEN=89 TOS=0x00 PREC=0xC0 TTL=64 ID=59584 PROTO=ICMP TYPE=3 CODE=3 [SRC=10.252.85.38 DST=173.230.144.82 LEN=61 TOS=0x00 PREC=0x00 TTL=246 ID=5552 PROTO=UDP SPT=10557 DPT=53 LEN=41 ]
Besides this mostly being UDP traffic, the other common attribute for the bad packets seem to be that DPT=53. I have still yet to work out what DPT is. Of course I know it stands for Dynamic Packet Transport, but I don't understand anything more than that.