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 17686 Sep 16, 2000, 2:01 AM
Thread Re: German spammers?
Stealth 17207 Sep 16, 2000, 9:00 AM
Thread Re: German spammers?
nodeception 17150 Sep 16, 2000, 10:15 AM
Post Re: German spammers?
Stealth 17063 Sep 16, 2000, 12:14 PM
Thread Re: German spammers?
nodeception 17101 Sep 16, 2000, 10:25 AM
Thread Re: German spammers?
Stealth 17164 Sep 16, 2000, 11:24 AM
Thread Re: German spammers?
nodeception 17171 Sep 16, 2000, 12:19 PM
Post Re: German spammers?
Stealth 17054 Sep 16, 2000, 12:23 PM
Thread Re: German spammers?
nodeception 17107 Sep 16, 2000, 12:25 PM
Thread Re: German spammers?
nodeception 17163 Sep 16, 2000, 12:27 PM
Thread Re: German spammers?
Stevo 17144 Sep 16, 2000, 1:00 PM
Thread Re: German spammers?
nodeception 17151 Sep 16, 2000, 2:33 PM
Thread Re: German spammers?
skahoo 17128 Sep 17, 2000, 11:09 AM
Thread Re: German spammers?
skahoo 17076 Sep 18, 2000, 3:47 AM
Thread Re: German spammers?
Stevo 17054 Sep 18, 2000, 12:16 PM
Post Re: German spammers?
stevekn 11279 Sep 19, 2000, 11:32 PM
Post Re: German spammers?
stevekn 11334 Sep 19, 2000, 11:29 PM
Thread Re: German spammers?
michaeltracey 16938 Sep 19, 2000, 7:10 AM
Thread Re: German spammers?
mikt1 17026 Sep 19, 2000, 7:29 AM
Post Re: German spammers?
Thomas. 16892 Sep 19, 2000, 7:45 AM
Post Re: German spammers?
stevekn 11308 Sep 19, 2000, 11:23 PM
Thread Re: German spammers?
Stevo 17146 Sep 17, 2000, 11:28 AM
Thread Re: German spammers?
Thomas. 17119 Sep 17, 2000, 12:30 PM
Thread Re: German spammers?
Chad J 17093 Sep 17, 2000, 5:39 PM
Thread Re: German spammers?
nodeception 17038 Sep 17, 2000, 6:42 PM
Post Re: German spammers?
sponge 17034 Sep 17, 2000, 8:56 PM
Post Re: German spammers?
stevekn 11354 Sep 19, 2000, 10:50 PM
Thread Re: German spammers?
robfromaaa 11058 Jan 17, 2001, 9:51 AM
Thread Re: German spammers?
Stealth 11041 Jan 17, 2001, 3:46 PM
Thread Re: German spammers? - Final Solution
montrosebaptist 10910 Feb 6, 2001, 7:31 AM
Thread Re: German spammers? - Final Solution
Thomas. 10906 Feb 6, 2001, 7:38 AM
Thread Re: German spammers? - Final Solution
montrosebaptist 10028 Feb 6, 2001, 8:08 AM
Thread Re: German spammers? - Final Solution
Thomas. 10071 Feb 6, 2001, 8:48 AM
Post Re: German spammers? - Final Solution
Paul 9999 Feb 6, 2001, 9:23 AM
Thread Re: German spammers? - Final Solution
montrosebaptist 9994 Feb 6, 2001, 9:37 AM
Thread Re: German spammers? - Final Solution
ash 9633 Jun 6, 2001, 6:28 PM
Post Re: German spammers? - Final Solution
rstubbs 9406 Jul 27, 2001, 9:46 AM
Thread Re: German spammers? - Final Solution
Stealth 10972 Feb 6, 2001, 7:39 AM
Post Re: German spammers? - Final Solution
montrosebaptist 9952 Feb 6, 2001, 8:10 AM
Post Re: German spammers? - Final Solution
searchat 9716 May 3, 2001, 5:46 PM
Post Re: German spammers?
stevekn 11812 Sep 19, 2000, 10:47 PM
Thread Re: German spammers!!!
foma 17004 Sep 19, 2000, 11:33 AM
Post Re: German spammers!!!
glennu 9757 May 4, 2001, 3:23 AM
Post Re: German spammers?
stevekn 11249 Sep 20, 2000, 4:56 PM
Post send an email to the german spammer German
gossy 9725 May 4, 2001, 3:19 AM
Post U like his tel number?
mikt1 16941 Sep 19, 2000, 6:31 AM
Thread Re: German spammers?
hasekamp 11422 Sep 19, 2000, 1:59 PM
Thread Re: German spammers?
stevekn 11344 Sep 19, 2000, 10:41 PM
Thread Re: German spammers?
hasekamp 11347 Sep 20, 2000, 12:45 AM
Thread Re: German spammers?
Stealth 11378 Sep 20, 2000, 8:11 AM
Post Re: German spammers?
hasekamp 11304 Sep 20, 2000, 1:37 PM
Post Re: German spammers?
stevekn 11282 Sep 20, 2000, 4:48 PM
Thread Re: German spammers?
stevekn 11337 Sep 20, 2000, 4:45 PM
Post Re: [stevekn] German spammers?
terrax 8928 Sep 21, 2001, 2:49 PM
Thread Where can I find the add-confirm mod?
robfromaaa 11022 Jan 16, 2001, 12:22 PM
Thread Re: Where can I find the add-confirm mod?
hasekamp 11064 Jan 16, 2001, 1:26 PM
Post Re: Where can I find the add-confirm mod?
robfromaaa 10958 Jan 16, 2001, 6:01 PM
Post Re: German spammers?
Rolf 11257 Sep 20, 2000, 9:34 AM
Post Re: German spammers?
mikt1 11181 Sep 22, 2000, 1:00 PM
Post Re: German spammers?
frisk 11175 Sep 22, 2000, 1:11 PM
Post Low Tech German Spammer Solution
BogusChris 10890 Feb 5, 2001, 5:01 PM
Post Re: German spammers?
gossy 9688 May 4, 2001, 2:52 AM
Thread Re: German spammers?
terrax 9389 Aug 1, 2001, 10:35 AM
Thread Re: German spammers?
sponge 9324 Aug 1, 2001, 10:48 AM
Thread Re: German spammers?
Michael_Bray 9206 Aug 3, 2001, 8:51 PM
Thread Re: German spammers?
Paul 9164 Aug 4, 2001, 4:28 AM
Post Re: German spammers?
Michael_Bray 9096 Aug 4, 2001, 6:01 AM