mirror of
https://github.com/bol-van/zapret2.git
synced 2026-03-13 22:03:09 +00:00
update docs
This commit is contained in:
@@ -5203,6 +5203,15 @@ ipt_first_packets()
|
||||
|
||||
Outputs to stdout: `-m connbytes --connbytes-dir=original --connbytes-mode=packets --connbytes $RANGE`. `RANGE` is defined as "1:$1". If `$1` is "keepalive", nothing is output (no connbytes filter).
|
||||
|
||||
```
|
||||
ipt_port_ipset()
|
||||
# $1 - ipset name
|
||||
# $2 - comma separated port or port range list. ranges are por1-port2
|
||||
```
|
||||
|
||||
Creates "bitmap:port" ipset filled with the supplied port list. If the set already exists it's elements are replaced.
|
||||
|
||||
|
||||
##### Working with nftables
|
||||
|
||||
```
|
||||
|
||||
@@ -5382,6 +5382,14 @@ ipt_first_packets()
|
||||
|
||||
Выдает в stdout "-m connbytes --connbytes-dir=original --connbytes-mode=packets --connbytes $RANGE". RANGE определяется как "1:$1". Если $1 = "keepalive", не выдается ничего (нет фильтра по connbytes).
|
||||
|
||||
```
|
||||
ipt_port_ipset()
|
||||
# $1 - имя ipset
|
||||
# $2 - список портов через запятую. диапазоны через "-"
|
||||
```
|
||||
|
||||
Создает ipset типа bitamp:port со списком портов. Если ipset уже существует, заменяет в нем элементы.
|
||||
|
||||
##### Работа с nftables
|
||||
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user