|
Packit |
209cc3 |
The following instructions apply if you have a Linux platform and want
|
|
Packit |
209cc3 |
libpcap to support the Septel range of passive network monitoring cards
|
|
Packit |
209cc3 |
from Intel (http://www.intel.com)
|
|
Packit |
209cc3 |
|
|
Packit |
209cc3 |
1) Install and build the Septel software distribution by following the
|
|
Packit |
209cc3 |
instructions supplied with that package.
|
|
Packit |
209cc3 |
|
|
Packit |
209cc3 |
2) Configure libcap. To allow the 'configure' script to locate the Septel
|
|
Packit |
209cc3 |
software distribution use the '--with-septel' option:
|
|
Packit |
209cc3 |
|
|
Packit |
209cc3 |
./configure --with-septel=DIR
|
|
Packit |
209cc3 |
|
|
Packit |
209cc3 |
where DIR is the root of the Septel software distribution, for example
|
|
Packit |
209cc3 |
/var/src/septel.
|
|
Packit |
209cc3 |
|
|
Packit |
209cc3 |
By default (if you write only ./configure --with-septel) it takes
|
|
Packit |
209cc3 |
./../septel as argument for DIR.
|
|
Packit |
209cc3 |
|
|
Packit |
209cc3 |
If the Septel software is correctly detected 'configure' will
|
|
Packit |
209cc3 |
report:
|
|
Packit |
209cc3 |
|
|
Packit |
209cc3 |
checking whether we have Septel API... yes
|
|
Packit |
209cc3 |
|
|
Packit |
209cc3 |
If 'configure' reports that there is no Septel API, the directory may have been
|
|
Packit |
209cc3 |
incorrectly specified or the Septel software was not built before configuring
|
|
Packit |
209cc3 |
libpcap.
|
|
Packit |
209cc3 |
|
|
Packit |
209cc3 |
See also the libpcap INSTALL.txt file for further libpcap configuration
|
|
Packit |
209cc3 |
options.
|
|
Packit |
209cc3 |
|
|
Packit |
209cc3 |
Building libpcap at this stage will include support for both the native
|
|
Packit |
209cc3 |
packet capture stream and for capturing from Septel cards. To build
|
|
Packit |
209cc3 |
libpcap with only Septel support specify the capture type as 'septel'
|
|
Packit |
209cc3 |
when configuring libpcap:
|
|
Packit |
209cc3 |
|
|
Packit |
209cc3 |
./configure --with-septel=DIR --with-pcap=septel
|
|
Packit |
209cc3 |
|
|
Packit |
209cc3 |
Applications built with libpcap configured in this way will only detect Septel
|
|
Packit |
209cc3 |
cards and will not capture from the native OS packet stream.
|
|
Packit |
209cc3 |
|
|
Packit |
209cc3 |
Note: As mentioned in pcap-septel.c we should first edit the system.txt
|
|
Packit |
209cc3 |
file to change the user part example (UPE) module id to 0xdd instead of
|
|
Packit |
209cc3 |
0x2d for technical reason. So this change in system.txt is crucial and
|
|
Packit |
209cc3 |
things will go wrong if it's not done. System.txt along with config.txt
|
|
Packit |
209cc3 |
are configuration files that are edited by the user before running the
|
|
Packit |
209cc3 |
gctload program that uses these files for initialising modules and
|
|
Packit |
209cc3 |
configuring parameters.
|
|
Packit |
209cc3 |
|
|
Packit |
209cc3 |
----------------------------------------------------------------------
|
|
Packit |
209cc3 |
for more information please contact me : gil_hoyek@hotmail.com
|