This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
linux [2019/09/16 16:09] 127.0.0.1 external edit |
linux [2020/03/06 13:53] (current) ss_wiki_admin |
||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | ==== Memory ==== | ||
| + | == Identify memory usage of TIME_WAIT sockets == | ||
| + | <code bash> | ||
| + | slabtop -o | grep -E ' | ||
| + | OBJS ACTIVE | ||
| + | | ||
| + | 6900 | ||
| + | </ | ||
| + | |||
| ==== OpenSSH ==== | ==== OpenSSH ==== | ||
| Because SSH is incredible.\\ | Because SSH is incredible.\\ | ||
| Line 172: | Line 181: | ||
| </ | </ | ||
| + | ==== Iptables ==== | ||
| + | == icmp rate limiting == | ||
| + | <code bash> | ||
| + | iptables -A INPUT -p icmp -m icmp --icmp-type 8 -m limit --limit 1/second --limit-burst 1 -j ACCEPT | ||
| + | iptables -A OUTPUT -p icmp -m icmp --icmp-type 8 -m limit --limit 1/second --limit-burst 1 -j ACCEPT | ||
| + | </ | ||
| [[Oracle Enterprise Linux]] | [[Oracle Enterprise Linux]] | ||