fabianishere schreef op zaterdag 22 januari 2022 @ 18:08:
[...]
Om terug te komen op je vraag.
Als je het zelf te builden moet je eerst de
benodigde packages installeren. Dit moet je niet doen op je UDM/P, maar op een andere Linux installatie (als je die hebt draaien).
Vervolgens de volgende commandos uitvoeren:
code:
1
2
3
4
5
6
7
8
9
| git clone --depth 1 https://github.com/fabianishere/udm-kernel
cd udm-kernel
.github/prepare.sh -s
make ARCH=arm64 CROSS_COMPILE=aarch64-linux-gnu- LOCALVERSION= modules_prepare
cd ..
git clone https://github.com/maru-sama/rtsp-linux.git
cd rtsp-linux
make ARCH=arm64 CROSS_COMPILE=aarch64-linux-gnu- KERNELDIR=../udm-kernel EXTRAVERSION="-al-linux-v10.2.0" LOCALVERSION= |
Uiteindelijk staan in de laatste folder dan
nf_conntrack_rtsp.ko en
nf_nat_rtsp.ko. Die kan je dan naar je Dream Machine uploaden en installeren met behulp van insmod:
code:
1
2
| insmod nf_conntrack_rtsp.ko
insmod nf_nat_rtsp.ko |
Sorry for coming late to the party and not speaking Dutch. I've been trying to compile the rtsp filter as per the instructions above for a UDM Pro SE using kernel 4.19.152 (uname -r 4.19.152-ui-alpine), and I got the modules compiled with the following caveats:
1) When I compile the rtsp module I get the following warning:
WARNING: Symbol version dump ./Module.symvers
is missing; modules will have no dependencies and modversions.
2) And when I try to load the modules I get the following:
root@UDM-SE:/tmp/rtsp# insmod nf_conntrack_rtsp.ko
insmod: ERROR: could not insert module nf_conntrack_rtsp.ko: Unknown symbol in module
root@UDM-SE:/tmp/rtsp# insmod nf_nat_rtsp.ko
insmod: ERROR: could not insert module nf_nat_rtsp.ko: Unknown symbol in module
Looking at dmsg I get the following messages:
[2744785.881537] nf_conntrack_rtsp: Unknown symbol __ll_sc___cmpxchg_case_acq_4 (err -2)
[2744923.038644] nf_nat_rtsp: Unknown symbol nf_nat_rtsp_hook (err -2)
Any help (Dutch or English

) will be appreciated, I'm stuck at this point.