Quantcast
Channel: MondoUnix » IPTABLES
Viewing all articles
Browse latest Browse all 15

High Performance Firewall – Increase Linux ARP cache size

$
0
0

Verificare i settaggi del server :

# cat /proc/sys/net/ipv4/neigh/default/gc_thresh1
128
# cat /proc/sys/net/ipv4/neigh/default/gc_thresh2
512
# cat /proc/sys/net/ipv4/neigh/default/gc_thresh3
1024

Editare il file /etc/sysctl.conf :

net.ipv4.neigh.default.gc_thresh1 = 512
net.ipv4.neigh.default.gc_thresh2 = 1024
net.ipv4.neigh.default.gc_thresh3 = 2048

Confermare la configurazione eseguendo il comando :

sysctl -p


Viewing all articles
Browse latest Browse all 15