Merge pull request #88 from larrys/master
Remove the IP reputation checks.
This commit is contained in:
commit
d9881f687b
@ -2,7 +2,6 @@ package org.jenkinsci.account;
|
||||
|
||||
import com.google.common.base.Joiner;
|
||||
import com.google.common.base.Strings;
|
||||
import com.google.common.collect.Lists;
|
||||
import com.google.common.net.InetAddresses;
|
||||
import jiraldapsyncer.JiraLdapSyncer;
|
||||
import jiraldapsyncer.ServiceLocator;
|
||||
@ -250,15 +249,6 @@ public class Application {
|
||||
}
|
||||
}
|
||||
|
||||
// IP Reputation Checks
|
||||
|
||||
String reversedIp = Joiner.on(".").join(Lists.reverse(Arrays.asList(ip.split("\\."))));
|
||||
for(String rblHost : Arrays.asList("rbl.megarbl.net", "zen.spamhaus.org")) {
|
||||
for (String txt : getTxtRecord(reversedIp + "." + rblHost)) {
|
||||
blockReasons.add("RBL " + rblHost + ": " + txt);
|
||||
}
|
||||
}
|
||||
|
||||
final DirContext con = connect();
|
||||
try {
|
||||
if(ldapObjectExists(con, "(id={0})", userid)) {
|
||||
|
Loading…
Reference in New Issue
Block a user