Age | Commit message (Collapse) | Author | |
---|---|---|---|
2018-05-31 | ipoe: lua: introduced hwaddr field to session object | Dmitry Kozlov | |
example function to use mac address as username: function username(ses) return ses:hwaddr() end | |||
2017-04-04 | ipoe: included lua bitop library | Dmitry Kozlov | |
Included bitop library http://bitop.luajit.org/index.html It may be used to extract vlan components in username function: function username(ses) vid=ses:vlan() svid=bit.rshift(vid,16) cvid=bit.band(vid,0xffff) ... end | |||
2017-03-29 | Revert "ipoe: fix lua 5.3 support" | Dmitry Kozlov | |
This reverts commit 5159276962e4305db249bbbf5eb589ec59b9e318. | |||
2017-03-27 | ipoe: fix lua 5.3 support | Dmitry Kozlov | |
2017-03-27 | ipoe: lua: add "vlan" field to session object | Dmitry Kozlov | |
resulting value is vlan | (parent_vlan << 16) | |||
2016-03-14 | ipoe: fixed compilation with lua | Dmitry Kozlov | |
2015-12-01 | ipoe: implemented ability to use lua to make vlan name | Dmitry Kozlov | |
[ipoe] vlan-name=lua:make_vlan_name lua function accepts three arguments: parent interface name, parent vlan number and vlan number caused vlan creation sample lua function: function make_vlan_name(ifname, svid, cvid) print('make_vlan_name: '..ifname..','..svid..','..cvid) return ifname..'.'..cvid end | |||
2015-04-18 | ipoe: don't block lua script if it raises error | Dmitry Kozlov | |
2014-11-22 | remove trailing whitespaces | Dmitry Kozlov | |
2014-07-17 | improved 'single session' mechanism | Dmitry Kozlov | |
2014-05-18 | improved single-session=replace handling | Dmitry Kozlov | |
Wait for previous session completely terminated before continuing authorization new session. | |||
2014-04-11 | ipoe:lua: update thread-specific value when updating L (fixes segfault) | Dmitry Kozlov | |
Signed-off-by: Dmitry Kozlov <xeb@mail.ru> | |||
2013-10-02 | ipoe: lua: check for session is dhcp | Dmitry Kozlov | |
2012-08-03 | ipoe: implemented dhcp relay | Kozlov Dmitry | |
2012-06-26 | ipoe: futher working | Kozlov Dmitry | |
2012-06-22 | initial ipoe implementation | Kozlov Dmitry | |