Skip to content
Snippets Groups Projects
  1. Dec 15, 2024
    • Jan Luebbe's avatar
      Remove DHCP-block from interface "client" · ae39b33e
      Jan Luebbe authored and chrissi^'s avatar chrissi^ committed
      For parker we need DHCP on the client interface. Ths rule
      prevents us from doing so.
      In addition: make sure old rules will be deleted on upgrade.
      ae39b33e
    • chrissi^'s avatar
      parker: remove prefix6 and prefix4 · e640fa39
      chrissi^ authored
      This change removes the prefix4 and prefix6 attributes from the
      site.conf. These do not make sense in the context of parker.
      
      Packages that are usually used in parker do not use these anymore. Some
      other packages do - you should not enable those :-)
      
      With this change a ipv6 route to prefix_6 will no longer be set on
      br-client. Systems that already have this route will keep it.
      
      With this change the (not working) redirect in the http status page has
      been removed. We should consider to add this later on.
      
      Hint: Some changes were moved from this commit to:
      community-packages:ffbs-mesh-vpn-parker/files/lib/gluon/upgrade/401-respondd-firewall-parker
      This reverts changes done in package/gluon-respondd/luasrc/lib/gluon/upgrade/400-respondd-firewall.
      e640fa39
  2. Jun 19, 2022
  3. Feb 22, 2022
    • Matthias Schiffer's avatar
      treewide: use interface roles as basis for network configuration · c779d123
      Matthias Schiffer authored
      With the new role-based interface configuration, it would be better to
      rename the wan/wan6 interfaces to uplink/uplink6, but that would cause
      unnecessary churn for the firewall configuration, so it is left for a
      later update.
      
      As all interfaces with the 'uplink' role are in the br-wan bridge, it is
      not possible to assign these to the 'mesh' role independently - instead,
      br-wan is added as a mesh interface as soon as a single interface has
      both the 'uplink' and 'mesh' roles. The UCI section for this
      configuration is now called 'mesh_uplink' instead of 'mesh_wan'.
      
      For all interfaces that have the 'mesh', but not the 'uplink' role a
      second configuration 'mesh_other' is created. If there is more than one
      such interface, all these interfaces are bridged as well (creating a
      bridge 'br-mesh_other'). This replaces the 'mesh_lan' section with its
      optional 'br-mesh_lan' bridge, but can also include interfaces that were
      not considered "LAN" when interfaces roles are modified (via site.conf
      or manually).
      Unverified
      c779d123
    • Matthias Schiffer's avatar
  4. Sep 13, 2021
  5. Sep 17, 2020
  6. Sep 13, 2020
    • David Bauer's avatar
      treewide: rename local_client zone (#2115) · 5b068d7c
      David Bauer authored
      This renames the local_client zone to loc_client, as local_clint exceeds
      the maximum zone length allowed for firewall3, which is 11 bytes.
      
      This worked previously due to firewall3 using unsafe string operations.
      Now creation of the chain fails (latest OpenWrt master).
      Unverified
      5b068d7c
  7. May 28, 2020
  8. May 24, 2020
  9. Mar 31, 2020
  10. Dec 07, 2018
  11. Jul 22, 2018
    • Sven Eckelmann's avatar
      gluon-client-bridge: Revert "move IPv4 local subnet route to br-client (#1312)" · 3ef28a46
      Sven Eckelmann authored
      The commit b3762fc6 ("gluon-client-bridge: move IPv4 local subnet route
      to br-client (#1312)") moves the IPv4 prefix from the local-port interface
      to br-client. A client requesting an IPv4 connection to the IPv4 anycast
      address of the node (the device running gluon) will create following
      packets:
      
      1. ARP packet from client to get the MAC of the mac address of the anycast
         IPv4 address
      2. ARP reply from node to client with the anycast MAC address for the IPv4
         anycast address
      3. IPv4 packet from client which requires reply (for example ICMP echo
         request)
      4. ARP request for the client MAC address for its IPv4 address in prefix4
         (done with the mac address of br-client and transmitted over br-client)
      5. IPv4 packet from node (transmitted over br-client with br-client MAC
         address) as reply for the client IPv4 packet (for example ICMP echo
         reply)
      
      The step 4 and 5 are problematic here because packets use the node specific
      MAC addresses from br-client instead of the anycast MAC address. The client
      will receive the ARP packet with the node specific MAC address and change
      their own neighbor IP (translation) table. This will for example break the
      access to the status page to the connected device or the anycast DNS
      forwarder implementation when the client roams to a different node.
      
      This reverts commit b3762fc6 and adds an
      upgrade code to remove local_node_route on on existing installations.
      3ef28a46
  12. Apr 13, 2018
  13. Feb 15, 2018
  14. Jan 11, 2018
  15. Dec 27, 2017
  16. Nov 25, 2017
  17. Aug 11, 2017
  18. Aug 08, 2017
  19. Jun 26, 2017
  20. Apr 13, 2017
  21. Apr 10, 2017
  22. Feb 23, 2017
  23. Feb 10, 2017
  24. Jan 18, 2017
  25. Dec 10, 2016
    • Matthias Schiffer's avatar
      gluon-client-bridge, gluon-mesh-batman-adv-core: switch roles of br-client and... · 8c4403ba
      Matthias Schiffer authored
      gluon-client-bridge, gluon-mesh-batman-adv-core: switch roles of br-client and local-node interfaces
      
      MAC and IP addresses are switched. This makes the gluon-client-bridge
      package more useful for different routing protocols that don't need a
      unique address on the client bridge.
      
      As a side effect, gluon-radvd is now using the next-node address, which had
      been considered before, but was dismissed to avoid having gluon-radvd
      depend on gluon-next-node and gluon-mesh-batman-adv. This will be useful
      for announcing default routes via gluon-radvd.
      
      One downside is that this introduces a minor dependency on batman-adv in
      gluon-respondd: the hotplug script that checked for the client interface
      before will now check for local-node. This doesn't really matter: for mesh
      protocols without a local-node interface, the check will do nothing (which
      makes sense, as there is no interface to bind to for mesh-wide respondd).
      Unverified
      8c4403ba
  26. Sep 07, 2016
  27. Jul 27, 2016
  28. Jul 20, 2016
Loading