Zgate run-time configuration – Zilog EZ80F91GA User Manual
Page 45

UM024502-1012
ZGATE Run-Time Configuration
ZGATE Embedded Security Development Kit
User Manual
33
TCP_PORT.
Defines static filtering list entries for the TCP_PORT_FILTER.
UDP_PORT.
Defines static filtering list entries for the UDP_PORT _FILTER.
is a list of one or more comma-separated items within braces. The format and
meaning of list items depends on the filtering list to which entries are being added. TCP
(and UDP) port number list items must be between 1 and 65535. Ethernet MAC address
list items must be six hexadecimal values separated by colons; e.g.,
ab:cd:ef:01:23:45
. IP address list items must be entered in dotted decimal format
using four numbers between 0 and 255 separated by periods; e.g.,
192.168.2.30
. Ether-
net frame type list values must be between 1 and 65535; IP protocol number list values
must be between 1 and 254.
ZGATE Run-Time Configuration
After system startup, ZGATE’s configuration can be viewed/modified using the ZGATE
shell commands, the web interface, or programmatically through the ZGATE API.
ZGATE’s
zg_save
shell command , the Startup Settings web page, and the
ZGATE_save
API cause ZGATE to save the current ZGATE configuration to the
zg_rules.usr
file in
the Zilog File System (only if the ZTP application includes ZFS support). These saved set-
tings will then be used as the ZGATE start-up configuration the next time the system
restarts.
The ZGATE
zg_restore
shell command, the Startup Settings web page, and the
ZGATE_restore
API cause ZGATE to delete the
zg_rules.usr
file in the Zilog File
System (only if the ZTP application includes ZFS support). As a result, ZGATE will use
the start-up settings in the
zg_rules.def
file in ZFS (only if the ZTP application include
ZFS support) or the configuration settings in the
ZGATE_Conf.c
file that is linked to the
ZTP application as the ZGATE start-up configuration the next time the system restarts.