Article 6FXY5 [SOLVED] Help I am under attack

[SOLVED] Help I am under attack

by
tuxthegreat
from LinuxQuestions.org on (#6FXY5)
I just did my iptables -L and got this Code:27 ACCEPT udp -- anywhere anywhere udp dpt:submission
28 ACCEPT tcp -- anywhere anywhere tcp dpt:submissionI have no idea on how to remove those 2 lines, please help asap.

My entire iptables -L Code:iptables -L --line-numbers
Chain INPUT (policy DROP)
num target prot opt source destination
1 ACCEPT udp -- anywhere anywhere udp dpt:60009
2 ACCEPT tcp -- anywhere anywhere tcp dpt:60009
3 ACCEPT all -- anywhere anywhere
4 ACCEPT all -- anywhere anywhere ctstate RELATED,ESTABLISHED
5 DROP all -- anywhere anywhere ctstate INVALID
6 DROP icmp -- anywhere anywhere
7 ACCEPT tcp -- anywhere anywhere tcp dpt:55090
8 ACCEPT udp -- anywhere anywhere udp dpt:55090
9 ACCEPT tcp -- anywhere anywhere tcp dpt:52111
10 ACCEPT tcp -- anywhere anywhere tcp dpt:52111
11 ACCEPT tcp -- anywhere anywhere tcp dpt:9091
12 ACCEPT tcp -- anywhere anywhere tcp dpt:3551
13 ACCEPT tcp -- anywhere anywhere tcp dpt:http
14 ACCEPT udp -- anywhere anywhere udp dpt:http
15 ACCEPT tcp -- anywhere anywhere tcp dpt:https
16 ACCEPT udp -- anywhere anywhere udp dpt:https
17 ACCEPT udp -- anywhere anywhere udp dpt:domain
18 ACCEPT tcp -- anywhere anywhere tcp dpt:domain
19 ACCEPT tcp -- anywhere anywhere tcp dpt:55090
20 ACCEPT udp -- anywhere anywhere udp dpt:55090
21 ACCEPT udp -- anywhere anywhere udp dpt:52111
22 ACCEPT udp -- anywhere anywhere udp dpt:60009
23 ACCEPT tcp -- anywhere anywhere tcp dpt:60009
24 ACCEPT tcp -- anywhere anywhere tcp dpt:8112
25 ACCEPT udp -- anywhere anywhere udp dpt:8112
26 ACCEPT tcp -- localhost anywhere tcp dpt:58846
27 ACCEPT udp -- anywhere anywhere udp dpt:submission
28 ACCEPT tcp -- anywhere anywhere tcp dpt:submission
When I tried to delete the two offending lines I got thisCode: iptables -D ACCEPT 27
iptables: No chain/target/match by that name.
root@tuxthegreat:~# iptables -D ACCEPT 28
iptables: No chain/target/match by that name. and my kodi is 100% cpu usage

Ok I may have panicked for no good reason, after doing iptables -L -n -v I see that the two unknown addins are made by me the other day but it was by port number, not by name.

Code:iptables -L -n -v
Chain INPUT (policy DROP 45714 packets, 10M bytes)
pkts bytes target prot opt in out source destination
122M 83G ACCEPT udp -- * * 0.0.0.0/0 0.0.0.0/0 udp dpt:60009
40M 160G ACCEPT tcp -- * * 0.0.0.0/0 0.0.0.0/0 tcp dpt:60009
274K 21M ACCEPT all -- lo * 0.0.0.0/0 0.0.0.0/0
487M 954G ACCEPT all -- * * 0.0.0.0/0 0.0.0.0/0 ctstate RELATED,ESTABLISHED
216 18026 DROP all -- * * 0.0.0.0/0 0.0.0.0/0 ctstate INVALID
0 0 DROP icmp -- * * 0.0.0.0/0 0.0.0.0/0
5899K 331M ACCEPT tcp -- * * 0.0.0.0/0 0.0.0.0/0 tcp dpt:55090
307K 37M ACCEPT udp -- * * 0.0.0.0/0 0.0.0.0/0 udp dpt:55090
18 1152 ACCEPT tcp -- * * 0.0.0.0/0 0.0.0.0/0 tcp dpt:52111
0 0 ACCEPT tcp -- * * 0.0.0.0/0 0.0.0.0/0 tcp dpt:52111
178 12125 ACCEPT tcp -- * * 0.0.0.0/0 0.0.0.0/0 tcp dpt:9091
0 0 ACCEPT tcp -- * * 0.0.0.0/0 0.0.0.0/0 tcp dpt:3551
0 0 ACCEPT tcp -- * * 0.0.0.0/0 0.0.0.0/0 tcp dpt:80
0 0 ACCEPT udp -- * * 0.0.0.0/0 0.0.0.0/0 udp dpt:80
0 0 ACCEPT tcp -- * * 0.0.0.0/0 0.0.0.0/0 tcp dpt:443
0 0 ACCEPT udp -- * * 0.0.0.0/0 0.0.0.0/0 udp dpt:443
0 0 ACCEPT udp -- * * 0.0.0.0/0 0.0.0.0/0 udp dpt:53
0 0 ACCEPT tcp -- * * 0.0.0.0/0 0.0.0.0/0 tcp dpt:53
0 0 ACCEPT tcp -- * * 0.0.0.0/0 0.0.0.0/0 tcp dpt:55090
0 0 ACCEPT udp -- * * 0.0.0.0/0 0.0.0.0/0 udp dpt:55090
0 0 ACCEPT udp -- * * 0.0.0.0/0 0.0.0.0/0 udp dpt:52111
0 0 ACCEPT udp -- * * 0.0.0.0/0 0.0.0.0/0 udp dpt:60009
0 0 ACCEPT tcp -- * * 0.0.0.0/0 0.0.0.0/0 tcp dpt:60009
66 4224 ACCEPT tcp -- * * 0.0.0.0/0 0.0.0.0/0 tcp dpt:8112
0 0 ACCEPT udp -- * * 0.0.0.0/0 0.0.0.0/0 udp dpt:8112
0 0 ACCEPT tcp -- * * 127.0.0.1 0.0.0.0/0 tcp dpt:58846
0 0 ACCEPT udp -- * * 0.0.0.0/0 0.0.0.0/0 udp dpt:587
0 0 ACCEPT tcp -- * * 0.0.0.0/0 0.0.0.0/0 tcp dpt:587

Chain FORWARD (policy DROP 0 packets, 0 bytes)
pkts bytes target prot opt in out source destination
0 0 REJECT all -- * * 0.0.0.0/0 0.0.0.0/0 reject-with icmp-host-prohibited

Chain OUTPUT (policy ACCEPT 3236K packets, 201M bytes)
pkts bytes target prot opt in out source destination
274K 21M ACCEPT all -- * lo 0.0.0.0/0 0.0.0.0/0
503M 753G ACCEPT all -- * * 0.0.0.0/0 0.0.0.0/0 ctstate RELATED,ESTABLISHED
18327 960K DROP all -- * * 0.0.0.0/0 0.0.0.0/0 ctstate INVALID
272K 16M ACCEPT tcp -- * * 0.0.0.0/0 0.0.0.0/0 tcp dpt:55090
0 0 ACCEPT udp -- * * 0.0.0.0/0 0.0.0.0/0 udp dpt:55090
0 0 ACCEPT tcp -- * * 0.0.0.0/0 0.0.0.0/0 tcp dpt:52111
3666 220K ACCEPT tcp -- * * 0.0.0.0/0 0.0.0.0/0 tcp dpt:9000
0 0 ACCEPT udp -- * * 0.0.0.0/0 0.0.0.0/0 udp dpt:9000
64 3840 ACCEPT tcp -- * * 0.0.0.0/0 0.0.0.0/0 tcp dpt:60009
5636 271K ACCEPT udp -- * * 0.0.0.0/0 0.0.0.0/0 udp dpt:60009
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments