When the Java Firewall Simulator GUI starts a new window is created. It is divided into two areas: The main area and the console window. The main area is where the nodes and links are created. In the console window we display all of the information relating to the current simulation on screen.
Creating a new simulation
To create a new simulation the user must select one of the following options:
A dialog box will appear to confirm the creation of a new simulation.
Please note : Selecting ‘yes' in the dialog box, will override the current simulation.
Adding a PC
To add a PC the user must select one of the following two options:
As a result of one of these options a dialog box will appear asking the user to enter a name for the PC. Once a valid PC name has been entered, the PC icon is successfully dropped into the main screen.
Adding a Hub
To add a Hub the user must select one of the following two options:
As a result of one of these options a dialog box will appear asking the user to enter a name for the Hub. Once a valid Hub name has been entered, the Hub icon is successfully dropped into the main screen.
Adding a Router
To add a Router the user must select one of the following two options:
As a result of one of these options a dialog box will appear asking the user to enter a name for the Router. Once a valid Router name has been entered, the Router icon is successfully dropped into the main screen.
Adding a Link
To add a Link connecting two nodes the user must select the Link icon from the toolbar. As a result of Link being selected from the toolbar the user must then click on the first node, drag the mouse over to the second node and then release the mouse button. As a result of this action a dialog box will appear, informing the user of, the name of the link and the nodes interfaces the link will be connected to.
Deleting a Node
To delete a node right click on the selected node and choose ‘delete' from the menu options. This will delete the node from the simulation.
Sending a Ping
To send a ping the user must right click on the selected PC and choose ‘send ping' from the menu options. As a result of this action a dialog box will appear asking the user to enter the IP address of the PC they wish to ping. Information will be displayed to the console window informing the user of latest transaction result.
Setting TCP/IP Properties
To set the TCP/IP properties of node the user must select one of the following two options:
As a result of the one of these options a dialog box will appear asking the user to select the Node Name and the Interface Name. Enter in the IP Address, and the Default Gateway. If all fields are valid a message will be displayed to the console confirming the properties have been set.
Please note: In order to set the TCP/IP properties there must be at least one node created in the simulation.
Node Properties
To display the properties of a particular node right click on the selected node and choose ‘properties' from the menu options. This will display the node information in the console window.
Print ARP Table
To print out the ARP table of a particular node, right click on it and select ‘Print ARP table' from the menu options. This will display the ARP table for that node in the console window.
Clearing the console
To clear the console window, select ‘Environment > Clear Console' from the menu bar.
Clearing the Node Information
To clear the node information, select ‘Environment > Clear Node Information' from the menu bar.
Creating Scenarios
To create a pre-saved scenario select ‘Simulation > Scenario > Selected Scenario' from the menu bar.