Programs: networking: Difference between revisions
From wikinotes
No edit summary |
|||
Line 1: | Line 1: | ||
{ | = Ad Blockers = | ||
<blockquote> | |||
{| | |||
| [[pi hole]] | |||
|- | |||
|} | |||
</blockquote><!-- Ad Blockers --> | |||
= | = Connection Management = | ||
<blockquote> | <blockquote> | ||
== BSD == | == BSD == | ||
Line 9: | Line 14: | ||
|- | |- | ||
| [[FreeBSD ifconfig]] | | [[FreeBSD ifconfig]] | ||
|- | |||
| [[FreeBSD route]] | |||
|- | |- | ||
|} | |} | ||
== | == Linux == | ||
{| | {| | ||
|- | |- | ||
Line 35: | Line 42: | ||
</blockquote><!-- Network Connection Management --> | </blockquote><!-- Network Connection Management --> | ||
= | = DNS = | ||
<blockquote> | <blockquote> | ||
{| | {| | ||
|- | |- | ||
| | | [[dnsmasq]] || DNS, DHCP | ||
|- | |||
| [[bind-tools]] || collection of dns tools | |||
|- | |||
| [[whois]] || query registered owners of internet resources/ip blocks | |||
|- | |||
| [[dig]] | |||
|- | |- | ||
| [[ | | [[nslookup]] | ||
|- | |- | ||
| [[ | | [[host]] | ||
|- | |- | ||
| [[ | | [[drill]] | ||
|- | |- | ||
|} | |} | ||
</blockquote><!-- | </blockquote><!-- dns --> | ||
= | = Dynamic DNS = | ||
<blockquote> | <blockquote> | ||
{| | {| | ||
|- | |- | ||
| [[ | | [[noip]] | ||
|- | |- | ||
| [[staticddns]] | |||
|} | |} | ||
</blockquote><!-- | </blockquote><!-- Dynamic DNS services --> | ||
= | = Firewalls = | ||
<blockquote> | <blockquote> | ||
== BSD == | |||
{| | {| | ||
| [[ | | [[pf]] || firewall | ||
|- | |- | ||
|} | |} | ||
= | == linux == | ||
{| | {| | ||
|- | |- | ||
| [[ | | [[nftables]] | ||
|- | |- | ||
| [[ | | [[iptables]] | ||
|- | |- | ||
| [[ | | [[firewalld]] | ||
|- | |- | ||
| | |} | ||
</blockquote><!-- Firewalls --> | |||
= Tools - Monitoring = | |||
<blockquote> | |||
{| | |||
|- | |- | ||
| [[ | | [[pftop]] || monitor traffic through [[pf]] firewall. | ||
|- | |- | ||
| [[ | | [[iftop]] || checks current network activity | ||
|- | |- | ||
| [[ | | [[netstat]] || display connections, routing tables, etc. | ||
|- | |- | ||
| [[ | | [[wireshark]] || traffic introspection | ||
|- | |- | ||
| [[nmap]] || traffic introspection | |||
| [[nmap]] || traffic introspection | |||
|- | |- | ||
| [[tcpdump]] || watch traffic over network interface | | [[tcpdump]] || watch traffic over network interface | ||
|- | |- | ||
| [[nload]] || bandwidth usage by network iface | | [[nload]] || bandwidth usage by network iface | ||
Line 118: | Line 114: | ||
|- | |- | ||
| [[iperf3]] || measure network latency between computers | | [[iperf3]] || measure network latency between computers | ||
|- | |- | ||
|} | |} | ||
</blockquote><!-- Tools - Monitoring --> | |||
= Tools - Table Lookups = | |||
<blockquote> | <blockquote> | ||
{| | {| | ||
|- | |- | ||
| [[ | | [[arp]] || (ipv4) checks table mapping ipv4 addrs to mac addresses | ||
|- | |- | ||
| [[ | | [[nd]] || (ipv6) checks table mapping ipv6 addrs to mac addresses | ||
|- | |- | ||
| [[ | | [[host]] || DNS query | ||
|- | |- | ||
| [[dig]] | | [[dig]] || DNS query | ||
|- | |- | ||
| [[ | | [[traceroute]] || check hops for request | ||
|- | |- | ||
| [[ | | [[sockstat]] || list active ports/sockets | ||
|- | |- | ||
| [[ | | [[nbtscan]] || scan for netbios nameservers on local network | ||
|- | |- | ||
|} | |} | ||
</blockquote><!-- | </blockquote><!-- Tools - Table Lookups --> | ||
= | = Tools - Requests = | ||
<blockquote> | <blockquote> | ||
{| | {| | ||
|- | |- | ||
| [[ | | [[curl]] || make HTTP requests | ||
|- | |||
| [[wget]] || make HTTP requests | |||
|- | |||
| [[netcat]] || make or listen for HTTP requests | |||
|- | |||
| [[mitmproxy]] || HTTPS proxy | |||
|- | |- | ||
|} | |} | ||
</blockquote><!-- | </blockquote><!-- Tools - Requests --> | ||
= VPN = | = VPN = |
Revision as of 21:00, 19 September 2021
Ad Blockers
pi hole
Connection Management
BSD
Freebsd networking FreeBSD ifconfig FreeBSD route Linux
netctl daemon to manage network interfaces network-manager daemon to manage network interfaces mmcli configure modems linux ip configure network interfaces linux iw configure wireless network auditctl audit kernel behaviour win32
netsh windows cli tool to modify/configure network configuration
DNS
dnsmasq DNS, DHCP bind-tools collection of dns tools whois query registered owners of internet resources/ip blocks dig nslookup host drill
Dynamic DNS
noip staticddns
Firewalls
BSD
pf firewall linux
nftables iptables firewalld
Tools - Monitoring
pftop monitor traffic through pf firewall. iftop checks current network activity netstat display connections, routing tables, etc. wireshark traffic introspection nmap traffic introspection tcpdump watch traffic over network interface nload bandwidth usage by network iface ntop web ui for network traffic introspection iperf3 measure network latency between computers
Tools - Table Lookups
arp (ipv4) checks table mapping ipv4 addrs to mac addresses nd (ipv6) checks table mapping ipv6 addrs to mac addresses host DNS query dig DNS query traceroute check hops for request sockstat list active ports/sockets nbtscan scan for netbios nameservers on local network
Tools - Requests
curl make HTTP requests wget make HTTP requests netcat make or listen for HTTP requests mitmproxy HTTPS proxy
VPN
wireguard openvpn torphantom