Anonym-tsk / nfqws-keenetic

MIT License
639 stars 50 forks source link

[BUG] проблемы с установкой 2.x #36

Closed statgit closed 2 months ago

statgit commented 2 months ago

После установки opkg install nfqws-keenetic выдает ошибку

Installation successful
iptables v1.4.21: interface name `INPUT_ISP_INTERFACE' must be shorter than IFNAMSIZ (15)
Try `iptables -h' or 'iptables --help' for more information.
iptables v1.4.21: interface name `INPUT_ISP_INTERFACE' must be shorter than IFNAMSIZ (15)
Try `iptables -h' or 'iptables --help' for more information.
iptables v1.4.21: interface name `INPUT_ISP_INTERFACE' must be shorter than IFNAMSIZ (15)
Try `iptables -h' or 'iptables --help' for more information.
ip6tables v1.4.21: interface name `INPUT_ISP_INTERFACE' must be shorter than IFNAMSIZ (15)
Try `ip6tables -h' or 'ip6tables --help' for more information.
ip6tables v1.4.21: interface name `INPUT_ISP_INTERFACE' must be shorter than IFNAMSIZ (15)
Try `ip6tables -h' or 'ip6tables --help' for more information.
Started NFQWS service

Смотрим cat /opt/etc/nfqws/nfqws.conf

там так и стоит,ISP_INTERFACE="INPUT_ISP_INTERFACE" и доп. параметры NFQWS_EXTRA_ARGS="INPUT_EXTRA_ARGS" не подтягивается значение интерфейса который указывал при установке

Модель роутера Hopper (KN-3810)

Anonym-tsk commented 2 months ago

Сделайте

opkg remove nfqws-keenetic
opkg install nfqws-keenetic

и приложите весь вывод пожалуйста

statgit commented 2 months ago
~ # opkg install nfqws-keenetic
Installing nfqws-keenetic (2.0.5) to root...
Downloading https://anonym-tsk.github.io/nfqws-keenetic/all/nfqws-keenetic_2.0.5_all.ipk
Configuring nfqws-keenetic.
Service NFQWS is not running
Detected arch: mipsel

----------------------
lo 127.0.0.1
eth2.2 10.35.1.10
br0 192.168.1.1
br1 10.1.30.1
br2 192.168.2.1
nwg0 10.66.66.3

Enter the provider interface name from the list above, e.g. eth3 (default) or nwg1
You can specify multiple interfaces separated by space, e.g. eth3 nwg1
eth2.2
Selected interface: eth2.2

Select working mode: auto (default), list, all
  auto - automatically detects blocked resources and adds them to the list
  list - applies rules only to domains in the list /opt/etc/nfqws/user.list
  all  - applies rules to all traffic except domains from list /opt/etc/nfqws/exclude.list
list
Selected mode: list

Disable IPv6 support (enabled by default)? y/N
y
Installation successful
iptables v1.4.21: interface name `INPUT_ISP_INTERFACE' must be shorter than IFNAMSIZ (15)
Try `iptables -h' or 'iptables --help' for more information.
iptables v1.4.21: interface name `INPUT_ISP_INTERFACE' must be shorter than IFNAMSIZ (15)
Try `iptables -h' or 'iptables --help' for more information.
iptables v1.4.21: interface name `INPUT_ISP_INTERFACE' must be shorter than IFNAMSIZ (15)
Try `iptables -h' or 'iptables --help' for more information.
ip6tables v1.4.21: interface name `INPUT_ISP_INTERFACE' must be shorter than IFNAMSIZ (15)
Try `ip6tables -h' or 'ip6tables --help' for more information.
ip6tables v1.4.21: interface name `INPUT_ISP_INTERFACE' must be shorter than IFNAMSIZ (15)
Try `ip6tables -h' or 'ip6tables --help' for more information.
Started NFQWS service
Anonym-tsk commented 2 months ago

Да, проблема найдена. Скоро будет фикс

Anonym-tsk commented 2 months ago

Вроде исправлено Сделайте

opkg remove nfqws-keenetic
opkg update
opkg install nfqws-keenetic
statgit commented 2 months ago

Да, заработало, спасибо за фикс