[Home] [Downloads] [Search] [Help/forum]


Register forum user name Search FAQ

Gammon Forum

[Folder]  Entire forum
-> [Folder]  MUSHclient
. -> [Folder]  General
. . -> [Subject]  Spam protection does not always work

Spam protection does not always work

It is now over 60 days since the last post. This thread is closed.     [Refresh] Refresh page


Posted by Zeno   USA  (2,871 posts)  [Biography] bio
Date Thu 29 Sep 2005 02:50 AM (UTC)

Amended on Thu 29 Sep 2005 02:53 AM (UTC) by Zeno

Message
I think I brought this up years ago, but never had a chance to show a log.
http://www.gammon.com.au/forum/bbshowpost.php?bbsubject_id=2317

So while testing something on a codebase today, 'kill figh' was entered 20 times with a trigger:

A low humming noise can be heard.

<Lifeforce (100) Armor (0) Energy (4,512)> 
<Powerlevel (21,540,189,892/21,540,189,892)> 
k figh
You **** ATOMIZE **** A Newbie Fighter!  [999,999,999]
A Newbie Fighter is DEAD!!
k fight

<Lifeforce (100) Armor (0) Energy (4,512)> 
<Powerlevel (21,540,189,892/21,540,189,892)> 

You **** ATOMIZE **** A Newbie Fighter!  [999,999,999]
A Newbie Fighter is DEAD!!
k fight

<Lifeforce (100) Armor (0) Energy (4,512)> 
<Powerlevel (21,540,189,892/21,540,189,892)> You **** ATOMIZE **** A Newbie Fighter!  [999,999,999]
A Newbie Fighter is DEAD!!
k fight

<Lifeforce (100) Armor (0) Energy (4,512)> 
<Powerlevel (21,540,189,892/21,540,189,892)> You **** ATOMIZE **** A Newbie Fighter!  [999,999,999]
A Newbie Fighter is DEAD!!
k fight

<Lifeforce (100) Armor (0) Energy (4,512)> 
<Powerlevel (21,540,189,892/21,540,189,892)> You **** ATOMIZE **** A Newbie Fighter!  [999,999,999]
A Newbie Fighter is DEAD!!
k fight

<Lifeforce (100) Armor (0) Energy (4,512)> 
<Powerlevel (21,540,189,892/21,540,189,892)> You **** ATOMIZE **** A Newbie Fighter!  [999,999,999]
A Newbie Fighter is DEAD!!
k fight

<Lifeforce (100) Armor (0) Energy (4,512)> 
<Powerlevel (21,540,189,892/21,540,189,892)> You **** ATOMIZE **** A Newbie Fighter!  [999,999,999]
A Newbie Fighter is DEAD!!
k fight

<Lifeforce (100) Armor (0) Energy (4,512)> 
<Powerlevel (21,540,189,892/21,540,189,892)> You **** ATOMIZE **** A Newbie Fighter!  [999,999,999]
A Newbie Fighter is DEAD!!
k fight

<Lifeforce (100) Armor (0) Energy (4,512)> 
<Powerlevel (21,540,189,892/21,540,189,892)> You **** ATOMIZE **** A Newbie Fighter!  [999,999,999]
A Newbie Fighter is DEAD!!
k fight

<Lifeforce (100) Armor (0) Energy (4,512)> 
<Powerlevel (21,540,189,892/21,540,189,892)> You **** ATOMIZE **** A Newbie Fighter!  [999,999,999]
A Newbie Fighter is DEAD!!
k fight

<Lifeforce (100) Armor (0) Energy (4,512)> 
<Powerlevel (21,540,189,892/21,540,189,892)> You **** ATOMIZE **** A Newbie Fighter!  [999,999,999]
A Newbie Fighter is DEAD!!
k fight

<Lifeforce (100) Armor (0) Energy (4,512)> 
<Powerlevel (21,540,189,892/21,540,189,892)> You **** ATOMIZE **** A Newbie Fighter!  [999,999,999]
A Newbie Fighter is DEAD!!
k fight

<Lifeforce (100) Armor (0) Energy (4,512)> 
<Powerlevel (21,540,189,892/21,540,189,892)> You **** ATOMIZE **** A Newbie Fighter!  [999,999,999]
A Newbie Fighter is DEAD!!
k fight

<Lifeforce (100) Armor (0) Energy (4,512)> 
<Powerlevel (21,540,189,892/21,540,189,892)> You **** ATOMIZE **** A Newbie Fighter!  [999,999,999]
A Newbie Fighter is DEAD!!
k fight

<Lifeforce (100) Armor (0) Energy (4,512)> 
<Powerlevel (21,540,189,892/21,540,189,892)> You **** ATOMIZE **** A Newbie Fighter!  [999,999,999]
A Newbie Fighter is DEAD!!
k fight

<Lifeforce (100) Armor (0) Energy (4,512)> 
<Powerlevel (21,540,189,892/21,540,189,892)> You **** ATOMIZE **** A Newbie Fighter!  [999,999,999]
A Newbie Fighter is DEAD!!
k fight

<Lifeforce (100) Armor (0) Energy (4,512)> 
<Powerlevel (21,540,189,892/21,540,189,892)> You **** ATOMIZE **** A Newbie Fighter!  [999,999,999]
A Newbie Fighter is DEAD!!
k fight

<Lifeforce (100) Armor (0) Energy (4,512)> 
<Powerlevel (21,540,189,892/21,540,189,892)> You **** ATOMIZE **** A Newbie Fighter!  [999,999,999]
A Newbie Fighter is DEAD!!
k fight

<Lifeforce (100) Armor (0) Energy (4,512)> 
<Powerlevel (21,540,189,892/21,540,189,892)> You **** ATOMIZE **** A Newbie Fighter!  [999,999,999]
A Newbie Fighter is DEAD!!
k fight

<Lifeforce (100) Armor (0) Energy (4,512)> 
<Powerlevel (21,540,189,892/21,540,189,892)> You **** ATOMIZE **** A Newbie Fighter!  [999,999,999]
A Newbie Fighter is DEAD!!
k fight

<Lifeforce (100) Armor (0) Energy (4,512)> 
<Powerlevel (21,540,189,892/21,540,189,892)> You **** ATOMIZE **** A Newbie Fighter!  [999,999,999]
A Newbie Fighter is DEAD!!
k fight

<Lifeforce (100) Armor (0) Energy (4,512)> 
<Powerlevel (21,540,189,892/21,540,189,892)> 
*** PUT A LID ON IT!!! ***
You cannot enter the same command more than 20 consecutive times!


Spam protection was on the whole time, set to 20 and to send 'look'. The trigger was the same, and in fact I wasn't even in the window so I couldn't have entered something else.

Zeno McDohl,
Owner of Bleached InuYasha Galaxy
http://www.biyg.org
[Go to top] top

Posted by David Berthiaume   (202 posts)  [Biography] bio
Date Reply #1 on Thu 29 Sep 2005 03:27 AM (UTC)
Message
Is that a DBZ Mud?
[Go to top] top

Posted by Nick Gammon   Australia  (23,016 posts)  [Biography] bio   Forum Administrator
Date Reply #2 on Sat 08 Oct 2005 12:39 AM (UTC)
Message
I would do a packet check and make sure the trigger isn't also sending a blank line.

If it sends:


k fight
<blank line>


20 times, then the spam protection won't kick in (as the lines are not identical) but the MUD won't count the blank lines and kick you out.


- Nick Gammon

www.gammon.com.au, www.mushclient.com
[Go to top] top

Posted by Zeno   USA  (2,871 posts)  [Biography] bio
Date Reply #3 on Sat 08 Oct 2005 01:05 AM (UTC)
Message
Considering the trigger was never changed and worked before, and that I wasn't in the window, I'd have to say the trigger had no blank line.

Zeno McDohl,
Owner of Bleached InuYasha Galaxy
http://www.biyg.org
[Go to top] top

Posted by Nick Gammon   Australia  (23,016 posts)  [Biography] bio   Forum Administrator
Date Reply #4 on Sat 08 Oct 2005 01:36 AM (UTC)
Message
I would still do a packet debug. Maybe you have a "keep alive" timer that sends a blank line every 5 minutes, and that happened to throw in the blank line in the middle of your fight.

- Nick Gammon

www.gammon.com.au, www.mushclient.com
[Go to top] top

Posted by Zeno   USA  (2,871 posts)  [Biography] bio
Date Reply #5 on Sun 09 Sep 2007 05:44 PM (UTC)
Message
It's happened again.
<#2500> 
save
Saved...

<#2500> 


<#2500> 
save
Saved...

<#2500> 
save
Saved...

<#2500> 
save
Saved...

<#2500> 
save
Saved...

<#2500> 
save

Ryo wields the swords of Wildfire slashing upwards into the sky inciting a great INFERNO. When it dies down he is gone.

<#2500> Saved...

<#2500> 
save
Saved...

<#2500> 
save
Saved...

<#2500> 
save
Saved...

<#2500> 
Comm: Ryo has quit (Room 1441).

<#2500> 
save


Saved...

<#2500> 
Immortal footsteps are heard in the distance.

<#2500> 
save
Saved...

<#2500> 
save
Saved...

<#2500> 
save
Saved...

<#2500> 
save
Saved...

<#2500> 
save
Saved...

<#2500> 
save
Saved...

<#2500> 
save
Saved...

<#2500> 
save
Saved...

<#2500> 
save
Saved...

<#2500> 
save
Saved...

<#2500> 
save
Saved...

<#2500> 
save

*** PUT A LID ON IT!!! ***
You cannot enter the same command more than 20 consecutive times!
Your bank interest is lost due to logging off.
Your vision begins to blur, as a vortex of colors expands before your eyes
and envelops your body... When you come to, things are not as they were.

A demonic voice rasps, 'You shall be back here soon enough, Zeno...'
(Test clan) - Zeno has left the game.
Connection checker enabled
--- Disconnected on Sunday, September 09, 2007, 1:35 PM ---
--- Connected for 0 days, 22 hours, 20 minutes, 2 seconds. ---


The save is a timer. It does not have a blank line or anything in the timer. I wasn't in the window either. The Spam Prevention is suppose to send "who" at 20 identical commands.

Zeno McDohl,
Owner of Bleached InuYasha Galaxy
http://www.biyg.org
[Go to top] top

Posted by Samson   USA  (683 posts)  [Biography] bio
Date Reply #6 on Sun 09 Sep 2007 05:53 PM (UTC)
Message
Getting kicked offline like that for spamming is exactly why I altered our spamguard code to instead attach a flag to the person and freeze them out until the timer expires.

Either way, something must be sending an additional bit of input between your commands. You don't have to be the one doing it. Your client could be doing something you can't see going on. That's why Nick originally suggested debugging the packets.
[Go to top] top

Posted by Zeno   USA  (2,871 posts)  [Biography] bio
Date Reply #7 on Sun 09 Sep 2007 06:01 PM (UTC)
Message
Yeah, sadly I can't go back and debug the packets. And I doubt I'll see this happen again for months.

Quote:
Either way, something must be sending an additional bit of input between your commands.

If that's true, Smaug shouldn't kick me off since it wasn't 20 identical commands... right?

Zeno McDohl,
Owner of Bleached InuYasha Galaxy
http://www.biyg.org
[Go to top] top

Posted by Nick Gammon   Australia  (23,016 posts)  [Biography] bio   Forum Administrator
Date Reply #8 on Sun 09 Sep 2007 09:40 PM (UTC)
Message
Strange. All I can suggest is make your auto-saver do something like this:


save
sigh


That way, SMAUG won't kick you off.

- Nick Gammon

www.gammon.com.au, www.mushclient.com
[Go to top] top

The dates and times for posts above are shown in Universal Co-ordinated Time (UTC).

To show them in your local time you can join the forum, and then set the 'time correction' field in your profile to the number of hours difference between your location and UTC time.


25,821 views.

It is now over 60 days since the last post. This thread is closed.     [Refresh] Refresh page

Go to topic:           Search the forum


[Go to top] top

Quick links: MUSHclient. MUSHclient help. Forum shortcuts. Posting templates. Lua modules. Lua documentation.

Information and images on this site are licensed under the Creative Commons Attribution 3.0 Australia License unless stated otherwise.

[Home]


Written by Nick Gammon - 5K   profile for Nick Gammon on Stack Exchange, a network of free, community-driven Q&A sites   Marriage equality

Comments to: Gammon Software support
[RH click to get RSS URL] Forum RSS feed ( https://gammon.com.au/rss/forum.xml )

[Best viewed with any browser - 2K]    [Hosted at HostDash]