Displaying 1 result from an estimated 1 matches for "nmbout".
Did you mean:
nabout
2006 Apr 14
0
Revised smb-wall (Was: smbclient -M --> ERRmsgoff?)
...;
# if you have A LOT of clients you may speed things up by
# checking pid - no need to look further if this pid was already
# seen; left as an exercise :-)
$client = $_[2];
if( $client =~ /^\d+\./ ){ # Lookup NetBIOS names for IP's
open(NMBOUT, "$nmblookup $client |") || die "$nmblookup
failed!.\n$!\n";
while($line=<NMBOUT>) {
if( $line =~ /^\s*(\S+)\s<00> -\s*M/ ){
$client = $1;
last;
}
}
close(NMBO...