-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
nmap FAILED: Kernel doesn't support memory-mapped capture #6256
Comments
@mariopaumann we didn't change nmap since synocli-net v2.3-17 Can you downgrade to synocli-net v2.3-17? If it still works with synocli-net v2.3-17, then we need some further investigation. Since we have changed the development environment from debian 11 to debian 12 it might be related to the build environment. Another difference is, that all pulblished synocli-net packages until rev -17 are built on local build environment, only rev -18 was built by github build actions (and deployed by @mreid-tt) summary:
BTW: |
Hey @hgy59, looking back, I published the synocli-net package on behalf of @th0ma7 as part of PR #6239. However, upon reviewing the actual PR, I noticed that there were no changes made to synocli-net. It seems a dependency update triggered the build, and I mistakenly assumed it was an intentional update. Apologies for the confusion. I also checked the previous PR #5985, which proposed synocli-net v2.4-18, but it doesn't appear to have been published. Was the release held back deliberately? If that's the case, I can go ahead and disable it in the repo. |
I confirm, synocli-net was not planned for release part of my pr. But i recall fixing libudev build for dsm-7.2 which must have triggered it. |
I think I just forgot to publish it (half a year ago)... I did not my regular synocli package tests, but at least nmap does not have the kernel issue reported here, tested on three different systems with kernel versions 2.6,32.12, 3.2.110 and 4.4.59+. |
@hgy59 i tested it again. it works with 2.3-17 and stops working with 2.4-18. you're right i manually updated the package after it gave me a update notification. |
@hgy59, @th0ma7, one of the last changes I noted in #5820 (Aug 12, 2023) for Line 8 in 82f26f3
to Line 8 in 7366599
Would the change to
EDIT: Alternatively, this could be due to a change in the Line 2 in 82f26f3
to Line 2 in 7366599
|
@mariopaumann for futher analysis I have created various packages downloadable under releases in my fork https://github.com/hgy59/spksrc/releases/tag/synocli-net-dev The packages with can you please validate all of them? After final uninstall of the nmap packages, you have to install synocli-net again to restore the symlinks to the nmap binaries (nmap package overwrites the links and removes those on uninstall). |
@mariopaumann based on the latest recognition, I built a nmap package built with older libpcap for armv5 (libpcap 1.10.1). This is expected to work. (latest package in link above). |
7.92 packages are working. 7.94 are not working. regardless of which debian build release. the last one with pcap 1.10.1 crashes with coredump root@ds111:~# /volume1/@appstore/nmap/bin/nmap -n -sn 192.168.0.* |
@mariopaumann thanks for testing. |
@mariopaumann nmap 7.94 with libpcap 1.9.1 is ready for testing... |
@hgy59 nmap 7.94 with libpcap 1.9.1 is working |
- use cross/libpcap/Makefile for all libpcap versions - update libpcap (latest) to v1.10.5 - limit libpcap to v1.9.1 for ARMv5 - include mac-vendor list for arp-scan - remove bin/ndiff (python2 script)
There is a libpcap 1.10.5 btw, maybe this got fixed? |
no, not for ARMv5. |
Ah, that explains! |
* syncli-net: update socat - update socat to v1.8.0.1 (#6258) * syncli-net: fix nmap for ARMv5 (#6256) - use cross/libpcap/Makefile for all libpcap versions - update libpcap (latest) to v1.10.5 - limit libpcap to v1.9.1 for ARMv5 - include mac-vendor list for arp-scan - remove bin/ndiff (python2 script) * add diyspk/rsync/Makefile * bind tools: fix for non x64 archs - disable the runtime check for cache alignment * cross/bind: remove installation of libtool-bin - the libtool binary is a prerequisite in the dev. environment (since update to debain 12) - installation by the Makefile is obsolete now (introduced by #5985)
@hgy59 thank you. i updated to latest synocli network tools and it's fine for me now. 👍 |
Is this a new Bug?
Package Name
nmap
Package Version
SynoCli Network Tools 2.4-18
Device Model
DS111
Device Architecture
ARMv5
Firmware Version
DSM 6.2.4-25556 Update 7
What happened?
Since a few days nmap shows
i think it is because SynoCli Network Tools may have been updated automatically. For DSM there is no update anymore so the kernel is the same and the command worked for years since last tuesday.
Reproduction steps
...
Install Log
Service Log
Other Logs
No response
The text was updated successfully, but these errors were encountered: