面板API的接口remove_ip_ruleshttp://xxx:8888/plugin?action=a&name=firewall&s=remove_ip_rules
抓包测试按IP删除取消屏蔽必须带上ID
id=1&types=drop&address=1.1.1.1
能否直接按IP删除取消屏蔽?
现在只能先通过
http://xxx:8888/plugin?action=a&name=firewall&s=get_ip_rules_list
获取IP的ID再删除,需要请求2次API
另外这个防火墙API接口有点慢,127.0.0.1请求的
|
|