1. 10 Dec, 2019 1 commit
  2. 21 Nov, 2019 11 commits
  3. 12 Nov, 2019 1 commit
  4. 25 Oct, 2019 1 commit
  5. 05 Aug, 2019 1 commit
  6. 22 Jul, 2019 1 commit
  7. 14 Jun, 2019 1 commit
  8. 13 Jun, 2019 2 commits
  9. 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.
  10. 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>
  11. 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>
  12. 16 May, 2019 1 commit
  13. 08 May, 2019 1 commit
  14. 07 May, 2019 1 commit
  15. 15 Apr, 2019 2 commits
  16. 12 Apr, 2019 1 commit
  17. 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>
  18. 21 Mar, 2019 2 commits
  19. 13 Mar, 2019 1 commit
  20. 31 Jan, 2019 1 commit
  21. 17 Dec, 2018 1 commit
  22. 16 Dec, 2018 1 commit
  23. 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>
  24. 26 Nov, 2018 3 commits