Get raw text for this example (you can click any command below to see its doc)
/* Changes content of trace file Runs as: anettest -d eth0 -f this_file.fws */TRACEsmtp_client.pcapPARAMETERS: <name of trace file>Opens the given trace file for subsequent work with it.// opens trace fileINCLUDEtcpPARAMETERS: <name of file>Starts processing the content of given file. The search of file will be performed in the current directory, all search paths (see option -I). For every path the content of samples, headers, traces folders will be also examined. You can also type just the name of file without INCLUDEbefore it.PARAMETERS: <name of file>Starts processing the content of given file. The search of file will be performed in the current directory, all search paths (see option -I). For every path the content of samples, headers, traces folders will be also examined. You can also type just the name of file without INCLUDEbefore it.PARAMETERS: <name of file>Starts processing the content of given file. The search of file will be performed in the current directory, all search paths (see option -I). For every path the content of samples, headers, traces folders will be also examined. You can also type just the name of file without include before it.// defines the mask for packets which will be modifiedCLEARMASKethproto = ip ip.proto = tcp srcip 194.85.99.33PARAMETERS: no parametersThe mask of packet (the set of previously defined conditions) will be cleared. New mask will correspond to any packet. This command is usually contained in headers to make the mask correspond to all packets of given type (ex: TCP packets).// performs modificationCHTRACE{ PRINTLPARAMETERS: "{" <block of script> "}"The given block of script may contain field's values definitions or command PRINT. These definitions will be applied to every packet from trace file which corresponds the mask described before the command.PARAMETERS: <message>Displays the given message. Use symbol in message to indicate that line feed must be performed.PARAMETERS: <message>Analog of PRINTcommand. Additionally performs the line feed.PARAMETERS: <message>Displays the given message. Use symbol in message to indicate that line feed must be performed.'before:\n$fullpacket$\n'dstip 88.210.60.143 dstport 25 ip.len IPlen tcp.crc TCPcrc ip.crc IPcrc PRINTPARAMETERS: <message>Displays the given message. Use symbol in message to indicate that line feed must be performed.'$srcport$\n'PRINTLPARAMETERS: <message>Analog of PRINTcommand. Additionally performs the line feed.PARAMETERS: <message>Displays the given message. Use symbol in message to indicate that line feed must be performed.'after:\n$fullpacket$\n'} // write// write file to disk