1
0
mirror of https://github.com/hukl/freebsd-toolbox.git synced 2025-11-20 03:08:43 +01:00

Update commands.md

This commit is contained in:
John-Paul Bader
2022-02-02 15:41:04 +01:00
committed by GitHub
parent 233e8d3eaa
commit ded4cca3f2

View File

@ -131,6 +131,9 @@ sysctl kern.ipc.numopensockets # display number of open sockets
vmstat -z | egrep "ITEM|tcpcb" # number of hash table buckets to handle incoming tcp connections
increase net.inet.tcp.tcbhashsize if hitting the limit
sysctl net.inet.tcp.hostcache.list # display current content of hostcache with its parameters per IP
ssh <host> sudo tcpdump \ # Send remote tcpdump output to local wireshark for live analysis
-i em0 -U \
-w - "not port 22" | /path/to/Wireshark -i - -k
```
# Firewall