Cloning repository mamas (from local mirror) ... Checking out version master ... Cloning repository mamasweb (from local mirror) ... Checking out version master ... Cloning repository mamasbig (from local mirror) ... Checking out version master ... Cloning repository mamasnotify (from local mirror) ... Checking out version master ... Selecting the default brand... ---> repository mamas adds 187 commits ---> repository mamasbig adds 6 commits ---> repository mamasweb adds 97 commits Lines in buildtag.txt: "6" rm -f licgen.o licgen 2>/dev/null rm -f -r export/ dwarfg_install.tgz 2>/dev/null rm -f -f "dwarfgd" *.o *.so 2>/dev/null make -C agents clean make[1]: Entering directory '/home/builder/mamas_build/mamas_2025_09_08__05_50_12_dev/mamas/agents' make -C agent_advantech/. clean make[2]: Entering directory '/home/builder/mamas_build/mamas_2025_09_08__05_50_12_dev/mamas/agents/agent_advantech' adwarfg clean rm -f -rf "adwarfg" rm -f "adwarfg_upgrade".tgz rm -f -r "adwarfg_upgrade" make[2]: Leaving directory '/home/builder/mamas_build/mamas_2025_09_08__05_50_12_dev/mamas/agents/agent_advantech' make -C agent_linux/. clean make[2]: Entering directory '/home/builder/mamas_build/mamas_2025_09_08__05_50_12_dev/mamas/agents/agent_linux' adwarfg clean rm -f -rf "adwarfg_linux" rm -f "adwarfg_linux".tgz 2>/dev/null rm -f "adwarfg_upgrade".tgz rm -f -rf "adwarfg_upgrade" make[2]: Leaving directory '/home/builder/mamas_build/mamas_2025_09_08__05_50_12_dev/mamas/agents/agent_linux' make -C agent_openwrt/. clean make[2]: Entering directory '/home/builder/mamas_build/mamas_2025_09_08__05_50_12_dev/mamas/agents/agent_openwrt' adwarfg clean rm -f -rf adwarfg_owrt 2>/dev/null rm -f adwarfg_owrt.tgz 2>/dev/null rm -f "adwarfg_upgrade".tgz rm -f -r "adwarfg_upgrade" rm -f "adwarfg_owrt.ipk" rm -f -r package_tree_target make[2]: Leaving directory '/home/builder/mamas_build/mamas_2025_09_08__05_50_12_dev/mamas/agents/agent_openwrt' make -C agent_teltonika/. clean make[2]: Entering directory '/home/builder/mamas_build/mamas_2025_09_08__05_50_12_dev/mamas/agents/agent_teltonika' adwarfg clean rm -f -rf adwarfg_teltonika 2>/dev/null rm -f adwarfg_teltonika.tgz 2>/dev/null rm -f "adwarfg_upgrade".tgz rm -f -r "adwarfg_upgrade" rm -f "adwarfg_teltonika.ipk" rm -f -r package_tree_target make[2]: Leaving directory '/home/builder/mamas_build/mamas_2025_09_08__05_50_12_dev/mamas/agents/agent_teltonika' rm -f out/*/* 2>/dev/null make -C agent_advantech/. clean; make -C agent_linux/. clean; make -C agent_openwrt/. clean; make -C agent_teltonika/. clean; make[2]: Entering directory '/home/builder/mamas_build/mamas_2025_09_08__05_50_12_dev/mamas/agents/agent_advantech' adwarfg clean rm -f -rf "adwarfg" rm -f "adwarfg_upgrade".tgz rm -f -r "adwarfg_upgrade" make[2]: Leaving directory '/home/builder/mamas_build/mamas_2025_09_08__05_50_12_dev/mamas/agents/agent_advantech' make[2]: Entering directory '/home/builder/mamas_build/mamas_2025_09_08__05_50_12_dev/mamas/agents/agent_linux' adwarfg clean rm -f -rf "adwarfg_linux" rm -f "adwarfg_linux".tgz 2>/dev/null rm -f "adwarfg_upgrade".tgz rm -f -rf "adwarfg_upgrade" make[2]: Leaving directory '/home/builder/mamas_build/mamas_2025_09_08__05_50_12_dev/mamas/agents/agent_linux' make[2]: Entering directory '/home/builder/mamas_build/mamas_2025_09_08__05_50_12_dev/mamas/agents/agent_openwrt' adwarfg clean rm -f -rf adwarfg_owrt 2>/dev/null rm -f adwarfg_owrt.tgz 2>/dev/null rm -f "adwarfg_upgrade".tgz rm -f -r "adwarfg_upgrade" rm -f "adwarfg_owrt.ipk" rm -f -r package_tree_target make[2]: Leaving directory '/home/builder/mamas_build/mamas_2025_09_08__05_50_12_dev/mamas/agents/agent_openwrt' make[2]: Entering directory '/home/builder/mamas_build/mamas_2025_09_08__05_50_12_dev/mamas/agents/agent_teltonika' adwarfg clean rm -f -rf adwarfg_teltonika 2>/dev/null rm -f adwarfg_teltonika.tgz 2>/dev/null rm -f "adwarfg_upgrade".tgz rm -f -r "adwarfg_upgrade" rm -f "adwarfg_teltonika.ipk" rm -f -r package_tree_target make[2]: Leaving directory '/home/builder/mamas_build/mamas_2025_09_08__05_50_12_dev/mamas/agents/agent_teltonika' make[1]: Leaving directory '/home/builder/mamas_build/mamas_2025_09_08__05_50_12_dev/mamas/agents' make -C unittests clean make[1]: Entering directory '/home/builder/mamas_build/mamas_2025_09_08__05_50_12_dev/mamas/unittests' rm -f parse_keyval_test sql_prepstuffer make[1]: Leaving directory '/home/builder/mamas_build/mamas_2025_09_08__05_50_12_dev/mamas/unittests' rm -f .debug_defs rm -f licman.o licman 2>/dev/null g++ -g -std=c++11 -pthread -Wall -Wno-format-truncation -DBUILDTAG=\""v1.0.3 (+290)"\" -DBRAND=1 `mysql_config --cflags` -c dwarflib.cpp -o dwarflib.o g++ -g -std=c++11 -pthread -Wall -Wno-format-truncation -DBUILDTAG=\""v1.0.3 (+290)"\" -DBRAND=1 `mysql_config --cflags` -c globals.cpp -o globals.o g++ -g -std=c++11 -pthread -Wall -Wno-format-truncation -DBUILDTAG=\""v1.0.3 (+290)"\" -DBRAND=1 `mysql_config --cflags` -c licgen.cpp -o licgen.o licgen.cpp: In function 'RSA* get_pubkey(const char*)': licgen.cpp:37:41: warning: 'RSA* PEM_read_bio_RSA_PUBKEY(BIO*, RSA**, int (*)(char*, int, int, void*), void*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 37 | rsakey = PEM_read_bio_RSA_PUBKEY(keybio, &rsakey, NULL, NULL); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from licgen.cpp:8: /usr/include/openssl/pem.h:449:1: note: declared here 449 | DECLARE_PEM_rw_attr(OSSL_DEPRECATEDIN_3_0, RSA_PUBKEY, RSA) | ^~~~~~~~~~~~~~~~~~~ g++ -g -std=c++11 -pthread -Wall -Wno-format-truncation -DBUILDTAG=\""v1.0.3 (+290)"\" -DBRAND=1 `mysql_config --cflags` -o licman licman.cpp dwarflib.o licgen.o globals.o -lbsd -lpthread -lcurl -lssl -lcrypto -larchive -ljson-c `mysql_config --libs` g++ -g -std=c++11 -pthread -Wall -Wno-format-truncation -DBUILDTAG=\""v1.0.3 (+290)"\" -DBRAND=1 `mysql_config --cflags` -c queue.cpp -o queue.o gcc -g -Wall -c -o dwarflenc.o dwarflenc.c g++ -g -std=c++11 -pthread -Wall -Wno-format-truncation -DBUILDTAG=\""v1.0.3 (+290)"\" -DBRAND=1 -DTEST `mysql_config --cflags` -o "dwarfgd" dwarfg.cpp dwarflib.o globals.o licgen.o queue.o dwarflenc.o -lbsd -lpthread -lcurl -lssl -lcrypto -larchive -ljson-c `mysql_config --libs` dwarfg.cpp: In function 'int parse_request(void*, T_memcaller_source*, int, int, int, CURL*)': dwarfg.cpp:15529:27: warning: unused variable 'http_header_content_type_json' [-Wunused-variable] 15529 | static const char http_header_content_type_json[] = "\nContent-Type: application/json"; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -g -Wall -shared -o libdwarflenc.so -fPIC dwarflenc.c make -C agents make[1]: Entering directory '/home/builder/mamas_build/mamas_2025_09_08__05_50_12_dev/mamas/agents' make -C agent_advantech/. make[2]: Entering directory '/home/builder/mamas_build/mamas_2025_09_08__05_50_12_dev/mamas/agents/agent_advantech' rm -f -rf "adwarfg" cp -r agent_tree "adwarfg" cp "../agent_linux/"dwarfg_agent.sh"" "adwarfg"/bin/"dwarfg_agent.sh" sed -i 's/^g_fn_bintarget="\(.*\)"/g_fn_bintarget="bin\/\1"/' "adwarfg"/bin/"dwarfg_agent.sh" ../../expand_brand.sh ""adwarfg"" Branding particulat target (adwarfg) file adwarfg/etc/version ... file adwarfg/etc/name ... file adwarfg/etc/init ... file adwarfg/etc/defaults ... file adwarfg/bin/.gitignore ... file adwarfg/bin/dwarfg_agent.sh ... file adwarfg/lib/.gitignore ... file adwarfg/lib/snmpd.so ... file adwarfg/www/settings.cgi ... file adwarfg/www/index.cgi ... file adwarfg/www/systemlogs.cgi ... file adwarfg/www/set.cgi ... file adwarfg/www/cgi_common.sh ... file adwarfg/www/loglevels.cgi ... tar czf "adwarfg".tgz "adwarfg" cp "adwarfg".tgz ""adwarfg"_advantech".tgz mkdir -p "adwarfg_upgrade"/bin "adwarfg_upgrade"/upg_tree cp "adwarfg"/bin/"dwarfg_agent.sh" "adwarfg_upgrade"/bin/ cp -r "adwarfg"/www "adwarfg"/etc "adwarfg_upgrade"/upg_tree/ ../../expand_brand.sh ""adwarfg_upgrade"" Branding particulat target (adwarfg_upgrade) file adwarfg_upgrade/upg_tree/etc/init ... file adwarfg_upgrade/upg_tree/etc/defaults ... file adwarfg_upgrade/upg_tree/etc/name ... file adwarfg_upgrade/upg_tree/etc/version ... file adwarfg_upgrade/upg_tree/www/systemlogs.cgi ... file adwarfg_upgrade/upg_tree/www/index.cgi ... file adwarfg_upgrade/upg_tree/www/set.cgi ... file adwarfg_upgrade/upg_tree/www/settings.cgi ... file adwarfg_upgrade/upg_tree/www/loglevels.cgi ... file adwarfg_upgrade/upg_tree/www/cgi_common.sh ... file adwarfg_upgrade/bin/dwarfg_agent.sh ... tar czf "adwarfg_upgrade".tgz "adwarfg_upgrade" mkdir -p ../out/agent_advantech/ cp ""adwarfg"_advantech".tgz "adwarfg_upgrade".tgz ../out/agent_advantech/ make[2]: Leaving directory '/home/builder/mamas_build/mamas_2025_09_08__05_50_12_dev/mamas/agents/agent_advantech' make -C agent_linux/. make[2]: Entering directory '/home/builder/mamas_build/mamas_2025_09_08__05_50_12_dev/mamas/agents/agent_linux' mkdir -p "adwarfg_linux" cp "dwarfg_agent.sh" "adwarfg_linux"/"dwarfg_agent.sh" cp README "adwarfg_linux"/ ../../expand_brand.sh ""adwarfg_linux"" Branding particulat target (adwarfg_linux) file adwarfg_linux/README ... file adwarfg_linux/dwarfg_agent.sh ... tar czf "adwarfg_linux".tgz "adwarfg_linux" mkdir -p "adwarfg_upgrade" cp "adwarfg_linux"/"dwarfg_agent.sh" "adwarfg_upgrade"/"dwarfg_agent.sh" ../../expand_brand.sh ""adwarfg_upgrade"" Branding particulat target (adwarfg_upgrade) file adwarfg_upgrade/dwarfg_agent.sh ... tar czf "adwarfg_upgrade".tgz "adwarfg_upgrade" mkdir -p ../out/agent_linux/ cp "adwarfg_linux".tgz "adwarfg_upgrade".tgz ../out/agent_linux/ make[2]: Leaving directory '/home/builder/mamas_build/mamas_2025_09_08__05_50_12_dev/mamas/agents/agent_linux' make -C agent_openwrt/. make[2]: Entering directory '/home/builder/mamas_build/mamas_2025_09_08__05_50_12_dev/mamas/agents/agent_openwrt' mkdir -p adwarfg_owrt head -1 "../agent_linux/"dwarfg_agent.sh"" | sed "s/bash/sh/" > adwarfg_owrt/"dwarfg_agent.sh" tail +2 "../agent_linux/"dwarfg_agent.sh"" >> adwarfg_owrt/"dwarfg_agent.sh" sed -i "s/^g_forced_security=[^#]*\(.*\)/g_forced_security=0 \1 ## OpenWRT defaults to no cert check as libcurl\/ssh fails to check certificate properly on OpenWRT/" adwarfg_owrt/"dwarfg_agent.sh" ../../expand_brand.sh "adwarfg_owrt" Branding particulat target (adwarfg_owrt) file adwarfg_owrt/dwarfg_agent.sh ... chmod a+x adwarfg_owrt/"dwarfg_agent.sh" cp README adwarfg_owrt/ tar czf adwarfg_owrt.tgz adwarfg_owrt mkdir -p "adwarfg_upgrade" cp adwarfg_owrt/"dwarfg_agent.sh" "adwarfg_upgrade"/"dwarfg_agent.sh" ../../expand_brand.sh ""adwarfg_upgrade"" Branding particulat target (adwarfg_upgrade) file adwarfg_upgrade/dwarfg_agent.sh ... chmod a+x "adwarfg_upgrade"/"dwarfg_agent.sh" tar czf "adwarfg_upgrade".tgz "adwarfg_upgrade" rm -f -r package_tree_target cp -r package_tree package_tree_target mkdir -p package_tree_target/data/opt/adwarfg ../../expand_brand.sh "package_tree_target" Branding particulat target (package_tree_target) file package_tree_target/control/control ... file package_tree_target/control/postrm ... file package_tree_target/debian-binary ... cp adwarfg_owrt/"dwarfg_agent.sh" package_tree_target/control/postinst chmod +x package_tree_target/control/postinst cd package_tree_target/control && tar --numeric-owner --group=0 --owner=0 -czf ../control.tar.gz ./* cd package_tree_target/data && tar --numeric-owner --group=0 --owner=0 -czf ../data.tar.gz ./* cd package_tree_target && tar --numeric-owner --group=0 --owner=0 -czf ../"adwarfg_owrt.ipk" ./control.tar.gz ./data.tar.gz ./debian-binary mkdir -p ../out/agent_owrt/ cp adwarfg_owrt.tgz "adwarfg_upgrade".tgz "adwarfg_owrt.ipk" ../out/agent_owrt/ cp "adwarfg_owrt.ipk" ../out/agent_owrt make[2]: Leaving directory '/home/builder/mamas_build/mamas_2025_09_08__05_50_12_dev/mamas/agents/agent_openwrt' make -C agent_teltonika/. make[2]: Entering directory '/home/builder/mamas_build/mamas_2025_09_08__05_50_12_dev/mamas/agents/agent_teltonika' mkdir -p adwarfg_teltonika head -1 "../agent_linux/"dwarfg_agent.sh"" | sed "s/bash/sh/" > adwarfg_teltonika/"dwarfg_agent.sh" tail +2 "../agent_linux/"dwarfg_agent.sh"" >> adwarfg_teltonika/"dwarfg_agent.sh" sed -i "s/^g_forced_security=[^#]*\(.*\)/g_forced_security=0 \1 ## Teltonika defaults to no cert check as libcurl\/ssh fails to check certificate properly on Teltonika/" adwarfg_teltonika/"dwarfg_agent.sh" ../../expand_brand.sh "adwarfg_teltonika" Branding particulat target (adwarfg_teltonika) file adwarfg_teltonika/dwarfg_agent.sh ... chmod a+x adwarfg_teltonika/"dwarfg_agent.sh" cp README adwarfg_teltonika/ tar czf adwarfg_teltonika.tgz adwarfg_teltonika mkdir -p "adwarfg_upgrade" cp adwarfg_teltonika/"dwarfg_agent.sh" "adwarfg_upgrade"/"dwarfg_agent.sh" ../../expand_brand.sh ""adwarfg_upgrade"" Branding particulat target (adwarfg_upgrade) file adwarfg_upgrade/dwarfg_agent.sh ... chmod a+x "adwarfg_upgrade"/"dwarfg_agent.sh" tar czf "adwarfg_upgrade".tgz "adwarfg_upgrade" rm -f -r package_tree_target cp -r package_tree package_tree_target mkdir -p package_tree_target/data/opt/adwarfg ../../expand_brand.sh "package_tree_target" Branding particulat target (package_tree_target) file package_tree_target/control/control ... file package_tree_target/control/postrm ... file package_tree_target/debian-binary ... cp adwarfg_teltonika/"dwarfg_agent.sh" package_tree_target/control/postinst chmod +x package_tree_target/control/postinst cd package_tree_target/control && tar --numeric-owner --group=0 --owner=0 -czf ../control.tar.gz ./* cd package_tree_target/data && tar --numeric-owner --group=0 --owner=0 -czf ../data.tar.gz ./* cd package_tree_target && tar --numeric-owner --group=0 --owner=0 -czf ../"adwarfg_teltonika.ipk" ./control.tar.gz ./data.tar.gz ./debian-binary mkdir -p ../out/agent_teltonika/ cp adwarfg_teltonika.tgz "adwarfg_upgrade".tgz "adwarfg_teltonika.ipk" ../out/agent_teltonika/ cp "adwarfg_teltonika.ipk" ../out/agent_teltonika/ make[2]: Leaving directory '/home/builder/mamas_build/mamas_2025_09_08__05_50_12_dev/mamas/agents/agent_teltonika' make[1]: Leaving directory '/home/builder/mamas_build/mamas_2025_09_08__05_50_12_dev/mamas/agents' make -C unittests make[1]: Entering directory '/home/builder/mamas_build/mamas_2025_09_08__05_50_12_dev/mamas/unittests' ================================================ Starting unittests ================================================ make -C .. dwarflib.o make[2]: Entering directory '/home/builder/mamas_build/mamas_2025_09_08__05_50_12_dev/mamas' ---> repository mamas adds 187 commits ---> repository mamasbig adds 6 commits ---> repository mamasweb adds 97 commits Lines in buildtag.txt: "6" make[2]: 'dwarflib.o' is up to date. make[2]: Leaving directory '/home/builder/mamas_build/mamas_2025_09_08__05_50_12_dev/mamas' make -C .. globals.o make[2]: Entering directory '/home/builder/mamas_build/mamas_2025_09_08__05_50_12_dev/mamas' ---> repository mamas adds 187 commits ---> repository mamasbig adds 6 commits ---> repository mamasweb adds 97 commits Lines in buildtag.txt: "6" make[2]: 'globals.o' is up to date. make[2]: Leaving directory '/home/builder/mamas_build/mamas_2025_09_08__05_50_12_dev/mamas' make -C .. libdwarflenc.so make[2]: Entering directory '/home/builder/mamas_build/mamas_2025_09_08__05_50_12_dev/mamas' ---> repository mamas adds 187 commits ---> repository mamasbig adds 6 commits ---> repository mamasweb adds 97 commits Lines in buildtag.txt: "6" gcc -g -Wall -c -o dwarflenc.o dwarflenc.c gcc -g -Wall -shared -o libdwarflenc.so -fPIC dwarflenc.c make[2]: Leaving directory '/home/builder/mamas_build/mamas_2025_09_08__05_50_12_dev/mamas' g++ -g -o parse_keyval_test ../dwarflib.o ../globals.o `mysql_config --cflags` parse_keyval_test.cpp -O0 -g -std=c++11 -pthread -Wall -Wno-format-truncation -fstack-usage -DBRAND=1 -lbsd -lcurl -lssl -lcrypto -ljson-c `mysql_config --libs` ----- Keyval parsing test ----- ./parse_keyval_test 0. -- OK -- Input: 'KEY=10' 1. -- OK -- Input: 'K2_a=20' 2. -- OK -- Input: ' line!' 3. -- OK -- Input: '%'=10' 4. -- OK -- Input: 'K(EY2=20' 5. -- OK -- Input: 'EYC$ry' 6. -- OK -- Input: '=50' 7. -- OK -- Input: 'KEY="str"' 8. -- OK -- Input: 'KEY='str'' 9. -- OK -- Input: 'KEY='str"' 10. -- OK -- Input: 'KEY='2s"r"' 11. -- OK -- Input: 'KEY="2"' 12. -- OK -- Input: 'KEY=""' 13. -- OK -- Input: 'KEY=' 14. -- OK -- Input: 'KEY=20.5' 15. -- OK -- Input: 'KEY=' 16. -- OK -- Input: 'KEY='m l'' 17. -- OK -- Input: 'KEY="m l' 18. -- OK -- Input: 'KEY=20x 7' 19. -- OK -- Input: 'KEY=x207' 20. -- OK -- Input: 'KEY=""' 21. -- OK -- Input: 'KEY=' 22. -- OK -- Input: 'KEY='mstr' 23. -- OK -- Input: 'KEY='mstr' 24. -- OK -- Input: 'KEY='mstr'' 25. -- OK -- Input: 'KEY='mstr'' 26. -- OK -- Input: 'KEY=mstr' 27. -- OK -- Input: 'KEY=mstr' 28. -- OK -- Input: 'KEY=mstr' 29. -- OK -- Input: 'KEY=mstr' 30. -- OK -- Input: 'KEY=mstr' 31. -- OK -- Input: 'KEY' 32. -- OK -- Input: 'KEY' Failed tests: 0 Test result: success g++ -g -o parse_version_test ../dwarflib.o ../globals.o `mysql_config --cflags` parse_version_test.cpp -O0 -g -std=c++11 -pthread -Wall -Wno-format-truncation -fstack-usage -DBRAND=1 -lbsd -lcurl -lssl -lcrypto -ljson-c `mysql_config --libs` ----- Version number parsing test ----- ./parse_version_test Version parse: "1.2.3", back?: 0, exp.retval: 0 numbers: 1.2.3.0, verbeg: "1.2.3" ... OK, got retval:0 ver:1.2.3.0 str:1.2.3 Version parse: "1.2.3", back?: 1, exp.retval: 0 numbers: 1.2.3.0, verbeg: "1.2.3" ... OK, got retval:0 ver:1.2.3.0 str:1.2.3 Version parse: "nes1.2.3", back?: 0, exp.retval: -12 ... OK, got retval:-12 Version parse: "nes1.2.3", back?: 1, exp.retval: 0 numbers: 1.2.3.0, verbeg: "1.2.3" ... OK, got retval:0 ver:1.2.3.0 str:1.2.3 Version parse: "1..2.3", back?: 0, exp.retval: -2 ... OK, got retval:-2 Version parse: "1..2.3", back?: 1, exp.retval: 0 numbers: 2.3.0.0, verbeg: "2.3" ... OK, got retval:0 ver:2.3.0.0 str:2.3 Version parse: "1.2.3ab", back?: 0, exp.retval: -2 ... OK, got retval:-2 Version parse: "1.2.3ab", back?: 1, exp.retval: -2 ... OK, got retval:-2 Version parse: "RUT9XX_R_00.06.09.2", back?: 0, exp.retval: -12 ... OK, got retval:-12 Version parse: "RUT9XX_R_00.06.09.2", back?: 1, exp.retval: 0 numbers: 0.6.9.2, verbeg: "00.06.09.2" ... OK, got retval:0 ver:0.6.9.2 str:00.06.09.2 g++ -g -o sql_prepstuffer_test ../dwarflib.o ../globals.o `mysql_config --cflags` sql_prepstuffer_test.cpp -O0 -g -std=c++11 -pthread -Wall -Wno-format-truncation -fstack-usage -DBRAND=1 -lbsd -lcurl -lssl -lcrypto -ljson-c `mysql_config --libs` gcc -Wall -g -o dwarflenc_test ../dwarflenc.o -lbsd -lpthread dwarflenc_test.c ----- Dwarflenc C test ----- ./dwarflenc_test "mykey" "verylongtext" Byte-oriented input: 118,101,114,121,108,111,110,103,116,101,120,116, Byte-oriented result after encode: 29,0,31,0,7,10,3,30,31,0,21,13,version: 1 salt: 10674057 pepper: 12295689 chilli: 9135205 Byte-oriented result after decode: 118,101,114,121,108,111,110,103,116,101,120,116, String result after decrypion: verylongtext ----- Dwarflenc PHP CLI test ----- php test_ffi_cli.php string(4) "=(*!" int(6046094) int(12800794) int(12052483) int(1) ================================================ Unittests finished ================================================ make[1]: Leaving directory '/home/builder/mamas_build/mamas_2025_09_08__05_50_12_dev/mamas/unittests' rm -f -fr export mkdir -p export/"dwarfg_install"/ cp -dpR appdir export/"dwarfg_install"/ cp dwarfg_license.lic export/"dwarfg_install"/appdir/ ./prep_upgscripts.sh export/"dwarfg_install"/appdir Including following upgrade scripts in package (lines are numbered): 1 db_migrate_101_to_110.sql 2 upgrade_from_1.0.1.sh rm -f -fr export/"dwarfg_install"/appdir/__pycache__ cp "dwarfgd" licman export/"dwarfg_install"/appdir/ cp install.sh upgrade.sh export/"dwarfg_install"/ cp -L doc/eula_content.html export/"dwarfg_install"/appdir/eula_content.html cp buildtag.txt export/"dwarfg_install"/appdir/ mkdir export/"dwarfg_install"/appdir/agents cp -r agents/out/* export/"dwarfg_install"/appdir/agents/ mkdir export/"dwarfg_install"/appdir/agents/aad ln -s ../../push_agent.py export/"dwarfg_install"/appdir/agents/aad/push_agent.py rsync -rlD --exclude '.git/' --exclude '.gitignore' ../mamasweb/ export/"dwarfg_install"/appdir/web/gui/ rsync -rlD --exclude '.git/' --exclude '.gitignore' ../mamasbig/web/vendor export/"dwarfg_install"/appdir/web/gui/ rsync -rlD --exclude '.git/' --exclude '.gitignore' ../mamasnotify/ export/"dwarfg_install"/appdir/notifier/ rsync -rlD --exclude '.git/' --exclude '.gitignore' ../mamasbig/notifier/vendor export/"dwarfg_install"/appdir/notifier/ rsync -rlD --exclude '.git/' --exclude '.gitignore' ../mamasbig/sshwifty/ export/"dwarfg_install"/appdir/sshwifty_distrib ln -s sshwifty_distrib/sshwifty export/"dwarfg_install"/appdir/sshwifty cp dwarflenc.h libdwarflenc.so export/"dwarfg_install"/appdir/web/gui/libs/ rm -f export/"dwarfg_install"/appdir/web/gui/.gitignore ./expand_brand.sh Branding general product tree... Branding file ./appdir/product_apache_initial_nossl.conf ... Branding file ./appdir/db_init_verdata.sql ... Branding file ./appdir/product_apache_initial.conf ... Branding file ./appdir/product_logrotate.conf ... Branding file ./appdir/tunnel_ssh_template.conf ... Branding file ./appdir/tunnel_ssh_template_nossl.conf ... Branding file ./appdir/tunnel_web_template.conf ... Branding file ./appdir/tunnel_web_template_nossl.conf ... Branding file ./appdir/proxy_ssh_template.conf ... Branding file ./appdir/proxy_ssh_template_nossl.conf ... Branding file ./appdir/sshwifty_template.conf.json ... Branding file ./appdir/db_init_basedata.sql ... Branding file ./appdir/product.ini ... Branding file ./appdir/product_ctl.sh ... Branding file ./appdir/product.service ... Branding file ./appdir/product_snmp_gw.service ... Branding file ./appdir/dwarflib_cfg_dbg.txt ... Branding file ./appdir/dwarflib_cfg_log.txt ... Branding file ./appdir/dwarflib_cfg_prod.txt ... Branding file ./appdir/push_agent.py ... Branding file ./appdir/send_sms.py ... Branding file ./appdir/base_defs ... Branding file ./appdir/web/gui/.env.dist ... Branding file ./appdir/notifier/.env.dist ... Branding file ./appdir/eula_content.html ... Branding file ./appdir/cmdline/dt_rmm_cmd ... Branding file ./appdir/db_migrate_101_to_110.sql ... Branding file ./appdir/web/gui/templates/legal/eula.html.twig ... Branding directory ./appdir/web/gui/templates/help/ ... file ./appdir/web/gui/templates/help/alerts.html.twig ... file ./appdir/web/gui/templates/help/auth-management.html.twig ... file ./appdir/web/gui/templates/help/sms-sender.html.twig ... file ./appdir/web/gui/templates/help/overview.html.twig ... file ./appdir/web/gui/templates/help/dashboard.html.twig ... file ./appdir/web/gui/templates/help/customScripts.html.twig ... file ./appdir/web/gui/templates/help/snmpGateway.html.twig ... file ./appdir/web/gui/templates/help/notifications.html.twig ... file ./appdir/web/gui/templates/help/monitoringGroups.html.twig ... file ./appdir/web/gui/templates/help/swPackages.html.twig ... file ./appdir/web/gui/templates/help/compendium.html.twig ... file ./appdir/web/gui/templates/help/devices.html.twig ... file ./appdir/web/gui/templates/help/traffic-counter.html.twig ... file ./appdir/web/gui/templates/help/welcome.html.twig ... file ./appdir/web/gui/templates/help/sim-cards.html.twig ... file ./appdir/web/gui/templates/help/deviceConfig.html.twig ... file ./appdir/web/gui/templates/help/firmwares.html.twig ... file ./appdir/web/gui/templates/help/tunnels.html.twig ... file ./appdir/web/gui/templates/help/labels.html.twig ... file ./appdir/web/gui/templates/help/agentProfiles.html.twig ... file ./appdir/web/gui/templates/help/changesTracker.html.twig ... file ./appdir/web/gui/templates/help/agents.html.twig ... file ./appdir/web/gui/templates/help/troubleshooting.html.twig ... Replacing graphics resource appdir/web/gui/public/assets/images/logo.2d038a36.svg by brand graphics resource /home/builder/mamas_build/mamas_2025_09_08__05_50_12_dev/mamas/../mamasbig/web/brand_resources/dwarfg/manifest_match/logo.svg... Replacing graphics resource appdir/web/gui/public/assets/images/bg.2331cd0c.jpg by brand graphics resource /home/builder/mamas_build/mamas_2025_09_08__05_50_12_dev/mamas/../mamasbig/web/brand_resources/dwarfg/manifest_match/bg.jpg... Replacing simple tree resources... '/home/builder/mamas_build/mamas_2025_09_08__05_50_12_dev/mamas/../mamasbig/web/brand_resources/dwarfg/tree/./appdir/web/gui/templates/help/welcome.html.twig' -> '././appdir/web/gui/templates/help/welcome.html.twig' ./prep_cmdline.sh export/"dwarfg_install"/appdir/cmdline rm -f -r export/"dwarfg_install"/appdir/web/gui/assets tar -czf "dwarfg_install"_1.1.0.tgz -C export "dwarfg_install" ARTIFACT=dwarfg_install_1.1.0.tgz rm -f -fr export Compilation successful (dir /home/builder/mamas_build/mamas_2025_09_08__05_50_12_dev) Proceeding with deployment of dev ... Testing for existing deployment "/opt/dwarfg_dev.mdevdepl.dwarfgate.net" ... Running sudo "/opt/cache_dwarfg/builder_cleanup_asroot.sh" "dev.mdevdepl.dwarfgate.net" Running sudo "/opt/cache_dwarfg/builder_deploy_asroot.sh" "/home/builder/mamas_build/deploy_2025_09_08__05_50_12_590796_dev/dwarfg_install" --domain "dev.mdevdepl.dwarfgate.net" --nossl --servsshport 2325 Reading basedefs:"base_defs" from directory:/home/builder/mamas_build/deploy_2025_09_08__05_50_12_590796_dev/dwarfg_install/appdir ... Found Dwarfguard global site defs (/opt/cache_dwarfg/home/.dwarfg_site_config), sourcing... Reading basefuncs:"app_funcs.sh" from directory:/home/builder/mamas_build/deploy_2025_09_08__05_50_12_590796_dev/dwarfg_install/appdir ... Dwarfguard application deploy script. Updating DOMAIN in /home/builder/mamas_build/deploy_2025_09_08__05_50_12_590796_dev/dwarfg_install/appdir/base_defs ... Updating SERV_TUNSSH_PORT in /home/builder/mamas_build/deploy_2025_09_08__05_50_12_590796_dev/dwarfg_install/appdir/base_defs ... Reading basedefs:"base_defs" from directory:/home/builder/mamas_build/deploy_2025_09_08__05_50_12_590796_dev/dwarfg_install/appdir ... Found Dwarfguard global site defs (/opt/cache_dwarfg/home/.dwarfg_site_config), sourcing... Reading basefuncs:"app_funcs.sh" from directory:/home/builder/mamas_build/deploy_2025_09_08__05_50_12_590796_dev/dwarfg_install/appdir ... DEPS is 1_dwarfg_prod.mdevdepl.dwarfgate.net 3_dwarfg_patch.mdevdepl.dwarfgate.net 1_dwarfg_prod.mdevdepl.dwarfgate.net Deployment 1_ found in DEPS, continuing search... Deployment 2_ not found in DEPS, selecting... Selected deployment number: 2 Daemon port calculated to 8485 Dwarfguard site configuration (/opt/cache_dwarfg/home/.dwarfg_site_config) found, sourcing it... Checking + installing prerequisities (pwd: /home/builder/mamas_build/deploy_2025_09_08__05_50_12_590796_dev/dwarfg_install/appdir ) ... Failed to get unit file state for unattended-upgrades.service: No such file or directory Get:1 http://security.debian.org bookworm-security InRelease [48.0 kB] Get:2 http://deb.debian.org/debian bookworm InRelease [151 kB] Get:3 http://deb.debian.org/debian bookworm-updates InRelease [55.4 kB] Get:4 https://apt.grafana.com stable InRelease [7660 B] Get:5 http://security.debian.org bookworm-security/main amd64 Packages [277 kB] Get:6 http://security.debian.org bookworm-security/main Translation-en [167 kB] Get:7 http://deb.debian.org/debian bookworm/main amd64 Packages [8791 kB] Get:8 http://deb.debian.org/debian bookworm/main Translation-en [6109 kB] Get:9 http://deb.debian.org/debian bookworm/contrib amd64 Packages [53.5 kB] Err:4 https://apt.grafana.com stable InRelease The following signatures were invalid: EXPKEYSIG 963FA27710458545 Grafana Labs Fetched 15.7 MB in 7s (2321 kB/s) Reading package lists... W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: https://apt.grafana.com stable InRelease: The following signatures were invalid: EXPKEYSIG 963FA27710458545 Grafana Labs W: Failed to fetch https://apt.grafana.com/dists/stable/InRelease The following signatures were invalid: EXPKEYSIG 963FA27710458545 Grafana Labs W: Some index files failed to download. They have been ignored, or old ones used instead. Reading package lists... Building dependency tree... Reading state information... binutils is already the newest version (2.40-2). slay is already the newest version (3.0.2). python3 is already the newest version (3.11.2-1+b1). python3-mysqldb is already the newest version (1.4.6-2+b1). unzip is already the newest version (6.0-28). sudo is already the newest version (1.9.13p3-1+deb12u2). libapache2-mod-php is already the newest version (2:8.2+93). php8.2 is already the newest version (8.2.29-1~deb12u1). php8.2-common is already the newest version (8.2.29-1~deb12u1). php8.2-mysql is already the newest version (8.2.29-1~deb12u1). php8.2-mbstring is already the newest version (8.2.29-1~deb12u1). php8.2-xml is already the newest version (8.2.29-1~deb12u1). php8.2-intl is already the newest version (8.2.29-1~deb12u1). php8.2-gd is already the newest version (8.2.29-1~deb12u1). php8.2-imagick is already the newest version (3.7.0-4). php8.2-curl is already the newest version (8.2.29-1~deb12u1). php8.2-zip is already the newest version (8.2.29-1~deb12u1). php8.2-bcmath is already the newest version (8.2.29-1~deb12u1). rsync is already the newest version (3.2.7-1+deb12u2). libjson-c5 is already the newest version (0.16-2). libbsd0 is already the newest version (0.11.7-2). sshpass is already the newest version (1.09-1+b1). libffi8 is already the newest version (3.4.4-1). pipx is already the newest version (1.1.0-1). influxdb is already the newest version (1.6.7~rc0-1+b13). influxdb-client is already the newest version (1.6.7~rc0-1+b13). The following packages were automatically installed and are no longer required: libdaxctl1 libndctl6 libpmem1 Use 'sudo apt autoremove' to remove them. The following additional packages will be installed: apache2-bin apache2-data apache2-utils libarchive-dev libcurl3-gnutls libcurl4 libcurl4-openssl-dev libjq1 libmariadb-dev libmariadb-dev-compat libmariadb3 mariadb-client-core mariadb-common mariadb-plugin-provider-bzip2 mariadb-plugin-provider-lz4 mariadb-plugin-provider-lzma mariadb-plugin-provider-lzo mariadb-plugin-provider-snappy mariadb-server-core Suggested packages: apache2-doc apache2-suexec-pristine | apache2-suexec-custom lrzip libcurl4-doc libidn-dev libkrb5-dev libldap2-dev librtmp-dev libssh2-1-dev pkg-config mailx mariadb-test netcat-openbsd The following packages will be upgraded: apache2 apache2-bin apache2-data apache2-utils curl dropbear-bin jq libarchive-dev libarchive13 libcurl3-gnutls libcurl4 libcurl4-openssl-dev libjq1 libmariadb-dev libmariadb-dev-compat libmariadb3 mariadb-client mariadb-client-core mariadb-common mariadb-plugin-provider-bzip2 mariadb-plugin-provider-lz4 mariadb-plugin-provider-lzma mariadb-plugin-provider-lzo mariadb-plugin-provider-snappy mariadb-server mariadb-server-core 26 upgraded, 0 newly installed, 0 to remove and 145 not upgraded. Need to get 21.0 MB of archives. After this operation, 124 kB of additional disk space will be used. Get:1 http://deb.debian.org/debian bookworm/main amd64 curl amd64 7.88.1-10+deb12u14 [316 kB] Get:2 http://deb.debian.org/debian bookworm/main amd64 libcurl4-openssl-dev amd64 7.88.1-10+deb12u14 [492 kB] Get:3 http://deb.debian.org/debian bookworm/main amd64 libcurl4 amd64 7.88.1-10+deb12u14 [392 kB] Get:4 http://deb.debian.org/debian bookworm/main amd64 apache2 amd64 2.4.65-1~deb12u1 [228 kB] Get:5 http://deb.debian.org/debian bookworm/main amd64 apache2-bin amd64 2.4.65-1~deb12u1 [1396 kB] Get:6 http://deb.debian.org/debian bookworm/main amd64 apache2-data all 2.4.65-1~deb12u1 [160 kB] Get:7 http://deb.debian.org/debian bookworm/main amd64 apache2-utils amd64 2.4.65-1~deb12u1 [214 kB] Get:8 http://deb.debian.org/debian bookworm/main amd64 mariadb-common all 1:10.11.14-0+deb12u2 [26.3 kB] Get:9 http://deb.debian.org/debian bookworm/main amd64 mariadb-server amd64 1:10.11.14-0+deb12u2 [3964 kB] Get:10 http://deb.debian.org/debian bookworm/main amd64 mariadb-server-core amd64 1:10.11.14-0+deb12u2 [7597 kB] Get:11 http://deb.debian.org/debian bookworm/main amd64 mariadb-client-core amd64 1:10.11.14-0+deb12u2 [894 kB] Get:12 http://deb.debian.org/debian bookworm/main amd64 mariadb-client amd64 1:10.11.14-0+deb12u2 [3030 kB] Get:13 http://deb.debian.org/debian bookworm/main amd64 libmariadb-dev-compat amd64 1:10.11.14-0+deb12u2 [25.1 kB] Get:14 http://deb.debian.org/debian bookworm/main amd64 libmariadb-dev amd64 1:10.11.14-0+deb12u2 [273 kB] Get:15 http://deb.debian.org/debian bookworm/main amd64 libmariadb3 amd64 1:10.11.14-0+deb12u2 [182 kB] Get:16 http://deb.debian.org/debian bookworm/main amd64 dropbear-bin amd64 2022.83-1+deb12u3 [156 kB] Get:17 http://deb.debian.org/debian bookworm/main amd64 jq amd64 1.6-2.1+deb12u1 [63.7 kB] Get:18 http://deb.debian.org/debian bookworm/main amd64 libjq1 amd64 1.6-2.1+deb12u1 [134 kB] Get:19 http://deb.debian.org/debian bookworm/main amd64 libarchive-dev amd64 3.6.2-1+deb12u3 [560 kB] Get:20 http://deb.debian.org/debian bookworm/main amd64 libarchive13 amd64 3.6.2-1+deb12u3 [343 kB] Get:21 http://deb.debian.org/debian bookworm/main amd64 libcurl3-gnutls amd64 7.88.1-10+deb12u14 [386 kB] Get:22 http://deb.debian.org/debian bookworm/main amd64 mariadb-plugin-provider-bzip2 amd64 1:10.11.14-0+deb12u2 [26.7 kB] Get:23 http://deb.debian.org/debian bookworm/main amd64 mariadb-plugin-provider-lz4 amd64 1:10.11.14-0+deb12u2 [26.7 kB] Get:24 http://deb.debian.org/debian bookworm/main amd64 mariadb-plugin-provider-lzma amd64 1:10.11.14-0+deb12u2 [26.7 kB] Get:25 http://deb.debian.org/debian bookworm/main amd64 mariadb-plugin-provider-lzo amd64 1:10.11.14-0+deb12u2 [26.6 kB] Get:26 http://deb.debian.org/debian bookworm/main amd64 mariadb-plugin-provider-snappy amd64 1:10.11.14-0+deb12u2 [26.7 kB] apt-listchanges: Reading changelogs... apt-listchanges: News --------------------- apache2 (2.4.65-1~deb12u1) bookworm; urgency=medium Following the resolution of CVE-2025-23048, some SSL-enabled websites may begin encountering the error (AH02032): . Misdirected Request: The client needs a new connection for this request as the requested host name does not match the Server Name Indication (SNI) in use for this connection. . This behavior is particularly noticeable with AWS Application Load Balancers. Although they support intelligent SNI handling, they do not (as of this writing) relay SNI data to the target server, resulting in failed connections when hostnames don’t align. . Without an SNI provided by the client, there is nothing httpd can do to determine which vhost/configuration should be used to provide the correct certificate (and TLS authentication eventually) whenever multiple vhosts listen on the same IP:port. . That's because reading the HTTP Host header necessarily has to happen after the TLS handshake/auth/decryption (and later renegotiation is not an option with TLSv1.3). . So those connections fall back to the first vhost declared on the IP:port for the TLS handshake part, and if the request Host header finally matches a different vhost with a different TLS configuration it's rejected with AH02032. . Before 2.4.64 the check was not accurate and would allow that, with security implications. . As a workaround, you may (after a risk analysis) generate a wildcard certificate. If you’re managing multiple domains, consolidate them into a single certificate by including each wildcard domain as an alias. Then, update the Apache configuration to reference this unified certificate. . Another possible workaround is to configure each virtual host to listen on a separate port. This approach avoids SNI-related issues by ensuring that each vhost is uniquely addressed through its own connection endpoint, thereby allowing distinct TLS configurations without ambiguity. . This error may also stem from a misconfigured HAProxy setup. In such cases, enabling dynamic SNI handling on HAProxy might be necessary to ensure that the correct hostname is passed through during the TLS handshake. After risk analysis, it could be done by using "sni req.hdr(Host)" directive. -- Bastien Roucariès Fri, 25 Jul 2025 20:33:38 +0200 apt-listchanges: Mailing root: apt-listchanges: news for greysmith debconf: unable to initialize frontend: Dialog debconf: (Dialog frontend will not work on a dumb terminal, an emacs shell buffer, or without a controlling terminal.) debconf: falling back to frontend: Readline debconf: unable to initialize frontend: Readline debconf: (This frontend requires a controlling tty.) debconf: falling back to frontend: Teletype dpkg-preconfigure: unable to re-open stdin: Fetched 21.0 MB in 0s (50.2 MB/s) (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 55763 files and directories currently installed.) Preparing to unpack .../0-curl_7.88.1-10+deb12u14_amd64.deb ... Unpacking curl (7.88.1-10+deb12u14) over (7.88.1-10+deb12u12) ... Preparing to unpack .../1-libcurl4-openssl-dev_7.88.1-10+deb12u14_amd64.deb ... Unpacking libcurl4-openssl-dev:amd64 (7.88.1-10+deb12u14) over (7.88.1-10+deb12u12) ... Preparing to unpack .../2-libcurl4_7.88.1-10+deb12u14_amd64.deb ... Unpacking libcurl4:amd64 (7.88.1-10+deb12u14) over (7.88.1-10+deb12u12) ... Preparing to unpack .../3-apache2_2.4.65-1~deb12u1_amd64.deb ... Unpacking apache2 (2.4.65-1~deb12u1) over (2.4.62-1~deb12u2) ... Preparing to unpack .../4-apache2-bin_2.4.65-1~deb12u1_amd64.deb ... Unpacking apache2-bin (2.4.65-1~deb12u1) over (2.4.62-1~deb12u2) ... Preparing to unpack .../5-apache2-data_2.4.65-1~deb12u1_all.deb ... Unpacking apache2-data (2.4.65-1~deb12u1) over (2.4.62-1~deb12u2) ... Preparing to unpack .../6-apache2-utils_2.4.65-1~deb12u1_amd64.deb ... Unpacking apache2-utils (2.4.65-1~deb12u1) over (2.4.62-1~deb12u2) ... Preparing to unpack .../7-mariadb-common_1%3a10.11.14-0+deb12u2_all.deb ... Unpacking mariadb-common (1:10.11.14-0+deb12u2) over (1:10.11.11-0+deb12u1) ... Setting up mariadb-common (1:10.11.14-0+deb12u2) ... (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 55763 files and directories currently installed.) Preparing to unpack .../00-mariadb-server_1%3a10.11.14-0+deb12u2_amd64.deb ... debconf: unable to initialize frontend: Dialog debconf: (Dialog frontend will not work on a dumb terminal, an emacs shell buffer, or without a controlling terminal.) debconf: falling back to frontend: Readline debconf: unable to initialize frontend: Readline debconf: (This frontend requires a controlling tty.) debconf: falling back to frontend: Teletype /var/lib/mysql: found previous version 10.11 Unpacking mariadb-server (1:10.11.14-0+deb12u2) over (1:10.11.11-0+deb12u1) ... debconf: unable to initialize frontend: Dialog debconf: (Dialog frontend will not work on a dumb terminal, an emacs shell buffer, or without a controlling terminal.) debconf: falling back to frontend: Readline debconf: unable to initialize frontend: Readline debconf: (This frontend requires a controlling tty.) debconf: falling back to frontend: Teletype Preparing to unpack .../01-mariadb-server-core_1%3a10.11.14-0+deb12u2_amd64.deb ... Unpacking mariadb-server-core (1:10.11.14-0+deb12u2) over (1:10.11.11-0+deb12u1) ... Preparing to unpack .../02-mariadb-client-core_1%3a10.11.14-0+deb12u2_amd64.deb ... Unpacking mariadb-client-core (1:10.11.14-0+deb12u2) over (1:10.11.11-0+deb12u1) ... Preparing to unpack .../03-mariadb-client_1%3a10.11.14-0+deb12u2_amd64.deb ... Unpacking mariadb-client (1:10.11.14-0+deb12u2) over (1:10.11.11-0+deb12u1) ... Preparing to unpack .../04-libmariadb-dev-compat_1%3a10.11.14-0+deb12u2_amd64.deb ... Unpacking libmariadb-dev-compat (1:10.11.14-0+deb12u2) over (1:10.11.11-0+deb12u1) ... Preparing to unpack .../05-libmariadb-dev_1%3a10.11.14-0+deb12u2_amd64.deb ... Unpacking libmariadb-dev (1:10.11.14-0+deb12u2) over (1:10.11.11-0+deb12u1) ... Preparing to unpack .../06-libmariadb3_1%3a10.11.14-0+deb12u2_amd64.deb ... Unpacking libmariadb3:amd64 (1:10.11.14-0+deb12u2) over (1:10.11.11-0+deb12u1) ... Preparing to unpack .../07-dropbear-bin_2022.83-1+deb12u3_amd64.deb ... Unpacking dropbear-bin (2022.83-1+deb12u3) over (2022.83-1+deb12u2) ... Preparing to unpack .../08-jq_1.6-2.1+deb12u1_amd64.deb ... Unpacking jq (1.6-2.1+deb12u1) over (1.6-2.1) ... Preparing to unpack .../09-libjq1_1.6-2.1+deb12u1_amd64.deb ... Unpacking libjq1:amd64 (1.6-2.1+deb12u1) over (1.6-2.1) ... Preparing to unpack .../10-libarchive-dev_3.6.2-1+deb12u3_amd64.deb ... Unpacking libarchive-dev:amd64 (3.6.2-1+deb12u3) over (3.6.2-1+deb12u2) ... Preparing to unpack .../11-libarchive13_3.6.2-1+deb12u3_amd64.deb ... Unpacking libarchive13:amd64 (3.6.2-1+deb12u3) over (3.6.2-1+deb12u2) ... Preparing to unpack .../12-libcurl3-gnutls_7.88.1-10+deb12u14_amd64.deb ... Unpacking libcurl3-gnutls:amd64 (7.88.1-10+deb12u14) over (7.88.1-10+deb12u12) ... Preparing to unpack .../13-mariadb-plugin-provider-bzip2_1%3a10.11.14-0+deb12u2_amd64.deb ... Unpacking mariadb-plugin-provider-bzip2 (1:10.11.14-0+deb12u2) over (1:10.11.11-0+deb12u1) ... Preparing to unpack .../14-mariadb-plugin-provider-lz4_1%3a10.11.14-0+deb12u2_amd64.deb ... Unpacking mariadb-plugin-provider-lz4 (1:10.11.14-0+deb12u2) over (1:10.11.11-0+deb12u1) ... Preparing to unpack .../15-mariadb-plugin-provider-lzma_1%3a10.11.14-0+deb12u2_amd64.deb ... Unpacking mariadb-plugin-provider-lzma (1:10.11.14-0+deb12u2) over (1:10.11.11-0+deb12u1) ... Preparing to unpack .../16-mariadb-plugin-provider-lzo_1%3a10.11.14-0+deb12u2_amd64.deb ... Unpacking mariadb-plugin-provider-lzo (1:10.11.14-0+deb12u2) over (1:10.11.11-0+deb12u1) ... Preparing to unpack .../17-mariadb-plugin-provider-snappy_1%3a10.11.14-0+deb12u2_amd64.deb ... Unpacking mariadb-plugin-provider-snappy (1:10.11.14-0+deb12u2) over (1:10.11.11-0+deb12u1) ... Setting up dropbear-bin (2022.83-1+deb12u3) ... Setting up libarchive13:amd64 (3.6.2-1+deb12u3) ... Setting up libjq1:amd64 (1.6-2.1+deb12u1) ... Setting up libcurl3-gnutls:amd64 (7.88.1-10+deb12u14) ... Setting up libmariadb3:amd64 (1:10.11.14-0+deb12u2) ... Setting up libmariadb-dev (1:10.11.14-0+deb12u2) ... Setting up libarchive-dev:amd64 (3.6.2-1+deb12u3) ... Setting up jq (1.6-2.1+deb12u1) ... Setting up libcurl4:amd64 (7.88.1-10+deb12u14) ... Setting up apache2-data (2.4.65-1~deb12u1) ... Setting up curl (7.88.1-10+deb12u14) ... Setting up mariadb-server-core (1:10.11.14-0+deb12u2) ... Setting up apache2-utils (2.4.65-1~deb12u1) ... Setting up libmariadb-dev-compat (1:10.11.14-0+deb12u2) ... Setting up apache2-bin (2.4.65-1~deb12u1) ... Setting up mariadb-client-core (1:10.11.14-0+deb12u2) ... Setting up libcurl4-openssl-dev:amd64 (7.88.1-10+deb12u14) ... Setting up mariadb-client (1:10.11.14-0+deb12u2) ... Setting up apache2 (2.4.65-1~deb12u1) ... apache-htcacheclean.service is a disabled or a static unit not running, not starting it. Setting up mariadb-server (1:10.11.14-0+deb12u2) ... debconf: unable to initialize frontend: Dialog debconf: (Dialog frontend will not work on a dumb terminal, an emacs shell buffer, or without a controlling terminal.) debconf: falling back to frontend: Readline debconf: unable to initialize frontend: Readline debconf: (This frontend requires a controlling tty.) debconf: falling back to frontend: Teletype Setting up mariadb-plugin-provider-bzip2 (1:10.11.14-0+deb12u2) ... Setting up mariadb-plugin-provider-lzma (1:10.11.14-0+deb12u2) ... Setting up mariadb-plugin-provider-lzo (1:10.11.14-0+deb12u2) ... Setting up mariadb-plugin-provider-lz4 (1:10.11.14-0+deb12u2) ... Setting up mariadb-plugin-provider-snappy (1:10.11.14-0+deb12u2) ... Processing triggers for man-db (2.11.2-2) ... Processing triggers for libc-bin (2.36-9+deb12u9) ... Synchronizing state of apache2.service with SysV service script with /lib/systemd/systemd-sysv-install. Executing: /lib/systemd/systemd-sysv-install enable apache2 Checking existing installation...(/opt/dwarfg_dev.mdevdepl.dwarfgate.net, /srv/dwarfg_dev.mdevdepl.dwarfgate.net) Resolving users... dwarfg:x:113: Copying application data... Updating INSTALL_PATH, INSTALL_DIR and PYTON_VENV in /opt/dwarfg_dev.mdevdepl.dwarfgate.net... Updating dwarfg_apache_initial.conf: INSTALL_PATH to /opt/dwarfg_dev.mdevdepl.dwarfgate.net... Updating dwarfg_apache_initial_nossl.conf: INSTALL_PATH to /opt/dwarfg_dev.mdevdepl.dwarfgate.net... Updating dwarfg_logrotate.conf: INSTALL_PATH to /opt/dwarfg_dev.mdevdepl.dwarfgate.net... Updating proxy_ssh_template.conf: INSTALL_PATH to /opt/dwarfg_dev.mdevdepl.dwarfgate.net... Updating proxy_ssh_template_nossl.conf: INSTALL_PATH to /opt/dwarfg_dev.mdevdepl.dwarfgate.net... Updating tunnel_ssh_template.conf: INSTALL_PATH to /opt/dwarfg_dev.mdevdepl.dwarfgate.net... Updating tunnel_ssh_template_nossl.conf: INSTALL_PATH to /opt/dwarfg_dev.mdevdepl.dwarfgate.net... Updating tunnel_web_template.conf: INSTALL_PATH to /opt/dwarfg_dev.mdevdepl.dwarfgate.net... Updating tunnel_web_template_nossl.conf: INSTALL_PATH to /opt/dwarfg_dev.mdevdepl.dwarfgate.net... Updating buildtag.txt: INSTALL_PATH to /opt/dwarfg_dev.mdevdepl.dwarfgate.net... Updating dwarflib_cfg.txt: INSTALL_PATH to /opt/dwarfg_dev.mdevdepl.dwarfgate.net... Updating dwarflib_cfg_dbg.txt: INSTALL_PATH to /opt/dwarfg_dev.mdevdepl.dwarfgate.net... Updating dwarflib_cfg_log.txt: INSTALL_PATH to /opt/dwarfg_dev.mdevdepl.dwarfgate.net... Updating dwarflib_cfg_prod.txt: INSTALL_PATH to /opt/dwarfg_dev.mdevdepl.dwarfgate.net... Updating grafana_table_accesslist.txt: INSTALL_PATH to /opt/dwarfg_dev.mdevdepl.dwarfgate.net... Updating influx_db.txt: INSTALL_PATH to /opt/dwarfg_dev.mdevdepl.dwarfgate.net... Updating log_cgi.txt: INSTALL_PATH to /opt/dwarfg_dev.mdevdepl.dwarfgate.net... Updating dwarfg.service: INSTALL_PATH to /opt/dwarfg_dev.mdevdepl.dwarfgate.net... Updating dwarfg_snmp_gw.service: INSTALL_PATH to /opt/dwarfg_dev.mdevdepl.dwarfgate.net... Updating dwarfg_apache_initial.conf: INSTALL_DIR to dwarfg_dev.mdevdepl.dwarfgate.net... Updating dwarfg_apache_initial_nossl.conf: INSTALL_DIR to dwarfg_dev.mdevdepl.dwarfgate.net... Updating dwarfg_logrotate.conf: INSTALL_DIR to dwarfg_dev.mdevdepl.dwarfgate.net... Updating proxy_ssh_template.conf: INSTALL_DIR to dwarfg_dev.mdevdepl.dwarfgate.net... Updating proxy_ssh_template_nossl.conf: INSTALL_DIR to dwarfg_dev.mdevdepl.dwarfgate.net... Updating tunnel_ssh_template.conf: INSTALL_DIR to dwarfg_dev.mdevdepl.dwarfgate.net... Updating tunnel_ssh_template_nossl.conf: INSTALL_DIR to dwarfg_dev.mdevdepl.dwarfgate.net... Updating tunnel_web_template.conf: INSTALL_DIR to dwarfg_dev.mdevdepl.dwarfgate.net... Updating tunnel_web_template_nossl.conf: INSTALL_DIR to dwarfg_dev.mdevdepl.dwarfgate.net... Updating buildtag.txt: INSTALL_DIR to dwarfg_dev.mdevdepl.dwarfgate.net... Updating dwarflib_cfg.txt: INSTALL_DIR to dwarfg_dev.mdevdepl.dwarfgate.net... Updating dwarflib_cfg_dbg.txt: INSTALL_DIR to dwarfg_dev.mdevdepl.dwarfgate.net... Updating dwarflib_cfg_log.txt: INSTALL_DIR to dwarfg_dev.mdevdepl.dwarfgate.net... Updating dwarflib_cfg_prod.txt: INSTALL_DIR to dwarfg_dev.mdevdepl.dwarfgate.net... Updating grafana_table_accesslist.txt: INSTALL_DIR to dwarfg_dev.mdevdepl.dwarfgate.net... Updating influx_db.txt: INSTALL_DIR to dwarfg_dev.mdevdepl.dwarfgate.net... Updating log_cgi.txt: INSTALL_DIR to dwarfg_dev.mdevdepl.dwarfgate.net... Updating dwarfg.service: INSTALL_DIR to dwarfg_dev.mdevdepl.dwarfgate.net... Updating dwarfg_snmp_gw.service: INSTALL_DIR to dwarfg_dev.mdevdepl.dwarfgate.net... Updating dwarfg_apache_initial.conf: PYTHON_VENV to /opt/dwarfg_dev.mdevdepl.dwarfgate.net/python_venv... Updating dwarfg_apache_initial_nossl.conf: PYTHON_VENV to /opt/dwarfg_dev.mdevdepl.dwarfgate.net/python_venv... Updating dwarfg_logrotate.conf: PYTHON_VENV to /opt/dwarfg_dev.mdevdepl.dwarfgate.net/python_venv... Updating proxy_ssh_template.conf: PYTHON_VENV to /opt/dwarfg_dev.mdevdepl.dwarfgate.net/python_venv... Updating proxy_ssh_template_nossl.conf: PYTHON_VENV to /opt/dwarfg_dev.mdevdepl.dwarfgate.net/python_venv... Updating tunnel_ssh_template.conf: PYTHON_VENV to /opt/dwarfg_dev.mdevdepl.dwarfgate.net/python_venv... Updating tunnel_ssh_template_nossl.conf: PYTHON_VENV to /opt/dwarfg_dev.mdevdepl.dwarfgate.net/python_venv... Updating tunnel_web_template.conf: PYTHON_VENV to /opt/dwarfg_dev.mdevdepl.dwarfgate.net/python_venv... Updating tunnel_web_template_nossl.conf: PYTHON_VENV to /opt/dwarfg_dev.mdevdepl.dwarfgate.net/python_venv... Updating buildtag.txt: PYTHON_VENV to /opt/dwarfg_dev.mdevdepl.dwarfgate.net/python_venv... Updating dwarflib_cfg.txt: PYTHON_VENV to /opt/dwarfg_dev.mdevdepl.dwarfgate.net/python_venv... Updating dwarflib_cfg_dbg.txt: PYTHON_VENV to /opt/dwarfg_dev.mdevdepl.dwarfgate.net/python_venv... Updating dwarflib_cfg_log.txt: PYTHON_VENV to /opt/dwarfg_dev.mdevdepl.dwarfgate.net/python_venv... Updating dwarflib_cfg_prod.txt: PYTHON_VENV to /opt/dwarfg_dev.mdevdepl.dwarfgate.net/python_venv... Updating grafana_table_accesslist.txt: PYTHON_VENV to /opt/dwarfg_dev.mdevdepl.dwarfgate.net/python_venv... Updating influx_db.txt: PYTHON_VENV to /opt/dwarfg_dev.mdevdepl.dwarfgate.net/python_venv... Updating log_cgi.txt: PYTHON_VENV to /opt/dwarfg_dev.mdevdepl.dwarfgate.net/python_venv... Updating dwarfg.service: PYTHON_VENV to /opt/dwarfg_dev.mdevdepl.dwarfgate.net/python_venv... Updating dwarfg_snmp_gw.service: PYTHON_VENV to /opt/dwarfg_dev.mdevdepl.dwarfgate.net/python_venv... Updating PORT_OFFSET in /opt/dwarfg_dev.mdevdepl.dwarfgate.net/base_defs ... Updating DWARFG_PORT in /opt/dwarfg_dev.mdevdepl.dwarfgate.net/base_defs ... Preparing runtime data directories... Running post-install app data init script... Updating USE_SSL in /opt/dwarfg_dev.mdevdepl.dwarfgate.net/base_defs ... Preparing python virtual environment at /opt/dwarfg_dev.mdevdepl.dwarfgate.net/python_venv... success Reading basedefs:"base_defs" from directory:/opt/dwarfg_dev.mdevdepl.dwarfgate.net ... Found Dwarfguard global site defs (/opt/cache_dwarfg/home/.dwarfg_site_config), sourcing... Reading basefuncs:"app_funcs.sh" from directory:/opt/dwarfg_dev.mdevdepl.dwarfgate.net ... Updating SERVID in /opt/dwarfg_dev.mdevdepl.dwarfgate.net/base_defs ... Users: 1, resetting dwarfg user password to IyumSwS6KgXE Populating Dwarfguard database... Storing bindir/srvdir in DB... Reading basedefs:"base_defs" from directory:/opt/dwarfg_dev.mdevdepl.dwarfgate.net ... Found Dwarfguard global site defs (/opt/cache_dwarfg/home/.dwarfg_site_config), sourcing... Reading basefuncs:"app_funcs.sh" from directory:/opt/dwarfg_dev.mdevdepl.dwarfgate.net ... EXTERNURL/1 /dev.mdevdepl.dwarfgate.net Updating DEF_SERVER to dev.mdevdepl.dwarfgate.net ... Updating EXTERNURL in /opt/dwarfg_dev.mdevdepl.dwarfgate.net/base_defs ... Updating package /opt/dwarfg_dev.mdevdepl.dwarfgate.net/agents/agent_advantech/adwarfg_advantech.tgz: updating file /opt/dwarfg_dev.mdevdepl.dwarfgate.net/tmp/./adwarfg/bin/dwarfg_agent.sh... Updating package /opt/dwarfg_dev.mdevdepl.dwarfgate.net/agents/agent_advantech/adwarfg_upgrade.tgz: updating file /opt/dwarfg_dev.mdevdepl.dwarfgate.net/tmp/./adwarfg_upgrade/bin/dwarfg_agent.sh... Updating package /opt/dwarfg_dev.mdevdepl.dwarfgate.net/agents/agent_linux/adwarfg_linux.tgz: updating file /opt/dwarfg_dev.mdevdepl.dwarfgate.net/tmp/./adwarfg_linux/dwarfg_agent.sh... Updating package /opt/dwarfg_dev.mdevdepl.dwarfgate.net/agents/agent_linux/adwarfg_upgrade.tgz: updating file /opt/dwarfg_dev.mdevdepl.dwarfgate.net/tmp/./adwarfg_upgrade/dwarfg_agent.sh... Updating package /opt/dwarfg_dev.mdevdepl.dwarfgate.net/agents/agent_owrt/adwarfg_owrt.tgz: updating file /opt/dwarfg_dev.mdevdepl.dwarfgate.net/tmp/./adwarfg_owrt/dwarfg_agent.sh... Updating package /opt/dwarfg_dev.mdevdepl.dwarfgate.net/agents/agent_owrt/adwarfg_upgrade.tgz: updating file /opt/dwarfg_dev.mdevdepl.dwarfgate.net/tmp/./adwarfg_upgrade/dwarfg_agent.sh... Updating package /opt/dwarfg_dev.mdevdepl.dwarfgate.net/agents/agent_teltonika/adwarfg_teltonika.tgz: updating file /opt/dwarfg_dev.mdevdepl.dwarfgate.net/tmp/./adwarfg_teltonika/dwarfg_agent.sh... Updating package /opt/dwarfg_dev.mdevdepl.dwarfgate.net/agents/agent_teltonika/adwarfg_upgrade.tgz: updating file /opt/dwarfg_dev.mdevdepl.dwarfgate.net/tmp/./adwarfg_upgrade/dwarfg_agent.sh... Updating package /opt/dwarfg_dev.mdevdepl.dwarfgate.net/agents/agent_owrt/adwarfg_owrt.ipk: updating file /opt/dwarfg_dev.mdevdepl.dwarfgate.net/tmp/control/postinst... Updating package /opt/dwarfg_dev.mdevdepl.dwarfgate.net/agents/agent_teltonika/adwarfg_teltonika.ipk: updating file /opt/dwarfg_dev.mdevdepl.dwarfgate.net/tmp/control/postinst... Server IP address was updated in agent archive to dev.mdevdepl.dwarfgate.net. Considering dependency setenvif for ssl: Module setenvif already enabled Considering dependency mime for ssl: Module mime already enabled Considering dependency socache_shmcb for ssl: Module socache_shmcb already enabled Module ssl already enabled Module rewrite already enabled Module proxy already enabled Considering dependency proxy for proxy_http: Module proxy already enabled Module proxy_http already enabled Considering dependency proxy for proxy_connect: Module proxy already enabled Module proxy_connect already enabled Generating new Dwarfguard apache config (using dev.mdevdepl.dwarfgate.net/8485 from /opt/dwarfg_dev.mdevdepl.dwarfgate.net/dwarfg_apache_initial_nossl.conf to /opt/dwarfg_dev.mdevdepl.dwarfgate.net/apache_dwarfg_dev.mdevdepl.dwarfgate.net.conf) Enabling site dwarfg_dev.mdevdepl.dwarfgate.net. Resolving FFI state in /etc/php/8.2/apache2/php.ini ... extension already present, ... FFI enabled already Replaced PHP configuration value max_input_vars to value 20000 in /etc/php/8.2/apache2/php.ini ... Replaced PHP configuration value upload_max_filesize to value 40M in /etc/php/8.2/apache2/php.ini ... Replaced PHP configuration value post_max_size to value 41M in /etc/php/8.2/apache2/php.ini ... Updating SYSCTLPATH in /home/builder/mamas_build/deploy_2025_09_08__05_50_12_590796_dev/dwarfg_install/appdir/base_defs ... Created User: Email: admin@localhost Password: defaultPWDplsCHANGEme Role: ROLE_SUPER_ADMIN Firstname: Lastname: Active: true Created User: Email: operator@localhost Password: defaultOPERATORpwd Role: ROLE_ADMIN Firstname: Lastname: Active: false Skipping dwarfg cmdline update because version is not higher (new: 1.6 X old: 1.6) Creating InfluxDB database dwarfg_dev_mdevdepl_dwarfgate_net ... Enabling and starting Dwarfguard core service... (dwarfg_dev.mdevdepl.dwarfgate.net.service) Created symlink /etc/systemd/system/multi-user.target.wants/dwarfg_dev.mdevdepl.dwarfgate.net.service -> /etc/systemd/system/dwarfg_dev.mdevdepl.dwarfgate.net.service. * dwarfg_dev.mdevdepl.dwarfgate.net.service - Dwarfguard core service Loaded: loaded (/etc/systemd/system/dwarfg_dev.mdevdepl.dwarfgate.net.service; enabled; preset: enabled) Active: active (running) since Mon 2025-09-08 05:54:52 UTC; 4s ago Main PID: 594817 (dwarfgd) Tasks: 9 (limit: 28730) Memory: 38.5M CPU: 175ms CGroup: /system.slice/dwarfg_dev.mdevdepl.dwarfgate.net.service `-594817 /opt/dwarfg_dev.mdevdepl.dwarfgate.net/dwarfgd Done - Dwarfguard is deployed.