Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

unsupported DSA tag: qca #1367

Open
ErwanMAS opened this issue Oct 10, 2024 · 8 comments
Open

unsupported DSA tag: qca #1367

ErwanMAS opened this issue Oct 10, 2024 · 8 comments

Comments

@ErwanMAS
Copy link

Hi ,
What we need todo to solve this error ?

root@OpenWrt:~# tcpdump -nei eth1
tcpdump: unsupported DSA tag: qca

root@OpenWrt:~# tcpdump --version
tcpdump version 4.99.5
libpcap version 1.10.5 (with TPACKET_V3)
32-bit build, 64-bit time_t
@infrastation
Copy link
Member

What does tcpdump -L -i eth1 print?

@ErwanMAS
Copy link
Author

same error

root@OpenWrt:~#  tcpdump -L -i eth1
tcpdump: unsupported DSA tag: qca

@infrastation
Copy link
Member

It seems you have hardware that uses the QCA tagging for DSA, which the Linux kernel supports (seemingly since 2015), but libpcap does not.

@infrastation infrastation transferred this issue from the-tcpdump-group/tcpdump Oct 10, 2024
@infrastation
Copy link
Member

Which specific hardware is this, and which OpenWrt release?

@ErwanMAS
Copy link
Author

Which specific hardware is this, and which OpenWrt release?

so i have 2 dsa tag that are no supported qca / mtk

Linksys EA7500 V1

cat /etc/openwrt_release ; cat /etc/board.json | jq .model ; tcpdump -nei eth0
DISTRIB_ID='OpenWrt'
DISTRIB_RELEASE='24.10.0-rc2'
DISTRIB_REVISION='r28161-ea17e958b9'
DISTRIB_TARGET='ipq806x/generic'
DISTRIB_ARCH='arm_cortex-a15_neon-vfpv4'
DISTRIB_DESCRIPTION='OpenWrt 24.10.0-rc2 r28161-ea17e958b9'
DISTRIB_TAINTS=''
{
  "id": "linksys,ea7500-v1",
  "name": "Linksys EA7500 V1 WiFi Router"
}
tcpdump: unsupported DSA tag: qca

Linksys EA7500 V2


cat /etc/openwrt_release ; cat /etc/board.json | jq .model ; tcpdump -nei eth0
DISTRIB_ID='OpenWrt'
DISTRIB_RELEASE='24.10.0-rc2'
DISTRIB_REVISION='r28161-ea17e958b9'
DISTRIB_TARGET='ramips/mt7621'
DISTRIB_ARCH='mipsel_24kc'
DISTRIB_DESCRIPTION='OpenWrt 24.10.0-rc2 r28161-ea17e958b9'
DISTRIB_TAINTS=''
{
  "id": "linksys,ea7500-v2",
  "name": "Linksys EA7500 v2"
}
tcpdump: unsupported DSA tag: mtk
root@ramir:~#

@0xKira
Copy link

0xKira commented Jan 6, 2025

Same problem here with OpenWrt 24.10.0-rc3

tcpdump: unsupported DSA tag: mtk

@piyushgarg
Copy link

arp-scan --localnet
pcap_activate: unsupported DSA tag: mtk

vladimiroltean added a commit to vladimiroltean/libpcap that referenced this issue Jan 27, 2025
Up until commit 8f1f6fc ("If we can't allocate a DLT_ list,
fail."), the iface_dsa_get_proto_info() return code was ignored, but now
it isn't.

Many DSA tags are in use which libpcap has no idea about:
the-tcpdump-group#1367

Let's keep the behavior as before, i.e. don't give up on these packets,
even though we don't know what's inside.
@vladimiroltean
Copy link

For the record, this is a regression, for which I've opened this pull request: #1451. Testers welcome.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

5 participants