I can't seem to get it installed, i ran ./configure in the nsat dir, it went fine. However, make, or make install both produce this:
compiling ADM smb scanner... In file included from ./client.c:73:
./ADMsmb.c: In function 'ADMsmb':
./ADMsmb.c:126: error: invalid lvalue in unary '&'
make: *** [client.o] Error 1
make: Leaving directory `/root/dl/nsat/src/smb'
make: *** [../smb-ns] Error 2
make: Leaving directory `/root/dl/nsat/src'
make: *** [all] Error 2
i checked line 126 of ADMsmb.c and this is what it is:
if (recvfrom (socket_client, buffer2, sizeof (buffer2), 0, (struct sockaddr *) &sin_dst, &(int) longueur) != -1)
is sin_dst the lvalue it speaks of?