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 17409 Sep 16, 2000, 2:01 AM
Thread Re: German spammers?
Stealth 16931 Sep 16, 2000, 9:00 AM
Thread Re: German spammers?
nodeception 16874 Sep 16, 2000, 10:15 AM
Post Re: German spammers?
Stealth 16787 Sep 16, 2000, 12:14 PM
Thread Re: German spammers?
nodeception 16826 Sep 16, 2000, 10:25 AM
Thread Re: German spammers?
Stealth 16888 Sep 16, 2000, 11:24 AM
Thread Re: German spammers?
nodeception 16896 Sep 16, 2000, 12:19 PM
Post Re: German spammers?
Stealth 16779 Sep 16, 2000, 12:23 PM
Thread Re: German spammers?
nodeception 16832 Sep 16, 2000, 12:25 PM
Thread Re: German spammers?
nodeception 16886 Sep 16, 2000, 12:27 PM
Thread Re: German spammers?
Stevo 16865 Sep 16, 2000, 1:00 PM
Thread Re: German spammers?
nodeception 16876 Sep 16, 2000, 2:33 PM
Thread Re: German spammers?
skahoo 16850 Sep 17, 2000, 11:09 AM
Thread Re: German spammers?
skahoo 16799 Sep 18, 2000, 3:47 AM
Thread Re: German spammers?
Stevo 16778 Sep 18, 2000, 12:16 PM
Post Re: German spammers?
stevekn 11015 Sep 19, 2000, 11:32 PM
Post Re: German spammers?
stevekn 11070 Sep 19, 2000, 11:29 PM
Thread Re: German spammers?
michaeltracey 16663 Sep 19, 2000, 7:10 AM
Thread Re: German spammers?
mikt1 16749 Sep 19, 2000, 7:29 AM
Post Re: German spammers?
Thomas. 16617 Sep 19, 2000, 7:45 AM
Post Re: German spammers?
stevekn 11042 Sep 19, 2000, 11:23 PM
Thread Re: German spammers?
Stevo 16871 Sep 17, 2000, 11:28 AM
Thread Re: German spammers?
Thomas. 16843 Sep 17, 2000, 12:30 PM
Thread Re: German spammers?
Chad J 16817 Sep 17, 2000, 5:39 PM
Thread Re: German spammers?
nodeception 16762 Sep 17, 2000, 6:42 PM
Post Re: German spammers?
sponge 16758 Sep 17, 2000, 8:56 PM
Post Re: German spammers?
stevekn 11090 Sep 19, 2000, 10:50 PM
Thread Re: German spammers?
robfromaaa 10794 Jan 17, 2001, 9:51 AM
Thread Re: German spammers?
Stealth 10776 Jan 17, 2001, 3:46 PM
Thread Re: German spammers? - Final Solution
montrosebaptist 10642 Feb 6, 2001, 7:31 AM
Thread Re: German spammers? - Final Solution
Thomas. 10642 Feb 6, 2001, 7:38 AM
Thread Re: German spammers? - Final Solution
montrosebaptist 9857 Feb 6, 2001, 8:08 AM
Thread Re: German spammers? - Final Solution
Thomas. 9899 Feb 6, 2001, 8:48 AM
Post Re: German spammers? - Final Solution
Paul 9828 Feb 6, 2001, 9:23 AM
Thread Re: German spammers? - Final Solution
montrosebaptist 9825 Feb 6, 2001, 9:37 AM
Thread Re: German spammers? - Final Solution
ash 9463 Jun 6, 2001, 6:28 PM
Post Re: German spammers? - Final Solution
rstubbs 9236 Jul 27, 2001, 9:46 AM
Thread Re: German spammers? - Final Solution
Stealth 10708 Feb 6, 2001, 7:39 AM
Post Re: German spammers? - Final Solution
montrosebaptist 9782 Feb 6, 2001, 8:10 AM
Post Re: German spammers? - Final Solution
searchat 9547 May 3, 2001, 5:46 PM
Post Re: German spammers?
stevekn 11548 Sep 19, 2000, 10:47 PM
Thread Re: German spammers!!!
foma 16727 Sep 19, 2000, 11:33 AM
Post Re: German spammers!!!
glennu 9586 May 4, 2001, 3:23 AM
Post Re: German spammers?
stevekn 10984 Sep 20, 2000, 4:56 PM
Post send an email to the german spammer German
gossy 9556 May 4, 2001, 3:19 AM
Post U like his tel number?
mikt1 16666 Sep 19, 2000, 6:31 AM
Thread Re: German spammers?
hasekamp 11158 Sep 19, 2000, 1:59 PM
Thread Re: German spammers?
stevekn 11078 Sep 19, 2000, 10:41 PM
Thread Re: German spammers?
hasekamp 11083 Sep 20, 2000, 12:45 AM
Thread Re: German spammers?
Stealth 11113 Sep 20, 2000, 8:11 AM
Post Re: German spammers?
hasekamp 11040 Sep 20, 2000, 1:37 PM
Post Re: German spammers?
stevekn 11018 Sep 20, 2000, 4:48 PM
Thread Re: German spammers?
stevekn 11072 Sep 20, 2000, 4:45 PM
Post Re: [stevekn] German spammers?
terrax 8757 Sep 21, 2001, 2:49 PM
Thread Where can I find the add-confirm mod?
robfromaaa 10756 Jan 16, 2001, 12:22 PM
Thread Re: Where can I find the add-confirm mod?
hasekamp 10798 Jan 16, 2001, 1:26 PM
Post Re: Where can I find the add-confirm mod?
robfromaaa 10694 Jan 16, 2001, 6:01 PM
Post Re: German spammers?
Rolf 10993 Sep 20, 2000, 9:34 AM
Post Re: German spammers?
mikt1 10917 Sep 22, 2000, 1:00 PM
Post Re: German spammers?
frisk 10911 Sep 22, 2000, 1:11 PM
Post Low Tech German Spammer Solution
BogusChris 10625 Feb 5, 2001, 5:01 PM
Post Re: German spammers?
gossy 9519 May 4, 2001, 2:52 AM
Thread Re: German spammers?
terrax 9220 Aug 1, 2001, 10:35 AM
Thread Re: German spammers?
sponge 9154 Aug 1, 2001, 10:48 AM
Thread Re: German spammers?
Michael_Bray 9036 Aug 3, 2001, 8:51 PM
Thread Re: German spammers?
Paul 8991 Aug 4, 2001, 4:28 AM
Post Re: German spammers?
Michael_Bray 8926 Aug 4, 2001, 6:01 AM