Oopenvela-robotiptables: add file lock to prevent concurrent overwrite
| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
nshlib:Add macro restrictions to code that uses floating point numbers Signed-off-by: anjiahao <anjiahao@xiaomi.com> | 2 个月前 | |
iptables: add file lock to prevent concurrent overwrite Signed-off-by: zhanghongyu <zhanghongyu@xiaomi.com> | 2 个月前 | |
apps/system: Add iptables command. Signed-off-by: Zhe Weng <wengzhe@xiaomi.com> | 2 个月前 | |
system/iptables: Support ip6tables & filter table Signed-off-by: Zhe Weng <wengzhe@xiaomi.com> | 2 个月前 | |
system/iptables: Support ip6tables & filter table Signed-off-by: Zhe Weng <wengzhe@xiaomi.com> | 2 个月前 | |
iptables: add file lock to prevent concurrent overwrite Signed-off-by: zhanghongyu <zhanghongyu@xiaomi.com> | 2 个月前 | |
system/iptables: Support filter table Add supports for filter table, usage is same as Linux's iptables, including: - [!] -p/--protocol - [!] -s/--source -d/--destination - [!] -i/--in-interface -o/--out-interface - [!] --sport/--source-port --dport/--destination-port - [!] --icmp-type Examples: > iptables -P FORWARD DROP > iptables -I INPUT -i eth0 ! -p icmp -j DROP > iptables -t filter -A FORWARD -p tcp -s 10.0.1.2/24 -d 10.0.3.4/24 -i eth0 -o eth1 --sport 3000:3200 --dport 123:65535 -j ACCEPT > iptables -t filter -I FORWARD 2 -p icmp ! -s 123.123.123.123 ! -i eth0 -o eth1 ! --icmp-type 255 -j REJECT > iptables -L Chain INPUT (policy ACCEPT) target prot idev odev source destination DROP !icmp eth0 any anywhere anywhere Chain FORWARD (policy DROP) target prot idev odev source destination ACCEPT tcp eth0 eth1 10.0.1.2/24 10.0.3.4/24 tcp spts:3000:3200 dpts:123:65535 REJECT icmp !eth0 eth1 !123.123.123.123/32 anywhere icmp !type 255 Chain OUTPUT (policy ACCEPT) target prot idev odev source destination Note: - We're dropping dependency of argtable3, since it is difficult to support command like '! -p tcp ! -i eth0' Signed-off-by: Zhe Weng <wengzhe@xiaomi.com> | 2 个月前 | |
iptables: fix the ipv4 mask conversion error Signed-off-by: zhanghongyu <zhanghongyu@xiaomi.com> | 2 个月前 |