Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
misc [2008/11/27 23:31] a |
misc [2012/10/12 09:54] 188.143.232.12 kOWtJFwBRiIG |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Unsorted stuff goes here I guess ====== | + | That's the smart tihnknig we could all benefit from. |
- | + | ||
- | + | ||
- | * [[linux: | + | |
- | * [[tmpfs]] | + | |
- | * [[sql:: | + | |
- | * [[xen|Xen]] | + | |
- | * [[tips: | + | |
- | * [[linux: | + | |
- | * [[iscsi]] | + | |
- | * [[bash]] | + | |
- | + | ||
- | Some simple usage: | + | |
- | + | ||
- | all packets arriving at or departing from 192.168.0.2 | + | |
- | # tcpdump -n host 192.168.0.2 | + | |
- | + | ||
- | To print traffic between 192.168.0.2 and either 10.0.0.4 or 10.0.0.5: | + | |
- | # tcpdump -n host 192.168.0.2 and \( 10.0.0.4 or 10.0.0.5 \) | + | |
- | + | ||
- | To print all IP packets between 192.168.0.2 and any host except 10.0.0.5: | + | |
- | # tcpdump ip -n host 192.168.0.2 and not 10.0.0.5 | + | |
- | + | ||
- | To print all traffic between local hosts and hosts at Berkeley: | + | |
- | # tcpdump net ucb-ether | + | |
- | + | ||
- | To print all ftp traffic through internet gateway xx: | + | |
- | # tcpdump | + | |
- | + | ||
- | To print traffic neither sourced from nor destined for local hosts (if you gateway to one other net, this stuff should never make it onto your local net). | + | |
- | # tcpdump ip and not net localnet | + | |
- | + | ||
- | To print the start and end packets (the SYN and FIN packets) of each TCP conversation that involves a non-local host. | + | |
- | # tcpdump ' | + | |
- | + | ||
- | To print IP packets longer than 576 bytes sent through gateway xx: | + | |
- | # tcpdump ' | + | |
- | + | ||
- | To print IP broadcast or multicast packets that were not sent via ethernet broadcast or multicast: | + | |
- | # tcpdump ' | + | |
- | + | ||
- | To print all ICMP packets that are not echo requests/ | + | |
- | # tcpdump ' | + | |
- | + | ||
- | + | ||
- | //Unsorted links// | + | |
- | + | ||
- | ---- | + | |
- | + | ||
- | * [[http:// | + | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | ==== Usefull links ==== | + | |
- | '' | + | |
- | * [[http:// | + | |
- | * [[http:// | + | |
- | * [[http:// | + | |
- | * [[http:// | + | |
- | * [[http:// | + | |
- | * [[http:// | + | |
- | * [[http:// | + | |
- | * [[http:// | + | |
- | * [[http:// | + | |
- | * [[http:// | + | |
- | * [[http:// | + | |
- | * [[http:// | + | |
- | * [[http:// | + | |
- | * [[http:// | + | |
- | * [[http:// | + | |
- | * [[http:// | + | |
- | * **[[http:// | + |