LE910-SKG AT commands reference guide
80437ST10619A Rev.1 – 2014-09-16
Reproduction forbidden without Telit Communications S.p.A. written authorization - All Rights Reserved
page 221 of 273
#FRWL - Firewall Setup
Note: the firewall applies for incoming (listening) connections only.
Firewall general policy is
DROP
, therefore all packets that are not included into an
ACCEPT
chain rule will be silently discarded.
When a packet comes from the IP address
incoming_IP
, the firewall chain rules
will be scanned for matching with the following criteria:
incoming_IP & <net_mask> = <ip_addr> & <net_mask>
If criteria is matched, then the packet is accepted and the rule scan is finished; if
criteria is not matched for any chain the packet is silently dropped.
AT#FRWL?
Read command reports the list of all
ACCEPT
chain rules registered in the
Firewall settings in the format:
#FRWL: <ip_addr>,<net_mask>
#FRWL: <ip_addr>,<net_mask>
….
OK
AT#FRWL=?
Test command returns the allowed values for parameter
<action>.
Example
Let assume we want to accept connections only from our devices which are on the
IP addresses ranging from
197.158.1.1 to 197.158.255.255
We need to add the following chain to the firewall:
AT#FRWL=1,"197.158.1.1","255.255.0.0"
OK
Note
For outgoing connections made with #SKTD the remote host is dynamically
inserted into the
ACCEPT
chain for all the connection duration. Therefore the
#FRWL
command shall be used only for defining the
#SKTL
behaviour, deciding
which hosts are allowed to connect to the local device.
Rules are not saved in NVM, at startup the rules list will be #FRWL:
“000.000.000.000”,”000.000.000.000”.
#GDATAVOL - GPRS Data Volume
AT#GDATAVOL=
[<mode>]
Execution command reports, for every active PDP context, the amount of data the
last EPS session received and transmitted, or it will report the total amount of data
received and transmitted during all past EPS sessions, since last reset.
Parameter:
<mode>
0 - it resets the EPS data counter for the all the available PDP contexts (1-16)
1 - it reports the last EPS session data counter for the all the set PDP contexts (i.e.
all the PDP contexts with APN parameter set using +CGDCONT), in the
Содержание LE910-SKG
Страница 1: ......