1.2.1       Windows or Linux Desktop

IP-Sniffer can be called from a Command-Line Window (Windows) or from a Terminal Window (Linux) as following

 

 

//WINDOWS

IpSniff [parameters]

 

//Linux

sudo ipsniff [parameters]

 

 

mandatory Parameters

-a <ip-address>

IP-address of the network adapter

e.g. –a 192.166.29.43

Note: this parameter is mandatory only for Windows systems, on Linux systems no network adapter has to be specified because all Ethernet traffic is analyzed and the appropriate IP-traffic is filtered by the tool 

 

optional Parameters

-h

get help

-f <config-file>

load a configuration provided by a configuration-file

-p <protocol>

defines a protocol filter [0=all 1=ICMP 2=TCP 3=UDP]

-is <ip-addr>

defines a filter for a source IP address

-id <ip-addr>

defines a filter for a destination IP address

-ps <port>

defines a filter for a source port

-pd <port>

defines a filter for a destination port

-log

activates writing of log-data

-dump

output of data in a well-formed readable format

-ipc

activates sending of data via IPC (interprocess communication)

-fr

the entire IP-frame is sent via IPC, otherwise only payload data are sent