No connection installed.What is your opinion?Code:
# ss -tuplnNetid State Recv-Q Send-Q Local Address:Port Peer Address:Port Process udp UNCONN 0 0 0.0.0.0:68 0.0.0.0:* users:(("dhclient",pid=495,fd=7)) udp UNCONN 0 0 0.0.0.0:68 0.0.0.0:* users:(("dhclient",pid=494,fd=7)) tcp LISTEN 0 128 0.0.0.0:22 0.0.0.0:* users:(("sshd",pid=599,fd=3)) tcp LISTEN 0 4096 127.0.0.1:9050 0.0.0.0:* users:(("tor",pid=604,fd=6)) tcp LISTEN 0 128 [::]:22 [::]:* users:(("sshd",pid=599,fd=4)) tcp LISTEN 0 4096 *:7070 *:* users:(("v2ray",pid=683,fd=7))
REJECT TCP traffic from ANYWHERE to ANYWHERE through port 7070 with reason ICMP-PORT-UNREACHABLEWhat is your opinion?Code:
# iptables -LChain INPUT (policy ACCEPT)target prot opt source destination REJECT tcp -- anywhere anywhere tcp dpt:7070 flags:FIN,SYN,RST,ACK/SYN #conn dst/32 > 1 reject-with icmp-port-unreachableChain FORWARD (policy ACCEPT)target prot opt source destination Chain OUTPUT (policy ACCEPT)target prot opt source destination
Statistics: Posted by C4H7Cl2O4P — 2024-02-18 11:42