code: protected boolean isMatch(IPListConfig config, String remoteAddr) {
          if (config.getIpList().contains(remoteAddr)) {
              return true;
          }
          try {
              String [] remoteAddrSplit = remoteAddr.split("\\."); //$NON-NLS-1$
              for (String ip : config.getIpList()) {
                  String [] ipSplit = ip.split("\\."); //$NON-NLS-1$
                  if (remoteAddrSplit.length == ipSplit.length) {
                      int numParts = ipSplit.length;
                      boolean matches = true;
                      for (int idx = 0; idx < numParts; idx++) {
                          if (ipSplit[idx].equals("*") || ipSplit[idx].equals(remoteAddrSplit[idx])) { //$NON-NLS-1$
                              // This component matches!
                          } else {
                              matches = false;
                              break;
                          }
                      }
                      if (matches) {
                          return true;
                      }
                  }
              }
          } catch (Throwable t) {
              // eat it
          }
          return false;
      }
docs: Returns true if the remote address is a match for the configured
  values in the IP List.
  @param config the config
  @param remoteAddr the remote address