Gossamer Forum
Home : Products : Links 2.0 : Discussions :

Re: German spammers? - Final Solution

Quote Reply
Re: German spammers? - Final Solution In reply to
I just ran into this problem. I run a small site dedicated to victoms of Spiritual Abuse and Bible Apologetics. So imagine my surprise this morning when I got submissions from about 10 German Porn Sites !-)

So, after reading all of your messages, I decided to implement the following changes.

First too links.cfg
# Referers -- which hosts are allowed to add to your database.

@db_referers = ('montrosebaptist.org','www.montrosebaptist.org','63.249.233.119');
# 6feb01 -- ban certain referrers
@db_ban = ('net-soft.ne','net-soft.de','195.20.225.110','searchup.de','dj-ufk.de','webnaut.ne','webnaut.de');

Now to add.cgi:
# Check the referer.
# 6feb01
# if (@db_referers and $ENV{'HTTP_REFERER'}) {
if (@db_referers) {
$found = 0;
foreach (@db_referers) {
$ENV{'HTTP_REFERER'} =~ /$_/i and $found++ and last;
}

if (!$found) {

# ----- 6feb01 ------------------
my($warref) = $ENV{'REMOTE_ADDR'};
my($warnung) = qq~<BR><BR><FONT COLOR="RED">Actung ! Nehmen Sie "$in{'Title'}" ($in{'URL'}) unverzüglich von der Liste. Sollten nach einer Reaktionszeit von 2 Tagen immer noch Seitenanmeldungen von <$warref> eintreffen, sind wir gezwungen rechtliche Schritte gegen Sie vorzunehmen.</FONT>~;
if (@db_ban) {
foreach (@db_ban) {
if($ENV{'HTTP_REFERER'} =~ /$_/i || $warref =~ /$_/i ) {
print "Content-type: text/html\n\n<H1>$warnung</H1>";
exit;
}
}
}
# --------------------------------

print "Content-type: text/html\n\n";
print qq~<P>
<H1 align="centered">Auto Submissions are NOT allowed.</H1>
<FONT COLOR="BLUE"><BR>Before you submit your url, please be aware that we are <B>ONLY</B> interested in sites that deal with Spiritual Abuse and Biblical Authority. This is NOT a generic search engine/site. If you are not sure whether or not qualifies, then we suggest you visit the
<A HREF="http://www.montrosebaptist.org">rest of our site <B>(montrosebaptist.org)</B></A> before making an entry.<BR><BR>
Warning! Continued attempts at auto submit $in{'URL'} will compel us to take all legal remedies available to us to make you stop.</FONT>
</P>
<P><FONT COLOR="RED">Wir drucken nicht kommerzielle websites aus. Wir drucken nicht generische Suchmaschinen aus. Kennzeichnen sollen, muß Ihre Site über Mißbrauch des Geistes. Oder Ihre Site muß über die Studie der Bibel sein. Alle weiteren Unterordnungen werden zurückgewiesen.</FONT>
$warnung
</P>
<P><FONT SIZE="-2" COLOR="SILVER">
Your submission from $ENV{'HTTP_REFERER'} ($warref) has been logged for legal/auditing purposes.
</FONT>
</P>
~;
exit;
# &site_html_add_failure ("Auto submission is not allowed in this directory. Please visit the site to add your entry.".$warnung);
# return;
}
}

Yes, it's a bit of a kludge, but it works !


Subject Author Views Date
Thread German spammers? nodeception 15900 Sep 16, 2000, 2:01 AM
Thread Re: German spammers?
Stealth 15439 Sep 16, 2000, 9:00 AM
Thread Re: German spammers?
nodeception 15384 Sep 16, 2000, 10:15 AM
Post Re: German spammers?
Stealth 15297 Sep 16, 2000, 12:14 PM
Thread Re: German spammers?
nodeception 15333 Sep 16, 2000, 10:25 AM
Thread Re: German spammers?
Stealth 15395 Sep 16, 2000, 11:24 AM
Thread Re: German spammers?
nodeception 15401 Sep 16, 2000, 12:19 PM
Post Re: German spammers?
Stealth 15287 Sep 16, 2000, 12:23 PM
Thread Re: German spammers?
nodeception 15340 Sep 16, 2000, 12:25 PM
Thread Re: German spammers?
nodeception 15393 Sep 16, 2000, 12:27 PM
Thread Re: German spammers?
Stevo 15374 Sep 16, 2000, 1:00 PM
Thread Re: German spammers?
nodeception 15387 Sep 16, 2000, 2:33 PM
Thread Re: German spammers?
skahoo 15358 Sep 17, 2000, 11:09 AM
Thread Re: German spammers?
skahoo 15305 Sep 18, 2000, 3:47 AM
Thread Re: German spammers?
Stevo 15285 Sep 18, 2000, 12:16 PM
Post Re: German spammers?
stevekn 9763 Sep 19, 2000, 11:32 PM
Post Re: German spammers?
stevekn 9821 Sep 19, 2000, 11:29 PM
Thread Re: German spammers?
michaeltracey 15167 Sep 19, 2000, 7:10 AM
Thread Re: German spammers?
mikt1 15258 Sep 19, 2000, 7:29 AM
Post Re: German spammers?
Thomas. 15124 Sep 19, 2000, 7:45 AM
Post Re: German spammers?
stevekn 9789 Sep 19, 2000, 11:23 PM
Thread Re: German spammers?
Stevo 15376 Sep 17, 2000, 11:28 AM
Thread Re: German spammers?
Thomas. 15346 Sep 17, 2000, 12:30 PM
Thread Re: German spammers?
Chad J 15327 Sep 17, 2000, 5:39 PM
Thread Re: German spammers?
nodeception 15265 Sep 17, 2000, 6:42 PM
Post Re: German spammers?
sponge 15266 Sep 17, 2000, 8:56 PM
Post Re: German spammers?
stevekn 9843 Sep 19, 2000, 10:50 PM
Thread Re: German spammers?
robfromaaa 9538 Jan 17, 2001, 9:51 AM
Thread Re: German spammers?
Stealth 9515 Jan 17, 2001, 3:46 PM
Thread Re: German spammers? - Final Solution
montrosebaptist 9393 Feb 6, 2001, 7:31 AM
Thread Re: German spammers? - Final Solution
Thomas. 9398 Feb 6, 2001, 7:38 AM
Thread Re: German spammers? - Final Solution
montrosebaptist 8645 Feb 6, 2001, 8:08 AM
Thread Re: German spammers? - Final Solution
Thomas. 8680 Feb 6, 2001, 8:48 AM
Post Re: German spammers? - Final Solution
Paul 8611 Feb 6, 2001, 9:23 AM
Thread Re: German spammers? - Final Solution
montrosebaptist 8612 Feb 6, 2001, 9:37 AM
Thread Re: German spammers? - Final Solution
ash 8252 Jun 6, 2001, 6:28 PM
Post Re: German spammers? - Final Solution
rstubbs 8030 Jul 27, 2001, 9:46 AM
Thread Re: German spammers? - Final Solution
Stealth 9453 Feb 6, 2001, 7:39 AM
Post Re: German spammers? - Final Solution
montrosebaptist 8575 Feb 6, 2001, 8:10 AM
Post Re: German spammers? - Final Solution
searchat 8331 May 3, 2001, 5:46 PM
Post Re: German spammers?
stevekn 9828 Sep 19, 2000, 10:47 PM
Thread Re: German spammers!!!
foma 15236 Sep 19, 2000, 11:33 AM
Post Re: German spammers!!!
glennu 8383 May 4, 2001, 3:23 AM
Post Re: German spammers?
stevekn 9727 Sep 20, 2000, 4:56 PM
Post send an email to the german spammer German
gossy 8345 May 4, 2001, 3:19 AM
Post U like his tel number?
mikt1 15178 Sep 19, 2000, 6:31 AM
Thread Re: German spammers?
hasekamp 9908 Sep 19, 2000, 1:59 PM
Thread Re: German spammers?
stevekn 9826 Sep 19, 2000, 10:41 PM
Thread Re: German spammers?
hasekamp 9833 Sep 20, 2000, 12:45 AM
Thread Re: German spammers?
Stealth 9864 Sep 20, 2000, 8:11 AM
Post Re: German spammers?
hasekamp 9788 Sep 20, 2000, 1:37 PM
Post Re: German spammers?
stevekn 9762 Sep 20, 2000, 4:48 PM
Thread Re: German spammers?
stevekn 9824 Sep 20, 2000, 4:45 PM
Post Re: [stevekn] German spammers?
terrax 7545 Sep 21, 2001, 2:49 PM
Thread Where can I find the add-confirm mod?
robfromaaa 9506 Jan 16, 2001, 12:22 PM
Thread Re: Where can I find the add-confirm mod?
hasekamp 9540 Jan 16, 2001, 1:26 PM
Post Re: Where can I find the add-confirm mod?
robfromaaa 9441 Jan 16, 2001, 6:01 PM
Post Re: German spammers?
Rolf 9747 Sep 20, 2000, 9:34 AM
Post Re: German spammers?
mikt1 9670 Sep 22, 2000, 1:00 PM
Post Re: German spammers?
frisk 9660 Sep 22, 2000, 1:11 PM
Post Low Tech German Spammer Solution
BogusChris 9367 Feb 5, 2001, 5:01 PM
Post Re: German spammers?
gossy 8307 May 4, 2001, 2:52 AM
Thread Re: German spammers?
terrax 8008 Aug 1, 2001, 10:35 AM
Thread Re: German spammers?
sponge 7946 Aug 1, 2001, 10:48 AM
Thread Re: German spammers?
Michael_Bray 7823 Aug 3, 2001, 8:51 PM
Thread Re: German spammers?
Paul 7779 Aug 4, 2001, 4:28 AM
Post Re: German spammers?
Michael_Bray 7717 Aug 4, 2001, 6:01 AM