Daimonin MMORPG Logo

Daimonin Bugtracker

 
Note: You have to join a dev group before you can post to the bugtracker.

Code

Report here bugs and requests related to code development (Server, Client2D, or Client3D)
Tasklist

FS#27 - add ban exceptions

Attached to Project: Code
Opened by smacky (smacky) - Thursday, 04 February 2010, 12:16 GMT+1
Last edited by smacky (smacky) - Sunday, 15 August 2010, 12:39 GMT+1
Task Type Feature Request
Category Server
Status Assigned
Assigned To smacky (smacky)
Operating System All
Severity Medium
Priority Normal
Reported Version Dev (server)
Due in Version Undecided
Due Date Undecided
Percent Complete 0%
Votes 0
Private No

Details

Currently when an IP (range) is banned, ALL players connecting from that IP or IPs in that range are banned.

This is no good for, ie, school computers or dynamic/dialup connections, as an innocent player ends up banned. This has happened.

Following on from  FS#25  and  FS#26 , this should be:
/ban exception [<account>] [<ip>] [<player>]

(where at least one argument must be given.)

<ip> must be a FULL a.b.c.d IP.

Further, this command should check the ban file for a specific ban on that account/ip/player. Only if not found, is the exception added.

Additionally, when a specific ban is added on that account/ip/player, all relevant exceptions are automatically removed from the ban file.
This task depends upon

Comment by argh (argh) - Sunday, 14 February 2010, 15:27 GMT+1
The ban exception will have the following syntax (ban remove will also have about the same syntax):
ban exception (<Ip Address without wildchar> | /a <Account Name> | <Character Name>)

Some examples:*
# will ban any IP addresses like 123.123.123.*
ban add 123.123.123.*

# will add an exception for the IP Address 123.123.123.123
ban exception 123.123.123.123

# will add an exception for the character "dummy"
# If the character "dummy" is not banned, he will be able to connect from address 123.123.123.100
ban exception dummy

# will add an exception for the account "account0"
# If this account is not banned (nor the character name he is using), he will be able to connect from address 123.123.123.100
ban exception /a account0
Comment by argh (argh) - Wednesday, 03 March 2010, 22:01 GMT+1
The structure of the ban file is changing as follows:

#--------------------- BAN FILE ---------------------------
# ban explicit ip address
/i a.b.c.d ticks_init ticks_left

# exception for the player zappa (I surely don't want to ban Zappa ;-))
/-n a.b.c.d zappa

# exception for the account frank
/-a a.b.c.d frank

# ban a sub network (not really a sub network - only the last byte maybe a wildchar)
/i a.b.c.* ticks_init ticks_left

# exception for a.b.c.e in a.b.c.* subnetwork
/-i a.b.c.* a.b.c.e

# exception for the player aaaarrrggh in a.b.c.* subnetwork
/-n a.b.c.* aaaarrrggh

# exception for the account arrggghhhh in a.b.c.* subnetwork
/-a a.b.c.* arrggghhhh

# ban the player oups
/n oups ticks_init ticks_left

# ban the account spuo
/a spuo ticks_init ticks_left

# old ban player burp
burp _ ticks_init ticks_left

# old ban ip address f.g.h.i
_ f.g.h.i ticks_init ticks_left
#-------------------------------------------------------

Loading...