Re: Free Vacation when you Request the Info...


Subject: Re: Free Vacation when you Request the Info...
From: mg (mkdk@mediaone.net)
Date: Sat Oct 09 1999 - 21:21:46 MDT


Dan: Thanks for this tip, I'm sure I'm not the only one who appreciates it!
Through identification, perhaps some spam can be limited. I'm not referring
to our YDL, of which only one spam message has snuck in, but just reducing
spam in general. Thanks again.

Regards,
Mark Gilligan

----------
>From: "Daniel E. White" <igor@clark.net>
>To: yellowdog-general@lists.yellowdoglinux.com
>Subject: Re: Free Vacation when you Request the Info...
>Date: Sat, Oct 9, 1999, 10:59 PM
>

> It is the equivalent unsigned long integer you get if you put the 4
> unsigned short integers of an IP address into the same memory space.
>
> I have used this trick to make an IP address a single thingie so that I can
> use it in a database and do simple arithmetic comparisons on it.
>
> It goes like this:
>
> #include <stdio.h>
>
> int main ( int agrc, char *argv[] )
> {
>
> unsigned char *ipAddress ;
> unsigned long number = 3626046468L ;
>
> ipAddress = (unsigned char *)(&number) ;
>
> /* we could then do this: */
>
> printf ( "The IP Address is %u.%u.%u.%u\n", ipAddress[0],
> ipAddress[1], ipAddress[2], ipAddress[3] ) ;
>
> exit ( 0 ) ;
> }
>
> And when I run it, it says:
>
> The IP Address is 216.33.20.4
>
> And nslookup says:
>
> Name: bigip.angelfire.com
> Address: 216.33.20.4
>
>>That's a real address. it just doesn't look like one. :)
>>
>>Dennis Murphy wrote:
>>> And the SPAMmer can't even get a proper IP address!
>>> Sheesh. Spam that doesn't even offer a real address. What has the world
>>> come to?
>>> > On Sat, 9 Oct 1999 freevacationa@boom.com wrote:
>>> > > http://3626046468/md2/freetraveling/index2.html
>>> > > <a href="http://3626046468/md2/freetraveling/index2.html">Click
>>> > > Here FOR FREE INFORMATION</a>
>>
>>--
>>equatorial:
>>original electronic noise: http://listen.to/equatorial icq: 2690054
>>Full Length Free MP3 downloads, RealAudio Streams and Cheap CDs
>
> --
> ------------------------------------------------------------------------
> Dan White
> ------------------------------------------------------------------------
> "Sometimes I think the surest sign that intelligent life exists
> elsewhere in the universe is that none of it has tried to contact us."
> Calvin (Bill Waterson)



This archive was generated by hypermail 2a24 : Tue Nov 02 1999 - 16:20:57 MST