=========================================================== .___ __ __ _________________ __ __ __| _/|__|/ |_ / ___\_` __ \__ \ | | \/ __ | | \\_ __\ / /_/ > | \// __ \| | / /_/ | | || | \___ /|__| (____ /____/\____ | |__||__| /_____/ \/ \/ grep rough audit - static analysis tool v2.8 written by @Wireghoul =================================[justanotherhacker.com]=== tomcat8-8.5.39/bin/configtest.sh-31-while [ -h "$PRG" ] ; do tomcat8-8.5.39/bin/configtest.sh:32: ls=`ls -ld "$PRG"` tomcat8-8.5.39/bin/configtest.sh:33: link=`expr "$ls" : '.*-> \(.*\)$'` tomcat8-8.5.39/bin/configtest.sh-34- if expr "$link" : '/.*' > /dev/null; then ############################################## tomcat8-8.5.39/bin/configtest.sh-36- else tomcat8-8.5.39/bin/configtest.sh:37: PRG=`dirname "$PRG"`/"$link" tomcat8-8.5.39/bin/configtest.sh-38- fi ############################################## tomcat8-8.5.39/bin/configtest.sh-40- tomcat8-8.5.39/bin/configtest.sh:41:PRGDIR=`dirname "$PRG"` tomcat8-8.5.39/bin/configtest.sh-42-EXECUTABLE=catalina.sh ############################################## tomcat8-8.5.39/bin/daemon.sh-24-while [ -h "$ARG0" ]; do tomcat8-8.5.39/bin/daemon.sh:25: ls=`ls -ld "$ARG0"` tomcat8-8.5.39/bin/daemon.sh:26: link=`expr "$ls" : '.*-> \(.*\)$'` tomcat8-8.5.39/bin/daemon.sh-27- if expr "$link" : '/.*' > /dev/null; then ############################################## tomcat8-8.5.39/bin/daemon.sh-29- else tomcat8-8.5.39/bin/daemon.sh:30: ARG0="`dirname $ARG0`/$link" tomcat8-8.5.39/bin/daemon.sh-31- fi tomcat8-8.5.39/bin/daemon.sh-32-done tomcat8-8.5.39/bin/daemon.sh:33:DIRNAME="`dirname $ARG0`" tomcat8-8.5.39/bin/daemon.sh:34:PROGRAM="`basename $ARG0`" tomcat8-8.5.39/bin/daemon.sh-35-while [ ".$1" != . ] ############################################## tomcat8-8.5.39/bin/daemon.sh-97- while [ -h "$JAVA_BIN" ]; do tomcat8-8.5.39/bin/daemon.sh:98: ls=`ls -ld "$JAVA_BIN"` tomcat8-8.5.39/bin/daemon.sh:99: link=`expr "$ls" : '.*-> \(.*\)$'` tomcat8-8.5.39/bin/daemon.sh-100- if expr "$link" : '/.*' > /dev/null; then ############################################## tomcat8-8.5.39/bin/daemon.sh-102- else tomcat8-8.5.39/bin/daemon.sh:103: JAVA_BIN="`dirname $JAVA_BIN`/$link" tomcat8-8.5.39/bin/daemon.sh-104- fi tomcat8-8.5.39/bin/daemon.sh-105- done tomcat8-8.5.39/bin/daemon.sh:106: test -x "$JAVA_BIN" && JAVA_HOME="`dirname $JAVA_BIN`" tomcat8-8.5.39/bin/daemon.sh:107: test ".$JAVA_HOME" != . && JAVA_HOME=`cd "$JAVA_HOME/.." >/dev/null; pwd` tomcat8-8.5.39/bin/daemon.sh-108-else ############################################## tomcat8-8.5.39/bin/daemon.sh-112-# Only set CATALINA_HOME if not already set tomcat8-8.5.39/bin/daemon.sh:113:test ".$CATALINA_HOME" = . && CATALINA_HOME=`cd "$DIRNAME/.." >/dev/null; pwd` tomcat8-8.5.39/bin/daemon.sh-114-test ".$CATALINA_BASE" = . && CATALINA_BASE="$CATALINA_HOME" ############################################## tomcat8-8.5.39/bin/digest.sh-31-while [ -h "$PRG" ] ; do tomcat8-8.5.39/bin/digest.sh:32: ls=`ls -ld "$PRG"` tomcat8-8.5.39/bin/digest.sh:33: link=`expr "$ls" : '.*-> \(.*\)$'` tomcat8-8.5.39/bin/digest.sh-34- if expr "$link" : '/.*' > /dev/null; then ############################################## tomcat8-8.5.39/bin/digest.sh-36- else tomcat8-8.5.39/bin/digest.sh:37: PRG=`dirname "$PRG"`/"$link" tomcat8-8.5.39/bin/digest.sh-38- fi ############################################## tomcat8-8.5.39/bin/digest.sh-40- tomcat8-8.5.39/bin/digest.sh:41:PRGDIR=`dirname "$PRG"` tomcat8-8.5.39/bin/digest.sh-42-EXECUTABLE=tool-wrapper.sh ############################################## tomcat8-8.5.39/bin/setclasspath.sh-36- if [ "x$JAVA_PATH" != "x" ]; then tomcat8-8.5.39/bin/setclasspath.sh:37: JAVA_PATH=`dirname $JAVA_PATH 2>/dev/null` tomcat8-8.5.39/bin/setclasspath.sh:38: JRE_HOME=`dirname $JAVA_PATH 2>/dev/null` tomcat8-8.5.39/bin/setclasspath.sh-39- fi ############################################## tomcat8-8.5.39/bin/shutdown.sh-31-while [ -h "$PRG" ] ; do tomcat8-8.5.39/bin/shutdown.sh:32: ls=`ls -ld "$PRG"` tomcat8-8.5.39/bin/shutdown.sh:33: link=`expr "$ls" : '.*-> \(.*\)$'` tomcat8-8.5.39/bin/shutdown.sh-34- if expr "$link" : '/.*' > /dev/null; then ############################################## tomcat8-8.5.39/bin/shutdown.sh-36- else tomcat8-8.5.39/bin/shutdown.sh:37: PRG=`dirname "$PRG"`/"$link" tomcat8-8.5.39/bin/shutdown.sh-38- fi ############################################## tomcat8-8.5.39/bin/shutdown.sh-40- tomcat8-8.5.39/bin/shutdown.sh:41:PRGDIR=`dirname "$PRG"` tomcat8-8.5.39/bin/shutdown.sh-42-EXECUTABLE=catalina.sh ############################################## tomcat8-8.5.39/bin/startup.sh-31-while [ -h "$PRG" ] ; do tomcat8-8.5.39/bin/startup.sh:32: ls=`ls -ld "$PRG"` tomcat8-8.5.39/bin/startup.sh:33: link=`expr "$ls" : '.*-> \(.*\)$'` tomcat8-8.5.39/bin/startup.sh-34- if expr "$link" : '/.*' > /dev/null; then ############################################## tomcat8-8.5.39/bin/startup.sh-36- else tomcat8-8.5.39/bin/startup.sh:37: PRG=`dirname "$PRG"`/"$link" tomcat8-8.5.39/bin/startup.sh-38- fi ############################################## tomcat8-8.5.39/bin/startup.sh-40- tomcat8-8.5.39/bin/startup.sh:41:PRGDIR=`dirname "$PRG"` tomcat8-8.5.39/bin/startup.sh-42-EXECUTABLE=catalina.sh ############################################## tomcat8-8.5.39/bin/tool-wrapper.sh-57-while [ -h "$PRG" ]; do tomcat8-8.5.39/bin/tool-wrapper.sh:58: ls=`ls -ld "$PRG"` tomcat8-8.5.39/bin/tool-wrapper.sh:59: link=`expr "$ls" : '.*-> \(.*\)$'` tomcat8-8.5.39/bin/tool-wrapper.sh-60- if expr "$link" : '/.*' > /dev/null; then ############################################## tomcat8-8.5.39/bin/tool-wrapper.sh-62- else tomcat8-8.5.39/bin/tool-wrapper.sh:63: PRG=`dirname "$PRG"`/"$link" tomcat8-8.5.39/bin/tool-wrapper.sh-64- fi ############################################## tomcat8-8.5.39/bin/tool-wrapper.sh-67-# Get standard environment variables tomcat8-8.5.39/bin/tool-wrapper.sh:68:PRGDIR=`dirname "$PRG"` tomcat8-8.5.39/bin/tool-wrapper.sh-69- tomcat8-8.5.39/bin/tool-wrapper.sh-70-# Only set CATALINA_HOME if not already set tomcat8-8.5.39/bin/tool-wrapper.sh:71:[ -z "$CATALINA_HOME" ] && CATALINA_HOME=`cd "$PRGDIR/.." >/dev/null; pwd` tomcat8-8.5.39/bin/tool-wrapper.sh-72- ############################################## tomcat8-8.5.39/bin/tool-wrapper.sh-82-if $cygwin; then tomcat8-8.5.39/bin/tool-wrapper.sh:83: [ -n "$JAVA_HOME" ] && JAVA_HOME=`cygpath --unix "$JAVA_HOME"` tomcat8-8.5.39/bin/tool-wrapper.sh:84: [ -n "$JRE_HOME" ] && JRE_HOME=`cygpath --unix "$JRE_HOME"` tomcat8-8.5.39/bin/tool-wrapper.sh:85: [ -n "$CATALINA_HOME" ] && CATALINA_HOME=`cygpath --unix "$CATALINA_HOME"` tomcat8-8.5.39/bin/tool-wrapper.sh:86: [ -n "$CLASSPATH" ] && CLASSPATH=`cygpath --path --unix "$CLASSPATH"` tomcat8-8.5.39/bin/tool-wrapper.sh-87-fi ############################################## tomcat8-8.5.39/bin/tool-wrapper.sh-125-if $cygwin; then tomcat8-8.5.39/bin/tool-wrapper.sh:126: JAVA_HOME=`cygpath --absolute --windows "$JAVA_HOME"` tomcat8-8.5.39/bin/tool-wrapper.sh:127: JRE_HOME=`cygpath --absolute --windows "$JRE_HOME"` tomcat8-8.5.39/bin/tool-wrapper.sh:128: CATALINA_HOME=`cygpath --absolute --windows "$CATALINA_HOME"` tomcat8-8.5.39/bin/tool-wrapper.sh:129: CLASSPATH=`cygpath --path --windows "$CLASSPATH"` tomcat8-8.5.39/bin/tool-wrapper.sh:130: [ -n "$JAVA_ENDORSED_DIRS" ] && JAVA_ENDORSED_DIRS=`cygpath --path --windows "$JAVA_ENDORSED_DIRS"` tomcat8-8.5.39/bin/tool-wrapper.sh-131-fi ############################################## tomcat8-8.5.39/bin/version.sh-31-while [ -h "$PRG" ] ; do tomcat8-8.5.39/bin/version.sh:32: ls=`ls -ld "$PRG"` tomcat8-8.5.39/bin/version.sh:33: link=`expr "$ls" : '.*-> \(.*\)$'` tomcat8-8.5.39/bin/version.sh-34- if expr "$link" : '/.*' > /dev/null; then ############################################## tomcat8-8.5.39/bin/version.sh-36- else tomcat8-8.5.39/bin/version.sh:37: PRG=`dirname "$PRG"`/"$link" tomcat8-8.5.39/bin/version.sh-38- fi ############################################## tomcat8-8.5.39/bin/version.sh-40- tomcat8-8.5.39/bin/version.sh:41:PRGDIR=`dirname "$PRG"` tomcat8-8.5.39/bin/version.sh-42-EXECUTABLE=catalina.sh ############################################## tomcat8-8.5.39/bin/catalina.sh-125-while [ -h "$PRG" ]; do tomcat8-8.5.39/bin/catalina.sh:126: ls=`ls -ld "$PRG"` tomcat8-8.5.39/bin/catalina.sh:127: link=`expr "$ls" : '.*-> \(.*\)$'` tomcat8-8.5.39/bin/catalina.sh-128- if expr "$link" : '/.*' > /dev/null; then ############################################## tomcat8-8.5.39/bin/catalina.sh-130- else tomcat8-8.5.39/bin/catalina.sh:131: PRG=`dirname "$PRG"`/"$link" tomcat8-8.5.39/bin/catalina.sh-132- fi ############################################## tomcat8-8.5.39/bin/catalina.sh-135-# Get standard environment variables tomcat8-8.5.39/bin/catalina.sh:136:PRGDIR=`dirname "$PRG"` tomcat8-8.5.39/bin/catalina.sh-137- tomcat8-8.5.39/bin/catalina.sh-138-# Only set CATALINA_HOME if not already set tomcat8-8.5.39/bin/catalina.sh:139:[ -z "$CATALINA_HOME" ] && CATALINA_HOME=`cd "$PRGDIR/.." >/dev/null; pwd` tomcat8-8.5.39/bin/catalina.sh-140- ############################################## tomcat8-8.5.39/bin/catalina.sh-155-if $cygwin; then tomcat8-8.5.39/bin/catalina.sh:156: [ -n "$JAVA_HOME" ] && JAVA_HOME=`cygpath --unix "$JAVA_HOME"` tomcat8-8.5.39/bin/catalina.sh:157: [ -n "$JRE_HOME" ] && JRE_HOME=`cygpath --unix "$JRE_HOME"` tomcat8-8.5.39/bin/catalina.sh:158: [ -n "$CATALINA_HOME" ] && CATALINA_HOME=`cygpath --unix "$CATALINA_HOME"` tomcat8-8.5.39/bin/catalina.sh:159: [ -n "$CATALINA_BASE" ] && CATALINA_BASE=`cygpath --unix "$CATALINA_BASE"` tomcat8-8.5.39/bin/catalina.sh:160: [ -n "$CLASSPATH" ] && CLASSPATH=`cygpath --path --unix "$CLASSPATH"` tomcat8-8.5.39/bin/catalina.sh-161-fi ############################################## tomcat8-8.5.39/bin/catalina.sh-236-if $cygwin; then tomcat8-8.5.39/bin/catalina.sh:237: JAVA_HOME=`cygpath --absolute --windows "$JAVA_HOME"` tomcat8-8.5.39/bin/catalina.sh:238: JRE_HOME=`cygpath --absolute --windows "$JRE_HOME"` tomcat8-8.5.39/bin/catalina.sh:239: CATALINA_HOME=`cygpath --absolute --windows "$CATALINA_HOME"` tomcat8-8.5.39/bin/catalina.sh:240: CATALINA_BASE=`cygpath --absolute --windows "$CATALINA_BASE"` tomcat8-8.5.39/bin/catalina.sh:241: CATALINA_TMPDIR=`cygpath --absolute --windows "$CATALINA_TMPDIR"` tomcat8-8.5.39/bin/catalina.sh:242: CLASSPATH=`cygpath --path --windows "$CLASSPATH"` tomcat8-8.5.39/bin/catalina.sh:243: [ -n "$JAVA_ENDORSED_DIRS" ] && JAVA_ENDORSED_DIRS=`cygpath --path --windows "$JAVA_ENDORSED_DIRS"` tomcat8-8.5.39/bin/catalina.sh-244-fi ############################################## tomcat8-8.5.39/bin/catalina.sh-409- if [ -r "$CATALINA_PID" ]; then tomcat8-8.5.39/bin/catalina.sh:410: PID=`cat "$CATALINA_PID"` tomcat8-8.5.39/bin/catalina.sh-411- ps -p $PID >/dev/null 2>&1 ############################################## tomcat8-8.5.39/bin/catalina.sh-502- if [ -s "$CATALINA_PID" ]; then tomcat8-8.5.39/bin/catalina.sh:503: kill -0 `cat "$CATALINA_PID"` >/dev/null 2>&1 tomcat8-8.5.39/bin/catalina.sh-504- if [ $? -gt 0 ]; then ############################################## tomcat8-8.5.39/bin/catalina.sh-528- echo "The stop command failed. Attempting to signal the process to stop through OS signal." tomcat8-8.5.39/bin/catalina.sh:529: kill -15 `cat "$CATALINA_PID"` >/dev/null 2>&1 tomcat8-8.5.39/bin/catalina.sh-530- fi ############################################## tomcat8-8.5.39/bin/catalina.sh-535- while [ $SLEEP -ge 0 ]; do tomcat8-8.5.39/bin/catalina.sh:536: kill -0 `cat "$CATALINA_PID"` >/dev/null 2>&1 tomcat8-8.5.39/bin/catalina.sh-537- if [ $? -gt 0 ]; then ############################################## tomcat8-8.5.39/bin/catalina.sh-559- echo "To aid diagnostics a thread dump has been written to standard out." tomcat8-8.5.39/bin/catalina.sh:560: kill -3 `cat "$CATALINA_PID"` tomcat8-8.5.39/bin/catalina.sh-561- fi tomcat8-8.5.39/bin/catalina.sh:562: SLEEP=`expr $SLEEP - 1 ` tomcat8-8.5.39/bin/catalina.sh-563- done ############################################## tomcat8-8.5.39/bin/catalina.sh-572- if [ -f "$CATALINA_PID" ]; then tomcat8-8.5.39/bin/catalina.sh:573: PID=`cat "$CATALINA_PID"` tomcat8-8.5.39/bin/catalina.sh-574- echo "Killing Tomcat with the PID: $PID" ############################################## tomcat8-8.5.39/bin/catalina.sh-576- while [ $KILL_SLEEP_INTERVAL -ge 0 ]; do tomcat8-8.5.39/bin/catalina.sh:577: kill -0 `cat "$CATALINA_PID"` >/dev/null 2>&1 tomcat8-8.5.39/bin/catalina.sh-578- if [ $? -gt 0 ]; then ############################################## tomcat8-8.5.39/bin/catalina.sh-592- fi tomcat8-8.5.39/bin/catalina.sh:593: KILL_SLEEP_INTERVAL=`expr $KILL_SLEEP_INTERVAL - 1 ` tomcat8-8.5.39/bin/catalina.sh-594- done ############################################## tomcat8-8.5.39/java/javax/servlet/ServletRequest.java-282- */ tomcat8-8.5.39/java/javax/servlet/ServletRequest.java:283: public String getRemoteAddr(); tomcat8-8.5.39/java/javax/servlet/ServletRequest.java-284- ############################################## tomcat8-8.5.39/java/javax/servlet/ServletRequest.java-435- */ tomcat8-8.5.39/java/javax/servlet/ServletRequest.java:436: public String getLocalAddr(); tomcat8-8.5.39/java/javax/servlet/ServletRequest.java-437- ############################################## tomcat8-8.5.39/java/javax/servlet/ServletRequestWrapper.java-228- /** tomcat8-8.5.39/java/javax/servlet/ServletRequestWrapper.java:229: * The default behavior of this method is to return getRemoteAddr() on the tomcat8-8.5.39/java/javax/servlet/ServletRequestWrapper.java-230- * wrapped request object. ############################################## tomcat8-8.5.39/java/javax/servlet/ServletRequestWrapper.java-232- @Override tomcat8-8.5.39/java/javax/servlet/ServletRequestWrapper.java:233: public String getRemoteAddr() { tomcat8-8.5.39/java/javax/servlet/ServletRequestWrapper.java:234: return this.request.getRemoteAddr(); tomcat8-8.5.39/java/javax/servlet/ServletRequestWrapper.java-235- } ############################################## tomcat8-8.5.39/java/javax/servlet/ServletRequestWrapper.java-335- /** tomcat8-8.5.39/java/javax/servlet/ServletRequestWrapper.java:336: * The default behavior of this method is to return getLocalAddr() on the tomcat8-8.5.39/java/javax/servlet/ServletRequestWrapper.java-337- * wrapped request object. ############################################## tomcat8-8.5.39/java/javax/servlet/ServletRequestWrapper.java-341- @Override tomcat8-8.5.39/java/javax/servlet/ServletRequestWrapper.java:342: public String getLocalAddr() { tomcat8-8.5.39/java/javax/servlet/ServletRequestWrapper.java:343: return this.request.getLocalAddr(); tomcat8-8.5.39/java/javax/servlet/ServletRequestWrapper.java-344- } ############################################## tomcat8-8.5.39/java/org/apache/catalina/authenticator/DigestAuthenticator.java-305- String ipTimeKey = tomcat8-8.5.39/java/org/apache/catalina/authenticator/DigestAuthenticator.java:306: request.getRemoteAddr() + ":" + currentTime + ":" + getKey(); tomcat8-8.5.39/java/org/apache/catalina/authenticator/DigestAuthenticator.java-307- ############################################## tomcat8-8.5.39/java/org/apache/catalina/authenticator/DigestAuthenticator.java-549- String serverIpTimeKey = tomcat8-8.5.39/java/org/apache/catalina/authenticator/DigestAuthenticator.java:550: request.getRemoteAddr() + ":" + nonceTime + ":" + key; tomcat8-8.5.39/java/org/apache/catalina/authenticator/DigestAuthenticator.java-551- byte[] buffer = ConcurrentMessageDigest.digestMD5( ############################################## tomcat8-8.5.39/java/org/apache/catalina/connector/Request.java-835- */ tomcat8-8.5.39/java/org/apache/catalina/connector/Request.java:836: public void setRemoteAddr(String remoteAddr) { tomcat8-8.5.39/java/org/apache/catalina/connector/Request.java-837- this.remoteAddr = remoteAddr; ############################################## tomcat8-8.5.39/java/org/apache/catalina/connector/Request.java-1277- @Override tomcat8-8.5.39/java/org/apache/catalina/connector/Request.java:1278: public String getRemoteAddr() { tomcat8-8.5.39/java/org/apache/catalina/connector/Request.java-1279- if (remoteAddr == null) { ############################################## tomcat8-8.5.39/java/org/apache/catalina/connector/Request.java-1281- (ActionCode.REQ_HOST_ADDR_ATTRIBUTE, coyoteRequest); tomcat8-8.5.39/java/org/apache/catalina/connector/Request.java:1282: remoteAddr = coyoteRequest.remoteAddr().toString(); tomcat8-8.5.39/java/org/apache/catalina/connector/Request.java-1283- } ############################################## tomcat8-8.5.39/java/org/apache/catalina/connector/Request.java-1294- if (!connector.getEnableLookups()) { tomcat8-8.5.39/java/org/apache/catalina/connector/Request.java:1295: remoteHost = getRemoteAddr(); tomcat8-8.5.39/java/org/apache/catalina/connector/Request.java-1296- } else { ############################################## tomcat8-8.5.39/java/org/apache/catalina/connector/Request.java-1337- @Override tomcat8-8.5.39/java/org/apache/catalina/connector/Request.java:1338: public String getLocalAddr(){ tomcat8-8.5.39/java/org/apache/catalina/connector/Request.java-1339- if (localAddr == null) { ############################################## tomcat8-8.5.39/java/org/apache/catalina/connector/Request.java-1341- (ActionCode.REQ_LOCAL_ADDR_ATTRIBUTE, coyoteRequest); tomcat8-8.5.39/java/org/apache/catalina/connector/Request.java:1342: localAddr = coyoteRequest.localAddr().toString(); tomcat8-8.5.39/java/org/apache/catalina/connector/Request.java-1343- } ############################################## tomcat8-8.5.39/java/org/apache/catalina/connector/RequestFacade.java-508- @Override tomcat8-8.5.39/java/org/apache/catalina/connector/RequestFacade.java:509: public String getRemoteAddr() { tomcat8-8.5.39/java/org/apache/catalina/connector/RequestFacade.java-510- ############################################## tomcat8-8.5.39/java/org/apache/catalina/connector/RequestFacade.java-515- tomcat8-8.5.39/java/org/apache/catalina/connector/RequestFacade.java:516: return request.getRemoteAddr(); tomcat8-8.5.39/java/org/apache/catalina/connector/RequestFacade.java-517- } ############################################## tomcat8-8.5.39/java/org/apache/catalina/connector/RequestFacade.java-970- @Override tomcat8-8.5.39/java/org/apache/catalina/connector/RequestFacade.java:971: public String getLocalAddr() { tomcat8-8.5.39/java/org/apache/catalina/connector/RequestFacade.java-972- ############################################## tomcat8-8.5.39/java/org/apache/catalina/connector/RequestFacade.java-977- tomcat8-8.5.39/java/org/apache/catalina/connector/RequestFacade.java:978: return request.getLocalAddr(); tomcat8-8.5.39/java/org/apache/catalina/connector/RequestFacade.java-979- } ############################################## tomcat8-8.5.39/java/org/apache/catalina/core/NamingContextListener.java-601- String paramValue = (String) transaction.getProperty(paramName); tomcat8-8.5.39/java/org/apache/catalina/core/NamingContextListener.java:602: StringRefAddr refAddr = new StringRefAddr(paramName, paramValue); tomcat8-8.5.39/java/org/apache/catalina/core/NamingContextListener.java-603- ref.add(refAddr); ############################################## tomcat8-8.5.39/java/org/apache/catalina/core/NamingContextListener.java-687- String paramValue = (String) ejb.getProperty(paramName); tomcat8-8.5.39/java/org/apache/catalina/core/NamingContextListener.java:688: StringRefAddr refAddr = new StringRefAddr(paramName, paramValue); tomcat8-8.5.39/java/org/apache/catalina/core/NamingContextListener.java-689- ref.add(refAddr); ############################################## tomcat8-8.5.39/java/org/apache/catalina/core/NamingContextListener.java-929- String serviceendpoint = portcomponent.next(); tomcat8-8.5.39/java/org/apache/catalina/core/NamingContextListener.java:930: StringRefAddr refAddr = new StringRefAddr(ServiceRef.SERVICEENDPOINTINTERFACE, serviceendpoint); tomcat8-8.5.39/java/org/apache/catalina/core/NamingContextListener.java-931- ref.add(refAddr); tomcat8-8.5.39/java/org/apache/catalina/core/NamingContextListener.java-932- String portlink = service.getPortlink(serviceendpoint); tomcat8-8.5.39/java/org/apache/catalina/core/NamingContextListener.java:933: refAddr = new StringRefAddr(ServiceRef.PORTCOMPONENTLINK, portlink); tomcat8-8.5.39/java/org/apache/catalina/core/NamingContextListener.java-934- ref.add(refAddr); ############################################## tomcat8-8.5.39/java/org/apache/catalina/core/NamingContextListener.java-945- String namespaceURI = handler.getNamespaceuri(localPart); tomcat8-8.5.39/java/org/apache/catalina/core/NamingContextListener.java:946: handlerRef.add(new StringRefAddr(HandlerRef.HANDLER_LOCALPART, localPart)); tomcat8-8.5.39/java/org/apache/catalina/core/NamingContextListener.java:947: handlerRef.add(new StringRefAddr(HandlerRef.HANDLER_NAMESPACE, namespaceURI)); tomcat8-8.5.39/java/org/apache/catalina/core/NamingContextListener.java-948- } ############################################## tomcat8-8.5.39/java/org/apache/catalina/core/NamingContextListener.java-952- String paramValue = (String) handler.getProperty(paramName); tomcat8-8.5.39/java/org/apache/catalina/core/NamingContextListener.java:953: handlerRef.add(new StringRefAddr(HandlerRef.HANDLER_PARAMNAME, paramName)); tomcat8-8.5.39/java/org/apache/catalina/core/NamingContextListener.java:954: handlerRef.add(new StringRefAddr(HandlerRef.HANDLER_PARAMVALUE, paramValue)); tomcat8-8.5.39/java/org/apache/catalina/core/NamingContextListener.java-955- } tomcat8-8.5.39/java/org/apache/catalina/core/NamingContextListener.java-956- for (int i = 0; i < handler.getSoapRolesSize(); i++) { tomcat8-8.5.39/java/org/apache/catalina/core/NamingContextListener.java:957: handlerRef.add(new StringRefAddr(HandlerRef.HANDLER_SOAPROLE, handler.getSoapRole(i))); tomcat8-8.5.39/java/org/apache/catalina/core/NamingContextListener.java-958- } tomcat8-8.5.39/java/org/apache/catalina/core/NamingContextListener.java-959- for (int i = 0; i < handler.getPortNamesSize(); i++) { tomcat8-8.5.39/java/org/apache/catalina/core/NamingContextListener.java:960: handlerRef.add(new StringRefAddr(HandlerRef.HANDLER_PORTNAME, handler.getPortName(i))); tomcat8-8.5.39/java/org/apache/catalina/core/NamingContextListener.java-961- } ############################################## tomcat8-8.5.39/java/org/apache/catalina/core/NamingContextListener.java-995- String paramValue = (String) resource.getProperty(paramName); tomcat8-8.5.39/java/org/apache/catalina/core/NamingContextListener.java:996: StringRefAddr refAddr = new StringRefAddr(paramName, paramValue); tomcat8-8.5.39/java/org/apache/catalina/core/NamingContextListener.java-997- ref.add(refAddr); ############################################## tomcat8-8.5.39/java/org/apache/catalina/core/NamingContextListener.java-1048- String paramValue = (String) resourceEnvRef.getProperty(paramName); tomcat8-8.5.39/java/org/apache/catalina/core/NamingContextListener.java:1049: StringRefAddr refAddr = new StringRefAddr(paramName, paramValue); tomcat8-8.5.39/java/org/apache/catalina/core/NamingContextListener.java-1050- ref.add(refAddr); ############################################## tomcat8-8.5.39/java/org/apache/catalina/core/NamingContextListener.java-1080- if (val!=null) { tomcat8-8.5.39/java/org/apache/catalina/core/NamingContextListener.java:1081: StringRefAddr refAddr = new StringRefAddr(key, val.toString()); tomcat8-8.5.39/java/org/apache/catalina/core/NamingContextListener.java-1082- ref.add(refAddr); ############################################## tomcat8-8.5.39/java/org/apache/catalina/filters/RemoteAddrFilter.java-59- tomcat8-8.5.39/java/org/apache/catalina/filters/RemoteAddrFilter.java:60: process(request.getRemoteAddr(), request, response, chain); tomcat8-8.5.39/java/org/apache/catalina/filters/RemoteAddrFilter.java-61- ############################################## tomcat8-8.5.39/java/org/apache/catalina/filters/RemoteCIDRFilter.java-139- tomcat8-8.5.39/java/org/apache/catalina/filters/RemoteCIDRFilter.java:140: if (isAllowed(request.getRemoteAddr())) { tomcat8-8.5.39/java/org/apache/catalina/filters/RemoteCIDRFilter.java-141- chain.doFilter(request, response); ############################################## tomcat8-8.5.39/java/org/apache/catalina/filters/RemoteIpFilter.java-70- * <p> tomcat8-8.5.39/java/org/apache/catalina/filters/RemoteIpFilter.java:71: * If the incoming <code>request.getRemoteAddr()</code> matches the servlet tomcat8-8.5.39/java/org/apache/catalina/filters/RemoteIpFilter.java-72- * filter's list of internal or trusted proxies: ############################################## tomcat8-8.5.39/java/org/apache/catalina/filters/RemoteIpFilter.java-475- this.localPort = request.getLocalPort(); tomcat8-8.5.39/java/org/apache/catalina/filters/RemoteIpFilter.java:476: this.remoteAddr = request.getRemoteAddr(); tomcat8-8.5.39/java/org/apache/catalina/filters/RemoteIpFilter.java-477- this.remoteHost = request.getRemoteHost(); ############################################## tomcat8-8.5.39/java/org/apache/catalina/filters/RemoteIpFilter.java-557- @Override tomcat8-8.5.39/java/org/apache/catalina/filters/RemoteIpFilter.java:558: public String getRemoteAddr() { tomcat8-8.5.39/java/org/apache/catalina/filters/RemoteIpFilter.java-559- return this.remoteAddr; ############################################## tomcat8-8.5.39/java/org/apache/catalina/filters/RemoteIpFilter.java-603- tomcat8-8.5.39/java/org/apache/catalina/filters/RemoteIpFilter.java:604: public void setRemoteAddr(String remoteAddr) { tomcat8-8.5.39/java/org/apache/catalina/filters/RemoteIpFilter.java-605- this.remoteAddr = remoteAddr; ############################################## tomcat8-8.5.39/java/org/apache/catalina/filters/RemoteIpFilter.java-783- boolean isInternal = internalProxies != null && tomcat8-8.5.39/java/org/apache/catalina/filters/RemoteIpFilter.java:784: internalProxies.matcher(request.getRemoteAddr()).matches(); tomcat8-8.5.39/java/org/apache/catalina/filters/RemoteIpFilter.java-785- tomcat8-8.5.39/java/org/apache/catalina/filters/RemoteIpFilter.java-786- if (isInternal || (trustedProxies != null && tomcat8-8.5.39/java/org/apache/catalina/filters/RemoteIpFilter.java:787: trustedProxies.matcher(request.getRemoteAddr()).matches())) { tomcat8-8.5.39/java/org/apache/catalina/filters/RemoteIpFilter.java-788- String remoteIp = null; ############################################## tomcat8-8.5.39/java/org/apache/catalina/filters/RemoteIpFilter.java-803- if (!isInternal) { tomcat8-8.5.39/java/org/apache/catalina/filters/RemoteIpFilter.java:804: proxiesHeaderValue.addFirst(request.getRemoteAddr()); tomcat8-8.5.39/java/org/apache/catalina/filters/RemoteIpFilter.java-805- } ############################################## tomcat8-8.5.39/java/org/apache/catalina/filters/RemoteIpFilter.java-829- tomcat8-8.5.39/java/org/apache/catalina/filters/RemoteIpFilter.java:830: xRequest.setRemoteAddr(remoteIp); tomcat8-8.5.39/java/org/apache/catalina/filters/RemoteIpFilter.java-831- xRequest.setRemoteHost(remoteIp); ############################################## tomcat8-8.5.39/java/org/apache/catalina/filters/RemoteIpFilter.java-863- if (log.isDebugEnabled()) { tomcat8-8.5.39/java/org/apache/catalina/filters/RemoteIpFilter.java:864: log.debug("Incoming request " + request.getRequestURI() + " with originalRemoteAddr '" + request.getRemoteAddr() tomcat8-8.5.39/java/org/apache/catalina/filters/RemoteIpFilter.java-865- + "', originalRemoteHost='" + request.getRemoteHost() + "', originalSecure='" + request.isSecure() ############################################## tomcat8-8.5.39/java/org/apache/catalina/filters/RemoteIpFilter.java-868- + (protocolHeader == null ? null : request.getHeader(protocolHeader)) + "' will be seen as newRemoteAddr='" tomcat8-8.5.39/java/org/apache/catalina/filters/RemoteIpFilter.java:869: + xRequest.getRemoteAddr() + "', newRemoteHost='" + xRequest.getRemoteHost() + "', newScheme='" tomcat8-8.5.39/java/org/apache/catalina/filters/RemoteIpFilter.java-870- + xRequest.getScheme() + "', newSecure='" + xRequest.isSecure() + "', new[" + remoteIpHeader + "]='" ############################################## tomcat8-8.5.39/java/org/apache/catalina/filters/RemoteIpFilter.java-874- request.setAttribute(AccessLog.REMOTE_ADDR_ATTRIBUTE, tomcat8-8.5.39/java/org/apache/catalina/filters/RemoteIpFilter.java:875: xRequest.getRemoteAddr()); tomcat8-8.5.39/java/org/apache/catalina/filters/RemoteIpFilter.java-876- request.setAttribute(Globals.REMOTE_ADDR_ATTRIBUTE, tomcat8-8.5.39/java/org/apache/catalina/filters/RemoteIpFilter.java:877: xRequest.getRemoteAddr()); tomcat8-8.5.39/java/org/apache/catalina/filters/RemoteIpFilter.java-878- request.setAttribute(AccessLog.REMOTE_HOST_ATTRIBUTE, ############################################## tomcat8-8.5.39/java/org/apache/catalina/filters/RemoteIpFilter.java-888- log.debug("Skip RemoteIpFilter for request " + request.getRequestURI() + " with originalRemoteAddr '" tomcat8-8.5.39/java/org/apache/catalina/filters/RemoteIpFilter.java:889: + request.getRemoteAddr() + "'"); tomcat8-8.5.39/java/org/apache/catalina/filters/RemoteIpFilter.java-890- } ############################################## tomcat8-8.5.39/java/org/apache/catalina/filters/RequestDumperFilter.java-173- tomcat8-8.5.39/java/org/apache/catalina/filters/RequestDumperFilter.java:174: doLog(" remoteAddr", request.getRemoteAddr()); tomcat8-8.5.39/java/org/apache/catalina/filters/RequestDumperFilter.java-175- doLog(" remoteHost", request.getRemoteHost()); ############################################## tomcat8-8.5.39/java/org/apache/catalina/servlets/CGIServlet.java-437- log.trace("Protocol: [" + req.getProtocol() + "]"); tomcat8-8.5.39/java/org/apache/catalina/servlets/CGIServlet.java:438: log.trace("Remote Address: [" + req.getRemoteAddr() + "]"); tomcat8-8.5.39/java/org/apache/catalina/servlets/CGIServlet.java-439- log.trace("Remote Host: [" + req.getRemoteHost() + "]"); ############################################## tomcat8-8.5.39/java/org/apache/catalina/servlets/CGIServlet.java-1026- tomcat8-8.5.39/java/org/apache/catalina/servlets/CGIServlet.java:1027: envp.put("REMOTE_ADDR", nullsToBlanks(req.getRemoteAddr())); tomcat8-8.5.39/java/org/apache/catalina/servlets/CGIServlet.java-1028- ############################################## tomcat8-8.5.39/java/org/apache/catalina/ssi/SSIServletExternalResolver.java-282- if (nameParts[1].equals("ADDR")) { tomcat8-8.5.39/java/org/apache/catalina/ssi/SSIServletExternalResolver.java:283: retVal = req.getRemoteAddr(); tomcat8-8.5.39/java/org/apache/catalina/ssi/SSIServletExternalResolver.java-284- } else if (nameParts[1].equals("HOST")) { ############################################## tomcat8-8.5.39/java/org/apache/catalina/ssi/SSIServletExternalResolver.java-312- if (nameParts[1].equals("ADDR")) { tomcat8-8.5.39/java/org/apache/catalina/ssi/SSIServletExternalResolver.java:313: retVal = req.getLocalAddr(); tomcat8-8.5.39/java/org/apache/catalina/ssi/SSIServletExternalResolver.java-314- } ############################################## tomcat8-8.5.39/java/org/apache/catalina/valves/AbstractAccessLogValve.java-835- if (addr == null) { tomcat8-8.5.39/java/org/apache/catalina/valves/AbstractAccessLogValve.java:836: buf.append(request.getRemoteAddr()); tomcat8-8.5.39/java/org/apache/catalina/valves/AbstractAccessLogValve.java-837- } else { ############################################## tomcat8-8.5.39/java/org/apache/catalina/valves/AbstractAccessLogValve.java-840- } else { tomcat8-8.5.39/java/org/apache/catalina/valves/AbstractAccessLogValve.java:841: buf.append(request.getRemoteAddr()); tomcat8-8.5.39/java/org/apache/catalina/valves/AbstractAccessLogValve.java-842- } ############################################## tomcat8-8.5.39/java/org/apache/catalina/valves/CrawlerSessionManagerValve.java-179- String sessionId = null; tomcat8-8.5.39/java/org/apache/catalina/valves/CrawlerSessionManagerValve.java:180: String clientIp = request.getRemoteAddr(); tomcat8-8.5.39/java/org/apache/catalina/valves/CrawlerSessionManagerValve.java-181- String clientIdentifier = getClientIdentifier(request.getHost(), request.getContext(), clientIp); ############################################## tomcat8-8.5.39/java/org/apache/catalina/valves/JDBCAccessLogValve.java-482- if (addr == null) { tomcat8-8.5.39/java/org/apache/catalina/valves/JDBCAccessLogValve.java:483: remoteHost = request.getRemoteAddr(); tomcat8-8.5.39/java/org/apache/catalina/valves/JDBCAccessLogValve.java-484- } else { ############################################## tomcat8-8.5.39/java/org/apache/catalina/valves/JDBCAccessLogValve.java-487- } else { tomcat8-8.5.39/java/org/apache/catalina/valves/JDBCAccessLogValve.java:488: remoteHost = request.getRemoteAddr(); tomcat8-8.5.39/java/org/apache/catalina/valves/JDBCAccessLogValve.java-489- } ############################################## tomcat8-8.5.39/java/org/apache/catalina/valves/RemoteAddrValve.java-47- if (getAddConnectorPort()) { tomcat8-8.5.39/java/org/apache/catalina/valves/RemoteAddrValve.java:48: property = request.getRequest().getRemoteAddr() + ";" + request.getConnector().getPort(); tomcat8-8.5.39/java/org/apache/catalina/valves/RemoteAddrValve.java-49- } else { tomcat8-8.5.39/java/org/apache/catalina/valves/RemoteAddrValve.java:50: property = request.getRequest().getRemoteAddr(); tomcat8-8.5.39/java/org/apache/catalina/valves/RemoteAddrValve.java-51- } ############################################## tomcat8-8.5.39/java/org/apache/catalina/valves/RemoteCIDRValve.java-128- tomcat8-8.5.39/java/org/apache/catalina/valves/RemoteCIDRValve.java:129: if (isAllowed(request.getRequest().getRemoteAddr())) { tomcat8-8.5.39/java/org/apache/catalina/valves/RemoteCIDRValve.java-130- getNext().invoke(request, response); ############################################## tomcat8-8.5.39/java/org/apache/catalina/valves/RemoteIpValve.java-49- * <p> tomcat8-8.5.39/java/org/apache/catalina/valves/RemoteIpValve.java:50: * If the incoming <code>request.getRemoteAddr()</code> matches the valve's list tomcat8-8.5.39/java/org/apache/catalina/valves/RemoteIpValve.java-51- * of internal or trusted proxies: ############################################## tomcat8-8.5.39/java/org/apache/catalina/valves/RemoteIpValve.java-568- public void invoke(Request request, Response response) throws IOException, ServletException { tomcat8-8.5.39/java/org/apache/catalina/valves/RemoteIpValve.java:569: final String originalRemoteAddr = request.getRemoteAddr(); tomcat8-8.5.39/java/org/apache/catalina/valves/RemoteIpValve.java-570- final String originalRemoteHost = request.getRemoteHost(); ############################################## tomcat8-8.5.39/java/org/apache/catalina/valves/RemoteIpValve.java-620- tomcat8-8.5.39/java/org/apache/catalina/valves/RemoteIpValve.java:621: request.setRemoteAddr(remoteIp); tomcat8-8.5.39/java/org/apache/catalina/valves/RemoteIpValve.java-622- request.setRemoteHost(remoteIp); ############################################## tomcat8-8.5.39/java/org/apache/catalina/valves/RemoteIpValve.java-656- + "', originalRemoteHost='" + originalRemoteHost + "', originalSecure='" + originalSecure + "', originalScheme='" tomcat8-8.5.39/java/org/apache/catalina/valves/RemoteIpValve.java:657: + originalScheme + "' will be seen as newRemoteAddr='" + request.getRemoteAddr() + "', newRemoteHost='" tomcat8-8.5.39/java/org/apache/catalina/valves/RemoteIpValve.java-658- + request.getRemoteHost() + "', newScheme='" + request.getScheme() + "', newSecure='" + request.isSecure() + "'"); ############################################## tomcat8-8.5.39/java/org/apache/catalina/valves/RemoteIpValve.java-662- log.debug("Skip RemoteIpValve for request " + request.getRequestURI() + " with originalRemoteAddr '" tomcat8-8.5.39/java/org/apache/catalina/valves/RemoteIpValve.java:663: + request.getRemoteAddr() + "'"); tomcat8-8.5.39/java/org/apache/catalina/valves/RemoteIpValve.java-664- } ############################################## tomcat8-8.5.39/java/org/apache/catalina/valves/RemoteIpValve.java-667- request.setAttribute(AccessLog.REMOTE_ADDR_ATTRIBUTE, tomcat8-8.5.39/java/org/apache/catalina/valves/RemoteIpValve.java:668: request.getRemoteAddr()); tomcat8-8.5.39/java/org/apache/catalina/valves/RemoteIpValve.java-669- request.setAttribute(Globals.REMOTE_ADDR_ATTRIBUTE, tomcat8-8.5.39/java/org/apache/catalina/valves/RemoteIpValve.java:670: request.getRemoteAddr()); tomcat8-8.5.39/java/org/apache/catalina/valves/RemoteIpValve.java-671- request.setAttribute(AccessLog.REMOTE_HOST_ATTRIBUTE, ############################################## tomcat8-8.5.39/java/org/apache/catalina/valves/RemoteIpValve.java-680- } finally { tomcat8-8.5.39/java/org/apache/catalina/valves/RemoteIpValve.java:681: request.setRemoteAddr(originalRemoteAddr); tomcat8-8.5.39/java/org/apache/catalina/valves/RemoteIpValve.java-682- request.setRemoteHost(originalRemoteHost); ############################################## tomcat8-8.5.39/java/org/apache/catalina/valves/rewrite/ResolverImpl.java-64- } else if (key.equals("REMOTE_ADDR")) { tomcat8-8.5.39/java/org/apache/catalina/valves/rewrite/ResolverImpl.java:65: return request.getRemoteAddr(); tomcat8-8.5.39/java/org/apache/catalina/valves/rewrite/ResolverImpl.java-66- } else if (key.equals("REMOTE_HOST")) { ############################################## tomcat8-8.5.39/java/org/apache/catalina/valves/rewrite/ResolverImpl.java-94- } else if (key.equals("SERVER_ADDR")) { tomcat8-8.5.39/java/org/apache/catalina/valves/rewrite/ResolverImpl.java:95: return request.getLocalAddr(); tomcat8-8.5.39/java/org/apache/catalina/valves/rewrite/ResolverImpl.java-96- } else if (key.equals("SERVER_PORT")) { ############################################## tomcat8-8.5.39/java/org/apache/coyote/AbstractProcessor.java-446- if (getPopulateRequestAttributesFromSocket() && socketWrapper != null) { tomcat8-8.5.39/java/org/apache/coyote/AbstractProcessor.java:447: request.remoteAddr().setString(socketWrapper.getRemoteAddr()); tomcat8-8.5.39/java/org/apache/coyote/AbstractProcessor.java-448- } ############################################## tomcat8-8.5.39/java/org/apache/coyote/AbstractProcessor.java-462- if (getPopulateRequestAttributesFromSocket() && socketWrapper != null) { tomcat8-8.5.39/java/org/apache/coyote/AbstractProcessor.java:463: request.localAddr().setString(socketWrapper.getLocalAddr()); tomcat8-8.5.39/java/org/apache/coyote/AbstractProcessor.java-464- } ############################################## tomcat8-8.5.39/java/org/apache/coyote/Request.java-253- tomcat8-8.5.39/java/org/apache/coyote/Request.java:254: public MessageBytes remoteAddr() { tomcat8-8.5.39/java/org/apache/coyote/Request.java-255- return remoteAddrMB; ############################################## tomcat8-8.5.39/java/org/apache/coyote/Request.java-265- tomcat8-8.5.39/java/org/apache/coyote/Request.java:266: public MessageBytes localAddr() { tomcat8-8.5.39/java/org/apache/coyote/Request.java-267- return localAddrMB; ############################################## tomcat8-8.5.39/java/org/apache/coyote/RequestInfo.java-93- tomcat8-8.5.39/java/org/apache/coyote/RequestInfo.java:94: public String getRemoteAddr() { tomcat8-8.5.39/java/org/apache/coyote/RequestInfo.java-95- req.action(ActionCode.REQ_HOST_ADDR_ATTRIBUTE, null); tomcat8-8.5.39/java/org/apache/coyote/RequestInfo.java:96: return req.remoteAddr().toString(); tomcat8-8.5.39/java/org/apache/coyote/RequestInfo.java-97- } ############################################## tomcat8-8.5.39/java/org/apache/coyote/RequestInfo.java-107- if (remoteAddrProxy == null) { tomcat8-8.5.39/java/org/apache/coyote/RequestInfo.java:108: return getRemoteAddr(); tomcat8-8.5.39/java/org/apache/coyote/RequestInfo.java-109- } ############################################## tomcat8-8.5.39/java/org/apache/coyote/ajp/AjpProcessor.java-707- tomcat8-8.5.39/java/org/apache/coyote/ajp/AjpProcessor.java:708: requestHeaderMessage.getBytes(request.remoteAddr()); tomcat8-8.5.39/java/org/apache/coyote/ajp/AjpProcessor.java-709- requestHeaderMessage.getBytes(request.remoteHost()); ############################################## tomcat8-8.5.39/java/org/apache/coyote/ajp/AjpProcessor.java-798- if(n.equals(Constants.SC_A_REQ_LOCAL_ADDR)) { tomcat8-8.5.39/java/org/apache/coyote/ajp/AjpProcessor.java:799: request.localAddr().setString(v); tomcat8-8.5.39/java/org/apache/coyote/ajp/AjpProcessor.java-800- } else if(n.equals(Constants.SC_A_REQ_REMOTE_PORT)) { ############################################## tomcat8-8.5.39/java/org/apache/coyote/ajp/AjpProcessor.java-1176- request.remoteHost().setString(InetAddress.getByName tomcat8-8.5.39/java/org/apache/coyote/ajp/AjpProcessor.java:1177: (request.remoteAddr().toString()).getHostName()); tomcat8-8.5.39/java/org/apache/coyote/ajp/AjpProcessor.java-1178- } catch (IOException iex) { ############################################## tomcat8-8.5.39/java/org/apache/naming/EjbRef.java-84- if (ejbType != null) { tomcat8-8.5.39/java/org/apache/naming/EjbRef.java:85: refAddr = new StringRefAddr(TYPE, ejbType); tomcat8-8.5.39/java/org/apache/naming/EjbRef.java-86- add(refAddr); ############################################## tomcat8-8.5.39/java/org/apache/naming/EjbRef.java-88- if (remote != null) { tomcat8-8.5.39/java/org/apache/naming/EjbRef.java:89: refAddr = new StringRefAddr(REMOTE, remote); tomcat8-8.5.39/java/org/apache/naming/EjbRef.java-90- add(refAddr); ############################################## tomcat8-8.5.39/java/org/apache/naming/EjbRef.java-92- if (link != null) { tomcat8-8.5.39/java/org/apache/naming/EjbRef.java:93: refAddr = new StringRefAddr(LINK, link); tomcat8-8.5.39/java/org/apache/naming/EjbRef.java-94- add(refAddr); ############################################## tomcat8-8.5.39/java/org/apache/naming/HandlerRef.java-95- if (refname != null) { tomcat8-8.5.39/java/org/apache/naming/HandlerRef.java:96: refAddr = new StringRefAddr(HANDLER_NAME, refname); tomcat8-8.5.39/java/org/apache/naming/HandlerRef.java-97- add(refAddr); ############################################## tomcat8-8.5.39/java/org/apache/naming/HandlerRef.java-99- if (handlerClass != null) { tomcat8-8.5.39/java/org/apache/naming/HandlerRef.java:100: refAddr = new StringRefAddr(HANDLER_CLASS, handlerClass); tomcat8-8.5.39/java/org/apache/naming/HandlerRef.java-101- add(refAddr); ############################################## tomcat8-8.5.39/java/org/apache/naming/LookupRef.java-42- if (lookupName != null && !lookupName.equals("")) { tomcat8-8.5.39/java/org/apache/naming/LookupRef.java:43: RefAddr ref = new StringRefAddr(LOOKUP_NAME, lookupName); tomcat8-8.5.39/java/org/apache/naming/LookupRef.java-44- add(ref); ############################################## tomcat8-8.5.39/java/org/apache/naming/ResourceLinkRef.java-57- if (globalName != null) { tomcat8-8.5.39/java/org/apache/naming/ResourceLinkRef.java:58: refAddr = new StringRefAddr(GLOBALNAME, globalName); tomcat8-8.5.39/java/org/apache/naming/ResourceLinkRef.java-59- add(refAddr); ############################################## tomcat8-8.5.39/java/org/apache/naming/ResourceRef.java-96- if (description != null) { tomcat8-8.5.39/java/org/apache/naming/ResourceRef.java:97: refAddr = new StringRefAddr(DESCRIPTION, description); tomcat8-8.5.39/java/org/apache/naming/ResourceRef.java-98- add(refAddr); ############################################## tomcat8-8.5.39/java/org/apache/naming/ResourceRef.java-100- if (scope != null) { tomcat8-8.5.39/java/org/apache/naming/ResourceRef.java:101: refAddr = new StringRefAddr(SCOPE, scope); tomcat8-8.5.39/java/org/apache/naming/ResourceRef.java-102- add(refAddr); ############################################## tomcat8-8.5.39/java/org/apache/naming/ResourceRef.java-104- if (auth != null) { tomcat8-8.5.39/java/org/apache/naming/ResourceRef.java:105: refAddr = new StringRefAddr(AUTH, auth); tomcat8-8.5.39/java/org/apache/naming/ResourceRef.java-106- add(refAddr); ############################################## tomcat8-8.5.39/java/org/apache/naming/ResourceRef.java-108- // singleton is a boolean so slightly different handling tomcat8-8.5.39/java/org/apache/naming/ResourceRef.java:109: refAddr = new StringRefAddr(SINGLETON, Boolean.toString(singleton)); tomcat8-8.5.39/java/org/apache/naming/ResourceRef.java-110- add(refAddr); ############################################## tomcat8-8.5.39/java/org/apache/naming/ServiceRef.java-97- if (serviceInterface != null) { tomcat8-8.5.39/java/org/apache/naming/ServiceRef.java:98: refAddr = new StringRefAddr(SERVICE_INTERFACE, serviceInterface); tomcat8-8.5.39/java/org/apache/naming/ServiceRef.java-99- add(refAddr); ############################################## tomcat8-8.5.39/java/org/apache/naming/ServiceRef.java-101- if (serviceQname[0] != null) { tomcat8-8.5.39/java/org/apache/naming/ServiceRef.java:102: refAddr = new StringRefAddr(SERVICE_NAMESPACE, serviceQname[0]); tomcat8-8.5.39/java/org/apache/naming/ServiceRef.java-103- add(refAddr); ############################################## tomcat8-8.5.39/java/org/apache/naming/ServiceRef.java-105- if (serviceQname[1] != null) { tomcat8-8.5.39/java/org/apache/naming/ServiceRef.java:106: refAddr = new StringRefAddr(SERVICE_LOCAL_PART, serviceQname[1]); tomcat8-8.5.39/java/org/apache/naming/ServiceRef.java-107- add(refAddr); ############################################## tomcat8-8.5.39/java/org/apache/naming/ServiceRef.java-109- if (wsdl != null) { tomcat8-8.5.39/java/org/apache/naming/ServiceRef.java:110: refAddr = new StringRefAddr(WSDL, wsdl); tomcat8-8.5.39/java/org/apache/naming/ServiceRef.java-111- add(refAddr); ############################################## tomcat8-8.5.39/java/org/apache/naming/ServiceRef.java-113- if (jaxrpcmapping != null) { tomcat8-8.5.39/java/org/apache/naming/ServiceRef.java:114: refAddr = new StringRefAddr(JAXRPCMAPPING, jaxrpcmapping); tomcat8-8.5.39/java/org/apache/naming/ServiceRef.java-115- add(refAddr); ############################################## tomcat8-8.5.39/java/org/apache/tomcat/dbcp/dbcp2/cpdsadapter/DriverAdapterCPDS.java-228- tomcat8-8.5.39/java/org/apache/tomcat/dbcp/dbcp2/cpdsadapter/DriverAdapterCPDS.java:229: ref.add(new StringRefAddr("description", getDescription())); tomcat8-8.5.39/java/org/apache/tomcat/dbcp/dbcp2/cpdsadapter/DriverAdapterCPDS.java:230: ref.add(new StringRefAddr("driver", getDriver())); tomcat8-8.5.39/java/org/apache/tomcat/dbcp/dbcp2/cpdsadapter/DriverAdapterCPDS.java:231: ref.add(new StringRefAddr("loginTimeout", String.valueOf(getLoginTimeout()))); tomcat8-8.5.39/java/org/apache/tomcat/dbcp/dbcp2/cpdsadapter/DriverAdapterCPDS.java:232: ref.add(new StringRefAddr(KEY_PASSWORD, getPassword())); tomcat8-8.5.39/java/org/apache/tomcat/dbcp/dbcp2/cpdsadapter/DriverAdapterCPDS.java:233: ref.add(new StringRefAddr(KEY_USER, getUser())); tomcat8-8.5.39/java/org/apache/tomcat/dbcp/dbcp2/cpdsadapter/DriverAdapterCPDS.java:234: ref.add(new StringRefAddr("url", getUrl())); tomcat8-8.5.39/java/org/apache/tomcat/dbcp/dbcp2/cpdsadapter/DriverAdapterCPDS.java-235- tomcat8-8.5.39/java/org/apache/tomcat/dbcp/dbcp2/cpdsadapter/DriverAdapterCPDS.java:236: ref.add(new StringRefAddr("poolPreparedStatements", String.valueOf(isPoolPreparedStatements()))); tomcat8-8.5.39/java/org/apache/tomcat/dbcp/dbcp2/cpdsadapter/DriverAdapterCPDS.java:237: ref.add(new StringRefAddr("maxIdle", String.valueOf(getMaxIdle()))); tomcat8-8.5.39/java/org/apache/tomcat/dbcp/dbcp2/cpdsadapter/DriverAdapterCPDS.java:238: ref.add(new StringRefAddr("timeBetweenEvictionRunsMillis", String.valueOf(getTimeBetweenEvictionRunsMillis()))); tomcat8-8.5.39/java/org/apache/tomcat/dbcp/dbcp2/cpdsadapter/DriverAdapterCPDS.java:239: ref.add(new StringRefAddr("numTestsPerEvictionRun", String.valueOf(getNumTestsPerEvictionRun()))); tomcat8-8.5.39/java/org/apache/tomcat/dbcp/dbcp2/cpdsadapter/DriverAdapterCPDS.java:240: ref.add(new StringRefAddr("minEvictableIdleTimeMillis", String.valueOf(getMinEvictableIdleTimeMillis()))); tomcat8-8.5.39/java/org/apache/tomcat/dbcp/dbcp2/cpdsadapter/DriverAdapterCPDS.java:241: ref.add(new StringRefAddr("maxPreparedStatements", String.valueOf(getMaxPreparedStatements()))); tomcat8-8.5.39/java/org/apache/tomcat/dbcp/dbcp2/cpdsadapter/DriverAdapterCPDS.java-242- ############################################## tomcat8-8.5.39/java/org/apache/tomcat/dbcp/dbcp2/datasources/PerUserPoolDataSource.java-599- final Reference ref = new Reference(getClass().getName(), PerUserPoolDataSourceFactory.class.getName(), null); tomcat8-8.5.39/java/org/apache/tomcat/dbcp/dbcp2/datasources/PerUserPoolDataSource.java:600: ref.add(new StringRefAddr("instanceKey", getInstanceKey())); tomcat8-8.5.39/java/org/apache/tomcat/dbcp/dbcp2/datasources/PerUserPoolDataSource.java-601- return ref; ############################################## tomcat8-8.5.39/java/org/apache/tomcat/dbcp/dbcp2/datasources/SharedPoolDataSource.java-162- final Reference ref = new Reference(getClass().getName(), SharedPoolDataSourceFactory.class.getName(), null); tomcat8-8.5.39/java/org/apache/tomcat/dbcp/dbcp2/datasources/SharedPoolDataSource.java:163: ref.add(new StringRefAddr("instanceKey", getInstanceKey())); tomcat8-8.5.39/java/org/apache/tomcat/dbcp/dbcp2/datasources/SharedPoolDataSource.java-164- return ref; ############################################## tomcat8-8.5.39/java/org/apache/tomcat/jni/Shm.java-105- */ tomcat8-8.5.39/java/org/apache/tomcat/jni/Shm.java:106: public static native long baseaddr(long m); tomcat8-8.5.39/java/org/apache/tomcat/jni/Shm.java-107- ############################################## tomcat8-8.5.39/java/org/apache/tomcat/util/net/AprEndpoint.java-2590- @Override tomcat8-8.5.39/java/org/apache/tomcat/util/net/AprEndpoint.java:2591: protected void populateRemoteAddr() { tomcat8-8.5.39/java/org/apache/tomcat/util/net/AprEndpoint.java-2592- if (closed) { ############################################## tomcat8-8.5.39/java/org/apache/tomcat/util/net/AprEndpoint.java-2654- @Override tomcat8-8.5.39/java/org/apache/tomcat/util/net/AprEndpoint.java:2655: protected void populateLocalAddr() { tomcat8-8.5.39/java/org/apache/tomcat/util/net/AprEndpoint.java-2656- if (closed) { ############################################## tomcat8-8.5.39/java/org/apache/tomcat/util/net/Nio2Endpoint.java-1540- @Override tomcat8-8.5.39/java/org/apache/tomcat/util/net/Nio2Endpoint.java:1541: protected void populateRemoteAddr() { tomcat8-8.5.39/java/org/apache/tomcat/util/net/Nio2Endpoint.java-1542- SocketAddress socketAddress = null; ############################################## tomcat8-8.5.39/java/org/apache/tomcat/util/net/Nio2Endpoint.java-1599- @Override tomcat8-8.5.39/java/org/apache/tomcat/util/net/Nio2Endpoint.java:1600: protected void populateLocalAddr() { tomcat8-8.5.39/java/org/apache/tomcat/util/net/Nio2Endpoint.java-1601- SocketAddress socketAddress = null; ############################################## tomcat8-8.5.39/java/org/apache/tomcat/util/net/NioEndpoint.java-1356- @Override tomcat8-8.5.39/java/org/apache/tomcat/util/net/NioEndpoint.java:1357: protected void populateRemoteAddr() { tomcat8-8.5.39/java/org/apache/tomcat/util/net/NioEndpoint.java-1358- InetAddress inetAddr = getSocket().getIOChannel().socket().getInetAddress(); ############################################## tomcat8-8.5.39/java/org/apache/tomcat/util/net/NioEndpoint.java-1392- @Override tomcat8-8.5.39/java/org/apache/tomcat/util/net/NioEndpoint.java:1393: protected void populateLocalAddr() { tomcat8-8.5.39/java/org/apache/tomcat/util/net/NioEndpoint.java-1394- InetAddress inetAddr = getSocket().getIOChannel().socket().getLocalAddress(); ############################################## tomcat8-8.5.39/java/org/apache/tomcat/util/net/SocketWrapperBase.java-183- tomcat8-8.5.39/java/org/apache/tomcat/util/net/SocketWrapperBase.java:184: public String getRemoteAddr() { tomcat8-8.5.39/java/org/apache/tomcat/util/net/SocketWrapperBase.java-185- if (remoteAddr == null) { tomcat8-8.5.39/java/org/apache/tomcat/util/net/SocketWrapperBase.java:186: populateRemoteAddr(); tomcat8-8.5.39/java/org/apache/tomcat/util/net/SocketWrapperBase.java-187- } ############################################## tomcat8-8.5.39/java/org/apache/tomcat/util/net/SocketWrapperBase.java-189- } tomcat8-8.5.39/java/org/apache/tomcat/util/net/SocketWrapperBase.java:190: protected abstract void populateRemoteAddr(); tomcat8-8.5.39/java/org/apache/tomcat/util/net/SocketWrapperBase.java-191- ############################################## tomcat8-8.5.39/java/org/apache/tomcat/util/net/SocketWrapperBase.java-207- tomcat8-8.5.39/java/org/apache/tomcat/util/net/SocketWrapperBase.java:208: public String getLocalAddr() { tomcat8-8.5.39/java/org/apache/tomcat/util/net/SocketWrapperBase.java-209- if (localAddr == null) { tomcat8-8.5.39/java/org/apache/tomcat/util/net/SocketWrapperBase.java:210: populateLocalAddr(); tomcat8-8.5.39/java/org/apache/tomcat/util/net/SocketWrapperBase.java-211- } ############################################## tomcat8-8.5.39/java/org/apache/tomcat/util/net/SocketWrapperBase.java-213- } tomcat8-8.5.39/java/org/apache/tomcat/util/net/SocketWrapperBase.java:214: protected abstract void populateLocalAddr(); tomcat8-8.5.39/java/org/apache/tomcat/util/net/SocketWrapperBase.java-215- ############################################## tomcat8-8.5.39/res/tomcat.nsi-1307- SetFileAttributes "$0" "NORMAL" tomcat8-8.5.39/res/tomcat.nsi:1308: System::Call "kernel32::RemoveDirectoryW(w `$0`) i.n" tomcat8-8.5.39/res/tomcat.nsi-1309- RemoveSymlinks-exit: ############################################## tomcat8-8.5.39/test/javax/el/TestELProcessor.java-34- ELProcessor elp = new ELProcessor(); tomcat8-8.5.39/test/javax/el/TestELProcessor.java:35: elp.eval("${1+1}"); tomcat8-8.5.39/test/javax/el/TestELProcessor.java-36- } ############################################## tomcat8-8.5.39/test/org/apache/catalina/authenticator/TestDigestAuthenticator.java-392- @Override tomcat8-8.5.39/test/org/apache/catalina/authenticator/TestDigestAuthenticator.java:393: public String getRemoteAddr() { tomcat8-8.5.39/test/org/apache/catalina/authenticator/TestDigestAuthenticator.java-394- return "127.0.0.1"; ############################################## tomcat8-8.5.39/test/org/apache/catalina/authenticator/TesterDigestAuthenticatorPerformance.java-236- @Override tomcat8-8.5.39/test/org/apache/catalina/authenticator/TesterDigestAuthenticatorPerformance.java:237: public String getRemoteAddr() { tomcat8-8.5.39/test/org/apache/catalina/authenticator/TesterDigestAuthenticatorPerformance.java-238- return "127.0.0.1"; ############################################## tomcat8-8.5.39/test/org/apache/catalina/filters/TestRemoteIpFilter.java-94- tomcat8-8.5.39/test/org/apache/catalina/filters/TestRemoteIpFilter.java:95: writer.println("request.remoteAddr=" + request.getRemoteAddr()); tomcat8-8.5.39/test/org/apache/catalina/filters/TestRemoteIpFilter.java-96- writer.println("request.remoteHost=" + request.getRemoteHost()); ############################################## tomcat8-8.5.39/test/org/apache/catalina/filters/TestRemoteIpFilter.java-196- MockHttpServletRequest request = new MockHttpServletRequest(); tomcat8-8.5.39/test/org/apache/catalina/filters/TestRemoteIpFilter.java:197: request.setRemoteAddr("192.168.0.10"); tomcat8-8.5.39/test/org/apache/catalina/filters/TestRemoteIpFilter.java-198- request.setSecure(true); ############################################## tomcat8-8.5.39/test/org/apache/catalina/filters/TestRemoteIpFilter.java-215- tomcat8-8.5.39/test/org/apache/catalina/filters/TestRemoteIpFilter.java:216: String actualRemoteAddr = actualRequest.getRemoteAddr(); tomcat8-8.5.39/test/org/apache/catalina/filters/TestRemoteIpFilter.java-217- Assert.assertEquals("remoteAddr", "140.211.11.130", actualRemoteAddr); ############################################## tomcat8-8.5.39/test/org/apache/catalina/filters/TestRemoteIpFilter.java-229- MockHttpServletRequest request = new MockHttpServletRequest(); tomcat8-8.5.39/test/org/apache/catalina/filters/TestRemoteIpFilter.java:230: request.setRemoteAddr("192.168.0.10"); tomcat8-8.5.39/test/org/apache/catalina/filters/TestRemoteIpFilter.java-231- request.setSecure(true); ############################################## tomcat8-8.5.39/test/org/apache/catalina/filters/TestRemoteIpFilter.java-245- tomcat8-8.5.39/test/org/apache/catalina/filters/TestRemoteIpFilter.java:246: String actualRemoteAddr = actualRequest.getRemoteAddr(); tomcat8-8.5.39/test/org/apache/catalina/filters/TestRemoteIpFilter.java-247- Assert.assertEquals("remoteAddr", "140.211.11.130", actualRemoteAddr); ############################################## tomcat8-8.5.39/test/org/apache/catalina/filters/TestRemoteIpFilter.java-263- MockHttpServletRequest request = new MockHttpServletRequest(); tomcat8-8.5.39/test/org/apache/catalina/filters/TestRemoteIpFilter.java:264: request.setRemoteAddr("192.168.0.10"); tomcat8-8.5.39/test/org/apache/catalina/filters/TestRemoteIpFilter.java-265- request.setRemoteHost("remote-host-original-value"); ############################################## tomcat8-8.5.39/test/org/apache/catalina/filters/TestRemoteIpFilter.java-276- tomcat8-8.5.39/test/org/apache/catalina/filters/TestRemoteIpFilter.java:277: String actualRemoteAddr = actualRequest.getRemoteAddr(); tomcat8-8.5.39/test/org/apache/catalina/filters/TestRemoteIpFilter.java-278- Assert.assertEquals("remoteAddr", "192.168.0.10", actualRemoteAddr); ############################################## tomcat8-8.5.39/test/org/apache/catalina/filters/TestRemoteIpFilter.java-294- MockHttpServletRequest request = new MockHttpServletRequest(); tomcat8-8.5.39/test/org/apache/catalina/filters/TestRemoteIpFilter.java:295: request.setRemoteAddr("192.168.0.10"); tomcat8-8.5.39/test/org/apache/catalina/filters/TestRemoteIpFilter.java-296- request.setRemoteHost("remote-host-original-value"); ############################################## tomcat8-8.5.39/test/org/apache/catalina/filters/TestRemoteIpFilter.java-308- tomcat8-8.5.39/test/org/apache/catalina/filters/TestRemoteIpFilter.java:309: String actualRemoteAddr = actualRequest.getRemoteAddr(); tomcat8-8.5.39/test/org/apache/catalina/filters/TestRemoteIpFilter.java-310- Assert.assertEquals("remoteAddr", "140.211.11.130", actualRemoteAddr); ############################################## tomcat8-8.5.39/test/org/apache/catalina/filters/TestRemoteIpFilter.java-329- tomcat8-8.5.39/test/org/apache/catalina/filters/TestRemoteIpFilter.java:330: request.setRemoteAddr("192.168.0.10"); tomcat8-8.5.39/test/org/apache/catalina/filters/TestRemoteIpFilter.java-331- request.setRemoteHost("remote-host-original-value"); ############################################## tomcat8-8.5.39/test/org/apache/catalina/filters/TestRemoteIpFilter.java-343- tomcat8-8.5.39/test/org/apache/catalina/filters/TestRemoteIpFilter.java:344: String actualRemoteAddr = actualRequest.getRemoteAddr(); tomcat8-8.5.39/test/org/apache/catalina/filters/TestRemoteIpFilter.java-345- Assert.assertEquals("remoteAddr", "140.211.11.130", actualRemoteAddr); ############################################## tomcat8-8.5.39/test/org/apache/catalina/filters/TestRemoteIpFilter.java-364- tomcat8-8.5.39/test/org/apache/catalina/filters/TestRemoteIpFilter.java:365: request.setRemoteAddr("proxy3"); tomcat8-8.5.39/test/org/apache/catalina/filters/TestRemoteIpFilter.java-366- request.setRemoteHost("remote-host-original-value"); ############################################## tomcat8-8.5.39/test/org/apache/catalina/filters/TestRemoteIpFilter.java-378- tomcat8-8.5.39/test/org/apache/catalina/filters/TestRemoteIpFilter.java:379: String actualRemoteAddr = actualRequest.getRemoteAddr(); tomcat8-8.5.39/test/org/apache/catalina/filters/TestRemoteIpFilter.java-380- Assert.assertEquals("remoteAddr", "140.211.11.130", actualRemoteAddr); ############################################## tomcat8-8.5.39/test/org/apache/catalina/filters/TestRemoteIpFilter.java-398- tomcat8-8.5.39/test/org/apache/catalina/filters/TestRemoteIpFilter.java:399: request.setRemoteAddr("proxy3"); tomcat8-8.5.39/test/org/apache/catalina/filters/TestRemoteIpFilter.java-400- request.setRemoteHost("remote-host-original-value"); ############################################## tomcat8-8.5.39/test/org/apache/catalina/filters/TestRemoteIpFilter.java-412- tomcat8-8.5.39/test/org/apache/catalina/filters/TestRemoteIpFilter.java:413: String actualRemoteAddr = actualRequest.getRemoteAddr(); tomcat8-8.5.39/test/org/apache/catalina/filters/TestRemoteIpFilter.java-414- Assert.assertEquals("remoteAddr", "140.211.11.130", actualRemoteAddr); ############################################## tomcat8-8.5.39/test/org/apache/catalina/filters/TestRemoteIpFilter.java-430- MockHttpServletRequest request = new MockHttpServletRequest(); tomcat8-8.5.39/test/org/apache/catalina/filters/TestRemoteIpFilter.java:431: request.setRemoteAddr("192.168.0.10"); tomcat8-8.5.39/test/org/apache/catalina/filters/TestRemoteIpFilter.java-432- request.setRemoteHost("remote-host-original-value"); ############################################## tomcat8-8.5.39/test/org/apache/catalina/filters/TestRemoteIpFilter.java-446- tomcat8-8.5.39/test/org/apache/catalina/filters/TestRemoteIpFilter.java:447: String actualRemoteAddr = actualRequest.getRemoteAddr(); tomcat8-8.5.39/test/org/apache/catalina/filters/TestRemoteIpFilter.java-448- Assert.assertEquals("remoteAddr", "140.211.11.130", actualRemoteAddr); ############################################## tomcat8-8.5.39/test/org/apache/catalina/filters/TestRemoteIpFilter.java-465- tomcat8-8.5.39/test/org/apache/catalina/filters/TestRemoteIpFilter.java:466: request.setRemoteAddr("192.168.0.10"); tomcat8-8.5.39/test/org/apache/catalina/filters/TestRemoteIpFilter.java-467- request.setRemoteHost("remote-host-original-value"); ############################################## tomcat8-8.5.39/test/org/apache/catalina/filters/TestRemoteIpFilter.java-479- tomcat8-8.5.39/test/org/apache/catalina/filters/TestRemoteIpFilter.java:480: String actualRemoteAddr = actualRequest.getRemoteAddr(); tomcat8-8.5.39/test/org/apache/catalina/filters/TestRemoteIpFilter.java-481- Assert.assertEquals("remoteAddr", "140.211.11.130", actualRemoteAddr); ############################################## tomcat8-8.5.39/test/org/apache/catalina/filters/TestRemoteIpFilter.java-487- @Test tomcat8-8.5.39/test/org/apache/catalina/filters/TestRemoteIpFilter.java:488: public void testInvokeNotAllowedRemoteAddr() throws Exception { tomcat8-8.5.39/test/org/apache/catalina/filters/TestRemoteIpFilter.java-489- // PREPARE ############################################## tomcat8-8.5.39/test/org/apache/catalina/filters/TestRemoteIpFilter.java-497- tomcat8-8.5.39/test/org/apache/catalina/filters/TestRemoteIpFilter.java:498: request.setRemoteAddr("not-allowed-internal-proxy"); tomcat8-8.5.39/test/org/apache/catalina/filters/TestRemoteIpFilter.java-499- request.setRemoteHost("not-allowed-internal-proxy-host"); ############################################## tomcat8-8.5.39/test/org/apache/catalina/filters/TestRemoteIpFilter.java-511- tomcat8-8.5.39/test/org/apache/catalina/filters/TestRemoteIpFilter.java:512: String actualRemoteAddr = actualRequest.getRemoteAddr(); tomcat8-8.5.39/test/org/apache/catalina/filters/TestRemoteIpFilter.java-513- Assert.assertEquals("remoteAddr", "not-allowed-internal-proxy", actualRemoteAddr); ############################################## tomcat8-8.5.39/test/org/apache/catalina/filters/TestRemoteIpFilter.java-529- tomcat8-8.5.39/test/org/apache/catalina/filters/TestRemoteIpFilter.java:530: request.setRemoteAddr("192.168.0.10"); tomcat8-8.5.39/test/org/apache/catalina/filters/TestRemoteIpFilter.java-531- request.setRemoteHost("remote-host-original-value"); ############################################## tomcat8-8.5.39/test/org/apache/catalina/filters/TestRemoteIpFilter.java-543- tomcat8-8.5.39/test/org/apache/catalina/filters/TestRemoteIpFilter.java:544: String actualRemoteAddr = actualRequest.getRemoteAddr(); tomcat8-8.5.39/test/org/apache/catalina/filters/TestRemoteIpFilter.java-545- Assert.assertEquals("remoteAddr", "untrusted-proxy", actualRemoteAddr); ############################################## tomcat8-8.5.39/test/org/apache/catalina/filters/TestRemoteIpFilter.java-606- MockHttpServletRequest request = new MockHttpServletRequest(); tomcat8-8.5.39/test/org/apache/catalina/filters/TestRemoteIpFilter.java:607: request.setRemoteAddr("192.168.0.10"); tomcat8-8.5.39/test/org/apache/catalina/filters/TestRemoteIpFilter.java-608- request.setHeader("x-my-forwarded-for", "140.211.11.130"); ############################################## tomcat8-8.5.39/test/org/apache/catalina/filters/TestRemoteIpFilter.java-674- // VALIDATE X-FORWARDED-FOR tomcat8-8.5.39/test/org/apache/catalina/filters/TestRemoteIpFilter.java:675: Assert.assertEquals(expectedRemoteAddr, request.getRemoteAddr()); tomcat8-8.5.39/test/org/apache/catalina/filters/TestRemoteIpFilter.java-676- Assert.assertEquals(expectedRemoteAddr, request.getRemoteHost()); ############################################## tomcat8-8.5.39/test/org/apache/catalina/filters/TesterHttpServletRequest.java-156- @Override tomcat8-8.5.39/test/org/apache/catalina/filters/TesterHttpServletRequest.java:157: public String getRemoteAddr() { tomcat8-8.5.39/test/org/apache/catalina/filters/TesterHttpServletRequest.java-158- throw new RuntimeException("Not implemented"); ############################################## tomcat8-8.5.39/test/org/apache/catalina/filters/TesterHttpServletRequest.java-211- @Override tomcat8-8.5.39/test/org/apache/catalina/filters/TesterHttpServletRequest.java:212: public String getLocalAddr() { tomcat8-8.5.39/test/org/apache/catalina/filters/TesterHttpServletRequest.java-213- throw new RuntimeException("Not implemented"); ############################################## tomcat8-8.5.39/test/org/apache/catalina/startup/TomcatBaseTest.java-490- out.println("REQUEST-LOCAL-NAME: " + request.getLocalName()); tomcat8-8.5.39/test/org/apache/catalina/startup/TomcatBaseTest.java:491: out.println("REQUEST-LOCAL-ADDR: " + request.getLocalAddr()); tomcat8-8.5.39/test/org/apache/catalina/startup/TomcatBaseTest.java-492- out.println("REQUEST-LOCAL-PORT: " + request.getLocalPort()); tomcat8-8.5.39/test/org/apache/catalina/startup/TomcatBaseTest.java-493- out.println("REQUEST-REMOTE-HOST: " + request.getRemoteHost()); tomcat8-8.5.39/test/org/apache/catalina/startup/TomcatBaseTest.java:494: out.println("REQUEST-REMOTE-ADDR: " + request.getRemoteAddr()); tomcat8-8.5.39/test/org/apache/catalina/startup/TomcatBaseTest.java-495- out.println("REQUEST-REMOTE-PORT: " + request.getRemotePort()); ############################################## tomcat8-8.5.39/test/org/apache/catalina/valves/TestRemoteIpValve.java-46- tomcat8-8.5.39/test/org/apache/catalina/valves/TestRemoteIpValve.java:47: public String getRemoteAddr() { tomcat8-8.5.39/test/org/apache/catalina/valves/TestRemoteIpValve.java-48- return remoteAddr; ############################################## tomcat8-8.5.39/test/org/apache/catalina/valves/TestRemoteIpValve.java-77- this.remoteHost = request.getRemoteHost(); tomcat8-8.5.39/test/org/apache/catalina/valves/TestRemoteIpValve.java:78: this.remoteAddr = request.getRemoteAddr(); tomcat8-8.5.39/test/org/apache/catalina/valves/TestRemoteIpValve.java-79- this.scheme = request.getScheme(); ############################################## tomcat8-8.5.39/test/org/apache/catalina/valves/TestRemoteIpValve.java-131- request.setCoyoteRequest(new org.apache.coyote.Request()); tomcat8-8.5.39/test/org/apache/catalina/valves/TestRemoteIpValve.java:132: request.setRemoteAddr("192.168.0.10"); tomcat8-8.5.39/test/org/apache/catalina/valves/TestRemoteIpValve.java-133- request.setRemoteHost("remote-host-original-value"); ############################################## tomcat8-8.5.39/test/org/apache/catalina/valves/TestRemoteIpValve.java-144- tomcat8-8.5.39/test/org/apache/catalina/valves/TestRemoteIpValve.java:145: String actualRemoteAddr = remoteAddrAndHostTrackerValve.getRemoteAddr(); tomcat8-8.5.39/test/org/apache/catalina/valves/TestRemoteIpValve.java-146- Assert.assertEquals("remoteAddr", "192.168.0.10", actualRemoteAddr); ############################################## tomcat8-8.5.39/test/org/apache/catalina/valves/TestRemoteIpValve.java-150- tomcat8-8.5.39/test/org/apache/catalina/valves/TestRemoteIpValve.java:151: String actualPostInvokeRemoteAddr = request.getRemoteAddr(); tomcat8-8.5.39/test/org/apache/catalina/valves/TestRemoteIpValve.java-152- Assert.assertEquals("postInvoke remoteAddr", "192.168.0.10", actualPostInvokeRemoteAddr); ############################################## tomcat8-8.5.39/test/org/apache/catalina/valves/TestRemoteIpValve.java-172- request.setCoyoteRequest(new org.apache.coyote.Request()); tomcat8-8.5.39/test/org/apache/catalina/valves/TestRemoteIpValve.java:173: request.setRemoteAddr("192.168.0.10"); tomcat8-8.5.39/test/org/apache/catalina/valves/TestRemoteIpValve.java-174- request.setRemoteHost("remote-host-original-value"); ############################################## tomcat8-8.5.39/test/org/apache/catalina/valves/TestRemoteIpValve.java-186- tomcat8-8.5.39/test/org/apache/catalina/valves/TestRemoteIpValve.java:187: String actualRemoteAddr = remoteAddrAndHostTrackerValve.getRemoteAddr(); tomcat8-8.5.39/test/org/apache/catalina/valves/TestRemoteIpValve.java-188- Assert.assertEquals("remoteAddr", "140.211.11.130", actualRemoteAddr); ############################################## tomcat8-8.5.39/test/org/apache/catalina/valves/TestRemoteIpValve.java-192- tomcat8-8.5.39/test/org/apache/catalina/valves/TestRemoteIpValve.java:193: String actualPostInvokeRemoteAddr = request.getRemoteAddr(); tomcat8-8.5.39/test/org/apache/catalina/valves/TestRemoteIpValve.java-194- Assert.assertEquals("postInvoke remoteAddr", "192.168.0.10", actualPostInvokeRemoteAddr); ############################################## tomcat8-8.5.39/test/org/apache/catalina/valves/TestRemoteIpValve.java-213- request.setCoyoteRequest(new org.apache.coyote.Request()); tomcat8-8.5.39/test/org/apache/catalina/valves/TestRemoteIpValve.java:214: request.setRemoteAddr("proxy3"); tomcat8-8.5.39/test/org/apache/catalina/valves/TestRemoteIpValve.java-215- request.setRemoteHost("remote-host-original-value"); ############################################## tomcat8-8.5.39/test/org/apache/catalina/valves/TestRemoteIpValve.java-227- tomcat8-8.5.39/test/org/apache/catalina/valves/TestRemoteIpValve.java:228: String actualRemoteAddr = remoteAddrAndHostTrackerValve.getRemoteAddr(); tomcat8-8.5.39/test/org/apache/catalina/valves/TestRemoteIpValve.java-229- Assert.assertEquals("remoteAddr", "140.211.11.130", actualRemoteAddr); ############################################## tomcat8-8.5.39/test/org/apache/catalina/valves/TestRemoteIpValve.java-233- tomcat8-8.5.39/test/org/apache/catalina/valves/TestRemoteIpValve.java:234: String actualPostInvokeRemoteAddr = request.getRemoteAddr(); tomcat8-8.5.39/test/org/apache/catalina/valves/TestRemoteIpValve.java-235- Assert.assertEquals("postInvoke remoteAddr", "proxy3", actualPostInvokeRemoteAddr); ############################################## tomcat8-8.5.39/test/org/apache/catalina/valves/TestRemoteIpValve.java-253- request.setCoyoteRequest(new org.apache.coyote.Request()); tomcat8-8.5.39/test/org/apache/catalina/valves/TestRemoteIpValve.java:254: request.setRemoteAddr("proxy3"); tomcat8-8.5.39/test/org/apache/catalina/valves/TestRemoteIpValve.java-255- request.setRemoteHost("remote-host-original-value"); ############################################## tomcat8-8.5.39/test/org/apache/catalina/valves/TestRemoteIpValve.java-267- tomcat8-8.5.39/test/org/apache/catalina/valves/TestRemoteIpValve.java:268: String actualRemoteAddr = remoteAddrAndHostTrackerValve.getRemoteAddr(); tomcat8-8.5.39/test/org/apache/catalina/valves/TestRemoteIpValve.java-269- Assert.assertEquals("remoteAddr", "140.211.11.130", actualRemoteAddr); ############################################## tomcat8-8.5.39/test/org/apache/catalina/valves/TestRemoteIpValve.java-273- tomcat8-8.5.39/test/org/apache/catalina/valves/TestRemoteIpValve.java:274: String actualPostInvokeRemoteAddr = request.getRemoteAddr(); tomcat8-8.5.39/test/org/apache/catalina/valves/TestRemoteIpValve.java-275- Assert.assertEquals("postInvoke remoteAddr", "proxy3", actualPostInvokeRemoteAddr); ############################################## tomcat8-8.5.39/test/org/apache/catalina/valves/TestRemoteIpValve.java-294- request.setCoyoteRequest(new org.apache.coyote.Request()); tomcat8-8.5.39/test/org/apache/catalina/valves/TestRemoteIpValve.java:295: request.setRemoteAddr("192.168.0.10"); tomcat8-8.5.39/test/org/apache/catalina/valves/TestRemoteIpValve.java-296- request.setRemoteHost("remote-host-original-value"); ############################################## tomcat8-8.5.39/test/org/apache/catalina/valves/TestRemoteIpValve.java-309- tomcat8-8.5.39/test/org/apache/catalina/valves/TestRemoteIpValve.java:310: String actualRemoteAddr = remoteAddrAndHostTrackerValve.getRemoteAddr(); tomcat8-8.5.39/test/org/apache/catalina/valves/TestRemoteIpValve.java-311- Assert.assertEquals("remoteAddr", "140.211.11.130", actualRemoteAddr); ############################################## tomcat8-8.5.39/test/org/apache/catalina/valves/TestRemoteIpValve.java-315- tomcat8-8.5.39/test/org/apache/catalina/valves/TestRemoteIpValve.java:316: String actualPostInvokeRemoteAddr = request.getRemoteAddr(); tomcat8-8.5.39/test/org/apache/catalina/valves/TestRemoteIpValve.java-317- Assert.assertEquals("postInvoke remoteAddr", "192.168.0.10", actualPostInvokeRemoteAddr); ############################################## tomcat8-8.5.39/test/org/apache/catalina/valves/TestRemoteIpValve.java-336- request.setCoyoteRequest(new org.apache.coyote.Request()); tomcat8-8.5.39/test/org/apache/catalina/valves/TestRemoteIpValve.java:337: request.setRemoteAddr("192.168.0.10"); tomcat8-8.5.39/test/org/apache/catalina/valves/TestRemoteIpValve.java-338- request.setRemoteHost("remote-host-original-value"); ############################################## tomcat8-8.5.39/test/org/apache/catalina/valves/TestRemoteIpValve.java-350- tomcat8-8.5.39/test/org/apache/catalina/valves/TestRemoteIpValve.java:351: String actualRemoteAddr = remoteAddrAndHostTrackerValve.getRemoteAddr(); tomcat8-8.5.39/test/org/apache/catalina/valves/TestRemoteIpValve.java-352- Assert.assertEquals("remoteAddr", "140.211.11.130", actualRemoteAddr); ############################################## tomcat8-8.5.39/test/org/apache/catalina/valves/TestRemoteIpValve.java-356- tomcat8-8.5.39/test/org/apache/catalina/valves/TestRemoteIpValve.java:357: String actualPostInvokeRemoteAddr = request.getRemoteAddr(); tomcat8-8.5.39/test/org/apache/catalina/valves/TestRemoteIpValve.java-358- Assert.assertEquals("postInvoke remoteAddr", "192.168.0.10", actualPostInvokeRemoteAddr); ############################################## tomcat8-8.5.39/test/org/apache/catalina/valves/TestRemoteIpValve.java-377- request.setCoyoteRequest(new org.apache.coyote.Request()); tomcat8-8.5.39/test/org/apache/catalina/valves/TestRemoteIpValve.java:378: request.setRemoteAddr("192.168.0.10"); tomcat8-8.5.39/test/org/apache/catalina/valves/TestRemoteIpValve.java-379- request.setRemoteHost("remote-host-original-value"); ############################################## tomcat8-8.5.39/test/org/apache/catalina/valves/TestRemoteIpValve.java-393- tomcat8-8.5.39/test/org/apache/catalina/valves/TestRemoteIpValve.java:394: String actualRemoteAddr = remoteAddrAndHostTrackerValve.getRemoteAddr(); tomcat8-8.5.39/test/org/apache/catalina/valves/TestRemoteIpValve.java-395- Assert.assertEquals("remoteAddr", "140.211.11.130", actualRemoteAddr); ############################################## tomcat8-8.5.39/test/org/apache/catalina/valves/TestRemoteIpValve.java-399- tomcat8-8.5.39/test/org/apache/catalina/valves/TestRemoteIpValve.java:400: String actualPostInvokeRemoteAddr = request.getRemoteAddr(); tomcat8-8.5.39/test/org/apache/catalina/valves/TestRemoteIpValve.java-401- Assert.assertEquals("postInvoke remoteAddr", "192.168.0.10", actualPostInvokeRemoteAddr); ############################################## tomcat8-8.5.39/test/org/apache/catalina/valves/TestRemoteIpValve.java-419- request.setCoyoteRequest(new org.apache.coyote.Request()); tomcat8-8.5.39/test/org/apache/catalina/valves/TestRemoteIpValve.java:420: request.setRemoteAddr("172.16.0.5"); tomcat8-8.5.39/test/org/apache/catalina/valves/TestRemoteIpValve.java-421- request.setRemoteHost("remote-host-original-value"); ############################################## tomcat8-8.5.39/test/org/apache/catalina/valves/TestRemoteIpValve.java-431- tomcat8-8.5.39/test/org/apache/catalina/valves/TestRemoteIpValve.java:432: String actualRemoteAddr = remoteAddrAndHostTrackerValve.getRemoteAddr(); tomcat8-8.5.39/test/org/apache/catalina/valves/TestRemoteIpValve.java-433- Assert.assertEquals("remoteAddr", "209.244.0.3", actualRemoteAddr); ############################################## tomcat8-8.5.39/test/org/apache/catalina/valves/TestRemoteIpValve.java-437- tomcat8-8.5.39/test/org/apache/catalina/valves/TestRemoteIpValve.java:438: String actualPostInvokeRemoteAddr = remoteAddrAndHostTrackerValve.getRemoteAddr(); tomcat8-8.5.39/test/org/apache/catalina/valves/TestRemoteIpValve.java-439- Assert.assertEquals("postInvoke remoteAddr", "209.244.0.3", actualPostInvokeRemoteAddr); ############################################## tomcat8-8.5.39/test/org/apache/catalina/valves/TestRemoteIpValve.java-451- request.setCoyoteRequest(new org.apache.coyote.Request()); tomcat8-8.5.39/test/org/apache/catalina/valves/TestRemoteIpValve.java:452: request.setRemoteAddr("172.25.250.250"); tomcat8-8.5.39/test/org/apache/catalina/valves/TestRemoteIpValve.java-453- request.setRemoteHost("remote-host-original-value"); ############################################## tomcat8-8.5.39/test/org/apache/catalina/valves/TestRemoteIpValve.java-463- tomcat8-8.5.39/test/org/apache/catalina/valves/TestRemoteIpValve.java:464: actualRemoteAddr = remoteAddrAndHostTrackerValve.getRemoteAddr(); tomcat8-8.5.39/test/org/apache/catalina/valves/TestRemoteIpValve.java-465- Assert.assertEquals("remoteAddr", "209.244.0.3", actualRemoteAddr); ############################################## tomcat8-8.5.39/test/org/apache/catalina/valves/TestRemoteIpValve.java-469- tomcat8-8.5.39/test/org/apache/catalina/valves/TestRemoteIpValve.java:470: actualPostInvokeRemoteAddr = remoteAddrAndHostTrackerValve.getRemoteAddr(); tomcat8-8.5.39/test/org/apache/catalina/valves/TestRemoteIpValve.java-471- Assert.assertEquals("postInvoke remoteAddr", "209.244.0.3", actualPostInvokeRemoteAddr); ############################################## tomcat8-8.5.39/test/org/apache/catalina/valves/TestRemoteIpValve.java-498- // client ip tomcat8-8.5.39/test/org/apache/catalina/valves/TestRemoteIpValve.java:499: request.setRemoteAddr("192.168.0.10"); tomcat8-8.5.39/test/org/apache/catalina/valves/TestRemoteIpValve.java-500- request.setRemoteHost("192.168.0.10"); ############################################## tomcat8-8.5.39/test/org/apache/catalina/valves/TestRemoteIpValve.java-518- tomcat8-8.5.39/test/org/apache/catalina/valves/TestRemoteIpValve.java:519: String actualRemoteAddr = remoteAddrAndHostTrackerValve.getRemoteAddr(); tomcat8-8.5.39/test/org/apache/catalina/valves/TestRemoteIpValve.java-520- Assert.assertEquals("remoteAddr", "140.211.11.130", actualRemoteAddr); ############################################## tomcat8-8.5.39/test/org/apache/catalina/valves/TestRemoteIpValve.java-524- tomcat8-8.5.39/test/org/apache/catalina/valves/TestRemoteIpValve.java:525: String actualPostInvokeRemoteAddr = request.getRemoteAddr(); tomcat8-8.5.39/test/org/apache/catalina/valves/TestRemoteIpValve.java-526- Assert.assertEquals("postInvoke remoteAddr", "192.168.0.10", actualPostInvokeRemoteAddr); ############################################## tomcat8-8.5.39/test/org/apache/catalina/valves/TestRemoteIpValve.java-563- // client ip tomcat8-8.5.39/test/org/apache/catalina/valves/TestRemoteIpValve.java:564: request.setRemoteAddr("192.168.0.10"); tomcat8-8.5.39/test/org/apache/catalina/valves/TestRemoteIpValve.java-565- request.setRemoteHost("192.168.0.10"); ############################################## tomcat8-8.5.39/test/org/apache/catalina/valves/TestRemoteIpValve.java-583- tomcat8-8.5.39/test/org/apache/catalina/valves/TestRemoteIpValve.java:584: String actualRemoteAddr = remoteAddrAndHostTrackerValve.getRemoteAddr(); tomcat8-8.5.39/test/org/apache/catalina/valves/TestRemoteIpValve.java-585- Assert.assertEquals("remoteAddr", "140.211.11.130", actualRemoteAddr); ############################################## tomcat8-8.5.39/test/org/apache/catalina/valves/TestRemoteIpValve.java-589- tomcat8-8.5.39/test/org/apache/catalina/valves/TestRemoteIpValve.java:590: String actualPostInvokeRemoteAddr = request.getRemoteAddr(); tomcat8-8.5.39/test/org/apache/catalina/valves/TestRemoteIpValve.java-591- Assert.assertEquals("postInvoke remoteAddr", "192.168.0.10", actualPostInvokeRemoteAddr); ############################################## tomcat8-8.5.39/test/org/apache/catalina/valves/TestRemoteIpValve.java-628- // client ip tomcat8-8.5.39/test/org/apache/catalina/valves/TestRemoteIpValve.java:629: request.setRemoteAddr("192.168.0.10"); tomcat8-8.5.39/test/org/apache/catalina/valves/TestRemoteIpValve.java-630- request.setRemoteHost("192.168.0.10"); ############################################## tomcat8-8.5.39/test/org/apache/catalina/valves/TestRemoteIpValve.java-648- tomcat8-8.5.39/test/org/apache/catalina/valves/TestRemoteIpValve.java:649: String actualRemoteAddr = remoteAddrAndHostTrackerValve.getRemoteAddr(); tomcat8-8.5.39/test/org/apache/catalina/valves/TestRemoteIpValve.java-650- Assert.assertEquals("remoteAddr", "140.211.11.130", actualRemoteAddr); ############################################## tomcat8-8.5.39/test/org/apache/catalina/valves/TestRemoteIpValve.java-654- tomcat8-8.5.39/test/org/apache/catalina/valves/TestRemoteIpValve.java:655: String actualPostInvokeRemoteAddr = request.getRemoteAddr(); tomcat8-8.5.39/test/org/apache/catalina/valves/TestRemoteIpValve.java-656- Assert.assertEquals("postInvoke remoteAddr", "192.168.0.10", actualPostInvokeRemoteAddr); ############################################## tomcat8-8.5.39/test/org/apache/catalina/valves/TestRemoteIpValve.java-727- // client ip tomcat8-8.5.39/test/org/apache/catalina/valves/TestRemoteIpValve.java:728: request.setRemoteAddr("192.168.0.10"); tomcat8-8.5.39/test/org/apache/catalina/valves/TestRemoteIpValve.java-729- request.setRemoteHost("192.168.0.10"); ############################################## tomcat8-8.5.39/test/org/apache/catalina/valves/TestRemoteIpValve.java-747- tomcat8-8.5.39/test/org/apache/catalina/valves/TestRemoteIpValve.java:748: String actualRemoteAddr = remoteAddrAndHostTrackerValve.getRemoteAddr(); tomcat8-8.5.39/test/org/apache/catalina/valves/TestRemoteIpValve.java-749- Assert.assertEquals("remoteAddr", "140.211.11.130", actualRemoteAddr); ############################################## tomcat8-8.5.39/test/org/apache/catalina/valves/TestRemoteIpValve.java-753- tomcat8-8.5.39/test/org/apache/catalina/valves/TestRemoteIpValve.java:754: String actualPostInvokeRemoteAddr = request.getRemoteAddr(); tomcat8-8.5.39/test/org/apache/catalina/valves/TestRemoteIpValve.java-755- Assert.assertEquals("postInvoke remoteAddr", "192.168.0.10", actualPostInvokeRemoteAddr); ############################################## tomcat8-8.5.39/test/org/apache/catalina/valves/TestRemoteIpValve.java-794- // client ip tomcat8-8.5.39/test/org/apache/catalina/valves/TestRemoteIpValve.java:795: request.setRemoteAddr("192.168.0.10"); tomcat8-8.5.39/test/org/apache/catalina/valves/TestRemoteIpValve.java-796- request.setRemoteHost("192.168.0.10"); ############################################## tomcat8-8.5.39/test/org/apache/catalina/valves/TestRemoteIpValve.java-814- tomcat8-8.5.39/test/org/apache/catalina/valves/TestRemoteIpValve.java:815: String actualRemoteAddr = remoteAddrAndHostTrackerValve.getRemoteAddr(); tomcat8-8.5.39/test/org/apache/catalina/valves/TestRemoteIpValve.java-816- Assert.assertEquals("remoteAddr", "140.211.11.130", actualRemoteAddr); ############################################## tomcat8-8.5.39/test/org/apache/catalina/valves/TestRemoteIpValve.java-820- tomcat8-8.5.39/test/org/apache/catalina/valves/TestRemoteIpValve.java:821: String actualPostInvokeRemoteAddr = request.getRemoteAddr(); tomcat8-8.5.39/test/org/apache/catalina/valves/TestRemoteIpValve.java-822- Assert.assertEquals("postInvoke remoteAddr", "192.168.0.10", actualPostInvokeRemoteAddr); ############################################## tomcat8-8.5.39/test/org/apache/catalina/valves/TestRemoteIpValve.java-847- @Test tomcat8-8.5.39/test/org/apache/catalina/valves/TestRemoteIpValve.java:848: public void testInvokeNotAllowedRemoteAddr() throws Exception { tomcat8-8.5.39/test/org/apache/catalina/valves/TestRemoteIpValve.java-849- // PREPARE ############################################## tomcat8-8.5.39/test/org/apache/catalina/valves/TestRemoteIpValve.java-859- request.setCoyoteRequest(new org.apache.coyote.Request()); tomcat8-8.5.39/test/org/apache/catalina/valves/TestRemoteIpValve.java:860: request.setRemoteAddr("not-allowed-internal-proxy"); tomcat8-8.5.39/test/org/apache/catalina/valves/TestRemoteIpValve.java-861- request.setRemoteHost("not-allowed-internal-proxy-host"); ############################################## tomcat8-8.5.39/test/org/apache/catalina/valves/TestRemoteIpValve.java-873- tomcat8-8.5.39/test/org/apache/catalina/valves/TestRemoteIpValve.java:874: String actualRemoteAddr = remoteAddrAndHostTrackerValve.getRemoteAddr(); tomcat8-8.5.39/test/org/apache/catalina/valves/TestRemoteIpValve.java-875- Assert.assertEquals("remoteAddr", "not-allowed-internal-proxy", actualRemoteAddr); ############################################## tomcat8-8.5.39/test/org/apache/catalina/valves/TestRemoteIpValve.java-879- tomcat8-8.5.39/test/org/apache/catalina/valves/TestRemoteIpValve.java:880: String actualPostInvokeRemoteAddr = request.getRemoteAddr(); tomcat8-8.5.39/test/org/apache/catalina/valves/TestRemoteIpValve.java-881- Assert.assertEquals("postInvoke remoteAddr", "not-allowed-internal-proxy", actualPostInvokeRemoteAddr); ############################################## tomcat8-8.5.39/test/org/apache/catalina/valves/TestRemoteIpValve.java-899- request.setCoyoteRequest(new org.apache.coyote.Request()); tomcat8-8.5.39/test/org/apache/catalina/valves/TestRemoteIpValve.java:900: request.setRemoteAddr("192.168.0.10"); tomcat8-8.5.39/test/org/apache/catalina/valves/TestRemoteIpValve.java-901- request.setRemoteHost("remote-host-original-value"); ############################################## tomcat8-8.5.39/test/org/apache/catalina/valves/TestRemoteIpValve.java-914- tomcat8-8.5.39/test/org/apache/catalina/valves/TestRemoteIpValve.java:915: String actualRemoteAddr = remoteAddrAndHostTrackerValve.getRemoteAddr(); tomcat8-8.5.39/test/org/apache/catalina/valves/TestRemoteIpValve.java-916- Assert.assertEquals("remoteAddr", "untrusted-proxy", actualRemoteAddr); ############################################## tomcat8-8.5.39/test/org/apache/catalina/valves/TestRemoteIpValve.java-920- tomcat8-8.5.39/test/org/apache/catalina/valves/TestRemoteIpValve.java:921: String actualPostInvokeRemoteAddr = request.getRemoteAddr(); tomcat8-8.5.39/test/org/apache/catalina/valves/TestRemoteIpValve.java-922- Assert.assertEquals("postInvoke remoteAddr", "192.168.0.10", actualPostInvokeRemoteAddr); ############################################## tomcat8-8.5.39/test/org/apache/catalina/valves/TestRemoteIpValve.java-958- // client ip tomcat8-8.5.39/test/org/apache/catalina/valves/TestRemoteIpValve.java:959: request.setRemoteAddr("192.168.0.10"); tomcat8-8.5.39/test/org/apache/catalina/valves/TestRemoteIpValve.java-960- request.setRemoteHost("192.168.0.10"); ############################################## tomcat8-8.5.39/test/org/apache/catalina/valves/TestRequestFilterValve.java-100- valve = new RemoteAddrValve(); tomcat8-8.5.39/test/org/apache/catalina/valves/TestRequestFilterValve.java:101: request.setRemoteAddr(property); tomcat8-8.5.39/test/org/apache/catalina/valves/TestRequestFilterValve.java-102- msg.append(" ip='" + property + "'"); ############################################## tomcat8-8.5.39/test/org/apache/catalina/valves/TestCrawlerSessionManagerValve.java-114- Request request = (Request) EasyMock.createMock(Request.class); tomcat8-8.5.39/test/org/apache/catalina/valves/TestCrawlerSessionManagerValve.java:115: EasyMock.expect(request.getRemoteAddr()).andReturn(ip); tomcat8-8.5.39/test/org/apache/catalina/valves/TestCrawlerSessionManagerValve.java-116- EasyMock.expect(request.getHost()).andReturn(simpleHostWithName(hostname)); ############################################## tomcat8-8.5.39/test/org/apache/coyote/ajp/SimpleAjpClient.java-241- tomcat8-8.5.39/test/org/apache/coyote/ajp/SimpleAjpClient.java:242: public void setRemoteAddr(String remoteAddr) { tomcat8-8.5.39/test/org/apache/coyote/ajp/SimpleAjpClient.java-243- this.remoteAddr = remoteAddr; ############################################## tomcat8-8.5.39/test/org/apache/coyote/ajp/SimpleAjpClient.java-245- tomcat8-8.5.39/test/org/apache/coyote/ajp/SimpleAjpClient.java:246: public String getRemoteAddr() { tomcat8-8.5.39/test/org/apache/coyote/ajp/SimpleAjpClient.java-247- return remoteAddr; ############################################## tomcat8-8.5.39/test/org/apache/coyote/ajp/TestAbstractAjpProcessor.java-112- /* request.getRemoteHost() will default to tomcat8-8.5.39/test/org/apache/coyote/ajp/TestAbstractAjpProcessor.java:113: * request.getRemoteAddr() unless enableLookups is set. */ tomcat8-8.5.39/test/org/apache/coyote/ajp/TestAbstractAjpProcessor.java-114- tomcat.getConnector().setEnableLookups(true); ############################################## tomcat8-8.5.39/test/org/apache/coyote/ajp/TestAbstractAjpProcessor.java-117- case "REQUEST-REMOTE-ADDR": tomcat8-8.5.39/test/org/apache/coyote/ajp/TestAbstractAjpProcessor.java:118: ajpClient.setRemoteAddr(value); tomcat8-8.5.39/test/org/apache/coyote/ajp/TestAbstractAjpProcessor.java-119- break; ############################################## tomcat8-8.5.39/test/org/apache/coyote/ajp/TestAbstractAjpProcessor.java-344- @Test tomcat8-8.5.39/test/org/apache/coyote/ajp/TestAbstractAjpProcessor.java:345: public void testLocalAddr() throws Exception { tomcat8-8.5.39/test/org/apache/coyote/ajp/TestAbstractAjpProcessor.java-346- RequestDescriptor desc = new RequestDescriptor(); ############################################## tomcat8-8.5.39/test/org/apache/coyote/ajp/TestAbstractAjpProcessor.java-360- @Test tomcat8-8.5.39/test/org/apache/coyote/ajp/TestAbstractAjpProcessor.java:361: public void testRemoteAddr() throws Exception { tomcat8-8.5.39/test/org/apache/coyote/ajp/TestAbstractAjpProcessor.java-362- RequestDescriptor desc = new RequestDescriptor(); ############################################## tomcat8-8.5.39/webapps/examples/WEB-INF/classes/RequestInfoExample.java-92- out.println("</td><td>"); tomcat8-8.5.39/webapps/examples/WEB-INF/classes/RequestInfoExample.java:93: out.println(HTMLFilter.filter(request.getRemoteAddr())); tomcat8-8.5.39/webapps/examples/WEB-INF/classes/RequestInfoExample.java-94- out.println("</td></tr>"); ############################################## tomcat8-8.5.39/webapps/examples/jsp/snp/snoop.jsp-42-<br> tomcat8-8.5.39/webapps/examples/jsp/snp/snoop.jsp:43:Remote address: <%= util.HTMLFilter.filter(request.getRemoteAddr()) %> tomcat8-8.5.39/webapps/examples/jsp/snp/snoop.jsp-44-<br> ############################################## tomcat8-8.5.39/webapps/examples/servlets/reqinfo.html-49- out.println("<font color="#009900">PathInfo: </font>" + request.getPathInfo()); tomcat8-8.5.39/webapps/examples/servlets/reqinfo.html:50: out.println("<font color="#009900">Remote Address: </font>" + request.getRemoteAddr()); tomcat8-8.5.39/webapps/examples/servlets/reqinfo.html-51- out.println("<font color="#009900"></body></font>"); ############################################## tomcat8-8.5.39/debian/patches/0026-easymock4-compatibility.patch-69-+ Request request = (Request) EasyMock.createMock(Request.class); tomcat8-8.5.39/debian/patches/0026-easymock4-compatibility.patch:70: EasyMock.expect(request.getRemoteAddr()).andReturn(ip); tomcat8-8.5.39/debian/patches/0026-easymock4-compatibility.patch-71- EasyMock.expect(request.getHost()).andReturn(simpleHostWithName(hostname)); ############################################## tomcat8-8.5.39/debian/tomcat8-instance-create-3- tomcat8-8.5.39/debian/tomcat8-instance-create:4:PROG=`basename $0` tomcat8-8.5.39/debian/tomcat8-instance-create-5-TARGET="" ############################################## tomcat8-8.5.39/debian/tomcat8-instance-create-25- # Fail if port is non-numeric tomcat8-8.5.39/debian/tomcat8-instance-create:26: num=`expr ${port} + 1 2> /dev/null` tomcat8-8.5.39/debian/tomcat8-instance-create-27- if [ $? != 0 ] || [ $num -lt 2 ]; then ############################################## tomcat8-8.5.39/debian/tomcat8-instance-create-110- tomcat8-8.5.39/debian/tomcat8-instance-create:111:FULLTARGET=`cd "${TARGET}" > /dev/null && pwd` tomcat8-8.5.39/debian/tomcat8-instance-create-112- ############################################## tomcat8-8.5.39/debian/tomcat8.init-212- elif [ $? -eq 3 ]; then tomcat8-8.5.39/debian/tomcat8.init:213: PID="`cat $CATALINA_PID`" tomcat8-8.5.39/debian/tomcat8.init-214- log_failure_msg "Failed to stop $NAME (pid $PID)" ############################################## tomcat8-8.5.39/debian/tomcat8.init-239- else tomcat8-8.5.39/debian/tomcat8.init:240: log_success_msg "$DESC is running with pid `cat $CATALINA_PID`" tomcat8-8.5.39/debian/tomcat8.init-241- fi ############################################## tomcat8-8.5.39/debian/tomcat8.postinst-76- # Authorize user tomcat8 to open privileged ports via authbind. tomcat8-8.5.39/debian/tomcat8.postinst:77: TOMCAT_UID="`id -u $TOMCAT8_USER`" tomcat8-8.5.39/debian/tomcat8.postinst-78- if [ ! -f "/etc/authbind/byuid/$TOMCAT_UID" ]; then ############################################## tomcat8-8.5.39/debian/tomcat8.postrm.in-17- RWFILES="$RWLOC/index.html $RWLOC/META-INF/context.xml" tomcat8-8.5.39/debian/tomcat8.postrm.in:18: if [ "`(cat $RWFILES | md5sum -) 2>/dev/null | cut -d ' ' -f 1`" \ tomcat8-8.5.39/debian/tomcat8.postrm.in-19- = "@ROOT_WEBAPP_MD5SUM@" ] ; then ############################################## tomcat8-8.5.39/debian/tomcat8.prerm-8- # Remove auth for tomcat8 to open privileged ports via authbind. tomcat8-8.5.39/debian/tomcat8.prerm:9: TOMCAT_UID="`id -u $TOMCAT8_USER`" tomcat8-8.5.39/debian/tomcat8.prerm-10- if [ -f "/etc/authbind/byuid/$TOMCAT_UID" ]; then ############################################## tomcat8-8.5.39/.pc/0009-Use-java.security.policy-file-in-catalina.sh.patch/bin/catalina.sh-125-while [ -h "$PRG" ]; do tomcat8-8.5.39/.pc/0009-Use-java.security.policy-file-in-catalina.sh.patch/bin/catalina.sh:126: ls=`ls -ld "$PRG"` tomcat8-8.5.39/.pc/0009-Use-java.security.policy-file-in-catalina.sh.patch/bin/catalina.sh:127: link=`expr "$ls" : '.*-> \(.*\)$'` tomcat8-8.5.39/.pc/0009-Use-java.security.policy-file-in-catalina.sh.patch/bin/catalina.sh-128- if expr "$link" : '/.*' > /dev/null; then ############################################## tomcat8-8.5.39/.pc/0009-Use-java.security.policy-file-in-catalina.sh.patch/bin/catalina.sh-130- else tomcat8-8.5.39/.pc/0009-Use-java.security.policy-file-in-catalina.sh.patch/bin/catalina.sh:131: PRG=`dirname "$PRG"`/"$link" tomcat8-8.5.39/.pc/0009-Use-java.security.policy-file-in-catalina.sh.patch/bin/catalina.sh-132- fi ############################################## tomcat8-8.5.39/.pc/0009-Use-java.security.policy-file-in-catalina.sh.patch/bin/catalina.sh-135-# Get standard environment variables tomcat8-8.5.39/.pc/0009-Use-java.security.policy-file-in-catalina.sh.patch/bin/catalina.sh:136:PRGDIR=`dirname "$PRG"` tomcat8-8.5.39/.pc/0009-Use-java.security.policy-file-in-catalina.sh.patch/bin/catalina.sh-137- tomcat8-8.5.39/.pc/0009-Use-java.security.policy-file-in-catalina.sh.patch/bin/catalina.sh-138-# Only set CATALINA_HOME if not already set tomcat8-8.5.39/.pc/0009-Use-java.security.policy-file-in-catalina.sh.patch/bin/catalina.sh:139:[ -z "$CATALINA_HOME" ] && CATALINA_HOME=`cd "$PRGDIR/.." >/dev/null; pwd` tomcat8-8.5.39/.pc/0009-Use-java.security.policy-file-in-catalina.sh.patch/bin/catalina.sh-140- ############################################## tomcat8-8.5.39/.pc/0009-Use-java.security.policy-file-in-catalina.sh.patch/bin/catalina.sh-155-if $cygwin; then tomcat8-8.5.39/.pc/0009-Use-java.security.policy-file-in-catalina.sh.patch/bin/catalina.sh:156: [ -n "$JAVA_HOME" ] && JAVA_HOME=`cygpath --unix "$JAVA_HOME"` tomcat8-8.5.39/.pc/0009-Use-java.security.policy-file-in-catalina.sh.patch/bin/catalina.sh:157: [ -n "$JRE_HOME" ] && JRE_HOME=`cygpath --unix "$JRE_HOME"` tomcat8-8.5.39/.pc/0009-Use-java.security.policy-file-in-catalina.sh.patch/bin/catalina.sh:158: [ -n "$CATALINA_HOME" ] && CATALINA_HOME=`cygpath --unix "$CATALINA_HOME"` tomcat8-8.5.39/.pc/0009-Use-java.security.policy-file-in-catalina.sh.patch/bin/catalina.sh:159: [ -n "$CATALINA_BASE" ] && CATALINA_BASE=`cygpath --unix "$CATALINA_BASE"` tomcat8-8.5.39/.pc/0009-Use-java.security.policy-file-in-catalina.sh.patch/bin/catalina.sh:160: [ -n "$CLASSPATH" ] && CLASSPATH=`cygpath --path --unix "$CLASSPATH"` tomcat8-8.5.39/.pc/0009-Use-java.security.policy-file-in-catalina.sh.patch/bin/catalina.sh-161-fi ############################################## tomcat8-8.5.39/.pc/0009-Use-java.security.policy-file-in-catalina.sh.patch/bin/catalina.sh-236-if $cygwin; then tomcat8-8.5.39/.pc/0009-Use-java.security.policy-file-in-catalina.sh.patch/bin/catalina.sh:237: JAVA_HOME=`cygpath --absolute --windows "$JAVA_HOME"` tomcat8-8.5.39/.pc/0009-Use-java.security.policy-file-in-catalina.sh.patch/bin/catalina.sh:238: JRE_HOME=`cygpath --absolute --windows "$JRE_HOME"` tomcat8-8.5.39/.pc/0009-Use-java.security.policy-file-in-catalina.sh.patch/bin/catalina.sh:239: CATALINA_HOME=`cygpath --absolute --windows "$CATALINA_HOME"` tomcat8-8.5.39/.pc/0009-Use-java.security.policy-file-in-catalina.sh.patch/bin/catalina.sh:240: CATALINA_BASE=`cygpath --absolute --windows "$CATALINA_BASE"` tomcat8-8.5.39/.pc/0009-Use-java.security.policy-file-in-catalina.sh.patch/bin/catalina.sh:241: CATALINA_TMPDIR=`cygpath --absolute --windows "$CATALINA_TMPDIR"` tomcat8-8.5.39/.pc/0009-Use-java.security.policy-file-in-catalina.sh.patch/bin/catalina.sh:242: CLASSPATH=`cygpath --path --windows "$CLASSPATH"` tomcat8-8.5.39/.pc/0009-Use-java.security.policy-file-in-catalina.sh.patch/bin/catalina.sh:243: [ -n "$JAVA_ENDORSED_DIRS" ] && JAVA_ENDORSED_DIRS=`cygpath --path --windows "$JAVA_ENDORSED_DIRS"` tomcat8-8.5.39/.pc/0009-Use-java.security.policy-file-in-catalina.sh.patch/bin/catalina.sh-244-fi ############################################## tomcat8-8.5.39/.pc/0009-Use-java.security.policy-file-in-catalina.sh.patch/bin/catalina.sh-409- if [ -r "$CATALINA_PID" ]; then tomcat8-8.5.39/.pc/0009-Use-java.security.policy-file-in-catalina.sh.patch/bin/catalina.sh:410: PID=`cat "$CATALINA_PID"` tomcat8-8.5.39/.pc/0009-Use-java.security.policy-file-in-catalina.sh.patch/bin/catalina.sh-411- ps -p $PID >/dev/null 2>&1 ############################################## tomcat8-8.5.39/.pc/0009-Use-java.security.policy-file-in-catalina.sh.patch/bin/catalina.sh-502- if [ -s "$CATALINA_PID" ]; then tomcat8-8.5.39/.pc/0009-Use-java.security.policy-file-in-catalina.sh.patch/bin/catalina.sh:503: kill -0 `cat "$CATALINA_PID"` >/dev/null 2>&1 tomcat8-8.5.39/.pc/0009-Use-java.security.policy-file-in-catalina.sh.patch/bin/catalina.sh-504- if [ $? -gt 0 ]; then ############################################## tomcat8-8.5.39/.pc/0009-Use-java.security.policy-file-in-catalina.sh.patch/bin/catalina.sh-528- echo "The stop command failed. Attempting to signal the process to stop through OS signal." tomcat8-8.5.39/.pc/0009-Use-java.security.policy-file-in-catalina.sh.patch/bin/catalina.sh:529: kill -15 `cat "$CATALINA_PID"` >/dev/null 2>&1 tomcat8-8.5.39/.pc/0009-Use-java.security.policy-file-in-catalina.sh.patch/bin/catalina.sh-530- fi ############################################## tomcat8-8.5.39/.pc/0009-Use-java.security.policy-file-in-catalina.sh.patch/bin/catalina.sh-535- while [ $SLEEP -ge 0 ]; do tomcat8-8.5.39/.pc/0009-Use-java.security.policy-file-in-catalina.sh.patch/bin/catalina.sh:536: kill -0 `cat "$CATALINA_PID"` >/dev/null 2>&1 tomcat8-8.5.39/.pc/0009-Use-java.security.policy-file-in-catalina.sh.patch/bin/catalina.sh-537- if [ $? -gt 0 ]; then ############################################## tomcat8-8.5.39/.pc/0009-Use-java.security.policy-file-in-catalina.sh.patch/bin/catalina.sh-559- echo "To aid diagnostics a thread dump has been written to standard out." tomcat8-8.5.39/.pc/0009-Use-java.security.policy-file-in-catalina.sh.patch/bin/catalina.sh:560: kill -3 `cat "$CATALINA_PID"` tomcat8-8.5.39/.pc/0009-Use-java.security.policy-file-in-catalina.sh.patch/bin/catalina.sh-561- fi tomcat8-8.5.39/.pc/0009-Use-java.security.policy-file-in-catalina.sh.patch/bin/catalina.sh:562: SLEEP=`expr $SLEEP - 1 ` tomcat8-8.5.39/.pc/0009-Use-java.security.policy-file-in-catalina.sh.patch/bin/catalina.sh-563- done ############################################## tomcat8-8.5.39/.pc/0009-Use-java.security.policy-file-in-catalina.sh.patch/bin/catalina.sh-572- if [ -f "$CATALINA_PID" ]; then tomcat8-8.5.39/.pc/0009-Use-java.security.policy-file-in-catalina.sh.patch/bin/catalina.sh:573: PID=`cat "$CATALINA_PID"` tomcat8-8.5.39/.pc/0009-Use-java.security.policy-file-in-catalina.sh.patch/bin/catalina.sh-574- echo "Killing Tomcat with the PID: $PID" ############################################## tomcat8-8.5.39/.pc/0009-Use-java.security.policy-file-in-catalina.sh.patch/bin/catalina.sh-576- while [ $KILL_SLEEP_INTERVAL -ge 0 ]; do tomcat8-8.5.39/.pc/0009-Use-java.security.policy-file-in-catalina.sh.patch/bin/catalina.sh:577: kill -0 `cat "$CATALINA_PID"` >/dev/null 2>&1 tomcat8-8.5.39/.pc/0009-Use-java.security.policy-file-in-catalina.sh.patch/bin/catalina.sh-578- if [ $? -gt 0 ]; then ############################################## tomcat8-8.5.39/.pc/0009-Use-java.security.policy-file-in-catalina.sh.patch/bin/catalina.sh-592- fi tomcat8-8.5.39/.pc/0009-Use-java.security.policy-file-in-catalina.sh.patch/bin/catalina.sh:593: KILL_SLEEP_INTERVAL=`expr $KILL_SLEEP_INTERVAL - 1 ` tomcat8-8.5.39/.pc/0009-Use-java.security.policy-file-in-catalina.sh.patch/bin/catalina.sh-594- done ############################################## tomcat8-8.5.39/.pc/0026-easymock4-compatibility.patch/test/org/apache/catalina/valves/TestCrawlerSessionManagerValve.java-114- Request request = EasyMock.createMock(Request.class); tomcat8-8.5.39/.pc/0026-easymock4-compatibility.patch/test/org/apache/catalina/valves/TestCrawlerSessionManagerValve.java:115: EasyMock.expect(request.getRemoteAddr()).andReturn(ip); tomcat8-8.5.39/.pc/0026-easymock4-compatibility.patch/test/org/apache/catalina/valves/TestCrawlerSessionManagerValve.java-116- EasyMock.expect(request.getHost()).andReturn(simpleHostWithName(hostname));