The sample script is written in TCL (Tool Command Language). TCL is an open-source, cross-platform programming
language. More information is available at www.tcl.tk. The script can be translated to any general purpose
programming language such as C# as long as you retain the program structure.
The sample script is divided into the
following sections identified by
comments "#".
1. Procedures
2. Command Wrappers
3. FTE_Base namespace vars
4. Start of Sample Script
Do not change any script in Procedures and Command Wrappers.
FTE_Base namespace vars Modifications
In the "FTE_Base namespace vars" section you will need to identify the connections for the host and the port.
Near the top of this section locate the following code at or near line number 747 - 748.
set Connections(Host) 0.0.0.0;
set Connections(Port) 22901;
For the Host, change 0.0.0.0 to the IP address of the computer running Automation Server. For example
192.168.10.94.
For the Port number, the default is set to 22901, which is not a common TCP port. It is unlikely that another
application is using this port, so you can leave the Port set to default 22901.
Note:
Before launching the Automation Server, the IP address and IP port—the same as the
script Host and Port values—must be modified in the XML configuration file
FTSAutoServer.exe.config
. This file is located in C:\Program Files\Frontline Test System
II\Frontline ComProbe Protocol Analysis System
[your version]
\Executable\Core\ directory.
The code to modify is <add key="IPAddr" value="0.0.0.0"/> and <add key="Port"
value="22901"/>
Start of Sample Script Modifications
This section is the main part of the program and several lines in the template need to be changed to support your
unique data capture environment. First at or around line 792 we need to input the Host IP address again. Locate
the following code and enter your Host IP address. FTEBaseInit is a procedure that sets up the TCP connection.
FTEBaseInit 192.168.0.90
At or around line 803 change "13.1.830.1052" in the following code to the version of your ComProbe software.
The version number can be found listed with your Frontline installation directory at C:\Program Files
(x86)\Frontline Test System II\. CPASVersion is a varible used in the program to locate your installed version of the
ComProbe software.
set CPASVersion "C:\\Program Files\\Frontline Test System II\\Frontline ComProbe Protocol Analysis
System 13.1.830.1052\\Executables\\Core"
Lastly, you need to identify the "personality" of the ComProbe hardware. On or about line 823 you will change the
following code to replace the text within the quotes with the personality key that matches your sniffing hardware
Appendicies
TELEDYNE LECROY
Frontline 802.11 Hardware & Software User Manual
204