1. 05 12月, 2017 3 次提交
  2. 01 12月, 2017 1 次提交
  3. 29 11月, 2017 1 次提交
  4. 25 10月, 2017 1 次提交
  5. 23 10月, 2017 1 次提交
  6. 18 10月, 2017 2 次提交
    • D
      radius: implemented lua support · 405a4d8d
      Dmitry Kozlov 提交于
      to get radius object use session:module("radius") function
      radius object provides flollowing functions:
      radius:attrs() - returns array of attributes {"name" = NAME, "vendor" = VENDOR|nil}
      radius:attr(name[,vendor]) - returns value of attribute (may return multiple results)
      
      Example:
      function ip_up(ses)
        rad = ses:module("radius")
        attrs = rad:attrs()
        if attrs then
            print("attrs:")
            for _,a in pairs(attrs) do
      	  io.write("\t")
      	  if a.vendor then io.write(a.vendor..":") end
      	  io.write(a.name.."=")
      	  print(rad:attr(a.name, a.vendor))
            end
        end
      end
      405a4d8d
    • D
      lua: implemented interface to extend session object by modules · 0a71249f
      Dmitry Kozlov 提交于
      to access module specific object introduced new function session:module(NAME)
      0a71249f
  7. 16 10月, 2017 6 次提交
  8. 14 10月, 2017 2 次提交
    • D
      improved lua support · ec3d2f29
      Dmitry Kozlov 提交于
      Implemented support for lua 5.2/5.3.
      To build accel-ppp with exact lua version pass it in -DLUA=x.y, for example -DLUA=5.2 (cmake 3.0 is required for this).
      Old style -DLUA=TRUE supports only 5.1 and does not require cmake 3.0.
      Also extra lua modules (lua_lpack, lua_bit) took out into separated library luasupp.
      ec3d2f29
    • D
      pppd_compat: fixed typo · 0ce5c789
      Dmitry Kozlov 提交于
      0ce5c789
  9. 12 10月, 2017 3 次提交
  10. 09 10月, 2017 4 次提交
    • D
      radius: split request queue to 2 subqueues · 92af4b95
      Dmitry Kozlov 提交于
      1 - is high priority queue for Access-Request and Account-Request(Start)
      2 - is low priority queue for Account-Request(Alive) and Account-Request(Stop)
      This patch intended to prioritize sessions connecting requests over disconnects and interim updates.
      92af4b95
    • D
      ppp: changed behaviour of lcp-echo-timeout · 26359970
      Dmitry Kozlov 提交于
      Now, if lcp-echo-timeout is specified this is considered as idle timeout.
      So if link is idling (no any packet was received) in specified interval accel-ppp starts to send LCP Echo-Request with lcp-echo-interval period.
      If peer responds to echo request new idle period is being started.
      If peer does not responds to lcp-echo-failure attempts accel-ppp terminates session with Acct-Terminate-Cause Lost-Carrier.
      If lcp-echo-timeout is not specified or equals zero accel-ppp works in old behaviour (unconditionally sends LCP Echo-Request with lcp-echo-interval period).
      This patch intended to prevent unexpected sessions termination due to lcp echo loses.
      26359970
    • D
      ipoe: more verbose netlink errors · be1d1796
      Dmitry Kozlov 提交于
      be1d1796
    • D
      ppp_lcp: fixed missing braces (possible bug) · 09f0f8ff
      Dmitry Kozlov 提交于
      09f0f8ff
  11. 25 9月, 2017 3 次提交
  12. 21 8月, 2017 1 次提交
  13. 09 8月, 2017 1 次提交
  14. 08 8月, 2017 3 次提交
  15. 27 7月, 2017 1 次提交
  16. 13 7月, 2017 1 次提交
  17. 04 7月, 2017 1 次提交
  18. 09 5月, 2017 1 次提交
  19. 19 4月, 2017 4 次提交