n3ph has quit [Ping timeout: 480 seconds]
aparcar[m] has quit [Quit: Bridge terminating on SIGTERM]
Nick[m] has quit [Quit: Bridge terminating on SIGTERM]
vaino[m] has quit [Quit: Bridge terminating on SIGTERM]
schmars[m] has quit [Quit: Bridge terminating on SIGTERM]
shoragan[m] has quit [Quit: Bridge terminating on SIGTERM]
vics[m] has quit [Read error: Connection reset by peer]
hauke[m] has quit [Read error: Connection reset by peer]
rua has quit [Quit: Leaving.]
rua has joined #openwrt-devel
Slimey has joined #openwrt-devel
valku has quit [Quit: valku]
sorinello has joined #openwrt-devel
goliath has joined #openwrt-devel
ptudor has quit [Read error: Connection reset by peer]
dpawlik has joined #openwrt-devel
warpme has joined #openwrt-devel
ptudor has joined #openwrt-devel
<f00b4r0> is there an easy way to macfilter an entire range of mac addresses (at the wifi ap interface level)?
<f00b4r0> nbd: the Tuya "device of death" bug we discussed a while ago is quite real and painful
<f00b4r0> however using hostapd macfilter to prevent assoc seems to be enough to "shield"
<f00b4r0> so I'd like to ban the Tuya MAC prefix ;P
<f00b4r0> I'm guessing the hardware may not support that though
noltari is now known as Guest23921
noltari has joined #openwrt-devel
<nbd> f00b4r0: can you easily reproduce the issue at the moment? or do you have to wait for a while every time?
Guest23921 has quit [Ping timeout: 480 seconds]
noltari is now known as Guest23922
noltari has joined #openwrt-devel
<f00b4r0> apparently all it takes is such a device in range and then wait a (usually short) while for the AP to crash
Guest23922 has quit [Ping timeout: 480 seconds]
<f00b4r0> btw on a side topic, in turns out that #11650 is affecting filogic devices with mt7531 switches (or so it seems, I want to do a test with the MT6000 using the 2.5G ports to confirm whether it's related only to the mt7531 or not) on 24.10, but not ramips with mt7530 anymore, something I failed to report
robimarko has joined #openwrt-devel
<nbd> f00b4r0: how does the AP crash exactly?
<nbd> kernel trace, firmware crash?
<f00b4r0> iirc kernel panic, I had pasted a dump for you back then. Let me try to find it again, hold on
<f00b4r0> nbd: https://pastes.io/crash-7216 I've unearthed this from last December, that's on a Yuncore AX820 (dreaded devices). "a0:92:08:2e:9f:88" is Tuya. Stock 24.10 kernel from whatever was current at the time
<f00b4r0> I think I have a more recent one somewhere.
<nbd> i need a crash dump with KALLSYMS enabled
<nbd> preferably from a recent version
warpme has quit []
<f00b4r0> not easy. Last time you mentioned you could get the symbol info since this was stock kernel
<nbd> when i tried, i didn't get proper symbols
<f00b4r0> damn
<nbd> does the tuya device need to be fully configured, or just looking for APs?
<f00b4r0> we don't know what these devices are tbh
<f00b4r0> from the AP's pov, it seems they try to assoc to all available SSIDs
<f00b4r0> open or encrypted
<nbd> ok
<f00b4r0> we see floods of "STA d8:d6:68:d8:c7:a6 IEEE 802.11: did not acknowledge authentication response"
<f00b4r0> (for a current example - although this one isn't yet triggering the crash)
<f00b4r0> in between are "STA d8:d6:68:d8:c7:a6 IEEE 802.11: deauthenticated due to local deauth request"
<f00b4r0> these messages are typically in bursts of 2-3 every 2-3 seconds, completely saturating the logs
n3ph has joined #openwrt-devel
<f00b4r0> crap, the dual VLAN entry also happens when using the 2.5G ports on MT6000, so it's not mt7531-related
<nbd> f00b4r0: i think i have an idea about the cause of the crashes
<f00b4r0> awesome
<nbd> i'll make a patch
<f00b4r0> would you happen to have a suggestion as where to look for the source of the issue I'm dealing with on filogic (in a nutshell: APs with vlan-aware bridge, SSIDs bridged to a tagged vlan, when a client connects the AP puts on the ethernet side two ARP frames one on the tagged vlan and one on the same port's untagged vlan - seen from the remote end of the ethernet port)
<f00b4r0> I'm about to start spraying printk()s in the kernel
<f00b4r0> that's how desperate I am ;P
noltari is now known as Guest23924
noltari has joined #openwrt-devel
<nbd> f00b4r0: please test if this patch helps: https://nbd.name/p/ae0c34b9
<nbd> should replace the crash with a WARN_ON
<nbd> at least if i picked the right place
<f00b4r0> ok. I can dump this in mt76/patches and rebuild, correct?
Guest23924 has quit [Ping timeout: 480 seconds]
<noltari> Hi all, I've been working on making odhcpd compliant with RFC9096 (at least with SLAAC, DHCPv6 requires some work and I haven't looked into it).
<noltari> Feedback is more than welcome. Hopefully we can fix the IPv6 stale addresses issue for those who receive dynamic IPv6 prefixes from our ISPs like me.
<nbd> f00b4r0: yes
<f00b4r0> ok thx
n3ph has quit [Ping timeout: 480 seconds]
n3ph has joined #openwrt-devel
<ukleinek> noltari: without having looked, there is an annoying issue with ipv6 RAs: If you have two machines sending out RAs, the respective netif usually has addresses that should be ignored for calculating the content of the RA.
<ukleinek> So IMHO I think it's a broken concept to look at the configured addresses for announcing e.g. the used prefix. The source of truth should be /etc/config/network instead.
<ukleinek> noltari: just saying as you touched the code in that region.
starsfall has joined #openwrt-devel
n3ph has quit [Ping timeout: 480 seconds]
rsalvaterra has quit []
rsalvaterra has joined #openwrt-devel
n3ph has joined #openwrt-devel
awgh has joined #openwrt-devel
<f00b4r0> nbd: patch deployed on a few devices prone to the issue, now we wait. I'll let you know what comes up; meanwhile I'll keep digging that filogic issue (it makes it impossible for us to use filogic devices as dumb APs)
<nbd> what issue is that?
<f00b4r0> similar to #11650
<f00b4r0> when a client connects to an SSID bridged to a tagged VLAN, on the ethernet side of things, two fdb entries appear: one for the tagged VLAN, and one for the default untagged one
<f00b4r0> after a while, this causes all sorts of problems
<f00b4r0> mainly DHCP breakage as replies no longer reach the target
<f00b4r0> as seen from the main router, this looks like this:
<f00b4r0> a6:18:fc:45:ff:0f dev eth0 vlan 8 master vbridge0
<f00b4r0> a6:18:fc:45:ff:0f dev eth0 vlan 2 master vbridge0
<f00b4r0> here, vlan 2 is the tagged one to which the remote wifi client connected on the dumb AP, and vlan 8 is the default untagged vlan (on the same ethernet port)
<f00b4r0> (output of bridge monitor on main router)
<f00b4r0> (main router and dumb AP have identical vlan-aware bridge config)
starsfall has quit [Quit: Connection closed for inactivity]
<f00b4r0> at least this one is very easy to reproduce
<f00b4r0> anyhow, lunch break ;)
ungeskriptet has quit [Ping timeout: 480 seconds]
mark22k has quit [Quit: The Lounge - https://thelounge.chat]
minimal has joined #openwrt-devel
ungeskriptet has joined #openwrt-devel
gromero has joined #openwrt-devel
Sawzall has quit [Read error: Connection reset by peer]
Sawzall has joined #openwrt-devel
castiel652 has joined #openwrt-devel
<f00b4r0> nbd: the confusing part for me is I'm not sure if I should look for the culprit in linux tree or in the mt76 tree
goliath has quit [Quit: SIGSEGV]
n3ph has quit [Ping timeout: 480 seconds]
valku has joined #openwrt-devel
<f00b4r0> since this affects a PHY that's not part of the onboard switch I'm tempted to assume this is unrelated to DSA
cass652 has joined #openwrt-devel
<f00b4r0> oh! It actually does *not* affect the ports that are on the DSA link
castiel652 has quit [Ping timeout: 480 seconds]
<f00b4r0> same thing on the CF devices. Only the direct-attached PHY (eth1 in both cases) is affected
<f00b4r0> nbd: just thinking out loud here but is it possible that said PHY is treated as a switch CPU-phy somewhere in the code? Could this explain the bogus VLAN assignment that's probably normally filtered out by the switch?
goliath has joined #openwrt-devel
cass652 has quit [Quit: cass652]
<djfe> castiel652: please pm me if you are online :)
cmonroe has quit [Ping timeout: 480 seconds]
<f00b4r0> narrowed down to two possible offending patches, yay
<f00b4r0> hauke: I'm told you want to tag .3, I may have a patch to propose in a few moments that fixes a very annoying bug on mediatek devices
warpme has joined #openwrt-devel
warpme has quit []
<f00b4r0> false alarm, *sigh*
plappermaul has joined #openwrt-devel
<f00b4r0> I guess I'll need nbd's help on this one, I'm lost in the code
<plappermaul> anyone here who knows details about uci/netifd interaction?
tohojo has quit [Read error: Connection reset by peer]
cmonroe has joined #openwrt-devel
maciekb72183953850 has quit [Ping timeout: 480 seconds]
Borromini has joined #openwrt-devel
Borromini has quit []
AtomiclyCursed has quit [Quit: ZNC 1.10.1 - https://znc.in]
AtomiclyCursed has joined #openwrt-devel
n3ph has joined #openwrt-devel
goliath has quit [Quit: SIGSEGV]
plappermaul has quit [Quit: Page closed]
ptudor has quit [Quit: Strict-Transport-Security: max-age=48211200; preload]
ptudor has joined #openwrt-devel
robimarko has quit [Remote host closed the connection]
cmonroe has quit [Ping timeout: 480 seconds]
sorinello has quit [Ping timeout: 480 seconds]
danitool has joined #openwrt-devel
cmonroe has joined #openwrt-devel
n3ph has quit [Ping timeout: 480 seconds]
n3ph has joined #openwrt-devel
minimal has quit [Quit: Leaving]
guerby_ has joined #openwrt-devel
guerby has quit [Remote host closed the connection]
philipp64 has quit [Quit: philipp64]
n3ph has quit [Ping timeout: 480 seconds]
danitool has quit [Quit: Cubum autem in duos cubos, aut quadratoquadratum in duos quadratoquadratos]