
ENHANCED IP STACK AT COMMANDS
AT Commands for EV-DO-EV3 Modems
Parameters and Values
<n> Enable or disable RI.
0 RI disabled for Socket Listen connect. Default: 0.
50-1150 RI enabled for Socket Listen connect; a negative going pulse is generated on receipt
of connect and <n> is the duration in ms of this pulse.
Firewall Setup #FRWL
Execute command controls the internal firewall settings.
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
Test command returns the allowed values for parameter <action>.
Syntax
Command Command type
AT#FRWL=[<action>,<ip_address>,<net mask>] Execute
AT#FRWL? Read
AT#FRWL=? Test
Parameters and Values
<action> Command action.
0 Remove selected chain.
1 Add an ACCEPT chain.
2 Remove all chains (DROP everything); <ip_addr> and <net_mask> have no meaning
in this case.
<ip_addr> String type, remote address to be added into the ACCEPT chain. Can be any valid IP
address in the format: xxx.xxx.xxx.xxx.
<net_mask> String type, mask to be applied on the <ip_addr>. Can be any valid IP address mask in
the format: xxx.xxx.xxx.xxx.
Command returns OK result code if successful.
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 is silently discarded.
When a packet comes from the IP address incoming_IP, the firewall chain rules are
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.
Kommentare zu diesen Handbüchern