[pandorabots-general] Banning IP
Stanley E. Honour
stan at adnamis.org
Fri Mar 9 09:07:54 PST 2007
I agree with the comments below with the exception that user ID's can be
spoofed or the evil doer will just keep moving to new user IDs. The
best solution is to write code to block or limit the bad behavior.
There is no reliable way to ID or track spoofers, so it is best to
concentrate on how the bot can be used.
________________________________
From: pandorabots-general-bounces+stan=adnamis.org at list.pandorabots.com
[mailto:pandorabots-general-bounces+stan=adnamis.org at list.pandorabots.co
m] On Behalf Of Anne Kootstra
Sent: Friday, March 09, 2007 11:43 AM
To: pandorabots-general at list.pandorabots.com
Subject: Re: [pandorabots-general] Banning IP
Within the pandorabots system it is impossible to ban someone on the
basis of an IP number. This is, in my opinion, a rather crude way of
blocking a person, in particular since people may be sharing an IP. For
example corporate firewalls, proxy settings etc will have to the outside
world one IP number. Banning this IP number will have an effect on
everyone. Therefor it is better to ban the user, this is something that
can quite easily be done in AIML.
<?xml version="1.0" encoding="ISO-8859-1"?>
<aiml version="1.0">
<category>
<pattern>SEX</pattern>
<template>
<think>
<condition name="TOLERANCE">
<li value="1"><set
name="TOLERANCE">2</set></li>
<li value="2"><set
name="TOLERANCE">3</set></li>
<li value="3"><set
name="TOLERANCE">LAST</set></li>
<li value="LAST"><set
name="topic">BLOCKED USER</set></li>
<li><set
name="TOLERANCE">1</set></li>
</condition>
</think>
Do not do this again, my tolerance level has a limit.
</template>
</category>
<topic name="BLOCK USER">
<category>
<pattern>_</pattern>
<template>
You are permanently blocked.
</template>
</category>
</topic>
</aiml>
Kind Regards,
Anne.
________________________________
Van: Blair Strater [mailto:aangfantaf at gmail.com]
Verzonden: woensdag 7 maart 2007 22:41
Aan: pandorabots-general at list.pandorabots.com
Onderwerp: [pandorabots-general] Banning IP
I need help. People seem to be using my bot inapropriateley. Is there
any way I can have my bot either not accept certain IP address, or give
them a special message no matter what they say?
THANKS!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://list.pandorabots.com/pipermail/pandorabots-general/attachments/20070309/b5711916/attachment-0001.html
More information about the pandorabots-general
mailing list