linux:networking
Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| linux:networking [2026/03/06 12:49] – created v1ctor | linux:networking [2026/03/27 20:34] (current) – [TCP OFFLOADING] v1ctor | ||
|---|---|---|---|
| Line 13: | Line 13: | ||
| $ scp username@remotehost: | $ scp username@remotehost: | ||
| $ scp file_name.txt username@remotehost:/ | $ scp file_name.txt username@remotehost:/ | ||
| - | $ scp -r dir_name username@remotehost:/ | + | $ scp -r dir_name username@remotehost:/ |
| + | # | ||
| $ scp -6 username@\[2001: | $ scp -6 username@\[2001: | ||
| </ | </ | ||
| Line 28: | Line 29: | ||
| Basic TCP test: | Basic TCP test: | ||
| <code bash> | <code bash> | ||
| - | nc -vz 10.10.0.1 80 # v - verbose; z - just scan for listening daemon, without sending any data to them | + | nc -vz 10.10.0.1 80 # v - verbose; z - just scan for listening daemon, |
| + | # without sending any data to them | ||
| </ | </ | ||
| Line 101: | Line 103: | ||
| <code bash> | <code bash> | ||
| $ sudo ethtool -K ens3 tso off | $ sudo ethtool -K ens3 tso off | ||
| + | </ | ||
| + | |||
| + | |||
| + | ==== CONNECTIONS ==== | ||
| + | |||
| + | Pinpoint the service that's using a port: | ||
| + | <code bash> | ||
| + | $ lsof -i # " | ||
| + | $ lsof -i:22 # filter out only port 22 | ||
| + | $ sudo ls -la / | ||
| + | lrwxrwxrwx 1 user user 0 Aug 17 11:48 / | ||
| </ | </ | ||
linux/networking.1772801350.txt.gz · Last modified: by v1ctor
