CrazyLoginFilter
Version 0.8
Description
Add additional protection to your server by fitlering ips/connections to the entire server and to your account.
If you loose your minecraft password somewhy, you don't have to care much about your servers security.
Because only your IP can connect to your account/server (if set). Now supports DNS Resolving for more flexibility (name.no-ip.com).
Features
- Filter IPs and Connections per Player (its possible to add server side settings too)
- Allow local/hamachi/other access only or disallow them.
- it can be possible to (dis-)allow special countries, internet providers (via connection)
- Black/WhitelistIPs
- Regex Support
- DNS Support (prefix your dns with # when adding it to your ip list.)
- Black/WhiteListConnections
- Currently only Config-Database support.
- Filter Usernames
- char filter
- length filter
- option to blockDifferentNameCases
Requirements
- CrazyCore (Version 10.7.1 or later)
Related Plugins
- CrazyCaptcha (Captchas)
- CrazyLogin (Passwords)
- CrazyLoginRank (Join Ranking)
Commands
- /crazyloginfilter create
Create a loginfilter (for yourself) - /crazyloginfilter show
Show current settings for this player. - /crazyloginfilter <ip/connection> <check> [true/false]
Check IPs/Connections (on login) - /crazyloginfilter <ip/connection> <whitelist> [true/false]
Use IP/Connection list as whitelist (otherwise as blacklist) - /crazyloginfilter <ip/connection> <show> [page]
Show current Filter IPs/Connections - /crazyloginfilter <ip/connection> <add/remove> <regex>
Add/remove regex to Filter IPs/Connections (remove supports indexes, so becarefull) - /crazyloginfilter delete
Remove your loginfilter - /crazyloginfilter serverFilter ...
Change server side Filter settings (Command structure like above)
Permissions
Currently no permissions available.
Languages
- en_en (English)
- de_de (German - Deutsch)
- cn_cn (Chinese - 中国的, thanks to mindcat)
- fr_fr (French - Français, thanks to FireBurst699)
- fi_fi (Finnish - Suomi, thanks to suomenlippis)
- es_es (Spanish - Español, thanks to Sirikon)
- pl_pl (Polish - polski, thanks to MegaManNT)
- nl_nl (Dutch - Nederlands, thanks to jekeke123)
- ru_ru (Russian - русский, thanks to SannyOK)
(Please post additional translations here, so i can share them to everybody!)
@TheOneMadHawk
I sent you a pm with the details.
@TheMcGuider
A video would be great, please upload your config as well.
@TheOneMadHawk
Hey, I can't confirm that this doesn't work with domains because I can't get it to work with my ipv4 address. I have tested it twice on a newly generated config file with exactly the same commands as you used. I have a linux dedicated server, perhaps something is blocked in the firewall? I can make a 25 seconds long video demonstration and upload it onto my apache2 server if you want. Thank you.
@TheMcGuider
I just tested my commands and you are right the first command does not work. (It is not needed)
So i used the following commands:
/crazyloginfilter serverFilter ip check true
/crazyloginfilter serverFilter ip whitelist true
/crazyloginfilter serverFilter ip add 127.0.0.1
Connect with a client to 127.0.0.1 -> Success
Connect with a client to localhost -> Success
Connect with a client to 192.168.1.10 -> Access denied
I used Java 7 for Server and Client
I haven't tried the #url.com thing because i don't have such kind of thing to test it.
(But i guess it should still work. If you have verified that it does not work please tell me)
Regex = Regualar Expressions
http://docs.oracle.com/javase/7/docs/api/java/util/regex/Pattern.html
a[b]+a matches aba and abbbbba but not aa.
192.168.2..* (for local-network access only)
@TheOneMadHawk
The first method is exactly what I tried (I'm not sure what the ".. create" command is supposed to do but it's not working) and the second method you said is not working, I tried it on a new config.yml file (and what exactly do you mean with <regex>?). I'm not sure if this is plugin's fault, are you sure that the plugin's network protocol (if it have one..) needs a update? I'm not a professional coder or anything related but I atleast know that 1.7 have a new network protocol.
@TheMcGuider
I'm not sure whether i got you right, but you could try the following:
/crazyloginfilter serverFilter create
/crazyloginfilter serverFilter ip check true
/crazyloginfilter serverFilter ip whitelist true
/crazyloginfilter serverFilter ip add #example.com
or
/crazyloginfilter serverFilter ip add 192.168.142.1
(/crazyloginfilter serverFilter ip add <regex>
I want everyone to connect with ip "example.com" and everyone else who is connecting with "example.net" would get kicked. But I'm not sure what I should do. Are I'm supposed to whitelist the ip? I have been trying everything for about 2 hours now and it's not working.
@XVampiregurlX
Sure,
use the serverfilter and only add one ip (without regex)
Can we use this to JUST whitelist a SINGLE ip?
@Absolutionmc
The command creates a personal filter that can be edited after that using the other commands.
Hey TheOneMadHawk, may I know what the command /crazyloginfilter create does?
Also, is the usage only /crazyloginfilter create? or do I have to add something to it?
@broluigi
Currenty there is no MYSQL support here.
It is planned, but not for the near future.
is there a mysql template for this
@Hefko
Yes it is.
Please send me the complete player connection used by an anchorfree user.
/crazycore player info [User]
Connection: abcdefg.anchorfree.com
Then I will have a look on that.
(i did not use this plugin for a long time.)
@TheOneMadHawk
I tried commands below to block anchorfree, but proxy users still can connect (Hotspotshield, which uses anchorfree proxy) :) I wanted to block users who uses proxy (only Anchorfree) to join server. It is possible?
@Hefko
Can you please explain that a little bit more to me?
What exactly does not work?
The commands?
or blocking the users from accessing the server?
or saving/loading from config?
Hi, I tried this to block anchorfree users, but it does not work for me :( /crazyloginfilter serverFilter connection check true /crazyloginfilter serverFilter connection whitelist false /crazyloginfilter serverFilter connection add .*.anchorfree.com
@Mowstyl
/crazyloginfilter serverFilter connection check true
/crazyloginfilter serverFilter connection whitelist false
/crazyloginfilter serverFilter connection add .*.anchorfree.com
How can I "ban" an ISP? The Hostname is 74-115-1-92.anchorfree.com, and i want to filter all AnchorFree. Thanks.
@gamewin1
No, this isn't possible.
Online mode is either enabled or disabled.
If it is only one friend it would be better if he buys minecraft two