1. 27 12月, 2017 1 次提交
    • D
      ipoe: implemented new load balancing mechanism · 1d6f68a5
      Dmitry Kozlov 提交于
      new config options:
      [ipoe]
      weight=N - global weight
      interface=ethX,weight=N - per-interface weight
      
      How it works:
      On reception of DHCPDISCOVER accel-ppp sends broadcast DHCP message to port 67 with same xid and add special vendor-specific option
      where encodes its current session count multipled by weight.
      On reception of such message accel-ppp searches session with same xid and compares weight.
      If received weight is less than session's weight then it terminates this session.
      per-interface weight=0 has special meaning as backup (fail-over) interface, f.e. it terminates session on any received weight.
      
      By default weight based load balancing is disabled.
      To enable need to specify global or/and per-interface weight.
      1d6f68a5
  2. 25 12月, 2017 1 次提交
  3. 14 12月, 2017 1 次提交
  4. 05 12月, 2017 1 次提交
    • V
      ppp: implement per-ctrl ppp interface rename support, may be overrided by radius · ae72e179
      Vladislav Grishenko 提交于
       Reuse exsisting radius functionality and allow set iterface name
       template for pppoe/pptp/l2tp, '%d' specification will be replaced
       automagically to the next available index by kernel.
       PPP interface rename allows to easy differ client's interfaces from
       the other ppp ones, for example, with just netfilter interface rules.
      
       Example:
        [pptp]
        ifname=pptp%d will produce pptp0, pptp1, ...
      ae72e179
  5. 12 10月, 2017 1 次提交
  6. 09 5月, 2017 1 次提交
  7. 19 4月, 2017 4 次提交
  8. 18 4月, 2017 1 次提交
    • D
      implemented session count limiting · 9ea88bac
      Dmitry Kozlov 提交于
      new config option:
      [common]
      max-sessions=N
      
      If set then accel-pppd stops reply to new connection requests if total number of sessions (active and starting) is reached specified limit.
      9ea88bac
  9. 21 1月, 2017 1 次提交
  10. 25 6月, 2016 1 次提交
  11. 15 4月, 2016 1 次提交
  12. 07 4月, 2016 1 次提交
  13. 18 3月, 2016 2 次提交
  14. 13 3月, 2016 1 次提交
  15. 21 11月, 2015 2 次提交
  16. 18 11月, 2015 1 次提交
  17. 17 8月, 2015 1 次提交
  18. 02 7月, 2015 1 次提交
    • D
      ipoe: introduced option "check-mac-change" · 2883c323
      Dmitry Kozlov 提交于
      Default behaviour of accel-ppp when it receives DHCP request with same Option 82 but different MAC address
      is termination of old session (with previous MAC address).
      This option can turn off such behaviour, so multiple sessions with same Option 82 but different MAC may coesist.
      2883c323
  19. 18 4月, 2015 2 次提交
  20. 21 2月, 2015 1 次提交
  21. 09 12月, 2014 1 次提交
    • D
      1.9.0 release · 904bc0f9
      Dmitry Kozlov 提交于
      * radius: major improvments
      * radius: use NAS-Port-Id in Access-Accept for interface renaming
      * radius: introduced "weight" and "backup" per-server options
      * radius: introduced "attr-tunnel-type" option
      * radius: introduced "max-fail" option
      * ipoe: introduced "ip-unnumbered" option
      * ipoe: improved vlan monitor
      * ipoe: introduced "attr-dhcp-lease-time" option
      * ipoe: send option 82 from DHCP request to radius
      * ipoe: fixed passing packets in 'redirect on reject' mode
      * ipoe: implemented handling relayed DHCP clients
      * ipoe: implemented "L4 redirect on reject" for DHCP sessions
      * ipoe: implemneted ability to send L4 redirect table/L4 redirect ipset via radius attributes
      * pppoe: introduced "called-sid" option
      * pppoe: improved AC-Cookie mechanism
      * ippool: introduced "shuffle" option
      * core: improved "single-session=replace" handling
      * shaper: apply rate multiplier to integer values
      * shaper: implemented fq_codel leaf qdisc
      * shaper: fixed passing quantum parameter to kernel
      * shaper: introduced "moderate-quantum" option
      * shaper: introduced "fwmark" option
      * ipv6: add support for prefixes greater than 64
      * ppp: make LCP magic number negotiation not mandatory
      * ppp: implement address/control and protocol field compression
      * ppp: implemented delayed unit close via unit cache
      * pppd_compat: pass IPV6_PREFIX and IPV6_DELEGATED_PREFIX to ip-up/ip-down scripts
      * cli: introduced verbose option
      904bc0f9
  22. 17 11月, 2014 1 次提交
  23. 10 11月, 2014 1 次提交
    • D
      shaper: fixed passing quantum parameter to kernel · ca0d0010
      Dmitry Kozlov 提交于
      shaper: introduced moderate-quantum option
      
      If fixed quantum is not specified and moderate-quantum is specified then shaper module
      will check for quantum value to be in valid range (1000-200000).
      This suppresses annoying kernel messages.
      Remark: quantum is rate/r2q, rate is in bytes/sec.
      ca0d0010
  24. 30 10月, 2014 1 次提交
  25. 29 10月, 2014 2 次提交
    • D
      ipoe: implemented "L4 redirect on reject" for DHCP sessions · 3aecff0f
      Dmitry Kozlov 提交于
      If authentication rejects session, but l4-redirect-on-reject is specified in config then
      temporary session will be created and l4 redirect rule will be applied to IP of that session.
      Session will be terminated after specified number of seconds.
      Also if l4-redirect-ip-pool option is specified then IP will be allocated from that special pool.
      3aecff0f
    • D
      ipoe: implemented "L4 redirect on reject" for DHCP sessions · c801c643
      Dmitry Kozlov 提交于
      If authentication rejects session, but l4-redirect-on-reject is specified in config then
      temporary session will be created and l4 redirect rule will be applied to IP of that session.
      Session will be terminated after specified number of seconds.
      Also if l4-redirect-ip-pool option is specified then IP will be allocated from that special pool.
      c801c643
  26. 23 10月, 2014 1 次提交
  27. 22 10月, 2014 2 次提交
    • D
      ppp: implemented delayed unit close via unit cache · c73bda7c
      Dmitry Kozlov 提交于
      Due to kernel slowly destroys interfaces closing unit file descriptor blocks working threads which causes overall stuck.
      Thus (if unit-cache option is not zero) do not close unit file descriptor immediatly, but put it into unit cache.
      Additional helper thread was introduced which closes descriptors from unit cache which overruns configured unit cache size.
      c73bda7c
    • D
      cli: introduced verbose option · a3f7e7d1
      Dmitry Kozlov 提交于
      If verbose=0 then cli won't produce any logging
      if verbose=1 then log only connections
      if verbose=2 then log also executed commands
      a3f7e7d1
  28. 13 9月, 2014 2 次提交
  29. 04 9月, 2014 1 次提交
  30. 26 8月, 2014 1 次提交
  31. 21 7月, 2014 1 次提交