1. 13 Aug, 2021 1 commit
  2. 10 Aug, 2021 1 commit
  3. 26 Jul, 2021 1 commit
  4. 23 Jul, 2021 2 commits
  5. 16 Jul, 2021 2 commits
  6. 14 Jul, 2021 1 commit
    • Felix Fietkau's avatar
      vlan: fix device vlan alias handling · 7f24a063
      Felix Fietkau authored
      A recent commit changed the vlan chain handling to not treat devices with
      non-digit characters after "." as vlan devices. This broke aliases, which
      rely on names after the "." component.
      Fix dealing with both cases by first trying to set up a vlan regardless
      of the non-digit characters, but for the first component allow falling back
      to treating the first two parts as a full device name
      
      Fixes: 013a1171
      
       ("device: do not treat devices with non-digit characters after . as vlan devices")
      Signed-off-by: default avatarFelix Fietkau <nbd@nbd.name>
      7f24a063
  7. 13 Jul, 2021 1 commit
  8. 23 Jun, 2021 1 commit
  9. 22 Jun, 2021 1 commit
  10. 19 Jun, 2021 5 commits
  11. 17 Jun, 2021 1 commit
  12. 07 Jun, 2021 1 commit
  13. 04 Jun, 2021 2 commits
  14. 02 Jun, 2021 2 commits
  15. 26 May, 2021 1 commit
  16. 24 May, 2021 1 commit
  17. 20 May, 2021 1 commit
  18. 18 May, 2021 2 commits
  19. 17 May, 2021 1 commit
    • Felix Fietkau's avatar
      device: add support for configuring devices with external auth handler · 2a97fd00
      Felix Fietkau authored
      
      
      This can be used to support 802.1x on wired devices.
      In order to use this, the device section for each port needing authentication
      needs to contain the option auth 1
      When set, this option prevents devices from being added to bridges or configured
      with IP settings by default, until the set_state ubus call on network.device
      sets "auth_status" to true for the device.
      Signed-off-by: default avatarFelix Fietkau <nbd@nbd.name>
      2a97fd00
  20. 16 May, 2021 2 commits
  21. 03 Apr, 2021 2 commits
    • Florian Eckert's avatar
      netifd: add possibility to switch off route config · 327da989
      Florian Eckert authored
      
      
      This change adds the new configuration option `disabled` for the route
      section, which can be used to temporarily disable the section so that
      the route is not set. The advantage is that we do not have to delete
      this route configuration section to achieve this.
      
      config route
        option disabled '1
      Signed-off-by: default avatarFlorian Eckert <fe@dev.tdt.de>
      327da989
    • Zheng Qian's avatar
      netifd: bridge: set default value for igmp_snoop · f8899b9b
      Zheng Qian authored
      
      
      When unchecked the igmp snoop option for a bridge by luci, it
      just delete the igmp_snooping key from the config file.
      So netifd can't change /sys/devices/virtual/net/br-lan/bridge/multicast_snooping from "1" to "0".
      
      Option multicast_querier seems no input entry in luci, but it's
      an related option.
      
      This patch will set a default value to false for the bridge
      option to fix this bug.
      Signed-off-by: default avatarZheng Qian <sotux82@gmail.com>
      f8899b9b
  22. 31 Mar, 2021 5 commits
  23. 11 Jan, 2021 1 commit
    • Hans Dedecker's avatar
      interface-ip: add unreachable route if address is offlink · c00c8335
      Hans Dedecker authored
      
      
      In order to avoid a routing loop add an unreachable route for the
      address prefix is the offlink flag is set for an address.
      This fixes a routing loop which is currently present on point-to-point
      links (e.g PPP) when the wan interface is assigned a globally unique
      prefix (e.g. 2001:db8:1:0::/64) from which an IPv6 address is picked
      and installed on the wan interface
      (e.g. 2001:db8:1:0:5054:ff:feab:d87c/64)
      
      The prefix route 2001:db8:1::/64 would be present in the routing table
      which will route any packet with as destination 2001:db8:1::/64 to the wan
      interface and would be routed back by the upstream router due to the
      wan interface due to the assigned global unique prefix.
      Besides not installing the prefix route 2001:db8:1::/64 on point-to-point links
      adding an unreachable route is required to avoid the routing loop.
      Signed-off-by: default avatarHans Dedecker <dedeckeh@gmail.com>
      c00c8335
  24. 09 Jan, 2021 1 commit
  25. 05 Jan, 2021 1 commit