Grabbing sockets with bind???

1998-04-01 Thread Stephen Carpenter
Ok... I have had a problem under debian linux..and I just can't figure out WHY I am a while back the land attack was posted on bugtraq...and just for Shits and giggles I decided to see if I could make a version of it using a shell script and the netcat program. I did and it worked fine under

Re: Grabbing sockets with bind???

1998-04-01 Thread Jens B. Jorgensen
Shut down samba on your linux box before doing this. It is already bound to those ports. Also yes, you must run nc as root if you want to bind to those ports. Stephen Carpenter wrote: Ok... I have had a problem under debian linux..and I just can't figure out WHY I am a while back the land

Re: Grabbing sockets with bind???

1998-04-01 Thread Stephen Carpenter
Jens B. Jorgensen wrote: Shut down samba on your linux box before doing this. It is already bound to those ports. Also yes, you must run nc as root if you want to bind to those ports. well...ok...I stopped samba...then I took it out of inetd.conf (commented out) then I tried again (after

Re: Grabbing sockets with bind???

1998-04-01 Thread Jens B. Jorgensen
Ok, well make sure you stopped samba *and* any running nmbd or smbd processes. Then do a 'netstat -at' and look for bindings to the addresses. Then you should be able to run (as root). Note that land can probably do it because it sets the proper socket option for reusing ports. I wouldn't think

Re: Grabbing sockets with bind???

1998-04-01 Thread Ralph Winslow
When Jens B. Jorgensen replied to Stephen Carpenter thusly, I replied: Shut down samba on your linux box before doing this. It is already bound to those ports. Also yes, you must run nc as root if you want to bind to those ports. And you might like to have a look at /etc/services and