ipoe: implemneted ability to send L4 redirect table/L4 redirect ipset via radius attributes

Bug reports
Post Reply
tos
Posts: 10
Joined: 19 Nov 2014, 12:33

ipoe: implemneted ability to send L4 redirect table/L4 redirect ipset via radius attributes

Post by tos »

Code: Select all

ipoe: implemneted ability to send L4 redirect table/L4 redirect ipset via radius attributes
    Introduced following options:
    attr-l4-redirect-table (type integer)
    attr-l4-redirect-ipset (type string)
    Please note, to enable L4 redirect attr-l4-redirect must be specified and sent
Реализована возможность передавать через радиус номер таблици и/или имя ipset для L4 redirect.
Вылезли проблемы с данным функционалом, сборка 954b4dd6a27b6a11d809ad2fc4239a5558db10f8
Посылаем абонента в ipset
debug: recv [RADIUS CoA-Request id=4b <L4-Redirect 1> <Filter-Id "5000/5000"> <L4-Redirect-ipset "freezee"> <Framed-IP-Address 192.168.2.3>]
он в него попадает
посылаем в другой ipset
debug: recv [RADIUS CoA-Request id=4b <L4-Redirect 1> <Filter-Id "5000/5000"> <L4-Redirect-ipset "active"> <Framed-IP-Address 192.168.2.3>]
абонент продолжает находится в том же ipset.
Dmitry
Администратор
Posts: 954
Joined: 09 Oct 2014, 10:06

Re: ipoe: implemneted ability to send L4 redirect table/L4 redirect ipset via radius attributes

Post by Dmitry »

по CoA ипсет не меняется, по CoA можно ип удалить из ипсета, для этого надо послать L4-Redirect=0
Post Reply