User Tools

Site Tools


computer_setup:firewall

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
computer_setup:firewall [2021/07/03 10:26] petercomputer_setup:firewall [2021/07/03 11:37] (current) peter
Line 6: Line 6:
  
 <code> <code>
 +cat /sys/module/xt_recent/parameters/ip_list_tot 
 +cat /sys/module/xt_recent/parameters/ip_pkt_lisA
 +cat /sys/module/xt_recent/parameters/ip_list_uid
 +cat /sys/module/xt_recent/parameters/ip_list_tot 
 +
 +echo 100000 > /sys/module/xt_recent/parameters/ip_list_tot 
 +/sbin/modprobe ipt_recent ip_list_tot=100000 ip_pkt_list_tot=255
 +
 most /proc/net/xt_recent/ATTACK most /proc/net/xt_recent/ATTACK
 /proc/net/xt_recent/BANNED1 /proc/net/xt_recent/BANNED1
Line 12: Line 20:
 /proc/net/xt_recent/BANNED4 /proc/net/xt_recent/BANNED4
 /var/log/iptables.log /var/log/iptables.log
 +
 +grep src=64. /proc/net/xt_recent/*
 +echo -64.20.227.134 > /proc/net/xt_recent/ATTACK 
 +echo -64.20.227.134 > /proc/net/xt_recent/BANNED1
 +
 +grep 192.168.1. /proc/net/xt_recent/*
 +wc /proc/net/xt_recent/*
  
 apt install ipcalc apt install ipcalc
Line 80: Line 95:
  
 ---- ----
 +
 +===== Firewall =====
  
 <code bash> <code bash>
computer_setup/firewall.1625308011.txt.gz · Last modified: 2021/07/03 10:26 by peter

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki