[MacPorts] #28947: nbtscan Segmentation fault

MacPorts noreply at macports.org
Mon Mar 28 17:05:26 PDT 2011


#28947: nbtscan Segmentation fault
-----------------------------------+----------------------------------------
 Reporter:  anastasiosm@…          |       Owner:  usx303@…             
     Type:  defect                 |      Status:  new                  
 Priority:  Normal                 |   Milestone:                       
Component:  ports                  |     Version:  1.9.2                
 Keywords:                         |        Port:  nbtscan              
-----------------------------------+----------------------------------------
Changes (by ryandesign@…):

  * owner:  macports-tickets@… => usx303@…
  * keywords:  nbtscan =>
  * type:  request => defect
  * port:  nbtscan @1.5.1 (security) => nbtscan


Old description:

> 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
>
> [[BR]]
>
> 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 $
>
> [[BR]]
> 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!

New description:

 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!

--

Comment:

 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.

-- 
Ticket URL: <https://trac.macports.org/ticket/28947#comment:1>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list