Opened 14 years ago

Closed 13 years ago

#28947 closed defect (worksforme)

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 (Ryan Carsten Schmidt))

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 (2)

comment:1 Changed 14 years ago by ryandesign (Ryan Carsten Schmidt)

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

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 13 years ago by jmroot (Joshua Root)

Resolution: worksforme
Status: newclosed

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

Note: See TracTickets for help on using tickets.