UpdateIPRulesRowDetails
Associated with: SCADAPack x70 IP Firewall Tables (on SCADAPack x70 Device Configuration items)
Security permission required to access this method: Configure
A firewall table it used to specify what IP traffic is permitted to leave or enter the SCADAPack x70 device. Use UpdateIPRulesRowDetails to define the services whose traffic is permitted.
This method is the equivalent of updating the row properties within ViewX (see Add and Configure the Entries in an IP Firewall Table).
Use these arguments for updating a row in the IP Firewall table in the Geo SCADA Expert database.
communication loss
- Row (Byte)—Specify the row number within the table (1 to n).
- IPAddress (Long)—Specify the IP address of the traffic source.
- SubnetMask (Long)—Specify the Subnet mask that is required in conjunction with the IP address to identify the range of IP addresses to which this rule applies.
- PermittedServices (Long)—Specify the services in hexadecimal whose IP packets are permitted. The values for permitted services can be combined.
- 1—DNP3OverTCP
- 2—DNP3OverUDP
- 4—ModbusTCPServer
- 20—FTP
- 80—Telnet
- 800—TerminalServerSerialPort1
- 100—TerminalServerSerialPort2
- 2000—TerminalServerSerialPort3
- 4000—TerminalServerSerialPort4
- 200—IEC 60870-5-104
- 10000—HARTPassThrough
- 20000—LogicDebugService
- 40000—PingICMP
- 80000—AllICMP
- 100000—CustomService.
- Description (String)—Description of the Firewall entry.
- TrafficDirection (Byte)—Specify the IP packet direction to which this rule is applied .
- 0—InboundAndOutbound
- 1—Inbound
- 2—Outbound.
- PortNumber (Long)—If Custom Service is selected as a permitted service, specify the port number to which the rule applies.
- Protocol (Byte)—If Custom Service is selected as a permitted service, specify the protocol to which the rule applies.
- 0—TCP
- 1—UDP
- 2—TCP and UDP.
Example:
For IP address 192.168.1.97, you might use the hex value C0A80161.
Example:
For Subnet mask 255.255.0.0, you might use the hex value FFFF0000.
Example:
For a row to be DNP3OverTCP and FTP use the hexadecimal value 21.