User Tag List

Page 1 of 2 1 2 LastLast
Results 1 to 10 of 13

Thread: FloodTolerance / Blocking questions

  1. #1
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleiOS Export ModuleSWF Export Module
    Tuna's Avatar
    Join Date
    Feb 2008
    Location
    Central Texas
    Posts
    1,853
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)

    FloodTolerance / Blocking questions

    From the OINC_Server.ini:
    ; Set this to the number of milliseconds that should be added to the timer for each IP
    ; address with each connection to the server (default: 500)
    FloodGain=500

    ; Set this to the maximum number of milliseconds that may be on the timer and the
    ; connection still allowed (default: 1500)
    FloodTolerance=1500

    ; Set this to the number of milliseconds that should be added to the timer for each IP
    ; address with each attempted connection when the tolerance has been reached (default: 10000)
    FloodBlock=10000
    I'm not sure, but I believe what this means is that, if the "timer" reaches 15 seconds and the user is still connected, they should be disconnected? Or is this intended to do something else? I know there is documentation to be released in the future, but if you guys have time to clarify the intention on this, I would be thankful for it.



  2. #2
    Clicker Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleSWF Export ModuleUnicode Add-on
    Looki's Avatar
    Join Date
    Aug 2006
    Location
    Karlsruhe, Germany
    Posts
    3,741
    Mentioned
    5 Post(s)
    Tagged
    1 Thread(s)

    Re: FloodTolerance / Blocking questions

    I don't know, but 1000 milliseconds are 1 second, not 10 (=> 1500 ms = 1.5 s).

  3. #3
    Clicker Multimedia Fusion 2 DeveloperSWF Export Module

    Join Date
    Jun 2006
    Posts
    6,773
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    Re: FloodTolerance / Blocking questions

    If you change FloodGain to 0 it should disable flood blocking - see if that fixes the random disconnections while I review the flood blocking code..

  4. #4
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleiOS Export ModuleSWF Export Module
    Tuna's Avatar
    Join Date
    Feb 2008
    Location
    Central Texas
    Posts
    1,853
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)

    Re: FloodTolerance / Blocking questions

    Looki: yeah, thanks for pointing that out... I knew that, but I'm apparently getting old and can't do simple math anymore.

    Jamie: I'll try that at lunch time in a few hours, thanks

  5. #5
    Clicker Multimedia Fusion 2 DeveloperSWF Export Module

    Join Date
    Jun 2006
    Posts
    6,773
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    Re: FloodTolerance / Blocking questions

    New version uploaded that should fix the disconnection bug, but here's a quick explanation:

    Every IP address has a timer in the server, which loses 1 every millisecond until it reaches 0. If FloodGain is 500, then every time the server receives a connection from an IP address, the timer gains another 500 milliseconds. If the timer gets higher than FloodTolerance, any connections from the IP address will be denied and the timer increased by the amount specified in FloodBlock, effectively banning flooding IP addresses for a few minutes.

    To reach a FloodTolerance of 1500, the client would need to connect 4 times very quickly (as a FloodGain of 500 for the first connection will reset to 0 after 500 milliseconds).

  6. #6
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleiOS Export ModuleSWF Export Module
    Tuna's Avatar
    Join Date
    Feb 2008
    Location
    Central Texas
    Posts
    1,853
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)

    Re: FloodTolerance / Blocking questions

    Interesting...

    Flooding then is attempting to make too many connections, and has nothing to do with the amount of data being passed via the connection.

    Initially, I took this to be more related to amounts of data, rather than the number of connections.

    Joining / Leaving Channels doesn't affect this then, right?


  7. #7
    Clicker Multimedia Fusion 2 DeveloperSWF Export Module

    Join Date
    Jun 2006
    Posts
    6,773
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    Re: FloodTolerance / Blocking questions

    No, only connecting or disconnecting.

  8. #8
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleiOS Export ModuleSWF Export Module
    Tuna's Avatar
    Join Date
    Feb 2008
    Location
    Central Texas
    Posts
    1,853
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)

    Re: FloodTolerance / Blocking questions

    Also, still getting stray characters in the Channel_Name$

  9. #9
    Clicker Multimedia Fusion 2 DeveloperSWF Export Module

    Join Date
    Jun 2006
    Posts
    6,773
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    Re: FloodTolerance / Blocking questions

    Really? Hrm.. I'll look into it.

  10. #10
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleiOS Export ModuleSWF Export Module
    Tuna's Avatar
    Join Date
    Feb 2008
    Location
    Central Texas
    Posts
    1,853
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)

    Re: FloodTolerance / Blocking questions

    its intermittent...

Page 1 of 2 1 2 LastLast

Similar Threads

  1. Blocking mouse (click)
    By Bullo in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 7th June 2012, 07:23 AM
  2. Blocking Input Boxes
    By Sebas Luna in forum Multimedia Fusion 2 - Technical Support
    Replies: 0
    Last Post: 8th April 2011, 05:59 PM
  3. Blocking Animation
    By Jayboi in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 4th April 2011, 03:25 PM
  4. Blocking Overlaps with an Object
    By Dines in forum Multimedia Fusion 2 - Technical Support
    Replies: 4
    Last Post: 27th April 2007, 04:04 PM

Posting Permissions

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