schmars[m] has joined #openwrt-devel
tSYS has quit [Quit: *squeak*]
tSYS has joined #openwrt-devel
Daanct12 has joined #openwrt-devel
<philipp64> anyone know what would cause `install` to complain it doesn't recognize the format of a file to be stripped on ARM or PPC or MIPS?
<philipp64> I'm seeing this in CI/CD and wondering if the CI/CD doesn't get populated with the correct toolchains...
rz has quit [Remote host closed the connection]
rz has joined #openwrt-devel
<quinq> Check for the file format
<quinq> Then check the toolchain supported target(s)
<philipp64> I can't... it's on the CI/CD host and I don't know how to get in.
<philipp64> what's odd is that it seems like the sort of issue that would crop up everywhere...
<quinq> ok so first step to debug the CI would be to get access to it, otherwise it's kind of wasting time :>
<dwfreed> have you heard of my good friend 'print debugging'
jeff___m has quit [Remote host closed the connection]
jeff___m has joined #openwrt-devel
jeff___m has quit [Ping timeout: 480 seconds]
goliath has joined #openwrt-devel
<lu_zero> and it is ignored because the CONFIG_TARGET_ROOTFS_INITRAMFS_SEPARATE logic seems wrong
mentalow has quit [Quit: :]]
rua has quit [Quit: Leaving.]
mentalow has joined #openwrt-devel
hanetzer1 has quit [Remote host closed the connection]
hanetzer has joined #openwrt-devel
robimarko has joined #openwrt-devel
<KGB-2> https://tests.reproducible-builds.org/openwrt/openwrt_ath79.html has been updated. (98.7% images and 100.0% packages reproducible in our current test framework.)
rua has joined #openwrt-devel
hitech95 has joined #openwrt-devel
xback has quit [Remote host closed the connection]
xback has joined #openwrt-devel
rua has quit [Remote host closed the connection]
rua has joined #openwrt-devel
<xback> ynezz: I was going to try bump imx to 6.1 .. but noticed they completely overhauled some dts's :-o (apalis)
Ansuel has quit [Quit: ZNC 1.9.x-git-253-750eac08 - https://znc.in]
Ansuel has joined #openwrt-devel
<lu_zero> interesting
<lu_zero> $(qstrip $(CONFIG_EXTERNAL_CPIO)) with CONFIG_EXTERNAL_CPIO=/path/to/my.cpio
<lu_zero> results in ""
<dwfreed> probably because it's supposed to be $(call qstrip,$(CONFIG_EXTERNAL_CPIO))
<lu_zero> let me see if it is just that typo
<lu_zero> do you remember how to call opkg from the makefile?
<lu_zero> Ideally I could change the
<lu_zero> find . | LC_ALL=C sort
<lu_zero> used below
<lu_zero> to exclude the contents of the packages I do not want in the initramfs
Ansuel has quit [Quit: ZNC 1.9.x-git-253-750eac08 - https://znc.in]
Ansuel has joined #openwrt-devel
filimonic has quit [Read error: Connection reset by peer]
filimonic has joined #openwrt-devel
<lu_zero> dwfreed: meanwhile that was the problem ^^;
jeff___m has joined #openwrt-devel
jeff___m has quit [Ping timeout: 480 seconds]
cp- has quit [Read error: Connection reset by peer]
<xback> nbd: do you recall I once pinged you regarding altered hostapd config upstream? :-) https://git.openwrt.org/?p=openwrt/staging/xback.git;a=commit;h=3eda05c6d70ab7dd5bb35a282299f967cae3ae6c
<xback> nbd: doing the same for wpa_supplicant now, and then check the Makefile which alters these symbols ..
<nbd> thx
<Ansuel> xback news for the wifi test?
* f00b4r0 can't get recent ucode to build on 22.03, sighs
<xback> Ansuel: No, didnt get to it yet
<xback> was playing around with WDS and all the sudden cleaning up hostapd config files :-p
jeff___m has joined #openwrt-devel
jeff___m has quit [Ping timeout: 480 seconds]
valku has joined #openwrt-devel
jeff___m has joined #openwrt-devel
<owrt-images-builds> Build [#117](https://buildbot.staging.openwrt.org/images/#/builders/159/builds/117) of `openwrt-23.05_bcm27xx/bcm2708` completed successfully.
<rmilecki> can someone help me understand sizes in slabinfo ?
<rmilecki> # grep -E "kmalloc-[12]k" /proc/slabinfo
<rmilecki> kmalloc-2k 99 105 6144
<rmilecki> kmalloc-1k 357 380 3072
<rmilecki> why my kmalloc 1k buffers take 3k size?
<rmilecki> same happens to every kmalloc-&
Daanct12 has quit [Quit: WeeChat 4.1.0]
<rmilecki> same happens to every kmalloc-*
<Ansuel> overhead is that big o.o my god
<rmilecki> Ansuel: i'm not sure if it's irony or what ;)
<rmilecki> Ansuel: i'm not familiar with that
<rmilecki> i never seen such mismatches
jeff___m has quit [Ping timeout: 480 seconds]
<Ansuel> yes sorry for the confusion, i'm confused as well... it was a question
<jakllsch> maybe there's a debugging or security option?
<Ansuel> is ksan enabled?
<rmilecki> ah, CONFIG_SLUB_DEBUG=y
<rmilecki> let me try without it
<rmilecki> oh, OpenWrt's KERNEL_SLABINFO selects KERNEL_SLUB_DEBUG
* f00b4r0 gets bitten by the wireless iface renaming in 23.05, curses politely
<rmilecki> huh, all those targets have CONFIG_SLUB_DEBUG=y enabled: gemini layerscape oxnas qoriq rockchip sifiveu
<rmilecki> why?1
<rmilecki> linusw: any idea on gemini?
<linusw> rmilecki: I think it was left on by cargo cult mistakes, probablt as a side effect of using KASAN which requires SLUB_DEBUG
<linusw> I'm pretty sure noone would react if you just delete that (or "# FOO_CONFIG is not set") from all defconfigs
<rmilecki> i was thinking about that
<rmilecki> interesting how many different surprises are there in defconfigs :)
<robimarko> A lot of stuff probably slipped by
<Ansuel> rmilecki actually.... all that debug stuff should be disabled on production fw and should be enabled only by tweaking config (aka manualy enabling them)
<Ansuel> so yes they probably slipped in...
<Ansuel> the increased overhead is expected with those debug feature enabled
skorpy[m] has joined #openwrt-devel
jeff___m has joined #openwrt-devel
jeff___m has quit [Ping timeout: 480 seconds]
bluew has quit [Quit: Leaving]
bluew has joined #openwrt-devel
goliath has quit [Quit: SIGSEGV]
<owrt-images-builds> Build [#17](https://buildbot.staging.openwrt.org/images/#/builders/226/builds/17) of `openwrt-22.03_apm821xx/sata` completed successfully.
<hitech95> Ansuel, dumb question, its been a while since last reply I got from dangowrt. who else is skilled with filologic stuff?
<hitech95> I've seen that you merged some related PRs. I'm facing some issues on porting a device and I'm not able to find a solution after weeks of works. (sysupgrade not working)
jeff___m has joined #openwrt-devel
jeff___m has quit [Ping timeout: 480 seconds]
<owrt-images-builds> Build [#17](https://buildbot.staging.openwrt.org/images/#/builders/211/builds/17) of `openwrt-22.03_mpc85xx/p1010` completed successfully.
<owrt-images-builds> Build [#17](https://buildbot.staging.openwrt.org/images/#/builders/169/builds/17) of `openwrt-22.03_at91/sama7` failed.
<Ansuel> linusw ping?
jeff___m has joined #openwrt-devel
jeff___m has quit [Ping timeout: 480 seconds]
jeff___m has joined #openwrt-devel
jeff___m has quit [Remote host closed the connection]
jeff___m has joined #openwrt-devel
<owrt-images-builds> Build [#17](https://buildbot.staging.openwrt.org/images/#/builders/176/builds/17) of `openwrt-22.03_bcm53xx/generic` completed successfully.
xback has quit [Remote host closed the connection]
xback has joined #openwrt-devel
robimarko has quit [Remote host closed the connection]
robimarko has joined #openwrt-devel
philipp64 has quit [Ping timeout: 480 seconds]
jeff___m has quit [Ping timeout: 480 seconds]
* f00b4r0 notes hostapd 'get_client' ubus call now reports rates in kbps*10
<f00b4r0> (in 23.05 vs 22.03)
cmonroe has quit [Ping timeout: 480 seconds]
floof58 has quit [Ping timeout: 480 seconds]
cmonroe has joined #openwrt-devel
floof58 has joined #openwrt-devel
jeff___m has joined #openwrt-devel
parazyd has quit [Ping timeout: 480 seconds]
<owrt-images-builds> Build [#17](https://buildbot.staging.openwrt.org/images/#/builders/220/builds/17) of `openwrt-22.03_mpc85xx/p1020` completed successfully.
jeff___m has quit [Remote host closed the connection]
jeff___m has joined #openwrt-devel
<owrt-images-builds> Build [#17](https://buildbot.staging.openwrt.org/images/#/builders/183/builds/17) of `openwrt-22.03_bcm47xx/generic` completed successfully.
parazyd has joined #openwrt-devel
goliath has joined #openwrt-devel
<owrt-images-builds> Build [#17](https://buildbot.staging.openwrt.org/images/#/builders/234/builds/17) of `openwrt-22.03_lantiq/ase` completed successfully.
<dwfreed> f00b4r0: that's a really odd unit; is that truly intentional?
<dwfreed> perhaps it was intended to behave like a round off, or the other way, always using an integer instead of a float
goliath has quit [Quit: SIGSEGV]
<f00b4r0> maybe this is a change in hostapd, i haven't looked there.
<f00b4r0> before 23.05 the value is reported in kbits, after it's reported in kbits*10
<f00b4r0> (in ubus)
<f00b4r0> i only noticed because it broke some custom plumbing i wrote
<owrt-images-builds> Build [#17](https://buildbot.staging.openwrt.org/images/#/builders/192/builds/17) of `openwrt-22.03_realtek/rtl838x` completed successfully.
<linusw> Ansuel: pong
<owrt-images-builds> Build [#17](https://buildbot.staging.openwrt.org/images/#/builders/200/builds/17) of `openwrt-22.03_pistachio/generic` completed successfully.
rmilecki has quit [Quit: Konversation terminated!]
rmilecki has joined #openwrt-devel
jeff___m has quit [Remote host closed the connection]
GNUmoon has quit [Remote host closed the connection]
GNUmoon has joined #openwrt-devel
rsalvaterra has joined #openwrt-devel
<owrt-images-builds> Build [#17](https://buildbot.staging.openwrt.org/images/#/builders/229/builds/17) of `openwrt-22.03_oxnas/ox820` completed successfully.
jeff___m has joined #openwrt-devel
<JiiPee> So does anyone know if it's intentional in latest openwrt that it will let private network traffic through wan or if it's bug?
jeff___m has quit [Remote host closed the connection]
jeff___m has joined #openwrt-devel
robimarko has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
<jow> JiiPee: what do you mean with "private network traffic" ?
<JiiPee> jow: example I have lan 10.10.10.0/24 and my 5G modem is connected to router wan port in bridge mode. Modem does have management IP from network 192.168.1.0/24
<JiiPee> OpenWRT lets traffic go to that management IP
<JiiPee> previouslty I had to specially create virtual interface for that
<JiiPee> this is not a case anymore
<jow> interesting
<JiiPee> imho this is security issue
<jow> how so?
jeff___m has quit [Remote host closed the connection]
<jow> it's not up to OpenWrt to protect the usptream router
<JiiPee> well why should private network traffic go through wan?
<owrt-images-builds> Build [#17](https://buildbot.staging.openwrt.org/images/#/builders/180/builds/17) of `openwrt-22.03_bcm63xx/smp` completed successfully.
<Ansuel> jow ping?
<jow> JiiPee: why not? openwrt could be daisy chained behind another router using rfc1918 range
<jow> Ansuel: pong
<Ansuel> any chance for lua 5.4 support? I'm having some difficulties in understanding the logic for the shared lib patch
jeff___m has joined #openwrt-devel
<Ansuel> can you give some hint? (5.4 is needed for the next snmp version since they switched to lua 5.4
<jow> Ansuel: no capacity or interest from my side
<jow> maybe simply drop the patches
<jow> and just ship a vanilla 5.4
<JiiPee> if I want to daisychain I would do it through lan
<Ansuel> sure just wanted to know if you had any idea how that worked... what is the logic? think it's needed for having more version of lua in one system
<JiiPee> why would I want to do it through wan?
<jow> JiiPee: for example if you have an upstream network using rfc1918 ranges without the ability to configure reverse routes you would need double nat
<JiiPee> Now bridge device on wan port is open for all kind of malware scripts sniffing unsecure modems or what ever media converters
<jow> Ansuel: can you be more specific wrt. "the shared lib patch"
<JiiPee> if user is stupid enough to click all kind of links
<jow> JiiPee: as I said, it's not the downstream routers task to protect the upstream network
<JiiPee> so openwrt is going less security is better?
<Ansuel> https://github.com/openwrt/openwrt/blob/main/package/utils/lua5.3/patches/020-shared_liblua.patch this i'm not following the logic in how should i decide what to put as LUA_API instead of LUAI_FUNC
<JiiPee> before you had to open it up as explained in that link I posted
<jow> JiiPee: nothing was "opened up", what was done is adding an ip alias to wan and a nat excemption, so that requests toward that management interface are sent with the proper source ip
<jow> depending on how the mgmt iface on the upstream device is imlemented it may or may not work without that config
<JiiPee> it didnt work with 22.03
<jow> then please share your current /etc/config/network, /etc/config/firewall in pastebin
<jow> as well as the ouput of iptables-save and "nft list ruleset"
<jow> and "ip -4 route"
<jow> so we can see whether there's a bug or not
<JiiPee> dont think 23.05 use iptables?
<jow> JiiPee: not by default, unless user scripts stage rules
<jow> Ansuel: seems someone forcibly exported some symbols which are otherwise hidden in liblua.so with that patch
<jow> Ansuel: I can only guess that there's been some users of those symbols
<JiiPee> you want me to install that iptables-save?
<jow> JiiPee: if it's not present then not
jeff___m has quit [Ping timeout: 480 seconds]
<jow> Ansuel: I suppose the author of the patch kept exporting/un-hiding symbols until the "lua" and "luac" executables successfully linked against liblua.so
<Ansuel> oh! i like bruteforce and no brain way
<jow> Ansuel: looks like all the methods changed to LUA_API are needed by either lua or luac
<Ansuel> jow are you still here? I have a question about netifd
<Ansuel> (i'm adding a way to add toggable gro and wonder if I should also add it with ubus...)
<Ansuel> (from what i understood adding the entry cause the thing to be configured directly in the network config)
jeff___m has joined #openwrt-devel
<JiiPee> jow: anything interesting there?
jeff___m has quit [Ping timeout: 480 seconds]
<jow> JiiPee: no looks standard
<jow> JiiPee: my cable modem behaves the same here
<JiiPee> right
<jow> I am actually wondering why that modem access stuff was needed in the first place on older releases
<JiiPee> well I would prefer the way 22.03 worked
<jow> seems like an accidential feature
<jow> there's no way for the router to know if a random destination IP is just an upstream network host or some kind of protected management
<jow> ... interface
<JiiPee> then I could just eneable/disable that "modem" interface when I need it/dont need it
<jow> so dunno what made 22.03 work the way it did but it was certainly not the firewall or nat setup
<jow> maybe different arp or rpath filter behavior
xback has quit [Remote host closed the connection]
xback has joined #openwrt-devel
torv has quit [Quit: torv]
torv has joined #openwrt-devel