Merge branch 'main' of https://github.com/lax1dude/eaglercraft
This commit is contained in:
commit
b42e557f3f
|
@ -247,7 +247,7 @@ public class WebSocketListener extends WebSocketServer {
|
||||||
String s = arg1.getFieldValue(info.getForwardedIPHeader());
|
String s = arg1.getFieldValue(info.getForwardedIPHeader());
|
||||||
if(s != null) {
|
if(s != null) {
|
||||||
try {
|
try {
|
||||||
addr = InetAddress.getByName(s);
|
addr = InetAddress.getByName(s.split(",", 2)[0]);
|
||||||
}catch(UnknownHostException e) {
|
}catch(UnknownHostException e) {
|
||||||
System.out.println("invalid '" + info.getForwardedIPHeader() + "' header - " + e.toString());
|
System.out.println("invalid '" + info.getForwardedIPHeader() + "' header - " + e.toString());
|
||||||
arg0.close();
|
arg0.close();
|
||||||
|
|
Binary file not shown.
|
@ -43,6 +43,14 @@
|
||||||
.*enma3\.repl\.co$
|
.*enma3\.repl\.co$
|
||||||
.*legend.*\.repl\.co$
|
.*legend.*\.repl\.co$
|
||||||
.*ersupport\.com$
|
.*ersupport\.com$
|
||||||
|
.*amond\-slash.*
|
||||||
|
.*pros.*min\.repl\.co$
|
||||||
|
.*lybro\.repl\.co$
|
||||||
|
.*onymous\.repl\.co$
|
||||||
|
.*alpin.*\.repl\.co$
|
||||||
|
.*arvin.*\.repl\.co$
|
||||||
|
.*lolz.*
|
||||||
|
.*zach.*\.repl\.co$
|
||||||
|
|
||||||
# block ambiguous domains (excuse the regex skill issues)
|
# block ambiguous domains (excuse the regex skill issues)
|
||||||
^(?!g\.deev\.is).*deev\.is$
|
^(?!g\.deev\.is).*deev\.is$
|
||||||
|
|
Loading…
Reference in New Issue
Block a user