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

crash: scan on machine through openvpn #28

Closed
inifares23lab opened this issue May 4, 2024 · 2 comments
Closed

crash: scan on machine through openvpn #28

inifares23lab opened this issue May 4, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@inifares23lab
Copy link

I am connected to a machine through openvpn on a tun interface.
scanning on that interface causes this:

crash report:

"name" = "netscanner"
"operating_system" = "Fedora 39.0.0 [64-bit]"
"crate_version" = "0.4.5"
"explanation" = """
Panic occurred in file '/home/homesweethome/.local/cargo/registry/src/index.crates.io-6f17d22bba15001f/netscanner-0.4.5/src/components/discovery.rs' at line 148
"""
"cause" = "called `Option::unwrap()` on a `None` value"
"method" = "Panic"
"backtrace" = """

   0: 0x5582ce33c543 - core::panicking::panic::h8ddd58dc57c2dc00
   1: 0x5582ce33c426 - core::option::unwrap_failed::hf59153bb1e2fc334
   2: 0x5582ce3dea8f - <netscanner::components::discovery::Discovery as netscanner::components::Component>::update::hd711d6753609fee7
   3: 0x5582ce383db8 - tokio::runtime::park::CachedParkThread::block_on::hfa61ffd3f3b7de31
   4: 0x5582ce35d8a6 - tokio::runtime::runtime::Runtime::block_on::h2e009f277eeea08f
   5: 0x5582ce38f89a - netscanner::main::heca4ef282bcf0ade
   6: 0x5582ce3acce3 - std::sys_common::backtrace::__rust_begin_short_backtrace::h4ca9fedec93f9558
   7: 0x5582ce3d7f0d - std::rt::lang_start::{{closure}}::h85b52a1748b966b8
   8: 0x5582ce6ea613 - std::rt::lang_start_internal::h103c42a9c4e95084
   9: 0x5582ce38f975 - main
  10: 0x7f8bdb30014a - __libc_start_call_main
  11: 0x7f8bdb30020b - __libc_start_main_alias_2
  12: 0x5582ce33caf5 - _start
  13:        0x0 - <unresolved>"""
@Chleba Chleba added the bug Something isn't working label May 4, 2024
@Chleba
Copy link
Owner

Chleba commented May 4, 2024

Hi,
That looks like that HW interface has no MAC address. I'll take a look at it and try to fix it somehow. Thanks for reporting it.

@Chleba
Copy link
Owner

Chleba commented May 17, 2024

Hi @inifares23lab,
Here: 456e5da is the fix for not having a mac address when scanning clients over VPN. Unfortunately, when we do not have a mac address, we can't get any vendor (oui) information, but at least we don't get thread panic.
With that, I'm closing this issue but feel free to reopen it if this fix will not work.
Thanks again for Your report to make this tool better.

@Chleba Chleba closed this as completed May 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants