default_vlan Posted August 19, 2019 Posted August 19, 2019 (edited) Привет всем. Есть 5 серверов. Задумка оптимизировать pf.conf. Правила перебрал. Осталось с лимитами разобраться: set timeout { interval 10, frag 30 } set timeout { tcp.first 120, tcp.opening 30, tcp.established 86400 } set timeout { tcp.closing 900, tcp.finwait 45, tcp.closed 5 } set timeout { udp.first 60, udp.single 30, udp.multiple 60 } set timeout { icmp.first 20, icmp.error 10 } set timeout { other.first 60, other.single 30, other.multiple 60 } set timeout { adaptive.start 0, adaptive.end 0 } set limit { states 10000000, frags 50000 } set loginterface none set block-policy drop set require-order yes set fingerprints "/etc/pf.os" При этом, получаю такие результаты: # /sbin/pfctl -si Status: Enabled for 0 days 06:19:09 Debug: Urgent State Table Total Rate current entries 75059 searches 4014145262 176453.7/s inserts 23256166 1022.3/s removals 23181097 1019.0/s Counters match 35323588 1552.8/s bad-offset 0 0.0/s fragment 1998 0.1/s short 53 0.0/s normalize 60 0.0/s memory 0 0.0/s bad-timestamp 0 0.0/s congestion 0 0.0/s ip-option 3008 0.1/s proto-cksum 0 0.0/s state-mismatch 9438 0.4/s state-insert 66 0.0/s state-limit 0 0.0/s src-limit 0 0.0/s synproxy 0 0.0/s map-failed 0 0.0/s Может у кого есть идеи? Спасибо. Edited August 19, 2019 by default_vlan Вставить ник Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.