New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #28947 (closed defect: worksforme)

Opened 2 years ago

Last modified 15 months ago

nbtscan Segmentation fault

Reported by: anastasiosm@… Owned by: usx303@…
Priority: Normal Milestone:
Component: ports Version: 1.9.2
Keywords: Cc:
Port: nbtscan

Description (last modified by ryandesign@…) (diff)

Hello

I have installed package nbtscan @1.5.1 (security) on macos 10.6.6 and whenever I nbtscan a /24 subnet I get the following:

[root] /opt $ nbtscan 10.1.1.0/24   ---- same error with -r switch

Doing NBT name scan for addresses from 10.1.1.0/24

IP address       NetBIOS Name     Server    User             MAC address     
------------------------------------------------------------------------------
10.1.1.0    Sendto failed: Permission denied
Segmentation fault

No errors with the following, though:

[root] /opt $ nbtscan 10.1.1.1-10

Doing NBT name scan for addresses from 10.1.1.1-10

IP address       NetBIOS Name     Server    User             MAC address      
------------------------------------------------------------------------------
[root] /opt $

However, when asking to scan more than 10 ips I'm getting again the seg fault

[root] /opt $ nbtscan 10.1.1.1-11
Doing NBT name scan for addresses from 10.1.1.1-11

IP address       NetBIOS Name     Server    User             MAC address     
------------------------------------------------------------------------------
Segmentation fault

Have also tried downloading the source code http://www.inetcat.net/software/nbtscan-1.5.1.tar.gz, compiling successfully on my box but getting the same error, could you plz fix. Issue probably related to #27376.

Thanks!

Change History

comment:1 Changed 2 years ago by ryandesign@…

  • Keywords nbtscan removed
  • Owner changed from macports-tickets@… to usx303@…
  • Type changed from request to defect
  • Port changed from nbtscan @1.5.1 (security) to nbtscan
  • Description modified (diff)

Remember to use WikiFormatting in the future.

If you get the same problem building nbtscan from source outside of MacPorts, then it probably isn't a MacPorts problem and should be reported directly to the developers of nbtscan.

comment:2 Changed 15 months ago by jmr@…

  • Status changed from new to closed
  • Resolution set to worksforme

Can't reproduce. If you're still seeing this, attach a crash log when you reopen.

Note: See TracTickets for help on using tickets.