parent
a1206669e8
commit
7d3baf4131
1 changed files with 5 additions and 0 deletions
|
@ -111,6 +111,11 @@ parse_matching_rule() {
|
||||||
esac
|
esac
|
||||||
ports=1
|
ports=1
|
||||||
;;
|
;;
|
||||||
|
*:connbytes)
|
||||||
|
value="$(echo "$value" | sed -e 's,-,:,g')"
|
||||||
|
add_insmod ipt_connbytes
|
||||||
|
append "$var" "-m connbytes --connbytes $value --connbytes-dir both --connbytes-mode bytes"
|
||||||
|
;;
|
||||||
1:pktsize)
|
1:pktsize)
|
||||||
value="$(echo "$value" | sed -e 's,-,:,g')"
|
value="$(echo "$value" | sed -e 's,-,:,g')"
|
||||||
add_insmod ipt_length
|
add_insmod ipt_length
|
||||||
|
|
Loading…
Reference in a new issue