Commit Graph

117 Commits

Author SHA1 Message Date
sahbot
cf967a564c Integrating unbound-prpl to gen_1.18.0_prpl_v0.1.4
Issue: HOP-7421 - [DNS] unbound is failing to resolve internal dns name

Signed-off-by: sahbot                 <sahbot@softathome.com>
GitOrigin-RevId: a47f0b104fe7dc06f5efff43703ac3a4eb18e38d
2025-02-13 13:49:56 +01:00
Matthias Franck
cfbbc414e5 Merge branch 'dev_ppw252' into 'mainline-23.05'
lxc: show network config of unprivileged containers (PPW-285)

See merge request prpl-foundation/prplos/feeds/feed_opensource!6
mainline-23.05_v1.0.0
2024-12-19 15:45:56 +00:00
sahbot
da12209be6 lxc: show network config of unprivileged containers (PPW-285)
When an unprivileged container is running with an inheritted network
namespace, then the ip addresses of the container are not shown with
'lxc-ls -f'. This patch will let lxc first enter the net namespace
before entering the user namespace, to prevent permission errors.

Issue: LCMFT-425 network config of unprivileged containers is not shown
Issue: PPW-285 - Network config KO in unprivileged mode

GitOrigin-RevId: fe6df59a1019e3f2d436ffa6a6f76b5bbe0c345d
Signed-off-by: Matthias FRANCK <matthias.franck@softathome.com>
2024-12-19 15:26:55 +01:00
sahbot
2f96a3a4f7 [CI] Update PKG_HASH
GitOrigin-RevId: 427d9b0fad06d950c408ea4457ef77825776598a
2024-11-15 22:20:28 +01:00
sahbot
01757975b5 Integrating ppp-prpl to gen_2.4.9_proj_prpl_v0.1.6
Issue: HOP-3212 - plugin can stop unexpectedly when using library

Signed-off-by: sahbot                 <sahbot@softathome.com>
GitOrigin-RevId: a83324c9d1aaefaff16ed0c14e67c1dea01d495b
2024-11-15 22:20:02 +01:00
sahbot
973678ec10 miniupnpd: PCP entries created by UPnP-IGD are not cleared when the UPnP-IGD is disabled (HOP-7253)
Problem: [UPnP-IGD] PCP entries created by UPnP-IGD are not cleared when the UPnP-IGD is disabled

Cause: This behaviour isn't supported

Solution: Add this behaviour support and disable the miniupnp lease file because it causes desynchronisation
between lease file and DM. We don't need two sync files.

Issue: HOP-7253 - [UPnP-IGD] PCP entries created by UPnP-IGD are not cleared when the UPnP-IGD is disabled
GitOrigin-RevId: c84cbf8594ad2e989f07162dff06e6bf9716f088
2024-11-15 22:18:28 +01:00
sahbot
415fffe796 [CI] Update PKG_HASH
GitOrigin-RevId: 7a0f26bfdbc317f8af4245ada9ba8a8b0f5306e2
2024-11-15 22:18:03 +01:00
sahbot
d17c5df19c Integrating miniupnpd-prpl to gen_miniupnpd_2_3_3_v0.3.12
Issue: HOP-7453 - [UPnP][REG]The DUT Advertise WANIPConnection instead of WANPPPConnection [change]

Signed-off-by: sahbot                 <sahbot@softathome.com>
GitOrigin-RevId: caf1a73aafbe62da99e49be4242d3bc35987a9d8
2024-11-15 22:17:58 +01:00
sahbot
50685a89bc [CI] Update PKG_HASH
GitOrigin-RevId: 945ac9752436bd8f75b472e7eb1a4e4f101c0be6
2024-11-15 22:17:53 +01:00
sahbot
9941b4a09a Integrating miniupnpd-prpl to gen_miniupnpd_2_3_3_v0.3.11
Issue: HOP-7345 - [UPnP][DSLite] Miniupnpd is using developer's tool as feature [new]

Signed-off-by: sahbot                 <sahbot@softathome.com>
GitOrigin-RevId: 8420c3c4ee424657a951a2b8fc2d9cda1faea772
2024-11-15 22:17:49 +01:00
sahbot
532abe3244 [CI] Update PKG_HASH
GitOrigin-RevId: 5131611cfbc9c873c4b1ae7136275c727d0de5ee
2024-11-15 22:17:44 +01:00
sahbot
50ac417a7a Integrating miniupnpd-prpl to gen_miniupnpd_2_3_3_v0.3.10
Issue: HOP-6872 - [tr181-upnp] the port opened by UPnP is not closed after 20 minutes of inactivity

Signed-off-by: sahbot                 <sahbot@softathome.com>
GitOrigin-RevId: 88a587e02b0e6e02b998e26f3c28a0317efcf485
2024-11-15 22:17:37 +01:00
sahbot
0bd58813e2 [CI] Update PKG_HASH
GitOrigin-RevId: 777a5a99ac6112ea8492be397a5ffd1b2e73a194
2024-11-14 17:14:40 +01:00
sahbot
fbf430b3a2 Integrating odhcpd to gen_d8118f6e_v0.2.4
Issue: HOP-7472 [IPv6][DHCPv6-s] HGW provides its own GUA address to stateful LAN client

Signed-off-by: sahbot                 <sahbot@softathome.com>
GitOrigin-RevId: 821b476daf0f8e851e11146a3eafe2dd903a5d96
2024-11-14 17:14:34 +01:00
sahbot
251931830a [CI] Update PKG_HASH
GitOrigin-RevId: d6557396b20eedc0522eef3b724e06dfec867c3b
2024-11-14 17:14:27 +01:00
sahbot
320785ed17 Integrating odhcpd to gen_d8118f6e_v0.2.3
Issue: HOP-7048 - [tr181-dhcpv6server] DSCP value in dhcpv6 packet
Issue: HOP-7049 [dhcpv6 server] Option 17 vendor specific option should be supported

Signed-off-by: sahbot                 <sahbot@softathome.com>
GitOrigin-RevId: 15b98a58d7da688b2b8ecd5358991c1db41108b6
2024-11-14 17:14:23 +01:00
sahbot
ea2e0af4dd [CI] Update PKG_HASH
GitOrigin-RevId: 3e3921c7e71a159fa277d57e57923441c2f6366d
2024-11-14 17:14:20 +01:00
sahbot
278b65ba6e Integrating odhcpd to gen_d8118f6e_v0.2.2
Issue: HOP-7048 - [tr181-dhcpv6server] DSCP value in dhcpv6 packet

Signed-off-by: sahbot                 <sahbot@softathome.com>
GitOrigin-RevId: 769aa260f339d2979b701a854bb279dc5f2fe1d0
2024-11-14 17:14:16 +01:00
sahbot
e0254c8262 [CI] Update PKG_HASH
GitOrigin-RevId: 9d22dffc0e1439e271ad51e37cc57d1480f699fd
2024-11-14 17:14:08 +01:00
sahbot
0f147e22e3 Integrating odhcpd to gen_d8118f6e_v0.2.1
Issue: HOP-7392 [odhcpd] Have some "notice" logs

Signed-off-by: sahbot                 <sahbot@softathome.com>
GitOrigin-RevId: 0f7fea5fc0041d31b7528a3ac1eda4f84c17370b
2024-11-14 17:14:04 +01:00
sahbot
1ead302be1 odhcpd: odhcpd.defaults: change default loglevel to 6
Problem:
Readme of odhcpd indicates that default loglevel is 6. But "notice logs" (level 5) are not shown in the syslog.

Cause:
File odhcp.defaults sets the default loglevel to 4.

Solution:
Change default loglevel to 6 in the file odhcp.defaults.

Issue: HOP-7392 [odhcpd] Have some "notice" logs
GitOrigin-RevId: 68042bbde48851d29d23d9c999aec63cf030d564
2024-11-14 17:13:53 +01:00
sahbot
c567256826 odhcpd: bump to v0.2.0
Issue: HOP-4950 [DHCPv6] IP Start, End range and lease Time TR181 Data models are not available: part 2, functional part
GitOrigin-RevId: 19936ab255acbd2107399289e1e9dc6015327f16
2024-11-14 17:13:45 +01:00
sahbot
e3ef227562 [odhcpd] use forked git repo
This allows us to easily modify the source code (no patch files needed).

GitOrigin-RevId: 91977b00a9cd0065653c3343f9a26e69045de87f
2024-11-14 17:13:39 +01:00
sahbot
9a2e2400c4 [odhcpd] add patch to fix odhcpd can't find physical interface of 'lan'
To translate the logical interface name (e.g. lan) to the physical name (e.g. br-lan)
 - first odhcpd will look in /etc/config/dhcp for dhcp.lan.ifname or dhcp.lan.networkid
 - then, if compiled with WITH_UBUS, odhcpd will look at /etc/config/network and the interface name is overruled even if not found

This patch should be upstreamed. This is tracked in PCF-951

GitOrigin-RevId: ee0791bd8e7e86cb8b98f5769ee1c9cdfde64992
2024-11-14 17:13:33 +01:00
sahbot
ac8e425ae8 import odhcpd v2023-10-24
This is the openwrt23.05 version

GitOrigin-RevId: 627f05ea4437efad92384e119888dfde596752e7
2024-11-14 17:13:28 +01:00
sahbot
a9ee01f116 [odhcp6c] use forked repository
This allows for costumizations which are too big to work with patch files.

GitOrigin-RevId: 747b495a415aa86c1567f6d54d330e5efd645dfa
2024-11-14 17:12:57 +01:00
sahbot
eac9bf7eab odhcp6c: add t1 and t2 transmition
Problem: there was no way to get access to the t1 and t2 that the
dhcpv6 server send to the client

Solution: add the timing in the Prefix and Address set on the env

Issue: HOP-6080 - [DHCPv6Client] The HGW shall support Config datamodel
GitOrigin-RevId: 0792f7c9dbcd49d641003e808711e0c0413fc1bd
2024-11-14 17:12:57 +01:00
sahbot
d343e3aad6 Issue: HOP-5738 [odhcp6c] Wrong retransmission of DHCPv6 Solicit [fix]
When the DHCPv6 client sends a DHCPv6 Solicit with both IA_NA and IA_PD options, and if the server replies with a status code = NoAddrsAvailable in the IA_NA option, then currently the DHCPv6 client sends a new Solicit with only the IA_PD option despite the fact that a prefix was sent by the server in the previous Advertise.

This behavior is described in https://datatracker.ietf.org/doc/html/rfc7550#section-4.2

The client must handle the case of a server that does not offer both valid IA_NA and IA_PD options when both are requested, according to RFC 7550. It should not send a new Solicit, but a Request. The client should however ignore the Advertise message if none of the IA_NA and IA_PD options are offered by the server.

GitOrigin-RevId: f90d3b3210f9f8189461a234a31b465f63073593
2024-11-14 17:12:57 +01:00
sahbot
35fe21e4e7 [odhcp6c] add patch to prevent sending of router sollicitations
According to TR181, setting the RSEnable parameter to false should result in no router solicitation messages to be sent from the interface. This seems not the case, the messages are always seen regardless of the parameter value.
To solve this patch odhcp6c to not automatically sends Router Sollicitations as well.

This patch should be properly reworked to make it upstreamable. This progress is tracked in PCF-950

GitOrigin-RevId: df618819bc948b5dab2ba028548c749d4ed4533e
2024-11-14 17:12:57 +01:00
sahbot
5ef1bf26c9 import odhcp6c v2023-05-12
this is the openwrt23.05 version

GitOrigin-RevId: f541ac06dee2fb50030c24d7adbf186a4c6fbb95
2024-11-14 17:12:57 +01:00
Yüce Kürüm
dfac84f24c Merge branch 'latest-3.1' into 'mainline-3.1'
lxc: Patch for problem described in PPW-60 cthulhu: random: container is not properly started

See merge request prpl-foundation/prplos/feeds/feed_opensource!2
prplos-v3.1.0
2024-10-03 13:54:32 +00:00
sahbot
882888437e Patch for problem described in PPW-60 cthulhu: random: container is not properly started
GitOrigin-RevId: 31c187d765a7a00289585497c0f9a78e1e2dd0ce
2024-10-02 17:43:35 +02:00
sahbot
1a0d3406d4 lxc: fix huge binary sizes by backporting upstream Meson dynlink fixes
This backports commit eb6939fdeb from the openwrt packages feed.

Issue: PCF-1315 LXC executables are very big in size and this increases the image size a lot
GitOrigin-RevId: 4c197322e03951fad9c2e75b5958d29c35aea952
2024-10-02 17:41:21 +02:00
sahbot
879b5f2f9f lxc: add patch to fix lxc-attach not working in unprivileged mode
If a container is started unprivileged with a shared namespace, then it is not possible to attach to the container with error:
lxc-attach netns 20240513090718.131 ERROR    attach - ../src/lxc/attach.c:__attach_namespaces_nsfd:666 - Operation not permitted - Failed to attach to net namespace of 6468 lxc-attach netns 20240513090718.131 ERROR    attach - ../src/lxc/attach.c:lxc_attach:1590 - Failed to enter namespaces

This is reproducible on lxc 5.0.2 and master (6.0.0) on linux < 5.8 since from 5.8 __attach_namespaces_pidfd is called which works.

Issue reported to the lxc maintainer: https://github.com/lxc/lxc/issues/4443

Issue: LCMFT-325 lxc attach not working in unprivileged mode
GitOrigin-RevId: 2bbbf2454133db8939e50ab8906014a03529b569
2024-10-02 17:40:50 +02:00
sahbot
39866f0fc6 lxc: import v5.0.3
This is the default openwrt22.03 and openwrt23.05 version.

GitOrigin-RevId: a2bce07c4f1fd10bfabcedb0bce585713031436f
2024-10-02 17:33:42 +02:00
sahbot
59f5b9fc91 radvd: package is missing software license definition (PCF-1279)
Problem: package is missing software license definition

Cause: radvd package got reported in PCF-1276: ci: assure that every
software package in SBOM have defined software license UNCONFIRMED
that its missing software license definition and this should be fixed
by providing PKG_LICENSE and (optionally) PKG_LICENSE_FILES variables.

Solution: Add PKG_LICENSE and PKG_LICENSE_FILES variables to the
Makefile

Issue: PCF-1279 - radvd: package is missing software license definition
GitOrigin-RevId: 076ab6f26ea3ccd2d7d2eac7bb7370a7a02a903e
2024-08-29 20:22:58 +02:00
sahbot
2f842330c1 [CI] Update PKG_HASH
GitOrigin-RevId: f8de7be6ff84ce51554641a2add6ddf0dda247ca
2024-08-29 20:22:58 +02:00
sahbot
7163253c15 Integrating miniupnpd-prpl to gen_miniupnpd_2_3_3_v0.3.9
Issue: HOP-7095 - [UPNP-IGD][Miniupnpd] Update port mapping lease isn't working
GitOrigin-RevId: 4f15322c0b5fd141430b4fe01d74e9a5b77056e6
2024-08-29 20:22:57 +02:00
sahbot
11d11cfe3b [CI] Update PKG_HASH
GitOrigin-RevId: 9ba9e9ffedf86ed5f2fa03e0c6e00335155a2e41
2024-08-29 20:22:57 +02:00
sahbot
77bc0f989e Integrating miniupnpd-prpl to gen_miniupnpd_2_3_3_v0.3.8
Issue: HOP-6697 - [CDROUTER][UPNP][REGRESSION] IPv6 Pinholes are not effective. traffic not forwarded
GitOrigin-RevId: e9ec54120b3655ab63e4db03284dab484fccda75
2024-08-29 20:22:57 +02:00
sahbot
714f2d62b4 botan: set compiler to gcc
Since we use ccache, it looks like the compiler cannot be determined automatically:
ERROR: Could not figure out what compiler type '/home/sahbot/workspace/build/buildsystem/staging_dir/toolchain-aarch64-openwrt-linux-musl/bin/ccache_cxx' is, use --cc to set

Therefore, let's directly set the compiler type to gcc.

GitOrigin-RevId: a7a716f9a03b888227747c6e2f9bb687e7032372
2024-08-29 20:22:56 +02:00
sahbot
8d57a48c9e librnp: add v0.17.1
This package is not available on default openwrt, but needed by librlyeh (lcm).

Issue: ST-1413 integrate librnp into prpl
GitOrigin-RevId: d5b91730d8d5e26a8a10d6a27e1db6f54ae82230
2024-08-29 20:22:56 +02:00
sahbot
c87b171755 libsexpp: add v0.8.8
This package is not available in default openwrt.
This package is a dependency of librnp, which is a dependency of librlyeh (lcm).

Issue: ST-1413 integrate librnp into prpl
GitOrigin-RevId: c844cfde54acc0451cf2627d59c8d4a89f6ffcba
2024-08-29 20:22:56 +02:00
sahbot
de9d96071a botan: add v2.19.4
This package is not available in openwrt. This package is inspired on the older openwrt botan package (https://github.com/openwrt/packages/blob/openwrt-19.07/libs/botan/Makefile).
This package is a dependency of librnp, which will be needed for librlyeh (lcm).

Issue: ST-1413 integrate librnp into prpl
GitOrigin-RevId: 3e91160a5ef6d69470fb6bddb2556ee808feabd2
2024-08-29 20:22:55 +02:00
sahbot
291564fbd2 libpcp: move package from feed-prpl to feed_opensource
This package naturally belongs to this feed. Since we are splitting feeds, it can be removed from feed-prpl.

GitOrigin-RevId: ba29fc0ca66cfb80ac32a8b401daa54652d46dcf
2024-08-29 20:22:55 +02:00
sahbot
64cd1b2ec8 fcgi: move package from feed-prpl to feed_opensource
This package naturally belongs to this feed. Since we are splitting feeds, it can be removed from feed-prpl.

GitOrigin-RevId: 5abab22ea766a5646db0e04fe08bec30ebfa28e7
2024-08-29 20:22:55 +02:00
sahbot
bb7061b500 [CI] Update PKG_HASH
GitOrigin-RevId: ab700818f389934ebc6e8f06b01d061544931e83
2024-08-29 20:22:54 +02:00
sahbot
5dd26bc677 Integrating miniupnpd-prpl to gen_miniupnpd_2_3_3_v0.3.7
Issue: HOP-3580 - [CDROUTER][UPnP] ConnectionStatus value in NOTIFY event is
GitOrigin-RevId: 385d6a6ff7620beace73e229d8faf5f24d4c8dc6
2024-08-29 20:22:54 +02:00
sahbot
5f6d8a9023 [CI] Update PKG_HASH
GitOrigin-RevId: 1c9e0cefcdd2fd61b846f73615785c9115fee7d3
2024-08-29 20:22:54 +02:00
sahbot
530efe7cc9 Integrating ppp-prpl to gen_2.4.9_proj_prpl_v0.1.5
Issue: HOP-6826 - [tr181-ppp] Switching from ppp6 to ppp4 is not working
GitOrigin-RevId: 4b1e98f388a5f3a2f84db112614340bec0d7dc22
2024-08-29 20:22:53 +02:00