Skip to content
Snippets Groups Projects
  1. Aug 09, 2022
    • lemoer's avatar
      gluon-respondd: fix missing section "wifi" for request type "neighbours" (#2599) · 70951318
      lemoer authored
      The below mentioned commit introduced a regression, that the "wifi"
      section of the request type "neighbours" was empty:
      
          ~# gluon-neighbour-info -d ::1 -r neighbours | ffh_pretty_json
          {
            "wifi": [
            ],
            ...
          }
      
      After this commit, the section (correctly) looks like this:
      
          root@UFU-FWH-A272-Tresckowstr-GemR-vorne:~# gluon-neighbour-info -d ::1 -r neighbours | ffh_pretty_json
          {
            "wifi": {
              "ca:38:7e:42:5f:21": {
                "neighbours": {
                  "fe:9f:4d:01:ea:e1": {
                    "noise": -102,
                    "inactive": 50,
                    "signal": -84
                  },
                  "fe:df:b9:84:37:51": {
                    "noise": -102,
                    "inactive": 20,
                    "signal": -73
                  }
                }
              }
            },
            ...
          }
      
      The issue was due to the fact, that the iteration over the (mesh) wifi interfaces
      was broken. The code was assuming, that the section
      
          config interface 'mesh_radio0'
                  option proto 'gluon_mesh'
      
      in /etc/config/network contains an option "ifname", which it does not.
      The ifname property is only stored in the corresponding section in
      /etc/config/wireless:
      
          config wifi-iface 'mesh_radio0'
                  option ifname 'mesh0'
                  option network 'mesh_radio0'
                  option mode 'mesh'
                  ...
      
      Therefore, we now iterate over wifi-ifaces in /etc/config/wireless, that
      have the mode 'mesh' instead. This resolves the issue.
      
      Fixes 0f1fa243
      Unverified
      70951318
  2. Dec 25, 2021
  3. Oct 07, 2021
    • Matthias Schiffer's avatar
      Set PKG_VERSION in gluon.mk · f419db58
      Matthias Schiffer authored
      This removes PKG_VERSION and PKG_RELEASE from most Makefiles, as the
      value was never useful for Gluon packages; instead, PKG_VERSION is set
      to 1 in gluon.mk.
      
      It also removes two other weird definitions:
      
      - gluon-iptables-clamp-mss-to-pmtu replicating the old PKG_VERSION logic
        from gluon-core, but without the fixed PKG_BUILD_DIR to prevent
        unnessary rebuilds
      - gluon-hoodselector set GLUON_VERSION=3
      f419db58
  4. Jan 12, 2021
  5. 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
  6. May 28, 2020
  7. May 21, 2020
    • lemoer's avatar
      gluon-respondd: emit "primary_domain_code" in nodeinfo · b9c1a026
      lemoer authored
      Closes #1974
      
      Situation:
      ==========
      
      $ ls -l /lib/gluon/domains/lindennord.json
      lrwxrwxrwx    1 root     root            10 Jan  6 03:42 /lib/gluon/domains/lindennord.json -> dom17.json
      
      Before:
      =======
      
      $ gluon-neighbour-info -d ::1 -p 1001 -r nodeinfo -c 1
      {
         "node_id": "525400123456",
         "system": {
           "domain_code": "lindennord",
           "site_code": "ffh"
         },
      ...
      }
      
      After:
      ======
      
      $ gluon-neighbour-info -d ::1 -p 1001 -r nodeinfo -c 1
      {
         "node_id": "525400123456",
         "system": {
           "primary_domain_code": "dom17",
           "domain_code": "lindennord",
           "site_code": "ffh"
         },
      ...
      }
      Unverified
      b9c1a026
  8. Apr 04, 2020
  9. Mar 31, 2020
  10. Nov 24, 2019
  11. Nov 23, 2019
  12. Apr 23, 2019
  13. Apr 21, 2019
  14. Aug 24, 2018
  15. May 05, 2018
  16. Apr 13, 2018
  17. Mar 08, 2018
  18. Mar 07, 2018
  19. Jan 26, 2018
  20. Dec 31, 2017
  21. Dec 29, 2017
  22. Nov 25, 2017
  23. Sep 21, 2017
  24. Feb 12, 2017
  25. Feb 10, 2017
  26. Jan 17, 2017
  27. Dec 22, 2016
  28. Dec 10, 2016
  29. Dec 09, 2016
    • Jan-Philipp Litza's avatar
      gluon-respondd: restart on state change of client iface · fcf3abd9
      Jan-Philipp Litza authored
      Because we unconditionally appended `-i br-client` to the command line of
      respondd, it wasn't restarted when br-client changed state. Now, we use a
      jsonfilter expression on the network.interface dump data, similar to how the
      other interface names are generated, and only add the interface to the argument
      list if it is up.
      fcf3abd9
  30. Dec 08, 2016
  31. Aug 27, 2016
  32. Jul 10, 2016
Loading