2.3. Utility

2.3.1. geoip

Display GeoIP information.

Description

Display status of GeoIP database and perform manual lookups.

Usage

geoip 
Display statistics.
geoip -filters [-num=<n>] 
Display filter information.
geoip -status 
Display statistics.
geoip -query <IPAddress> 
Lookup IP address to GeoIP location.

Options

-filters
Display current active Geolocation Filters.
-num=<n>
List <n> entries. (Default: 20)
-query
Resolve domain name.
-status
Display status for GeoIP database.
<IPAddress>
IP address to resolve.

2.3.2. traceroute

Trace route.

Description

Print the route packets take to a network host.

Usage

traceroute <host> [-starthop=<1...255>] [-maxhops=<1...255>]
           [-timeout=<1...60000>] [-count=<1...10>]
           [-size=<0...32768>] [-pbr=<table>] [-srcip=<ip address>]
           [-noresolve] [-nodelay] [-6] 
Trace using ICMP.
traceroute -tcp <host> [-port=<1...65535>] [-starthop=<1...255>]
           [-maxhops=<1...255>] [-timeout=<1...60000>]
           [-count=<1...10>] [-pbr=<table>] [-srcip=<ip address>]
           [-noresolve] [-nodelay] [-6] 
Trace using TCP.
traceroute -udp <host> [-port=<1...65535>] [-starthop=<1...255>]
           [-maxhops=<1...255>] [-timeout=<1...60000>]
           [-count=<1...10>] [-size=<0...32768>] [-pbr=<table>]
           [-srcip=<ip address>] [-noresolve] [-nodelay] [-6] 
Trace using UDP.
traceroute -stop 
Stop trace.

Options

-6
Force IPv6 if target is a FQDN.
-count=<1...10>
Number of queries to send for each hop. (Default: 3)
-maxhops=<1...255>
Maximum number of hosts to traverse in search of target. (Default: 30)
-nodelay
Send queries as fast as possible (may look like Denial of Service attack).
-noresolve
Disable reverse DNS lookup of hosts.
-pbr=<table>
Route using PBR Table.
-port=<1...65535>
Destination port.
-size=<0...32768>
Packet data size. (Default: 32)
-srcip=<ip address>
Use this source IP.
-starthop=<1...255>
Initial TTL value. (Default: 1)
-stop
Stop trace in progress.
-tcp
Use TCP instead of ICMP.
-timeout=<1...60000>
How many milliseconds to wait for each reply. (Default: 1000)
-udp
Use UDP instead of ICMP.
<host>
IP address or FQDN of host to trace.