list_allow_ip

Available since: 1.9.3

List all allow ip rules.

Parameters

None.

Return Value

List reply.

Examples

ssdb 127.0.0.1:8888> list_allow_ip
			  key
-----------------
			  all
1 result(s) (0.000 sec)
(0.000 sec)
ssdb 127.0.0.1:8888> add_allow_ip 127.0.0.1
ok
(0.000 sec)
ssdb 127.0.0.1:8888> list_allow_ip
			  key
-----------------
		127.0.0.1
1 result(s) (0.000 sec)
(0.000 sec)
ssdb 127.0.0.1:8888> del_allow_ip 1.1.1.1
ok
(0.000 sec)
ssdb 127.0.0.1:8888> list_allow_ip
			  key
-----------------
		127.0.0.1
1 result(s) (0.000 sec)
(0.000 sec)
ssdb 127.0.0.1:8888> del_allow_ip 127.0.0.1
ok
(0.000 sec)
ssdb 127.0.0.1:8888> list_allow_ip
			  key
-----------------
0 result(s) (0.000 sec)
(0.000 sec)
ssdb 127.0.0.1:8888>