Skip to content
Snippets Groups Projects
  1. 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
  2. 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
  3. 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
  4. Sep 14, 2021
    • lemoer's avatar
      gluon-mesh-vpn-wireguard: add package (#2168) · 3f7c0b3a
      lemoer authored
      The address of the vpn interface is calculated in the style of
      modified EUI-64, based on a virtual mac address. This virtual mac
      address consists of 0x00 as first byte and the other five bytes
      are taken from the first bytes of md5sum(base64 encoded public key).
      
      The algorithm was taken by the ffmuc, with a slight difference. ffmuc
      calculated the result of md5sum(base64 encoded public key + '\n')
      which was interpreted as accidential fault and therefore dropped.
      
      Example:
      - Public-Key: "gP3VJnTTvnQut+z4O+m0N9RgMyXbgyUbUkF3E3TKX2w="
      - Address: "fe80::02ca:b8ff:fedc:2eb3"
      
      The following interfaces are used for wireguard:
      - wg_mesh  -> wireguard interface
      - mesh-vpn -> vxlan iface on top of wg_mesh
      
      If you use this new feature, make sure the NTP servers in your site
      config are publicly reachable. This is necessary, since wireguard
      requires correct time before the vpn connection is established.
      Therefore gluon performs ntp time synchronisation via WAN before it
      establishes the vpn connection. Therefore the NTP servers have to
      be publicly reachable (and not only via mesh).
      Unverified
      3f7c0b3a
  5. Sep 11, 2021
  6. Sep 04, 2021
    • Matthias Schiffer's avatar
      treewide: clean up site checks for prefix[46] and extra_prefixes6 · 1ae70469
      Matthias Schiffer authored
      - Move site check for prefix4 and extra_prefixes6 to gluon-core, so the
        rules don't need to be duplicated in several packages. This also fixes
        gluon-respondd not checking extra_prefixes6 at all when
        gluon-ebtables-source-filter is not installed as well.
      - A redundant check for prefix6 is removed from gluon-l3roamd (this was
        already checked by gluon-core)
      - A separate check for prefix4 remains in gluon-client-bridge, as the
        setting in mandatory there
      Unverified
      1ae70469
  7. Aug 31, 2021
  8. Aug 28, 2021
  9. Aug 27, 2021
  10. Aug 12, 2021
  11. Aug 11, 2021
  12. Aug 10, 2021
  13. Aug 08, 2021
  14. Jul 23, 2021
  15. Jul 17, 2021
  16. Jul 15, 2021
  17. Jul 13, 2021
  18. Jul 12, 2021
  19. Jul 11, 2021
    • Matthias Schiffer's avatar
      gluon.mk: fix indentation · 3386221e
      Matthias Schiffer authored
      A leading tab character usually marks recipe lines in Makefiles;
      non-recipe lines must be indented using spaces.
      
      The incorrect tab character doesn't seen to have caused any issues in
      this case, but it should be fixed nonetheless, if only for consistency.
      Unverified
      3386221e
  20. Jul 01, 2021
  21. Jun 29, 2021
  22. Jun 26, 2021
  23. Jun 21, 2021
Loading