Concept |  Packet |  Mapper |  Network |  Procotol language |  Utilities |  Launching |  FAQ 

There are two version of the program : gasp which will provide a simple shell (linked with Tcl only) and xgasp which will provide a shell with GUI extensions (linked with Tcl and Tk).

When starting GASP, the interpreter will automatically execute the script called autorun in the current directory if this file exists.

The variable packet_init will contain the result of the tries to open some sockets in order to capture/send data as well as the parameters from the host (MAC and IP address, netmask and MTU). The variable is formatted as shown :

Using device     : dummy0
Packet socket    : failed = Operation not permitted
PCAP socket      : failed = socket: Operation not permitted
Ethernet failed  : Bad file descriptor (using 1:2:3:4:5:6)
IP failed        : Bad file descriptor (using 1.2.3.4)
Netmask failed   : Bad file descriptor (using ffffff00)
MTU failed       : Bad file descriptor (using 1564)
The errors show that the user was not root when he tried to run GASP.


Copyright © 2000 Laurent Riesterer.
Last modified on Mar 2, 2000.