aboutsummaryrefslogtreecommitdiff
path: root/net
Commit message (Collapse)AuthorAge
* tor: bump to 0.4.7.12 stableRui Salvaterra2022-12-19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Quoting the changelog: Changes in version 0.4.7.12 - 2022-12-06 This version contains a major change that is a new key for moria1. Also, new metrics are exported on the MetricsPort for the congestion control subsystem. o Directory authority changes (moria1): - Rotate the relay identity key and v3 identity key for moria1. They have been online for more than a decade and refreshing keys periodically is good practice. Advertise new ports too, to avoid confusion. Closes ticket 40722. o Minor feature (Congestion control metrics): - Add additional metricsport relay metrics for congestion control. Closes ticket 40724. o Minor features (fallbackdir): - Regenerate fallback directories generated on December 06, 2022. o Minor features (geoip data): - Update the geoip files to match the IPFire Location Database, as retrieved on 2022/12/06. o Minor bugfixes (cpuworker, relay): - Fix an off by one overload calculation on the number of CPUs being used by our thread pool. Fixes bug 40719; bugfix on 0.3.5.1-alpha. Signed-off-by: Rui Salvaterra <rsalvaterra@gmail.com>
* tor: bump to 0.4.7.11 stableRui Salvaterra2022-12-19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Quoting the changelog: Changes in version 0.4.7.11 - 2022-11-10 This version contains several major fixes aimed at helping defend against network denial of service. It is also extending drastically the MetricsPort for relays to help us gather more internal data to investigate performance and attacks. We strongly recommend to upgrade to this version especially for Exit relays in order to help the network defend against this ongoing DDoS. o Directory authority changes (dizum, Faravahar): - Change dizum IP address. Closes ticket 40687. - Remove Faravahar until its operator, Sina, set it back up online outside of Team Cymru network. Closes ticket 40688. o Major bugfixes (geoip data): - IPFire informed us on August 12th that databases generated after (including) August 10th did not have proper ARIN network allocations. We are updating the database to use the one generated on August 9th, 2022. Fixes bug 40658; bugfix on 0.4.5.13. o Major bugfixes (onion service): - Set a much higher circuit build timeout for opened client rendezvous circuit. Before this, tor would time them out very quickly leading to unnecessary retries meaning more load on the network. Fixes bug 40694; bugfix on 0.3.5.1-alpha. o Major bugfixes (OSX): - Fix coarse-time computation on Apple platforms (like Mac M1) where the Mach absolute time ticks do not correspond directly to nanoseconds. Previously, we computed our shift value wrong, which led us to give incorrect timing results. Fixes bug 40684; bugfix on 0.3.3.1-alpha. o Major bugfixes (relay): - Improve security of our DNS cache by randomly clipping the TTL value. TROVE-2021-009. Fixes bug 40674; bugfix on 0.3.5.1-alpha. o Minor feature (Mac and iOS build): - Change how combine_libs works on Darwin like platforms to make sure we don't include any `__.SYMDEF` and `__.SYMDEF SORTED` symbols on the archive before we repack and run ${RANLIB} on the archive. This fixes a build issue with recent Xcode versions on Mac Silicon and iOS. Closes ticket 40683. o Minor feature (metrics): - Add various congestion control counters to the MetricsPort. Closes ticket 40708. o Minor feature (performance): - Bump the maximum amount of CPU that can be used from 16 to 128. Note that NumCPUs torrc option overrides this hardcoded maximum. Fixes bug 40703; bugfix on 0.3.5.1-alpha. o Minor feature (relay): - Make an hardcoded value for the maximum of per CPU tasks into a consensus parameter. - Two new consensus parameters are added to control the wait time in queue of the onionskins. One of them is the torrc MaxOnionQueueDelay options which supersedes the consensus parameter. Closes ticket 40704. o Minor feature (relay, DoS): - Apply circuit creation anti-DoS defenses if the outbound circuit max cell queue size is reached too many times. This introduces two new consensus parameters to control the queue size limit and number of times allowed to go over that limit. Closes ticket 40680. o Minor feature (relay, metrics): - Add DoS defenses counter to MetricsPort. - Add congestion control RTT reset counter to MetricsPort. - Add counters to the MetricsPort how many connections, per type, are currently opened and how many were created. - Add relay flags from the consensus to the MetricsPort. - Add total number of opened circuits to MetricsPort. - Add total number of streams seen by an Exit to the MetricsPort. - Add traffic stats as in number of read/written bytes in total. - Related to ticket 40194. o Minor features (fallbackdir): - Regenerate fallback directories generated on November 10, 2022. o Minor features (geoip data): - Update the geoip files to match the IPFire Location Database, as retrieved on 2022/11/10. o Minor bugfixes (authorities, sandbox): - Allow to write file my-consensus-<flavor-name> to disk when sandbox is activated. Fixes bug 40663; bugfix on 0.3.5.1-alpha. o Minor bugfixes (dirauth): - Directory authorities stop voting a consensus "Measured" weight for relays with the Authority flag. Now these relays will be considered unmeasured, which should reserve their bandwidth for their dir auth role and minimize distractions from other roles. In place of the "Measured" weight, they now include a "MeasuredButAuthority" weight (not used by anything) so the bandwidth authority's opinion on this relay can be recorded for posterity. Lastly, remove the AuthDirDontVoteOnDirAuthBandwidth torrc option which never worked right. Fixes bugs 40698 and 40700; bugfix on 0.4.7.2-alpha. o Minor bugfixes (onion service client): - A collapsing onion service circuit should be seen as an "unreachable" error so it can be retried. Fixes bug 40692; bugfix on 0.3.5.1-alpha. o Minor bugfixes (onion service): - Make the service retry a rendezvous if the circuit is being repurposed for measurements. Fixes bug 40696; bugfix on 0.3.5.1-alpha. o Minor bugfixes (relay overload statistics): - Count total create cells vs dropped create cells properly, when assessing if our fraction of dropped cells is too high. We only count non-client circuits in the denominator, but we would include client circuits in the numerator, leading to surprising log lines claiming that we had dropped more than 100% of incoming create cells. Fixes bug 40673; bugfix on 0.4.7.1-alpha. o Code simplification and refactoring (bridges): - Remove unused code related to ExtPort connection ID. Fixes bug 40648; bugfix on 0.3.5.1-alpha. Signed-off-by: Rui Salvaterra <rsalvaterra@gmail.com>
* smcroute: update to 2.5.6Alexey Smirnov2022-12-19
| | | | Signed-off-by: Alexey Smirnov <s.alexey@gmail.com>
* igmpproxy: update to version 0.4.0Oli Ze2022-12-16
| | | | Signed-off-by: Oli Ze <olze@trustserv.de>
* AdGuardHome: update to v0.107.21YiZhen Choo2022-12-16
| | | | Signed-off-by: YiZhen Choo <yizhen.c02@gmail.com>
* OpenAppID: add new packageJohn Audia2022-12-16
| | | | | | | | | | | | | | | | | | | | | | Traditionally, Snort rules are based upon packet analysis. OpenAppID enables detection of applications/cloud applications on the network. This package provides OpenAppID and signature files used by OpenAppID to detect network traffic from certain applications can be used to identify rogue application use, detect malicious applications and implement various application policies, such as application blacklisting, limiting application usage, and enforcing conditional controls. To use, for example, edit /etc/snort/local.lua and add the following section at a minimum: appid = { app_detector_dir = '/usr/lib/openappid', log_stats = true, app_stats_period = 60, } Signed-off-by: John Audia <therealgraysky@proton.me>
* pdns-recursor: update to 4.8.0Peter van Dijk2022-12-15
| | | | Signed-off-by: Peter van Dijk <peter.van.dijk@powerdns.com>
* acme-acmesh: Provide a 'combined' certificate bundle as wellToke Høiland-Jørgensen2022-12-14
| | | | | | | | | | | | | | | The haproxy hotplug script creates a 'combined' certificate bundle that contains both the certificate chain and the private key. However, having a daemon hotplug script write into CERT_DIR is not great; so let's provide the bundle as part of the main acme framework, keeping it in $domain_dir and just linking it into CERT_DIR. That way we can keep CERT_DIR as just a collection of links for everything, that no consumers should need to write into. Also make sure to set the umask correctly so the combined file is not world-readable (since it contains the private key). Signed-off-by: Toke Høiland-Jørgensen <toke@toke.dk>
* acme-acmesh: Don't hard-code certificate directoryToke Høiland-Jørgensen2022-12-14
| | | | | | | | | The acme-acmesh package hardcoded the certificate path in its hook script. Now that we export it as a variable we can avoid hard-coding and use the variable version instead. Also factor out the linking of certificates into a function so it's not repeated. Signed-off-by: Toke Høiland-Jørgensen <toke@toke.dk>
* acme-common: Export canonical paths for storing certificates and challengesToke Høiland-Jørgensen2022-12-14
| | | | | | | | | | | | The contract between the acme-common framework and consumers and hook scripts is that certificates can be consumed from /etc/ssl/acme and that web challenges are stored in /var/run/acme/challenge. Make this explicit by exporting $CERT_DIR and $CHALLENGE_DIR as environment variables as well, instead of having knowledge of those paths depend on out-of-band information. We already exported $challenge_dir, but let's change it to upper-case to make it clear that it's not a user configuration variable. Signed-off-by: Toke Høiland-Jørgensen <toke@toke.dk>
* Merge pull request #20059 from hgl/acmeToke Høiland-Jørgensen2022-12-14
|\ | | | | acme: deprecate state_dir
| * acme-acmesh: use $challenge_dirGlen Huang2022-12-14
| | | | | | | | Signed-off-by: Glen Huang <i@glenhuang.com>
| * acme: deprecate state_dirGlen Huang2022-12-14
| | | | | | | | | | | | | | | | | | | | | | | | | | state_dir is actually a hardcoded value in conffiles. Allowing users to customize it could result in losing certificates after upgrading if they don't also specify the dir as being preserved. We shouldn't default to this dangerous behavior. With the new ACME package, certificates live in the standard location /etc/ssl/acme, users who need to do certificate customizations should look for them in that dir instead. Signed-off-by: Glen Huang <i@glenhuang.com>
* | Merge pull request #20062 from stangri/master-pbrStan Grishin2022-12-12
|\ \ | | | | | | pbr: detect missing iptables
| * | pbr: detect missing iptablesStan Grishin2022-12-12
| | | | | | | | | | | | Signed-off-by: Stan Grishin <stangri@melmac.ca>
* | | openssh: update to 9.1p1Sibren Vasse2022-12-13
| | | | | | | | | | | | Signed-off-by: Sibren Vasse <github@sibrenvasse.nl>
* | | simple-adblock: bugfix: add dnsmasq.nftset to uci_load_validateStan Grishin2022-12-12
| | | | | | | | | | | | | | | | | | | | | | | | * fixes https://github.com/openwrt/openwrt/issues/11481 thanks to: * https://github.com/mistepien for reporting * https://github.com/dave14305 for diagnosing Signed-off-by: Stan Grishin <stangri@melmac.ca>
* | | Merge pull request #19982 from golddranks/masterTianling Shen2022-12-13
|\ \ \ | | | | | | | | ddns-scripts: update_gandi_net: improve logging & add timeout
| * | | ddns-scripts: update_gandi_net: improve logging & add timeoutPyry Kontio2022-12-10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Improved logging - Log the executed curl command to be able to rerun and test it manually - Log the curl exit status - Added 30 second timeout timeout for clear-cut detection of flaky connections. Signed-off-by: Pyry Kontio <pyry.kontio@drasa.eu>
* | | | knot: update to version 3.2.4Jan Hák2022-12-13
| |/ / |/| | | | | | | | Signed-off-by: Jan Hák <jan.hak@nic.cz>
* | | pdns: update to 4.7.3Peter van Dijk2022-12-12
| | | | | | | | | | | | Signed-off-by: Peter van Dijk <peter.van.dijk@powerdns.com>
* | | wget: apply upstream fix to avoid nettle linking in nosslHannu Nyman2022-12-11
| |/ |/| | | | | | | | | | | | | | | | | | | Replace my own patch with the upstream solution, which they issued in response to my bug report. (Two patches as they overlooked something on the first try. Reference to https://savannah.gnu.org/bugs/index.php?63431 ) The nettle lib evaluation is now conditional to not having "--disable-ntlm". Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
* | https-dns-proxy: fix restartStan Grishin2022-12-10
| | | | | | | | Signed-off-by: Stan Grishin <stangri@melmac.ca>
* | Merge pull request #20040 from stangri/master-https-dns-proxyStan Grishin2022-12-09
|\ \ | | | | | | https-dns-proxy: add mdns service records
| * | https-dns-proxy: add mdns service recordsStan Grishin2022-12-07
| | | | | | | | | | | | | | | | | | | | | | | | * add mdns records for started instances * Makefile: use $(PKG_VERSION) as a value for PKG_SOURCE_DATE instead of hard-coding it Signed-off-by: Stan Grishin <stangri@melmac.ca>
* | | simple-adblock: support new OISD dnsmasq configStan Grishin2022-12-10
| | | | | | | | | | | | | | | | | | * OISD dnsmasq config files switched from using address= to server= Signed-off-by: Stan Grishin <stangri@melmac.ca>
* | | ddns-scripts: add support for Google Cloud DNSChris Barrick2022-12-08
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The implementation uses a GCP service account. The user is expected to create and secure a service account and generate a private key. The "password" field can contain the key inline or be a file path pointing to the key file on the router. The GCP project name and Cloud DNS ManagedZone must also be provided. These are taken as form-urlencoded key-value pairs in param_enc. The TTL can optionally be supplied in param_opt. Signed-off-by: Chris Barrick <chrisbarrick@google.com>
* | | tailscale: preserve tailscaled state fileCarlo Alberto Ferraris2022-12-09
| | | | | | | | | | | | | | | Fixes #19774 Signed-off-by: Carlo Alberto Ferraris <cafxx@strayorange.com>
* | | modemmanager: bump to 1.20.2Kuan-Yi Li2022-12-09
| | | | | | | | | | | | | | | | | | | | | | | | Drop deprecated AUTORELEASE. Disable unused tests as its compilation is optional in 1.20. Signed-off-by: Kuan-Yi Li <kyli@abysm.org>
* | | privoxy: fix preinst/postinst script indentationAlois Klink2022-12-08
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix the indentation of the preinst/postinst scripts for the privoxy package. Because these scripts didn't start with `#!/bin/sh` (they instead started with the TAB character), `/bin/sh` was not used to start them. On x86_64 and i386_pentium-mmx, this seems to be fine, but on arm_cortex-a15_neon-vfpv4 and aarch64_cortex-a53, running these scripts fails with a: ``` Installing privoxy (3.0.33-3) to root... Collected errors: * pkg_run_script: package "privoxy" preinst script returned status 1. * preinst_configure: Aborting installation of privoxy. * opkg_install_cmd: Cannot install package privoxy. ``` Reported-by: Marius Dinu <m95d+git@psihoexpert.ro> Signed-off-by: Alois Klink <alois@aloisklink.com>
* | | Merge pull request #19933 from stintel/vallumdStijn Tintel2022-12-08
|\ \ \ | |/ / |/| | vallumd: updates
| * | vallumd: bump to 0.2.2Stijn Tintel2022-11-18
| | | | | | | | | | | | | | | | | | Add upstream patch to fix building from source tarballs. Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
| * | vallumd: bump to 0.2.1Stijn Tintel2022-11-18
| | | | | | | | | | | | Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
| * | vallumd: point PKG_SOURCE_URL to CodebergStijn Tintel2022-11-18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The github repository has been archived; the project is now hosted on Codeberg. Update the PKG_SOURCE_URL accordingly. Gitea doesn't seem to add a version suffix to the directory in the tarball, so use a custom PKG_BUILD_DIR. Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
* | | snort3: unified configs: local.lua and homenet.luaJohn Audia2022-12-08
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit adds /etc/snort/local.lua and /etc/snort/homenet.lua for user defined config options which is more simplistic than modifying upstream files directly. That can be tedious and decisive to maintain in sync with upstream changes. The init script has been adjusted accordingly. Acknowledgment to amish who maintains the Arch Linux snort-nfqueue package[1] for these ideas and initial code. Another modification is dropping the following args in the call to /usr/bin/snort by the init system as these options are provided in /etc/snort/local.lua: * --daq-dir /usr/lib/daq/ * -A "$alert_module" Instructions to configure snort3: 1. Edit /etc/snort/homenet.lua and redefine HOME_NET and EXTERNAL_NET, for example: HOME_NET = [[ 10.9.8.0/24 192.168.1.0/24 ]] EXTERNAL_NET = "!$HOME_NET" 2. Edit /etc/snort/local.lua to setup options unique to your use case of snort. The default ones I included should be sane for the role of IDS (alert only), but users may easily uncomment some options therein to use IPS (drop) mode. 3. Install or symlink rules to /etc/snort/rules/snort.rules and optionally edit /etc/snort/local.lua to define extra rules files if not using a unified 'snort.rules' References: 1. https://aur.archlinux.org/packages/snort-nfqueue Signed-off-by: John Audia <therealgraysky@proton.me>
* | | Merge pull request #20036 from ysc3839/natmap-fixTianling Shen2022-12-07
|\ \ \ | | | | | | | | natmap: merge "ipv4" and "ipv6" options into single "family" option
| * | | natmap: merge "ipv4" and "ipv6" options into single "family" optionRichard Yu2022-12-07
| | | | | | | | | | | | | | | | Signed-off-by: Richard Yu <yurichard3839@gmail.com>
* | | | bpfcountd: remove incomplete/broken namespace featureLinus Lüssing2022-12-07
|/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The original idea of the extra namespace variable was to set up bpfcountd from other daemons etc. independent of what a user configured in /etc/config/bpfcountd for instance. Like: $ UCI_CONFIG_DIR=/var/run/bpfcountd/gluon-config \ /etc/init.d/bpfcountd start "" gluon However there are still issues with this approach: 1) Instance specific stop calls like: $ /etc/init.d/bpfcountd stop <instance-name> <namespace>" will not stop the according namespaced instance, as the stop() in /etc/rc.common will call procd_kill() without the namespace prefix. And we can't overwrite that behaviour. And asking a user to use "... start <in> <ns>" and "... stop <ns>.<in>" is confusing. (and currently "... stop <ns>.<in>" would not remove the correct unix socket). 2) A stop call without an instance/config name would always stop all instances. So the namespace variable would be ignored. While start without an instance "works", but: 3) It would stop any process that is not in the currently selected UCI_CONFIG_DIR. As all this is not easily fixable without changing OpenWrt internals, just remove the whole namespace idea for now. Signed-off-by: Linus Lüssing <linus.luessing@c0d3.blue>
* | | dnsproxy: Update to 0.46.4Tianling Shen2022-12-07
| | | | | | | | | | | | Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
* | | cloudflared: Update to 2022.11.1Tianling Shen2022-12-07
| | | | | | | | | | | | Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
* | | Merge pull request #19613 from wormi4ok/tailscale-version-bumpJosef Schlehofer2022-12-05
|\ \ \ | | | | | | | | tailscale: update to v1.32.0
| * | | tailscale: Update to version 1.32.3Stanislav Petrashov2022-12-03
| | | | | | | | | | | | | | | | Signed-off-by: Stanislav Petrashov <s@petrashov.ru>
| * | | tailscale: update to v1.32.0Stanislav Petrashov2022-12-03
| | | | | | | | | | | | | | | | Signed-off-by: Stanislav Petrashov <s@petrashov.ru>
* | | | snort3: update to 3.1.48.0-1John Audia2022-12-06
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Had to add a patch to allow builds of targets containing '+' in their dir name Build system: x86_64 Build-tested: bcm2711/RPi4B Run-tested: bcm2711/RPi4B Signed-off-by: John Audia <therealgraysky@proton.me>
* | | | Merge pull request #19998 from ysc3839/natmapTianling Shen2022-12-06
|\ \ \ \ | | | | | | | | | | natmap: add new package
| * | | | natmap: add new packageRichard Yu2022-12-05
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | NATMap is a program for opening port behind full cone NAT (NAT-1), without the need for using UPnP or another port forward settings. More details can be found at original repo: https://github.com/heiher/natmap Signed-off-by: Richard Yu <yurichard3839@gmail.com>
* | | | | snowflake: update to version 2.4.1Daniel Golle2022-12-05
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Changes in version v2.4.1 - 2022-12-01 - Issue 40224: Bug fix in utls roundtripper Changes in version v2.4.0 - 2022-11-29 - Fix proxy command line help output - Issue 40123: Reduce multicast DNS candidates - Add ICE ephemeral ports range setting - Reformat using Go 1.19 - Update CI tests to include latest and minimum Go versions - Issue 40184: Use fixed unit for bandwidth logging - Update gorilla/websocket to v1.5.0 - Issue 40175: Server performance improvements - Issue 40183: Change snowflake proxy log verbosity - Issue 40117: Display proxy NAT type in logs - Issue 40198: Add a `orport-srcaddr` server transport option - Add gofmt output to CI test - Issue 40185: Change bandwidth type from int to int64 to prevent overflow - Add version output support to snowflake - Issue 40229: Change regexes for ipv6 addresses to catch url-encoded addresses - Issue 40220: Close stale connections in standalone proxy Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* | | | | Merge pull request #19763 from stangri/master-pbrStan Grishin2022-12-04
|\ \ \ \ \ | |_|/ / / |/| | | | pbr: initial commit
| * | | | pbr: initial commitStan Grishin2022-12-03
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * The makefile produces the nft and iptables capable `pbr` package and the `pbr-iptables` package for legacy setups * This replaces `vpnbypass` and `vpn-policy-routing` packages * I'm soliciting feedback on this package and my intention is to update the version to 1.0.0 before this is merged, but I need the feedback on this and luci-app-pbr before then. Signed-off-by: Stan Grishin <stangri@melmac.ca>
* | | | | bpfcountd: add initial packageLinus Lüssing2022-12-03
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | bpfcountd was created to obtain packet statistics in larger networks without stressing the cpu resources. bpfcountd will count the amount of packages and bytes over time (for each defined rule). The rules are defined using the tcpdump filter syntax (bpf). The collected data is provided on a unix socket in plaintext. Signed-off-by: Linus Lüssing <linus.luessing@c0d3.blue>