Commit Graph

51402 Commits

Author SHA1 Message Date
remittor
2cccac926c Add support for using vermagic the same as in the official firmware 2024-07-10 03:16:46 +08:00
Lienol
368d7d7c2e dnsmasq: add refresh filter-https+unknown patch 2024-07-10 03:15:50 +08:00
Kevin Darbyshire-Bryant
d854402f06 dnsmasq: bump to v2.89
Signed-off-by: Kevin Darbyshire-Bryant <ldir@darbyshire-bryant.me.uk>
2024-07-10 03:15:50 +08:00
Leon M. George
84bba15d18 dnsmasq: refuse to add empty DHCP range
Use ipcalc's return value to react to invalid range specifications.
By simply ignoring the range instead of aborting with an error code,
dnsmasq should still start when there's an error (best effort).
Aborting the config generation or working with invalid range specs leaves
dnsmasq crash-looping which is the right thing to do concerning that
particular interface but it also hinders DHCP service on other interfaces
and DNS on the router itself.

Signed-off-by: Leon M. George <leon@georgemail.eu>
2024-07-10 03:15:50 +08:00
Hannu Nyman
726f0adb35 dnsmasq: set an increased cachesize default value
Dnsmasq DNS cache size is only 150 by default.
Set the uci default value to 1000, so that cache gets used more
and unnecessary DNS queries to upstream can be avoided.

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2024-07-10 03:15:50 +08:00
Kevin Darbyshire-Bryant
8c8b09ac07 dnsmasq: bump to v2.88
Most relevant feature for openwrt in this release, supports dynamically
removing hosts from 'hostsdir' supplied host files.

Signed-off-by: Kevin Darbyshire-Bryant <ldir@darbyshire-bryant.me.uk>
2024-07-10 03:15:50 +08:00
Daniel Golle
e17c642848 dnsmasq: add option to expose additional paths to jail
Add new UCI list 'addn_mount' allowing the expose additional filesystem
paths to the jailed dnsmasq process. This is useful e.g. in case of
manually configured includes to the configuration file or symlinks
pointing outside of the exposed paths as used by e.g. the safe-search
package in the packages feed.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2024-07-10 03:15:50 +08:00
Chen Minqiang
6a0b2b58cc dnsmasq: add support for filter-AAAA/A
This add --filter-A and --filter-AAAA options, to remove IPv4 or IPv6
addresses from DNS answers. these options is supported since version 2.87.

Co-authored-by: NueXini <nuexini@alumni.tongji.edu.cn>
Signed-off-by: Chen Minqiang <ptpt52@gmail.com>
2024-07-10 03:15:50 +08:00
Kevin Darbyshire-Bryant
2ef8a740f1 dnsmasq: remove backported CVE patch
Patch no longer applies/required since bump to v2.87

Signed-off-by: Kevin Darbyshire-Bryant <ldir@darbyshire-bryant.me.uk>
2024-07-10 03:15:50 +08:00
Kevin Darbyshire-Bryant
492ce5f690 dnsmasq: Support nftables nftsets
Add build option for nftables sets. By default disable iptables ipset
support.  By default enable nftable nftset support since this is what
fw4 uses.

Signed-off-by: Kevin Darbyshire-Bryant <ldir@darbyshire-bryant.me.uk>

dnsmasq: nftset: serve from ipset config

Use existing ipset configs as source for nftsets to be compatible with
existing configs. As the OS can either have iptables XOR nftables
support, it's fine to provide both to dnsmasq. dnsmasq will silently
fail for the present one. Depending on the dnsmasq compile time options,
the ipsets or nftsets option will not be added to the dnsmasq config
file.

dnsmasq will try to add the IP addresses to all sets, regardless of the
IP version defined for the set. Adding an IPv6 to an IPv4 set and vice
versa will silently fail.

Signed-off-by: Mathias Kresin <dev@kresin.me>

dnsmasq: support populating nftsets in addition to ipsets

Tell dnsmasq to populate nftsets instead of ipsets, if firewall4 is present in
the system. Keep the same configuration syntax in /etc/config/dhcp, for
compatibility purposes.

Huge thanks to Jo-Philipp Wich for basically writing the function.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Signed-off-by: Rui Salvaterra <rsalvaterra@gmail.com>

dnsmasq: obtain nftset ip family from nft

Unfortunately dnsmasq nft is noisy if an attempt to add a mismatched ip address
family to an nft set is made.

Heuristic to guess which ip family a nft set might belong by inferring
from the set name.

In order of preference:

If setname ends with standalone '4' or '6' use that, else
if setname has '4' or '6' delimited by '-' or '_' use that (eg
foo-4-bar) else
If setname begins with '4' or '6' standalone use that.

By standalone I mean not as part of a larger number eg. 24

If the above fails then use the existing nft set query mechanism and if
that fails, well you're stuffed!

With-thanks-to: Jo-Philipp Wich <jo@mein.io> who improved my regexp
knowledge.

Signed-off-by: Kevin Darbyshire-Bryant <ldir@darbyshire-bryant.me.uk>

dnsmasq: specify firewall table for nftset

Permit ipsets to specify an nftables table for the set.  New config
parameter is 'table'.  If not specified the default of 'fw4' is used.

config ipset
	list name 'BK_4,BK_6'
	option table 'dscpclassify'
	option table_family 'ip'
	option family '4'
	list domain 'ms-acdc.office.com'
	list domain 'windowsupdate.com'
	list domain 'update.microsoft.com'
	list domain 'graph.microsoft.com'
	list domain '1drv.ms'
	list domain '1drv.com'

The table family can also be specified, usually 'ip' or 'ip6' else the
default 'inet' capable of both ipv4 & ipv6 is used.

If the table family is not specified then finally a family option is
available to specify either '4' or '6' for ipv4 or ipv6 respectively.

This is all in addition to the existing heuristic that will look in the
nftset name for an ip family clue, or in total desperation, query the
value from the nftset itself.

Signed-off-by: Kevin Darbyshire-Bryant <ldir@darbyshire-bryant.me.uk>
2024-07-10 03:15:50 +08:00
Mathias Kresin
f714add069 dnsmasq: add uci-defaults script for ipset migration
When running sysupgrade from an existing configuration, move existing
ipset definitions to a dedicated config section. Later on, it will allow
to serve ipset as well as nftable sets from the same configuration.

Signed-off-by: Mathias Kresin <dev@kresin.me>
2024-07-10 03:15:50 +08:00
Daniel Golle
3e786d0570 dnsmasq: switch to ubus-based hotplug call
Use new ubus-based hotplug call in dhcp-script.sh
As sysntpd now makes use of the new ubus-based hotplug calls, dnsmasq
no longer needs to ship ACL to cover ntpd-hotplug.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2024-07-10 03:15:50 +08:00
Kevin Darbyshire-Bryant
3f5a156bac dnsmasq: bump to 2.87
Bump dnsmasq to 2.87 & refresh patches

Signed-off-by: Kevin Darbyshire-Bryant <ldir@darbyshire-bryant.me.uk>
2024-07-10 03:15:50 +08:00
Tianling Shen
fce395672b kernel/modules: add kmod-inet-diag package
Add option to compile kmod-inet-diag, support for INET (TCP, DCCP, etc)
socket monitoring interface used by native Linux tools such as ss.

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2024-07-10 03:15:50 +08:00
aiamadeus
9508988f0e r8125: update to version 9.010.01-2 2024-07-10 03:15:50 +08:00
Tianling Shen
4d33175879 r8125: Update to 9.009.02-1
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2024-07-10 03:15:50 +08:00
Tianling Shen
a27310eb39 r8125: bump to 9.009.01-1
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2024-07-10 03:15:50 +08:00
AmadeusGhost
b93708e84c r8125: add LED configuration from OF
Some devices need this to configure the LED configuration. This
way, the correct value for board specific LED configuration can
be determined.

Signed-off-by: AmadeusGhost <amadeus@jmu.edu.cn>
2024-07-10 03:15:50 +08:00
Tianling Shen
ce01d602c8 r8125: bump to 9.009.00
Switched to GitHub codeload.

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2024-07-10 03:15:49 +08:00
CN_SZTL
af0ab17813 r8125: bump to 9.008.00 2024-07-10 03:15:49 +08:00
lxhao61
110466cda2 dropbear: set lan by default 2024-07-10 03:15:49 +08:00
yangxu52
dc6b1031d5 k3: fix k3screenctrl run faild:SIGSEGV 2024-07-10 03:15:49 +08:00
Ross Shen
021fec37a5 dnsmasq: add filter-aaaa+https+unknown.patch
1. patch for dnsmasq-2.86 based on https://github.com/rozahp/dnsmasq
2. compatible with mini-ttl.patch
2024-07-10 03:15:49 +08:00
Lienol
9c81d1891c uhttpd: add enabled_https option 2024-07-10 03:15:49 +08:00
Lienol
f50e2d44ba shortcut-fe: update 2024-07-10 03:15:49 +08:00
wlmqwyf
6a4f5d00a6 ipq40xx: add support for Century WR142AC
Co-Authored-By: AmadeusGhost <42570690+AmadeusGhost@users.noreply.github.com>
2024-07-10 03:15:49 +08:00
Lienol
fdbda103f1 remove obsolete 4.19 patch 2024-07-10 03:15:49 +08:00
CN_SZTL
45fae51f56 autocore: add cpu freq & temp display for some arm devices
Co-Authored-By: CN_SZTL <cnsztl@project-openwrt.eu.org>
Co-Authored-By: AmadeusGhost <42570690+AmadeusGhost@users.noreply.github.com>
2024-07-10 03:15:49 +08:00
Lienol
aa70c11d81 samba36: add enabled option 2024-07-10 03:15:49 +08:00
Lienol
0fc053768a shortcut-fe: rework netfilter conntrack notification
The original patch over rode the nf_conntrack_un/register_notifier API, which will
break other modules relying on the API. Reworked the notification APIs to play nice
with others. Also avoid to touch the code of fullcone nat.

Co-Authored-By: AmadeusGhost <42570690+AmadeusGhost@users.noreply.github.com>
Co-Authored-By: quarkysg <35649562+quarkysg@users.noreply.github.com>
2024-07-10 03:15:49 +08:00
Lienol
080041e660 shortcut-fe: QCA shortcut-fe fast-path driver 2024-07-10 03:15:49 +08:00
Lienol
de6579a4bd x86: add r8125 by DEFAULT_PACKAGES 2024-07-10 03:15:49 +08:00
Lienol
800e3c2860 r8125: add 2.5G Ethernet LINUX driver 2024-07-10 03:15:49 +08:00
Lienol
1f813effff Revert "samba36: Remove"
This reverts commit 73fa1aba94.
2024-07-10 03:15:49 +08:00
Lienol
b303c37e1e uhttpd: set max_requests default 50 2024-07-10 03:15:49 +08:00
xiaorouji
a2f1a3072b ppp: add shellsync ppp support 2024-07-10 03:15:49 +08:00
AmadeusGhost
a5cd0a28cb ipq40xx: cm520: fix startup with opboot
Signed-off-by: AmadeusGhost <amadeus@openjmu.xyz>
2024-07-10 03:15:49 +08:00
Lienol
e64488ce76 ipq40xx: disable essedma default VLAN 2024-07-10 03:15:49 +08:00
Chen Minqiang
de3b75b662 ipq40xx: essedma Time-balanced scheduling
add script to adjust cpu affinity
essedma Time-balanced scheduling:
TX:
CPU:  |3          | |2          | |1          | |0          |
TX-Q: |15-14-13-12| |11-10-09-08| |07-06-05-04| |03-02-01-00|
          ___________|             |             |
          |  ______________________|             |
          |  |  _________________________________|
          |  |  |
TX-P: |15-11-07-03| |14-10-06-02| |13-09-05-01| |12-08-04-00|
TX-S: |---+--+--+-| |+-----+--+-| |+--+-----+-| |+--+--+----|
       |                |                |                |
RX:    |                |                |                |
CPU:  |3          | |   2       | |      1    | |         0 |
RX-Q: |07-06      | |05-04      | |03-02      | |01-00      |

Signed-off-by: Chen Minqiang <ptpt52@gmail.com>
2024-07-10 03:15:49 +08:00
hyird
2e48ddcdef ipq40xx: add support for ASUS RT-ACRH17
Co-Authored-By: AmadeusGhost <42570690+amadeusghost@users.noreply.github.com>
2024-07-10 03:15:49 +08:00
Lienol
6677ef2813 ipq40xx: add support for P&W R619AC 2024-07-10 03:15:49 +08:00
Lienol
dfabf59645 ipq40xx: add default TARGET_INITRAMFS_COMPRESSION_LZMA 2024-07-10 03:15:49 +08:00
mleaf
e238858757 ipq40xx: Add SD/MMC controller support 2024-07-10 03:15:49 +08:00
mleaf
e3d7c0b927 ipq40xx: add vqmmc regulator driver 2024-07-10 03:15:49 +08:00
coolsnowwolf
3e1a9d7c53 dnsmasq: add mini ttl support client-side cache 2024-07-10 03:15:49 +08:00
Lienol
b5b3a87173 dnsmasq: add filter-aaaa option 2024-07-10 03:15:48 +08:00
Lienol
c26663403e dnsmasq: add dns redirect option 2024-07-10 03:15:48 +08:00
Koen Vandeputte
d48bdb82d8 kernel: add missing symbol
Reported by Buildbot:

x86 instruction decoder selftest (X86_DECODER_SELFTEST) [N/y/?] (NEW) aborted!

Fixes: eca8a2ee0d ("kernel: bump 4.14 to 4.14.169")
Signed-off-by: Koen Vandeputte <koen.vandeputte@ncentric.com>

Update config-4.19
2024-07-10 03:15:48 +08:00
Lienol
71339455a8 bcm53xx: off gro when boot
This will likely improve NAT performance. To be tested. . .
2024-07-10 03:15:48 +08:00
Lienol
637a903264 phicomm-k3: set default depends 2024-07-10 03:15:48 +08:00