Skip to content
Snippets Groups Projects
  1. Feb 22, 2022
  2. Feb 20, 2022
  3. Feb 13, 2022
    • Matthias Schiffer's avatar
      gluon-web-osm: update OpenLayers default URL to 5.3.0 · 62b24ed7
      Matthias Schiffer authored
      The OpenLayers JS/CSS download URL is dead. Update it to make the map
      work again:
      
      - Update from OpenLayers 5.2.0 to 5.3.0
      - Switch from the obsolete rawgit.com URL to jsdelivr.net (rawgit.com
        was only redirecting to jsdelivr.net for the last few years anyways)
      - Set a fixed commit in the URL, so the URL doesn't become outdated again
      Unverified
      62b24ed7
  4. Feb 01, 2022
  5. Jan 28, 2022
  6. Jan 23, 2022
  7. Jan 14, 2022
  8. Jan 07, 2022
  9. Jan 01, 2022
  10. Dec 31, 2021
  11. Dec 25, 2021
  12. Dec 20, 2021
  13. Dec 19, 2021
  14. Dec 16, 2021
    • Matthias Schiffer's avatar
      gluon-ebtables-filter-ra-dhcp: disable DHCPv4 filter when gw_mode == 'server' (#2324) · 1013dcb1
      Matthias Schiffer authored
      In meshes without VPN or supernodes, it may be desirable to connect a
      router providing IPv4 addresses directly to a regular Gluon node. For
      this to work, it was necessary to remove the gluon-ebtables-filter-ra-dhcp
      package from the node, so the autoupdater also needed to be disabled.
      
      To avoid this, make gluon-ebtables-filter-ra-dhcp disable the DHCPv4
      filter rules when gw_mode is set to 'server'.
      
      No solution is provided for RA/DHCPv6, but this seems less pressing for
      local meshes, as nodes can already provide working IPv6 connectivity
      by themselves through gluon-radvd.
      Unverified
      1013dcb1
  15. Dec 15, 2021
  16. Nov 12, 2021
  17. Oct 16, 2021
    • Matthias Schiffer's avatar
      gluon-neighbour-info: avoid recv() with NULL buffer (#2323) · 51a17084
      Matthias Schiffer authored
      Calling functions like recv() with a NULL buffer is not explicitly
      allowed by the POSIX standard, so it must be avoided to be portable
      across different libc implementations. Allocate an initial buffer before
      handling requests, and also pass this buffer to the peek recv() call.
      
      Fixes: 531937cf ("gluon-neighbour-info: fix broken output with large results")
      Unverified
      51a17084
  18. 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
  19. Oct 05, 2021
    • Matthias Schiffer's avatar
      gluon-core, gluon-site: get version numbers from .config · a6187cce
      Matthias Schiffer authored
      Calling git describe directly breaks isolation between the build system
      and packages. Replace this with proper .config variables, like we
      already do for GLUON_RELEASE.
      
      Also replace the PKG_VERSION hack with a static '1', as we do for other
      packages - while having those version numbers in opkg was cute, it was
      also entirely useless. Having a fixed PKG_VERSION allows us to remove
      the PKG_BUILD_DIR override as well.
      Unverified
      a6187cce
  20. Oct 04, 2021
    • T-X's avatar
      gluon-neighbour-info: fix broken output with large results (#2322) · 531937cf
      T-X authored
      
      Currently a buffer with a fixed size of 8192 bytes is used. However the
      result can potentially be larger, which leads to a truncated JSON
      output on stdout. UDP packets, without compression and with IP
      fragmentation, can be up to 64KiB large.
      
      Instead of using a fixed size buffer on the stack ask the kernel first
      about the size of the UDP data and allocate a buffer of appropriate size
      on the heap before receiving the UDP data.
      
      The issue was observed with a custom respondd provider.
      
      Signed-off-by: default avatarLinus Lüssing <linus.luessing@c0d3.blue>
      Unverified
      531937cf
Loading