🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
13 messages
13 total messages Started by Mike Wilson, UCE Account Fri, 25 Sep 1998 00:00
CleanFeed request
#31738
Author: Mike Wilson, UCE Account
Date: Fri, 25 Sep 1998 00:00
18 lines
1094 bytes
Would it be possible to add in some sort of filter to the default cleanfeed
perl program to handle rejects with bodies that have stuff like this in it?

http://3521064751/

How on earth this works I've yet to figure out but it's a porn site... I
just don't know how Netscape and IE actually get you to the site... no IP,
no name... But, the main point is I wanna block anything with that type of
body /http:\/\/+d\// or some such ...

Thanks!

-- 
---
Mike Wilson 				http://www.drwho.org
					http://www.pobox.com/~mwilson

Re: CleanFeed request
#31716
Author: John Payne
Date: Fri, 25 Sep 1998 00:00
23 lines
1680 bytes
On Fri, 25 Sep 1998 15:03:47 GMT, Ronan Mullally <ronan@ie.iol> wrote:
>Chris Adams <cadams@ro.com> wrote:
>> Aside from the perl builtin inet_ntoa(), there is
>
>> print join(".",unpack("CCCC",pack("N",$ARGV[0]))),"\n";
>
>> $ perl -e 'print join(".",unpack("CCCC",pack("N",$ARGV[0]))),"\n"' 3521064751
>> 209.223.47.47
>
>ping is so much easier :)
>
>$ ping 3521064751
>PING 3521064751 (209.223.47.47): 56 data bytes

heh... yeah, but i don't often think of ping, 'cos my main workstation is
behind a firewall :-(

-- 
John Payne      http://www.sackheads.org/jpayne    john@sackheads.org
       Sarcasm by request                        Fax: +44 870 0547954
My mail provider doesn't welcome UBE -  http://www.sackheads.org/uce/

Re: CleanFeed request
#31721
Author: John Payne
Date: Fri, 25 Sep 1998 00:00
12 lines
1270 bytes
On 25 Sep 1998 08:25:34 -0700, Russ Allbery <rra@stanford.edu> wrote:
>Why don't you just use host?  :)

Smart arse ;-)


-- 
John Payne      http://www.sackheads.org/jpayne    john@sackheads.org
       Sarcasm by request                        Fax: +44 870 0547954
My mail provider doesn't welcome UBE -  http://www.sackheads.org/uce/

Re: CleanFeed request
#31726
Author: John Payne
Date: Fri, 25 Sep 1998 00:00
24 lines
1791 bytes
On 25 Sep 1998 08:12:12 -0500, Mike Wilson, UCE Account <uce_mike@yahoo.com> wrote:
>Would it be possible to add in some sort of filter to the default cleanfeed
>perl program to handle rejects with bodies that have stuff like this in it?
>
>http://3521064751/
>
>How on earth this works I've yet to figure out but it's a porn site... I
>just don't know how Netscape and IE actually get you to the site... no IP,
>no name... But, the main point is I wanna block anything with that type of
>body /http:\/\/+d\// or some such ...

Something like: $ip = '\d{2,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}\b|\d{10}\b';
may catch it.    I had NO idea that that URL would work.... its actually
the 32bit IP address out of dot-quad format!
If my quick calcs are right... its in netblock 209.223.47 - but I could
be wrong


-- 
John Payne      http://www.sackheads.org/jpayne    john@sackheads.org
       Sarcasm by request                        Fax: +44 870 0547954
My mail provider doesn't welcome UBE -  http://www.sackheads.org/uce/

Re: CleanFeed request
#31729
Author: John Payne
Date: Fri, 25 Sep 1998 00:00
16 lines
1426 bytes
On 25 Sep 1998 14:25:44 GMT, John Payne <john+usenet@sackheads.org> wrote:
>Here's a quick and dirty perl script.... there's probably a really quick
>way of doing it, but:

No sooner posted, than clues fly in...
<Cheesy> printf("%d.%d.%d.%d", $n >> 24, ($n >> 16) & 0xFF00, ($n >> 8) & 0xFF0000, $n & 0xFF00000000);
<brian> inet_ntoa()



-- 
John Payne      http://www.sackheads.org/jpayne    john@sackheads.org
       Sarcasm by request                        Fax: +44 870 0547954
My mail provider doesn't welcome UBE -  http://www.sackheads.org/uce/

Re: CleanFeed request
#31730
Author: Miquel van Smoorenburg
Date: Fri, 25 Sep 1998 00:00
21 lines
1594 bytes
In article <slrn70n8m5.s23.john+usenet@haybaler.sackheads.org>,
John Payne <john+usenet@sackheads.org> wrote:
>On 25 Sep 1998 08:12:12 -0500, Mike Wilson, UCE Account <uce_mike@yahoo.com> wrote:
>>http://3521064751/
>>
>>How on earth this works I've yet to figure out but it's a porn site... I
>
>Something like: $ip = '\d{2,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}\b|\d{10}\b';
>may catch it.    I had NO idea that that URL would work.... its actually
>the 32bit IP address out of dot-quad format!

It's an old trick ... look at the Reply-To: address in this article :)

You should be able to do this in hex (0x..) and octal (0....) too

miquels@[3275768106]
-- 
  "Did I ever tell you about the illusion of free will?"
    -- Sheriff Lucas Buck, ultimate BOFH.

Re: CleanFeed request
#31735
Author: Chris Adams
Date: Fri, 25 Sep 1998 00:00
18 lines
1152 bytes
According to John Payne <john+usenet@sackheads.org>:
>Here's a quick and dirty perl script.... there's probably a really quick
>way of doing it, but:

Aside from the perl builtin inet_ntoa(), there is

print join(".",unpack("CCCC",pack("N",$ARGV[0]))),"\n";

$ perl -e 'print join(".",unpack("CCCC",pack("N",$ARGV[0]))),"\n"' 3521064751
209.223.47.47

:-)
-- 
Chris Adams - cadams@ro.com
System Administrator - Renaissance Internet Services
I don't speak for anybody but myself - that's enough trouble.

Re: CleanFeed request
#31736
Author: John Payne
Date: Fri, 25 Sep 1998 00:00
36 lines
1956 bytes
On 25 Sep 1998 14:03:49 GMT, John Payne <john+usenet@sackheads.org> wrote:
>On 25 Sep 1998 08:12:12 -0500, Mike Wilson, UCE Account <uce_mike@yahoo.com> wrote:
>>http://3521064751/
>>
>>How on earth this works I've yet to figure out but it's a porn site... I
>>just don't know how Netscape and IE actually get you to the site... no IP,
>If my quick calcs are right... its in netblock 209.223.47 - but I could
>be wrong

Wheee, I was right:
$ perl de32.pl 3521064751
209.223.47.47

Here's a quick and dirty perl script.... there's probably a really quick
way of doing it, but:
#!/usr/bin/perl

my $decimalnumber = shift;

$out = $decimalnumber%(256)."\n";
$decimalnumber = $decimalnumber >> 8;
$out =  $decimalnumber%(256).'.'.$out;
$decimalnumber = $decimalnumber >> 8;
$out =  $decimalnumber%(256).'.'.$out;
$decimalnumber = $decimalnumber >> 8;
$out =  $decimalnumber%(256).'.'.$out;

print $out;


-- 
John Payne      http://www.sackheads.org/jpayne    john@sackheads.org
       Sarcasm by request                        Fax: +44 870 0547954
My mail provider doesn't welcome UBE -  http://www.sackheads.org/uce/

Re: CleanFeed request
#31739
Author: Bill Gunshannon
Date: Fri, 25 Sep 1998 00:00
22 lines
1387 bytes
In article <slrn70n8m5.s23.john+usenet@haybaler.sackheads.org>, john+usenet@sackheads.org (John Payne) writes:
|> 
|>                I had NO idea that that URL would work.... its actually
|> the 32bit IP address out of dot-quad format!
|> If my quick calcs are right... its in netblock 209.223.47 - but I could
|> be wrong

Your right, it's 209.223.47.47.  But I wouldn't risk going there to see 
what it is.

Didn't know that kind of address would work??  Try "ping 3521064751"
It works just fine!!

bill

-- 
Bill Gunshannon          |  de-moc-ra-cy (di mok' ra see) n.  Three wolves
bill@cs.uofs.edu         |  and a sheep voting on what's for dinner.
University of Scranton   |
Scranton, Pennsylvania   |         #include <std.disclaimer.h>   

Re: CleanFeed request
#31745
Author: Ronan Mullally
Date: Fri, 25 Sep 1998 00:00
17 lines
1366 bytes
Chris Adams <cadams@ro.com> wrote:
> Aside from the perl builtin inet_ntoa(), there is

> print join(".",unpack("CCCC",pack("N",$ARGV[0]))),"\n";

> $ perl -e 'print join(".",unpack("CCCC",pack("N",$ARGV[0]))),"\n"' 3521064751
> 209.223.47.47

ping is so much easier :)

$ ping 3521064751
PING 3521064751 (209.223.47.47): 56 data bytes


Ronan.

Re: CleanFeed request
#31764
Author: Jeremy
Date: Sat, 26 Sep 1998 00:00
22 lines
1515 bytes
Mike Wilson, UCE Account <uce_mike@yahoo.com> wrote:

> Would it be possible to add in some sort of filter to the default cleanfeed
> perl program to handle rejects with bodies that have stuff like this in it?
> 
> http://3521064751/
> 
> How on earth this works I've yet to figure out but it's a porn site... I
> just don't know how Netscape and IE actually get you to the site... no IP,
> no name... But, the main point is I wanna block anything with that type of
> body /http:\/\/+d\// or some such ...

I was hoping the spammer who discovered this might tire of it without anyone
else catching on.  Now that it's all out in the open here, though, I suppose
I'll have to add it. :)  Pity, 'tis a clever trick.

-- 
Jeremy | jeremy@exit109.com
Cleanfeed!   http://3504422915/~jeremy/news/cleanfeed.html
 (Oops, hope you see this...)

Re: CleanFeed request
#31794
Author: Alan J. Wylie
Date: Mon, 28 Sep 1998 00:00
17 lines
1378 bytes
John Payne wrote:
> 
> 
> Here's a quick and dirty perl script.... there's probably a really quick
> way of doing it, but:

# echo "256o 3521064751p" | dc
 209 223 047 047

dc - desk calculator
set the output base to 256, then print the number

-- 
Alan J. Wylie (Cyrano UK Ltd.) | mailto:awylie@cyrano.com
http://www.cyrano.com          | http://www.zen.co.uk/home/page/alan.wylie

Re: CleanFeed request
#31829
Author: Hello Kittyhawk
Date: Tue, 29 Sep 1998 00:00
24 lines
1233 bytes
In article <360F6403.16D3A372@cyrano.com>,
Alan J. Wylie <alanw@cyrano.com> wrote:
|John Payne wrote:
|> 
|> Here's a quick and dirty perl script.... there's probably a really quick
|> way of doing it, but:
|
|# echo "256o 3521064751p" | dc
| 209 223 047 047


		or


	echo "obase=256; 3521064751" | bc


-- 
  ,u,	 Bruce Becker		Toronto, Ontario	1 416 699 1868
a /i/	 Internet: bdb@gts.org	Uucp: ...!gts!bdb
 `\o\-e	 "Somehow it seems difficult to distinguish the Ken Starr
 _< /_	 	 Show from Jerry Springer's efforts" -- Elvis Rodham Presley

Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads