1. 19 Jan, 2021 1 commit
  2. 15 Jan, 2021 6 commits
    • Jan Pavlinec's avatar
      unbound: fix IP parsing in forwarding mode · 752f0318
      Jan Pavlinec authored
      Changes:
      - limit number of fowarding servers to 10
      - use get_servers_ip_addresses to get forwarding servers
      752f0318
    • Jan Pavlinec's avatar
      resolver-conf: update IP version checking for forwarding mode · 5d19a608
      Jan Pavlinec authored
      Changes:
      - add ipcheck.py utility
      - get_servers_ip_addresses to parse /tmp/resolv.conf.auto
      5d19a608
    • Jan Pavlinec's avatar
      knot-resolver: fix IP parsing in forwarding mode · 1062b4f4
      Jan Pavlinec authored
      Changes:
      - use get_servers_ip_addresses to get forwarding servers
      1062b4f4
    • Josef Schlehofer's avatar
      72ed6724
    • Josef Schlehofer's avatar
      Modify Github Actions to fit Turris OS packages · 36ec7e4f
      Josef Schlehofer authored
      It means that we are testing just our three platforms
      and one of it is even run tested in Docker. Also, it uses Docker
      repositories maintainer by OpenWrt developers.
      
      Tested platforms:
      powerpc_8540 (Turris 1.x)
      arm_cortex-a9_vfpv3-d16 (Turris Omnia)
      aarch64_cortex-a53 (Turris MOX, Turris Shield)
      - This one is run time tested in Docker
      
      This should compile packages and upload them as artefacts, which means
      that there is going to be less manual work which should lead to have
      merged pull requests faster.
      
      One minor disadvantage for now is that this compiles packages
      against OpenWrt releases (stable and snapshots) without our patches, which comes
      from turris-build repository and that it is tested against develop
      branch from turris-os-packages.
      
      Github Actions will be run on every push (including branches, commits)
      and pull request (here on GitHub).
      36ec7e4f
    • Paul Spooren's avatar
      Add Github Actions from packages feed · ddf7a9a6
      Paul Spooren authored
      This comes from the OpenWrt packages repository and added a few changes,
      which were not merged, yet. E.g. in packages feed, there is run test in
      Docker container if there is dedicated file test.sh near Makefile, but
      there is a pending change to be merged to run generic run test to check
      version of package even there is no test.sh
      Signed-off-by: Josef Schlehofer's avatarJosef Schlehofer <pepe.schlehofer@gmail.com>
      ddf7a9a6
  3. 14 Jan, 2021 1 commit
  4. 13 Jan, 2021 2 commits
  5. 12 Jan, 2021 3 commits
  6. 08 Jan, 2021 1 commit
  7. 07 Jan, 2021 2 commits
  8. 05 Jan, 2021 5 commits
  9. 04 Jan, 2021 2 commits
    • Josef Schlehofer's avatar
      omnia-mcutool: fix location of mcutool.c · 9a6e8841
      Josef Schlehofer authored
      This package failed with following output:
      arm-openwrt-linux-muslgnueabi-gcc: error: /foo/build/build_dir/target-arm_cortex-a9+vfpv3-d16_musl_eabi/omnia-mcutool-0.1/mcutool/mcutool.c: No such file or directory
      
      I found that mcutool.c is located at
      build_dir/target-arm_cortex-a9+vfpv3-d16_musl_eabi/omnia-mcutool-0.1/mcutool.c
      
      So folder mcutool was reduntant and because of it, I removed it and
      package omnia-mcutool can be compiled.
      9a6e8841
    • Josef Schlehofer's avatar
      python-uci: simplify Makefile by using sources from PyPI · d8a430fc
      Josef Schlehofer authored
      As pyuci is now on PyPI, I was able to simplify Makefile
      It means that we will download sources from PyPI.
      - In this case, we don't need to have anymore PKG_SOURCE_* variables.
      - Also, we don't need to update manually PKG_MIRROR_HASH by running
      make package/foo/download and make package/foo/check
      
      It would be enough to change just PKG_HASH and that's all.
      PKG_HASH we can get on PyPI.
      
      While at it:
      - I added variable PKG_LICENSE_FILES and added source package.
      - Fixed Section
      - Improved Title to match title on PyPI
      d8a430fc
  10. 29 Dec, 2020 1 commit
  11. 27 Dec, 2020 1 commit
  12. 25 Dec, 2020 7 commits
    • Glenn Strauss's avatar
      lighttpd: start Foris and reForis FastCGI backends on demand · 7182c530
      Glenn Strauss authored
      I would like to propose a small change to foris and reforis configurations which employ lighttpd min-procs => 0 and start up FastCGI backends upon demand, then kill them after an idle period.
      The default idle period is 60 seconds, but in the below patch I configure 180 seconds (3 minutes),
      so that if you access Foris or reForis web pages, the FastCGI backend will stick around or a few minutes as you navigate pages, but will be killed after you are done.
      The initial page load takes a few seconds, but after logging in, navigation is quick since the backend processes are still running until idle for 3 minutes.
      
      This small change immediately saves over 50 MB of resident memory
      
      More details can be found in this issue:
      #705
      (lighttpd: reduce memory usage of foris and reforis)
      7182c530
    • Glenn Strauss's avatar
      Revert "lighttpd: Add mod_auth_ticket" · 4d3ed745
      Glenn Strauss authored
      It was added to experiment with ticket mechanism, but Turris developers
      didn't get to it and it is not installed by default.
      Also, patch which was in Turris OS packages repository before this
      commit was old and not maintained well.
      
      The most reason for its revert is that is it not compatible with
      lighttpd 1.4.56 and it should be considered to use rather lighttpd-mod-auth-tkt
      [1] based on this repository [2] as lighttpd-mod-auth-ticket is no
      longer in development (in favor of lighttpd-mod-auth-tkt).
      
      Here is a snip:
      ---
      === LIMITATIONS ===
      
      **NOTE** due to these serious limitations, development is unlikely to continue.
      Instead, please prefer lighttpd mod_authn_tkt port of Apache mod_auth_tkt:
        https://github.com/gstrauss/lighttpd-mod_authn_tkt
      
      * mod_auth_ticket stores tickets in lighttpd process memory
        * unbounded memory use as new tickets are created, though freed after expire
        * tickets do not survive lighttpd restart
        * tickets are not usable across multiple server instances / machines
      * mod_auth_ticket is not written to refresh cookies before cookie timeout
      * mod_auth_ticket is not written to add expires= to cookie for timeout
      * mod_auth_ticket is not written to use the lighttpd mod_auth framework
      
      Prior version (https://github.com/tai/mod-auth-ticket-for-lighttpd)
      * mod_auth_ticket has unbounded memory use; expired tickets not deleted from mem
      * mod_auth_ticket has inefficient buffer use
      ---
      
      [1] https://github.com/gstrauss/lighttpd-mod_authn_tkt
      [2] https://github.com/gstrauss/lighttpd-mod_auth_ticket
      
      This reverts commit 88ef23fa
      
      x-ref:
        "lighttpd: Use upstream version instead of ours"
        #474Signed-off-by: Josef Schlehofer's avatarJosef Schlehofer <josef.schlehofer@nic.cz>
      [added commit message]
      4d3ed745
    • Glenn Strauss's avatar
      lighttpd: move read idle to foris/reforis configs · c3c6bcd4
      Glenn Strauss authored
      By default in lighttpd, there is used value 60s for
      server.max-read-idle [1]. We are using 90s since this commit [2],
      so we can keep ws connections alive as foris-ws ping thread has 60
      seconds timeout.
      
      So, anyone who is trying to modify lighttpd and configure his own
      website by using lighttpd has 90 seconds timeout. Let's move our
      modifications to Foris and reForis, where it suits better and stick
      to default values for global settings of lighttpd.
      
      [1] https://redmine.lighttpd.net/projects/1/wiki/Server_max-read-idleDetails
      [2] 7ab69679
      
      x-ref:
        "lighttpd: Use upstream version instead of ours"
        #474Signed-off-by: Josef Schlehofer's avatarJosef Schlehofer <josef.schlehofer@nic.cz>
      [improved commit message]
      c3c6bcd4
    • Josef Schlehofer's avatar
      turris-diagnostics: update to version 13.1.1 · 100a71ce
      Josef Schlehofer authored
      Changelog:
      Added
      * `updater` module now also prints pkglists
      
      Fixed
      * Ignored command line options when background mode was used
      100a71ce
    • Josef Schlehofer's avatar
      turris-diagnostics: update to version 13.1 · b0fcbad4
      Josef Schlehofer authored
      In version 13.1, we've updated list of domain names for resolution
      attemps based on the feedback on our forum
      b0fcbad4
    • Karel Koci's avatar
      turris-diagnostics: update to version 13.0.0 · d8eceb26
      Karel Koci authored
      Added
      * Help text can be now invoked not only by `help` but also using `-h`
      * Porcelain output for listing modules introduced with `-l` argument
        switch
      * Read syslog messages from permanent storage (/srv/log/messages)
      * DHCP diagnostics
      * Additional DNS diagnostics for forwarders and Knot-resolver config
      
      Changed
      * Order numbers are now not part of module name but rather required and
        stripped part of module naming scheme
      * Diagnostics script now exits with non-zero exit code when no output
        was generated when module execution is performed
      * Help text now prints and script exits before fork to background when
        `-b` argument is used.
      * `getopts` based argument parsing is not utilized allowing user to
        provide argument switches in any order and in more standard way
      * Usage is now printed when invalid usage of script is detected
      * Overall code cleanup
      
      Removed
      * Virtual module `help` as now help can be obtained with `-h` switch
      d8eceb26
    • Josef Schlehofer's avatar
  13. 17 Dec, 2020 5 commits
  14. 16 Dec, 2020 3 commits