This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
linux [2020-05-20 T 22:51] admin [SNMP] |
linux [2022-03-28 T 19:07] (current) admin [dig] |
||
|---|---|---|---|
| Line 1065: | Line 1065: | ||
| * -D to list available interfaces | * -D to list available interfaces | ||
| * -n does not resolve name servers, useful if in a slow devices | * -n does not resolve name servers, useful if in a slow devices | ||
| + | * -e Shows Mac address | ||
| * src [ip] / dst [ip] shows you lines with that source or desitnation ip respectivly. | * src [ip] / dst [ip] shows you lines with that source or desitnation ip respectivly. | ||
| * proto [protocal] for types of packages | * proto [protocal] for types of packages | ||
| Line 1078: | Line 1079: | ||
| sudo tcpdump -i eth0 ether host aa: | sudo tcpdump -i eth0 ether host aa: | ||
| This is an excellent page for more options: https:// | This is an excellent page for more options: https:// | ||
| + | ==== dig=== | ||
| + | Use dig to easily lookup what the DNS entry of an ip is. | ||
| + | dig [host] [options] | ||
| + | Some options | ||
| + | * +short to just show the IP address entry | ||
| + | Example to look up what IP google has and what Ip it returns: | ||
| + | User@mend: | ||
| + | 142.251.46.238 | ||
| ==== SSH ==== | ==== SSH ==== | ||
| ssh stands for secure shell. It is a service that allows for you to remote access a terminal using encryption. It is very universally standard and exists on most linux systems or can be easly installed | ssh stands for secure shell. It is a service that allows for you to remote access a terminal using encryption. It is very universally standard and exists on most linux systems or can be easly installed | ||
| Line 1363: | Line 1372: | ||
| * http:// | * http:// | ||
| * http:// | * http:// | ||
| + | * https:// | ||
| + | * http:// | ||
| ==== iperf ==== | ==== iperf ==== | ||
| Iperf is a way of transferring bulk benign files to see pure transfer rates. Here is a good tuturial: [[http:// | Iperf is a way of transferring bulk benign files to see pure transfer rates. Here is a good tuturial: [[http:// | ||