FarSync Drivers | ![]() |
![]() |
---|
In addition to the farmon utility which will provide a simple hex dump of captured trace, an application called fsfmonUdp is also provided. This utility can send the received trace information to the Windows based FarSite fsmon application for decode and display in either PPP or X.25 format. In addition the trace can be made available Wireshark for further decoding.
There are two versions of the fsfmonUdp supplied, fsfmonUdp_32 for 32-bit systems and fsfmonUdp_64 for 64-bit systems. During the installation procedure the correct version is installed with the generic name fsfmonUdp.
On the Windows PC, install and start the FarSync Line Monitor program.
From the File Menu, select the Recording Mode. This will display the following:
Set the Monitoring Mode to Remote and then press Save. Stop the monitor (if it's already running) and start it again for the settings to take effect.
On the Linux machine, start the fsfmonUdp application with the following parameters:
fsfmonudp -t <fs port> <ip address> 5001 1
where:
<fs port> | Farsync Port being monitored, i.e. hdlc0 |
<ip address> | IP address of PC running FarSync Line Monitor Program or Wireshark |
<port> | TCP or UDP port of the PC running the FarSync Line Monitor Program |
<system id> | Used by Farsync Line Monitor to identify the source of the message |
-c | Monitor a Char Interface |
-d | Display data |
-j | Ignore ECONNREFUSED |
-b | Default RcvBuf |
-B<z> | Set SO_RCVBUF in kbytes |
-f | Flood mode |
-fn<n> | Flood count |
-fw | Flood delay mode |
-fz<n> | Flood frame size |
-q | Generate sequence number |
-r<s> | Delay between TCP connection retry in seconds, default=5 |
-t | Use TCP instead of UDP |
-v<n> | Use version 0 or 1 header |
-w | Minimum delay between sends in microseconds, default=40 |
If the -d option is selected, fsfmonUdp displays the following information:
<timestamp> <sequence> <direction> <length> <data1> <data2>
where:
<timestamp> | Timestamp of the time that the frame was processed by the driver. The number is expressed as the count of milliseconds since the Linux server was last booted. The size of the timestamp field means that the timestamp will wrap every 50 days approximately |
<sequence> | Sequence number of the frame passed to the fsfmonUdp application from the farsync driver. If the numbers are not sequential then the monitor utility indicates that some frames have been lost |
<direction> | tx for frames being sent to the line, rx for frames received from the line |
<Len> | Length of the frame transmitted or received |
<data1> | First byte of data |
<data2> | Second byte of data |
As fsfmonUdp starts and opens the required network device, it may report the interface as down. When the interface is started, e.g. with an ifup hdlc0 command, then the tracing will commence.
To display the trace information in Wireshark, stop the monitor, go to the File Menu, select Recording Mode and select the Wireshark button at the bottom of the screen. If Wireshark has been installed you can now select the "Enable Wireshark Support" tick box.
Now start wireshark and select the FarSync Monitor from the Capture-Interface List. The trace will now be shown in the Wirershark Monitor window.
Copyright © 2001-2021 FarSite Communications Ltd. |
![]() |
---|