[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: UDP socket tests useless
From: |
Jan-Henrik Haukeland |
Subject: |
Re: UDP socket tests useless |
Date: |
13 Aug 2002 12:44:19 +0200 |
User-agent: |
Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.4 (Civil Service) |
Nils Ohlmeier <address@hidden> writes:
> I just took a quick look into the code of nmap (to look for a
> possible better solution then your fix): sadely they make it in a
> complete other way. If i understand correct nmap uses raw sockets
> to send out all packets/requests.
>From what I could see from the nmap code (I didn't look very close) it
does in theory utilize the same test but build instead it's own low
level udp package with 0 data and sends this as a header package.
This is probably what I should do as well, since as you correctly
points out I'm actually sending 1 byte of data which most servers
would react to as a wrong protocol request. On the other hand most
servers should not have any problems with such a request.
> > Or if you would like to give it a try, please do, since I'm quite
> > bussy at the moment :)
>
> Not to busy to develop a quick fix. Respect.
Well, it wasn't a very nice fix. But that's what happen when your
busy. I'll try to do it the right way when I get time. Anyway I hope
it solved your problem at least :)
--
Jan-Henrik Haukeland