Programs: networking: Difference between revisions

From wikinotes
No edit summary
Line 1: Line 1:
{{ TODO |
= Ad Blockers =
this could be organized better - maybe separate setup/applications/debugging/monitoring? }}
<blockquote>
{|
| [[pi hole]]
|-
|}
</blockquote><!-- Ad Blockers -->


= Network Connection Management =
= Connection Management =
<blockquote>
<blockquote>
== BSD ==
== BSD ==
Line 9: Line 14:
|-
|-
| [[FreeBSD ifconfig]]
| [[FreeBSD ifconfig]]
|-
| [[FreeBSD route]]
|-
|-
|}
|}


== linux ==
== Linux ==
{|
{|
|-
|-
Line 35: Line 42:
</blockquote><!-- Network Connection Management -->
</blockquote><!-- Network Connection Management -->


= Firewalls =
= DNS =
<blockquote>
<blockquote>
== BSD ==
{|
{|
| [[pf]] || firewall
|-
|-
|}
| [[dnsmasq]] || DNS, DHCP
 
|-
== linux ==
| [[bind-tools]] || collection of dns tools
{|
|-
| [[whois]] || query registered owners of internet resources/ip blocks
|-
| [[dig]]
|-
|-
| [[nftables]]
| [[nslookup]]
|-
|-
| [[iptables]]
| [[host]]
|-
|-
| [[firewalld]]
| [[drill]]
|-
|-
|}
|}
</blockquote><!-- Firewalls -->
</blockquote><!-- dns -->


= Monitoring =
= Dynamic DNS =
<blockquote>
<blockquote>
{|
{|
|-
|-
| [[pftop]] || monitor traffic through [[pf]] firewall.
| [[noip]]
|-
|-
| [[staticddns]]
|}
|}
</blockquote><!-- Monitoring -->
</blockquote><!-- Dynamic DNS services -->


= Query Tools =
= Firewalls =
<blockquote>
 
</blockquote><!-- Query Tools -->
 
= Ad Blockers =
<blockquote>
<blockquote>
== BSD ==
{|
{|
| [[pi hole]]
| [[pf]] || firewall
|-
|-
|}
|}
</blockquote><!-- Ad Blockers -->


= Network Tools =
== linux ==
<blockquote>
{|
{|
|-
|-
| [[arp]] || (ipv4) checks table mapping ipv4 addrs to mac addresses
| [[nftables]]
|-
|-
| [[nd]] || (ipv6) checks table mapping ipv6 addrs to mac addresses
| [[iptables]]
|-
|-
| [[host]] || DNS query
| [[firewalld]]
|-
|-
| [[iftop]] || checks current network activity
|}
</blockquote><!-- Firewalls -->
 
= Tools - Monitoring =
<blockquote>
{|
|-
|-
| [[curl]] ||
| [[pftop]] || monitor traffic through [[pf]] firewall.
|-
|-
| [[wget]] ||
| [[iftop]] || checks current network activity
|-
|-
| [[netcat]] ||
| [[netstat]] || display connections, routing tables, etc.
|-
|-
| [[netstat]] ||
| [[wireshark]] || traffic introspection
|-
|-
| [[traceroute]] ||
| [[nmap]] || traffic introspection
|-
| [[dig]] ||
|-
| [[wireshark]] || traffic introspection over network interface
|-
| [[mitmproxy]] ||
|-
| [[nmap]] || traffic introspection over network interface (wireshark cli)
|-
| [[sockstat]] || list active ports/sockets
|-
|-
| [[tcpdump]] || watch traffic over network interface
| [[tcpdump]] || watch traffic over network interface
|-
| [[nbtscan]] ||
|-
|-
| [[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
|-
| [[FreeBSD ifconfig]] ||
|-
| [[FreeBSD route]] ||
|-
|-
|}
|}
</blockquote><!-- Tools - Monitoring -->


See [[Networking Overview]] for lists of tools categorized by network-layer.
= Tools - Table Lookups =
</blockquote><!-- network tools -->
 
= DNS =
<blockquote>
<blockquote>
{|
{|
|-
|-
| [[dnsmasq]] || DNS, DHCP
| [[arp]] || (ipv4) checks table mapping ipv4 addrs to mac addresses
|-
|-
| [[bind-tools]] || collection of dns tools
| [[nd]] || (ipv6) checks table mapping ipv6 addrs to mac addresses
|-
|-
| [[whois]] || query registered owners of internet resources/ip blocks
| [[host]] || DNS query
|-
|-
| [[dig]]
| [[dig]] || DNS query
|-
|-
| [[nslookup]]
| [[traceroute]] || check hops for request
|-
|-
| [[host]]
| [[sockstat]] || list active ports/sockets
|-
|-
| [[drill]]
| [[nbtscan]] || scan for netbios nameservers on local network
|-
|-
|}
|}
</blockquote><!-- dns -->
</blockquote><!-- Tools - Table Lookups -->


= Dynamic DNS =
= Tools - Requests =
<blockquote>
<blockquote>
{|
{|
|-
|-
| [[noip]]
| [[curl]] || make HTTP requests
|-
| [[wget]] || make HTTP requests
|-
| [[netcat]] || make or listen for HTTP requests
|-
| [[mitmproxy]] || HTTPS proxy
|-
|-
| [[staticddns]]
|}
|}
</blockquote><!-- Dynamic DNS services -->
</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