1. 12 Nov, 2019 1 commit
  2. 25 Oct, 2019 1 commit
  3. 05 Aug, 2019 1 commit
  4. 22 Jul, 2019 1 commit
  5. 14 Jun, 2019 1 commit
  6. 13 Jun, 2019 2 commits
  7. 08 Jun, 2019 1 commit
    • André Valentin's avatar
      netifd: add xfrm tunnel interface support · 8c6358b5
      André Valentin authored
      This adds support for xfrm interfaces. These interfaces can be used since
      linux 4.19 for IPsec traffic, like VTI interface.
      XFRM interfaces are less complicated compared to VTI because they need no IP
      tunnel endpoints.
  8. 27 May, 2019 1 commit
    • Hans Dedecker's avatar
      iprule: fix missing ip rules after a reload (FS#2296) · beb810db
      Hans Dedecker authored
      Since commit 5cf79759 (iprule: rework
      interface based rules to handle dynamic interfaces) the rule
      comparison is broken and doesn't correctly recognize matching rules.
      This in turn break the reloading as adding the "new" rule fails
      because it already exists and it then delete the "old" rule.
      The comparison is broken because it now include fields that are not
      defining the rule itself, as well as some pointer to malloced strings.
      To fix this we move back the offending fields in the iprule struct
      before the 'flags' field and match the malloced strings separately.
      Signed-off-by: default avatarAlban Bedel <albeu@free.fr>
      Signed-off-by: default avatarHans Dedecker <dedeckeh@gmail.com>
  9. 17 May, 2019 1 commit
    • Hans Dedecker's avatar
      interface-ip: use ptp address as well to find local address target · 22e8e589
      Hans Dedecker authored
      In case of tunnel over PPP(such as gretap over l2tp): tunnel interface
      use PPP's peer address as remote address, netifd script will call
      proto_add_host_dependency function, then netifd will search which device
      can reach to the remote address. Before the patch, netifd don't consider
      the PPP interface can reach to the remote address, so netifd will select
      default route to remote address, it will lead to remote address unreachable.
      Based on a patch by xiaofan <xfan1024@live.com>
      Signed-off-by: default avatarHans Dedecker <dedeckeh@gmail.com>
  10. 16 May, 2019 1 commit
  11. 08 May, 2019 1 commit
  12. 07 May, 2019 1 commit
  13. 15 Apr, 2019 2 commits
  14. 12 Apr, 2019 1 commit
  15. 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>
    • 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>
  16. 21 Mar, 2019 2 commits
  17. 13 Mar, 2019 1 commit
  18. 31 Jan, 2019 1 commit
  19. 17 Dec, 2018 1 commit
  20. 16 Dec, 2018 1 commit
  21. 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>
  22. 26 Nov, 2018 4 commits
  23. 19 Nov, 2018 2 commits
  24. 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>
  25. 13 Nov, 2018 1 commit
  26. 17 Oct, 2018 1 commit
  27. 16 Oct, 2018 1 commit
  28. 12 Oct, 2018 3 commits
  29. 01 Oct, 2018 2 commits