Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Page 1 of 2 12 LastLast
Results 1 to 15 of 20
  1. #1
    Regular Coder
    Join Date
    Aug 2009
    Posts
    131
    Thanks
    28
    Thanked 7 Times in 7 Posts

    Shoutbox anti-spam

    Hello.

    I've coded a shoutbox for my webpage. It has several features like a bot speaking, quiz-system, coin drop, etc.
    However - there's always these annoying people who keep spamming on the shoutbox with nonsense. Like, "ajsdiahdgisdigsjasdioajd" in 20 different posts.

    They do this to either annoy the hell out of other people or get a higher post count. How can I prevent this?

    I have one theory only, but I don't know how to start off.

    - Check how many posts the user has posted within the last 5 seconds. (Can be bypassed if the user writes each message with a certain delay?)

    I've also prevented users from posting messages which was the same as their last post. Like if they lag and they press enter twice or more, it'll only add one input to the database.

    So any help please?
    Last edited by [vengeance]; 09-05-2009 at 03:12 PM.

  • #2
    Regular Coder funnymoney's Avatar
    Join Date
    Aug 2007
    Posts
    364
    Thanks
    17
    Thanked 24 Times in 24 Posts
    simplest thing would be that active users have ignore button, so they can ignore another chatter

  • #3
    Regular Coder
    Join Date
    Aug 2009
    Posts
    131
    Thanks
    28
    Thanked 7 Times in 7 Posts
    That doesn't help much with the post counter I have.

    I forgot to mention I want to kick the user automatically out of the community (logging out) or mute them with a function of mine, which lasts for 10 minutes.

  • #4
    Senior Coder ckeyrouz's Avatar
    Join Date
    Jun 2009
    Location
    Montreal, Canada
    Posts
    1,044
    Thanks
    5
    Thanked 179 Times in 179 Posts
    How is the connection done from client to server?
    Software and cathedrals are much the same - first we build them, then we pray.

  • #5
    Regular Coder funnymoney's Avatar
    Join Date
    Aug 2007
    Posts
    364
    Thanks
    17
    Thanked 24 Times in 24 Posts
    is there a way to see that community and all those bunch of spamers you worry about

  • #6
    Regular Coder
    Join Date
    Aug 2009
    Posts
    131
    Thanks
    28
    Thanked 7 Times in 7 Posts
    Quote Originally Posted by ckeyrouz View Post
    How is the connection done from client to server?
    Sorry, what? I'm not following.

    Quote Originally Posted by funnymoney View Post
    is there a way to see that community and all those bunch of spamers you worry about
    This is a new reopened project. The old one died because of lack of activity. And without anyone being online, some dudes log on to spam for a higher post count.

  • #7
    Senior Coder ckeyrouz's Avatar
    Join Date
    Jun 2009
    Location
    Montreal, Canada
    Posts
    1,044
    Thanks
    5
    Thanked 179 Times in 179 Posts
    I mean technically wise, what is the type of connection between the client and the server, what the nature of the objects that are being shared between client and server.

    Am trying to know how the connection is made so I can try to help.
    Software and cathedrals are much the same - first we build them, then we pray.

  • #8
    Regular Coder
    Join Date
    Aug 2009
    Posts
    131
    Thanks
    28
    Thanked 7 Times in 7 Posts
    Quote Originally Posted by ckeyrouz View Post
    I mean technically wise, what is the type of connection between the client and the server, what the nature of the objects that are being shared between client and server.

    Am trying to know how the connection is made so I can try to help.
    Still, I'm not following. *shrug*

    All I can say is it's running through simple HTML forms and working with my MySQL database.

    And I have to go to bed now, so if you'd please help me out I'll get back to you asap. when I wake up!

  • #9
    Regular Coder funnymoney's Avatar
    Join Date
    Aug 2007
    Posts
    364
    Thanks
    17
    Thanked 24 Times in 24 Posts
    Quote Originally Posted by [vengeance] View Post
    This is a new reopened project. The old one died because of lack of activity. And without anyone being online, some dudes log on to spam for a higher post count.
    don't worry about spamers or "false" users. i mean, that is internet's problem since 1990's, back a millennium ago. you need to find a way to check weather a true person is sitting back at the old PC (like using Captcha) or something similar that requires extra clients hand-ear-eye-finger coordination, plus checking for valid e-mail source etc..

    but all in all, spam is sometimes welcome. i noticed quite ammount of new "intelligent" spam, that can help your dead website become more popular because ppl actualy think that there is some action going around there

  • #10
    Senior Coder ckeyrouz's Avatar
    Join Date
    Jun 2009
    Location
    Montreal, Canada
    Posts
    1,044
    Thanks
    5
    Thanked 179 Times in 179 Posts
    So try saving the sessionId in the database as well.
    And then once you have the sessionId you can simply invalidate the session.
    Software and cathedrals are much the same - first we build them, then we pray.

  • #11
    Regular Coder funnymoney's Avatar
    Join Date
    Aug 2007
    Posts
    364
    Thanks
    17
    Thanked 24 Times in 24 Posts
    i'm trying to save few beers in me self, but i still don't follow.

    i have phpbb3 bulletin board, that with even lates updates has some spammers noising around. but who cares. i go on that forum a day or to for damage report, and worst thing i could see is maybe 10-20 viagra or similar stupid topics..

    who cares, ppl of internet are aware of all this crazy crap going around with bots, spammers, etc, and i belive that they kinda shouln't care abouta spammer or two

  • #12
    Senior Coder ckeyrouz's Avatar
    Join Date
    Jun 2009
    Location
    Montreal, Canada
    Posts
    1,044
    Thanks
    5
    Thanked 179 Times in 179 Posts
    You are right about what you are saying, funnymoney.
    What I am trying to do is help [vengence] do what he wants to do, that's it.

    On the other hand I agree with you totally.
    Software and cathedrals are much the same - first we build them, then we pray.

  • #13
    Regular Coder funnymoney's Avatar
    Join Date
    Aug 2007
    Posts
    364
    Thanks
    17
    Thanked 24 Times in 24 Posts
    Quote Originally Posted by ckeyrouz View Post
    On the other hand I agree with you totally.
    maybe he agrees with us, and we will help him!

  • #14
    Senior Coder ckeyrouz's Avatar
    Join Date
    Jun 2009
    Location
    Montreal, Canada
    Posts
    1,044
    Thanks
    5
    Thanked 179 Times in 179 Posts
    Lol :d
    Software and cathedrals are much the same - first we build them, then we pray.

  • #15
    Regular Coder
    Join Date
    Aug 2009
    Posts
    131
    Thanks
    28
    Thanked 7 Times in 7 Posts
    I'm not looking to just ignore the spammers. They're enemies to me, and they need to be punished.

    I just want to check, if they've written several messages within a few seconds - if true then auto-kick/mute the user.

    That's really what I'm looking for.


  •  
    Page 1 of 2 12 LastLast

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •