При наличии у абонента двух разных тарифных планов,
при включении/выключении интернета запускаются для каждого из 2 тарифов
тарифов правило firewall но со всеми ip адресами пользователя со всех тарифов.
Например, у человека тариф 2 мегабит с адресом
10.108.0.10 и 3 мегабит с адресом 10.108.0.11
Выключаем интернет:
Apr 07 12:26:27 ?Debug : 42c08000 StreamFirewall: Got 'exec' command...
Apr 07 12:26:27 Info : 42c08000 FWCntl: executing command <off 10.108.0.10 32>
Apr 07 12:26:27 Info : 42c08000 FWCntl: command <off 10.108.0.10 32> OK
Apr 07 12:26:27 ?Debug : 42c08000 StreamConnection: Got message ID 0x4001
Apr 07 12:26:27 ?Debug : 42c08000 StreamFirewall: Got 'exec' command...
Apr 07 12:26:27 Info : 42c08000 FWCntl: executing command <off 10.108.0.11 32>
Apr 07 12:26:27 Info : 42c08000 FWCntl: command <off 10.108.0.11 32> OK
Apr 07 12:26:27 ?Debug : 42c08000 StreamConnection: Got message ID 0x4001
Apr 07 12:26:27 ?Debug : 42c08000 StreamFirewall: Got 'exec' command...
Apr 07 12:26:27 Info : 42c08000 FWCntl: executing command <off 10.108.0.10 32>
Apr 07 12:26:27 Info : 42c08000 FWCntl: command <off 10.108.0.10 32> OK
Apr 07 12:26:27 ?Debug : 42c08000 StreamConnection: Got message ID 0x4001
Apr 07 12:26:27 ?Debug : 42c08000 StreamFirewall: Got 'exec' command...
Apr 07 12:26:27 Info : 42c08000 FWCntl: executing command <off 10.108.0.11 32>
Apr 07 12:26:27 Info : 42c08000 FWCntl: command <off 10.108.0.11 32> OK
Apr 07 12:26:31 ?Debug : 42c08000 StreamConnection: Got message ID 0x4001
Включаем:
Apr 07 12:26:31 ?Debug : 42c08000 StreamFirewall: Got 'exec' command...
Apr 07 12:26:31 Info : 42c08000 FWCntl: executing command <on 10.108.0.10 32 3072 3072>
Apr 07 12:26:31 Info : 42c08000 FWCntl: command <on 10.108.0.10 32 3072 3072> OK
Apr 07 12:26:31 ?Debug : 42c08000 StreamConnection: Got message ID 0x4001
Apr 07 12:26:31 ?Debug : 42c08000 StreamFirewall: Got 'exec' command...
Apr 07 12:26:31 Info : 42c08000 FWCntl: executing command <on 10.108.0.11 32 3072 3072>
Apr 07 12:26:31 Info : 42c08000 FWCntl: command <on 10.108.0.11 32 3072 3072> OK
Apr 07 12:26:31 ?Debug : 42c08000 StreamConnection: Got message ID 0x4001
Apr 07 12:26:31 ?Debug : 42c08000 StreamFirewall: Got 'exec' command...
Apr 07 12:26:31 Info : 42c08000 FWCntl: executing command <on 10.108.0.10 32 2048 2048>
Apr 07 12:26:31 Info : 42c08000 FWCntl: command <on 10.108.0.10 32 2048 2048> OK
Apr 07 12:26:31 ?Debug : 42c08000 StreamConnection: Got message ID 0x4001
Apr 07 12:26:31 ?Debug : 42c08000 StreamFirewall: Got 'exec' command...
Apr 07 12:26:31 Info : 42c08000 FWCntl: executing command <on 10.108.0.11 32 2048 2048>
Apr 07 12:26:31 Info : 42c08000 FWCntl: command <on 10.108.0.11 32 2048 2048> OK
Получаем 2 мегабита всемто 3 на втором адресе.
Версия 5.3-002-update16-debian_wheezy_x64
Если разделить тарфифы на 2 пользователей, то все отрабатывает корректно.