[pandorabots-general] Banning IP

Anne Kootstra anne at aiml.info
Fri Mar 9 09:24:01 PST 2007


True. It can even be as simple as dumping the cookie for pandorabots.
However, in a more advanced bot this will also mean that the conversation
starts all over again. This is the price one has to pay. I would venture to
guess that most 'teasers' will stop first or second time around. 

 

But, it is best to deal with teasers by creating good responding AIML
responses. This will suck the fun out of the teasing and as such will limit
the amount of teasing overall. The example AIML that I send in my previous
email should only be seen as a crude example. Not as production ready code.

 

Kind regards,

 

Anne.

 

  _____  

Van: Stanley E. Honour [mailto:stan at adnamis.org] 
Verzonden: vrijdag 9 maart 2007 18:08
Aan: pandorabots-general at list.pandorabots.com
Onderwerp: Re: [pandorabots-general] Banning IP

 

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.com]
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/08ae26c2/attachment.html 


More information about the pandorabots-general mailing list