Xonet parts
This is the main window of the program.
Menu
The menu File has this options:
- New workspace:
- Open workspace:
- Save workspace:
- Load packets:
- Save packets:
Add a tab to the main applicaction, the new tab contains a empty workspace.
Open a workspace from a file, this options add a tab with the new workspace.
Save a workspace to a file, it is the workspace whose tab is selected.
Loads one or more packets from a file, the loaded packets are set at the global panel.
Save one or more packet to a file.
Status bar
The status bar appears at the bottom of the main window, is the way the system communicates with the user, provides information about status and possible errors.
Global panel
The global panel is in the right side of the application, it is always visible and independent of tabs.
The global panel serves as communication channel for the tabs, allows the user to move packets between tabs.
Each packet is represented by two fields:
- Name:
- Protocol:
Identifies one packet over other packets, you can change his name by selecting the packet and then clicking on the value.
The protocol field represents the type of packet.
For management, the global panel contains three buttons:
- Move left:
- Move right:
- Delete packet:
Moves the selected packet in the global panel to the current tab.
Moves the selected packet of the current tab (Sniffer or Packet editor) to the global panel.
Removes a packet from the global panel.
Packet editor:
The packet editor can be found in the first tab of the application, is the responsible for creating and modifying packets.
The tab has the following buttons:
- Add header:
- Modify header:
- Delete header:
- Define protocol:
- Clean packet:
Add a header to the current packet. We must select the protocol and the position where we want to insert it. Specifying the USER protocol, we can insert a header created by the user.
Modifies the values of the selected header.
Deletes one header.
Define a new protocol, we can specify the protocol name, the number of fields and the field names.
Removes all headers in the current packet.
Sniffer
In the second tab of the application we can found the sniffer, it is a simple packet analyzer.
As you can see in the picture, each packet is represented by four fields.
- Number:
- Source:
- Destination:
- Protocol:
Identifies the order of packets.
Contains the source IP address of the IP protocol, if the packet does not use the IP protocol then will have the source MAC address of the Ethernet protocol.
Contains the destination IP address of the IP protocol, if the packet does not use the IP protocol then will have the destination MAC address of the Ethernet protocol.
The protocol represents the type of packet.
Selecting a packet will get a more detailed description of all headers in the bottom of the window.
To use the sniffer, the interface has the following buttons:
- Activate:
- Desactivate:
- Stop and clean:
- Network interface:
- Global filters:
- Greater:
- Less:
- Equal:
- Distinct:
- Contains:
- No contiene:
- Pcap filters:
Activate the sniffer, in case there is a problem, we will get a description of the error in the status bar.
Turn off the sniffer.
Turn off the sniffer and clean the window.
Select the network interface and the mode.
Sets the filters that are applied to the captured packets. You can define one or more filters, each filter consists of a protocol, a protocol field, an operation of comparison and a reference value.
Comparison operations are:
Check that the field value is greater than the reference value.
Check that the field value is less than the reference value.
Check that the field value is equal to the reference value.
Check that the field value is distinct from the reference value.
Check that the field value contains the reference value.
Check that the field value does not contain the reference value.
They are the libpcap filters, are the same ones used by Tcpdump.
Note: Pcap filters are applied first and then global filters. Packets that do not pass the pcap filters are not decoded, this means less effort for the application..
Workspace
Workspaces can be found on the last tab, by default there is only one open, but you can have all you need.
- Activate:
- Desactivate:
- Clean workspace:
- Add packet inyection:
- Packet:
- Interface:
- Operation:
- Simple: Sends the packet once.
- Several: Send the packet several times, you must specify the number of packets.
- Range: Send multiple packets based on the main packet. The user define a range of values for some field of the packet and the application take cares of sending the packets. The format of the range is value1 value2-value3-. . . . -valueN.
- Infinite: Send the same packet until the user turn off the workspace.
- Threads:
- Time (seconds):
- Add packet modification:
- Sniffer interface:
- Inyection interface:
- Global filters:
- Modifications:
- Filter:
- Mods:
- Add waiting time:
- Add waiting condition:
- Interface:
- Filter:
Executes the operations defined in the workspace.
Stop all active operations.
Delete all operations.
Add a packet injection operation. The configuration options are:
Specifies the packet that will be sent.
Specifies the network interface.
Specifies the number of threads used. Increase the number of threads implies a larger number of packets sent per unit time.
Sets the time between each packet.
Add a packet modification operation, this operation can receive packets, filter, modify and forward them. It is configured with the following parameters:
Sets the network interface to capture packets.
Sets the network interface to send packets.
Global filters define the packet forwarding. All packets that pass these filters are always forwarded by the selected interface.
Defines modificationes on the packets, you can define several modifications. Each modification is composed of two elements:
Specify the filters of each modification, the packets that pass the filters will be modified. In case the filter is empty all packets are accepted.
Define the changes, it is necessary to select a protocol, a field and a value, and it is also possible to select the specific bytes to modify.
Note 1: If a protocol is not in the packet then the modification is dropped.
Set a time between operations, time is defined in seconds.
This operation defines a condition of waiting, the workspace is stopped until the condition is satisfied. The condition is specified with these parameters:
Set the network interface to capture packets.
Set the de condition.
Shortcuts:
Keys | Action |
---|---|
Control+N | Add a new workspace. |
Control+O | Open a workspace. |
Control+S | Save a workspace. |
Control+L | Load packets. |
Control+G | Save packets. |