1. 10 May, 2019 2 commits
  2. 08 May, 2019 1 commit
  3. 07 May, 2019 1 commit
  4. 15 Apr, 2019 2 commits
  5. 12 Apr, 2019 1 commit
  6. 01 Apr, 2019 2 commits
    • Hans Dedecker's avatar
      proto-shell: return error in case setup fails · 361b3e40
      Hans Dedecker authored
      
      
      In case PROTO_CMD_SETUP cannot be handled due to an invalid state; return
      -1 so the calling functions are aware the PROTO_CMD_SETUP has failed.
      Signed-off-by: default avatarHans Dedecker <dedeckeh@gmail.com>
      361b3e40
    • Hans dedecker's avatar
      interface: set interface in TEARDOWN state when checking link state · a97297d8
      Hans dedecker authored
      
      
      When launching PROTO_CMD_TEARDOWN in interface_check_state() the interface
      was set in IFS_DOWN state. In case an interface is now brought into IFS_SETUP
      state in __interface_set_up() it will launch PROTO_CMD_SETUP trying to
      bring the proto shell handler in S_SETUP state which will fail as the proto
      shell handler is still in the S_TEARDOWN state.
      
      Fix this by setting the interface in IFS_TEARDOWN state when the PROTO_CMD_TEARDOWN
      event is launched which will prevent the interface being brought into IFS_SETUP state
      as long as it's not in the IFS_DOWN state.
      Signed-off-by: default avatarHans Dedecker <dedeckeh@gmail.com>
      a97297d8
  7. 21 Mar, 2019 2 commits
  8. 13 Mar, 2019 1 commit
  9. 31 Jan, 2019 1 commit
  10. 17 Dec, 2018 1 commit
  11. 16 Dec, 2018 1 commit
  12. 13 Dec, 2018 1 commit
    • Hans Dedecker's avatar
      system-linux: get rid of SIOCSDEVPRIVATE · 1ac1c78b
      Hans Dedecker authored
      
      
      Use sysfs to configure the bridge settings stp/forward_delay/priority
      ageing_time/hello_time and max_age as the SIOCDEVPRIVATE bridge ioctl
      has no compat ioctl support which makes it impossible to set the above
      mentioned bridge paramaters if the kernel is compiled in 64 bit mode
      and user_space in 32 bit mode.
      Signed-off-by: default avatarHans Dedecker <dedeckeh@gmail.com>
      1ac1c78b
  13. 26 Nov, 2018 4 commits
  14. 19 Nov, 2018 2 commits
  15. 16 Nov, 2018 1 commit
    • Hans Dedecker's avatar
      interface: fix removal of dynamic interfaces · d9872db7
      Hans Dedecker authored
      
      
      Set config state to remove for dynamic interfaces in the following cases :
      -interface is set as not available
      -interface is set as down
      -interface is set as having no link state
      This will trigger an interface delete upon the next call of interface_handle_config_change
      
      Before this change you could end up with lingering inactive dynamic
      interfaces in case the aliased interface went down as before a dynamic
      interface was only removed when set down via ubus
      Signed-off-by: default avatarHans Dedecker <dedeckeh@gmail.com>
      d9872db7
  16. 13 Nov, 2018 1 commit
  17. 17 Oct, 2018 1 commit
  18. 16 Oct, 2018 1 commit
  19. 12 Oct, 2018 3 commits
  20. 01 Oct, 2018 2 commits
  21. 19 Sep, 2018 2 commits
  22. 18 Sep, 2018 1 commit
    • Hans Dedecker's avatar
      system-linux: enable by default ignore encaplimit for ip6 tunnels · 23941d7e
      Hans Dedecker authored
      
      
      Enable ignore encaplimit by default for ip6 tunnels as not all ISPs support
      the destination option header containing the tunnel encapsulation limit
      resulting into broken map/ds-lite connectivity.
      Setting the ignore encaplimit flag by default is a more sane setting as it
      avoids user configuation of the encaplimit uci option for ds-lite/map tunnels
      in case of broken connectivity.
      Signed-off-by: default avatarHans Dedecker <dedeckeh@gmail.com>
      23941d7e
  23. 12 Sep, 2018 1 commit
  24. 20 Aug, 2018 3 commits
  25. 17 Aug, 2018 1 commit
  26. 14 Aug, 2018 1 commit
    • Hans Dedecker's avatar
      device: gracefully handle device names exceeding IFNAMESIZ · 522456b9
      Hans Dedecker authored
      
      
      Instead of truncating the device name when it exceeds IFNAMSIZ length;
      let device_set_ifname return an error code and do not add the device
      to the device list.
      This avoids possible issues with device names becoming identical due the
      truncation and as a result unexpected behavior.
      Further let the different device types gracefully handle the error code
      returned by device_init
      Signed-off-by: default avatarHans Dedecker <dedeckeh@gmail.com>
      522456b9