@ -490,7 +490,7 @@ public final class httpd implements serverHandler {
}
}else{
// not authorized through firewall blocking (ip does not match filter)
this.session.out.write((httpVersion+" 403 refused (IP not granted)"+serverCore.crlfString +serverCore.crlfString+"you are not allowed to connect to this server, because you are using the non-granted IP "+clientIP+". allowed are only connections that match with the following filter: "+switchboard.getConfig("serverClient","*")+serverCore.crlfString).getBytes());
this.session.out.write((httpVersion+" 403 refused (IP not granted)"+serverCore.CRLF_STRING +serverCore.CRLF_STRING+"you are not allowed to connect to this server, because you are using the non-granted IP "+clientIP+". allowed are only connections that match with the following filter: "+switchboard.getConfig("serverClient","*")+serverCore.CRLF_STRING).getBytes());
returnserverCore.TERMINATE_CONNECTION;
}
}else{
@ -500,7 +500,7 @@ public final class httpd implements serverHandler {
// not authorized through firewall blocking (ip does not match filter)
this.session.out.write((httpVersion+" 403 refused (IP not granted)"+serverCore.crlfString +serverCore.crlfString+"you are not allowed to connect to this proxy, because you are using the non-granted IP "+clientIP+". allowed are only connections that match with the following filter: "+switchboard.getConfig("proxyClient","*")+serverCore.crlfString).getBytes());
this.session.out.write((httpVersion+" 403 refused (IP not granted)"+serverCore.CRLF_STRING +serverCore.CRLF_STRING+"you are not allowed to connect to this proxy, because you are using the non-granted IP "+clientIP+". allowed are only connections that match with the following filter: "+switchboard.getConfig("proxyClient","*")+serverCore.CRLF_STRING).getBytes());
returnserverCore.TERMINATE_CONNECTION;
}
}
@ -562,7 +562,7 @@ public final class httpd implements serverHandler {
}else{
// not authorized through firewall blocking (ip does not match filter)
session.out.write((httpVersion+" 403 refused (IP not granted)"+
serverCore.crlfString).getBytes());
serverCore.CRLF_STRING).getBytes());
returnserverCore.TERMINATE_CONNECTION;
}
}else{
@ -573,7 +573,7 @@ public final class httpd implements serverHandler {
}else{
// not authorized through firewall blocking (ip does not match filter)
session.out.write((httpVersion+" 403 refused (IP not granted)"+
serverCore.crlfString).getBytes());
serverCore.CRLF_STRING).getBytes());
returnserverCore.TERMINATE_CONNECTION;
}
}
@ -611,7 +611,7 @@ public final class httpd implements serverHandler {
}
}else{
// not authorized through firewall blocking (ip does not match filter)
session.out.write((httpVersion+" 403 refused (IP not granted)"+serverCore.crlfString +serverCore.crlfString+"you are not allowed to connect to this server, because you are using the non-granted IP "+clientIP+". allowed are only connections that match with the following filter: "+switchboard.getConfig("serverClient","*")+serverCore.crlfString).getBytes());
session.out.write((httpVersion+" 403 refused (IP not granted)"+serverCore.CRLF_STRING +serverCore.CRLF_STRING+"you are not allowed to connect to this server, because you are using the non-granted IP "+clientIP+". allowed are only connections that match with the following filter: "+switchboard.getConfig("serverClient","*")+serverCore.CRLF_STRING).getBytes());
returnserverCore.TERMINATE_CONNECTION;
}
}else{
@ -621,7 +621,7 @@ public final class httpd implements serverHandler {
// not authorized through firewall blocking (ip does not match filter)
session.out.write((httpVersion+" 403 refused (IP not granted)"+serverCore.crlfString +serverCore.crlfString+"you are not allowed to connect to this proxy, because you are using the non-granted IP "+clientIP+". allowed are only connections that match with the following filter: "+switchboard.getConfig("proxyClient","*")+serverCore.crlfString).getBytes());
session.out.write((httpVersion+" 403 refused (IP not granted)"+serverCore.CRLF_STRING +serverCore.CRLF_STRING+"you are not allowed to connect to this proxy, because you are using the non-granted IP "+clientIP+". allowed are only connections that match with the following filter: "+switchboard.getConfig("proxyClient","*")+serverCore.CRLF_STRING).getBytes());
returnserverCore.TERMINATE_CONNECTION;
}
}
@ -670,7 +670,7 @@ public final class httpd implements serverHandler {
if(!(allowProxy)){
// not authorized through firewall blocking (ip does not match filter)
session.out.write((httpVersion+" 403 refused (IP not granted)"+serverCore.crlfString +serverCore.crlfString+"you are not allowed to connect to this proxy, because you are using the non-granted IP "+clientIP+". allowed are only connections that match with the following filter: "+switchboard.getConfig("proxyClient","*")+serverCore.crlfString).getBytes());
session.out.write((httpVersion+" 403 refused (IP not granted)"+serverCore.CRLF_STRING +serverCore.CRLF_STRING+"you are not allowed to connect to this proxy, because you are using the non-granted IP "+clientIP+". allowed are only connections that match with the following filter: "+switchboard.getConfig("proxyClient","*")+serverCore.CRLF_STRING).getBytes());
returnserverCore.TERMINATE_CONNECTION;
}
@ -678,7 +678,7 @@ public final class httpd implements serverHandler {
// security: connection only to ssl port
// we send a 403 (forbidden) error back
session.out.write((httpVersion+" 403 Connection to non-443 forbidden"+
// not authorized through firewall blocking (ip does not match filter)
session.out.write((httpVersion+" 403 refused (IP not granted)"+serverCore.crlfString +serverCore.crlfString+"you are not allowed to connect to this proxy, because you are using the non-granted IP "+clientIP+". allowed are only connections that match with the following filter: "+switchboard.getConfig("proxyClient","*")+serverCore.crlfString).getBytes());
session.out.write((httpVersion+" 403 refused (IP not granted)"+serverCore.CRLF_STRING +serverCore.CRLF_STRING+"you are not allowed to connect to this proxy, because you are using the non-granted IP "+clientIP+". allowed are only connections that match with the following filter: "+switchboard.getConfig("proxyClient","*")+serverCore.CRLF_STRING).getBytes());
}
returnserverCore.TERMINATE_CONNECTION;
@ -952,14 +952,14 @@ public final class httpd implements serverHandler {
break;
}
// we don't know if the value is terminated by lf, cr or crlf
// (it's suppose to be crlf, but we want to be lazy about wrong terminations)