Diff
11 years ago
.htaccess
14 years ago
Diff.php
14 years ago
GeoIP.dat
9 years ago
GeoIPv6.dat
9 years ago
IPTraf.php
9 years ago
compat.php
10 years ago
conntest.php
11 years ago
cronview.php
10 years ago
dashboard.php
9 years ago
dbview.php
11 years ago
diffResult.php
11 years ago
email_genericAlert.php
9 years ago
email_newIssues.php
9 years ago
email_passwdChanged.php
10 years ago
email_pleaseChangePasswd.php
10 years ago
email_unlockRequest.php
11 years ago
menuHeader.php
12 years ago
menu_activity.php
9 years ago
menu_blockedIPs.php
9 years ago
menu_countryBlocking.php
9 years ago
menu_diagnostic.php
9 years ago
menu_options.php
9 years ago
menu_passwd.php
9 years ago
menu_rangeBlocking.php
9 years ago
menu_scan.php
9 years ago
menu_scanSchedule.php
9 years ago
menu_sitePerf.php
11 years ago
menu_sitePerfStats.php
9 years ago
menu_twoFactor.php
9 years ago
menu_waf.php
9 years ago
menu_whois.php
11 years ago
pageTitle.php
11 years ago
schedWeekEntry.php
12 years ago
sysinfo.php
10 years ago
unknownFiles.php
11 years ago
viewFullActivityLog.php
10 years ago
wf503.php
10 years ago
wfAPI.php
9 years ago
wfAction.php
14 years ago
wfActivityReport.php
10 years ago
wfArray.php
13 years ago
wfBrowscap.php
12 years ago
wfBrowscapCache.php
10 years ago
wfBulkCountries.php
13 years ago
wfCache.php
9 years ago
wfConfig.php
9 years ago
wfCountryMap.php
13 years ago
wfCrawl.php
10 years ago
wfCrypt.php
11 years ago
wfDB.php
10 years ago
wfDiagnostic.php
10 years ago
wfDict.php
14 years ago
wfDirectoryIterator.php
11 years ago
wfGeoIP.php
9 years ago
wfHelperBin.php
11 years ago
wfHelperString.php
11 years ago
wfIPWhitelist.php
9 years ago
wfIssues.php
9 years ago
wfLockedOut.php
13 years ago
wfLog.php
9 years ago
wfRate.php
10 years ago
wfScan.php
9 years ago
wfScanEngine.php
9 years ago
wfSchema.php
10 years ago
wfUnlockMsg.php
10 years ago
wfUpdateCheck.php
9 years ago
wfUtils.php
9 years ago
wfView.php
10 years ago
wfViewResult.php
11 years ago
wordfenceClass.php
9 years ago
wordfenceConstants.php
9 years ago
wordfenceHash.php
9 years ago
wordfenceScanner.php
9 years ago
wordfenceURLHoover.php
9 years ago
menu_blockedIPs.php
186 lines
| 1 | <div class="wordfenceModeElem" id="wordfenceMode_blockedIPs"></div> |
| 2 | <div class="wrap"> |
| 3 | <?php require('menuHeader.php'); ?> |
| 4 | <?php $helpLink="http://docs.wordfence.com/en/Blocked_IPs"; $helpLabel="Learn more about Blocked IPs"; $pageTitle = "Wordfence Blocked IPs"; include('pageTitle.php'); ?> |
| 5 | <div class="wordfenceLive"> |
| 6 | <table border="0" cellpadding="0" cellspacing="0"> |
| 7 | <tr><td><h2>Wordfence Live Activity:</h2></td><td id="wfLiveStatus"></td></tr> |
| 8 | </table> |
| 9 | </div> |
| 10 | <?php if(! wfConfig::get('firewallEnabled')){ ?><div style="color: #F00; font-weight: bold;">Rate limiting rules and advanced blocking are disabled. You can enable it on the <a href="admin.php?page=WordfenceSecOpt">Wordfence Options page</a> at the top.</div><?php } ?> |
| 11 | <div class="wordfenceWrap" style="margin: 20px 20px 20px 30px;"> |
| 12 | <a href="#" onclick="WFAD.clearAllBlocked('blocked'); return false;">Clear all blocked IP addresses</a> | <a href="#" onclick="WFAD.clearAllBlocked('locked'); return false;">Clear all locked out IP addresses</a><br /> |
| 13 | You can manually (and permanently) block an IP by entering the address here: <input type="text" id="wfManualBlock" size="20" maxlength="40" value="" onkeydown="if(event.keyCode == 13){ WFAD.blockIPTwo(jQuery('#wfManualBlock').val(), 'Manual block by administrator', true); return false; }" /> <input type="button" name="but1" value="Manually block IP" onclick="WFAD.blockIPTwo(jQuery('#wfManualBlock').val(), 'Manual block by administrator', true); return false;" /> |
| 14 | </div> |
| 15 | <div class="wordfenceWrap"> |
| 16 | <div> |
| 17 | <div id="wfTabs"> |
| 18 | <a href="#" class="wfTab1 wfTabSwitch selected" onclick="wordfenceAdmin.switchTab(this, 'wfTab1', 'wfDataPanel', 'wfActivity_blockedIPs', function(){ WFAD.staticTabChanged(); }); return false;">IPs that are blocked from accessing the site</a> |
| 19 | <a href="#" class="wfTab1 wfTabSwitch" onclick="wordfenceAdmin.switchTab(this, 'wfTab1', 'wfDataPanel', 'wfActivity_lockedOutIPs', function(){ WFAD.staticTabChanged(); }); return false;">IPs that are Locked Out from Login</a> |
| 20 | <a href="#" class="wfTab1 wfTabSwitch" onclick="wordfenceAdmin.switchTab(this, 'wfTab1', 'wfDataPanel', 'wfActivity_throttledIPs', function(){ WFAD.staticTabChanged(); }); return false;">IPs who were recently throttled for accessing the site too frequently</a> |
| 21 | </div> |
| 22 | <div class="wfTabsContainer"> |
| 23 | <div id="wfActivity_blockedIPs" class="wfDataPanel"><div class="wfLoadingWhite32"></div></div> |
| 24 | <div id="wfActivity_lockedOutIPs" class="wfDataPanel" style="display: none;"><div class="wfLoadingWhite32"></div></div> |
| 25 | <div id="wfActivity_throttledIPs" class="wfDataPanel" style="display: none;"><div class="wfLoadingWhite32"></div></div> |
| 26 | </div> |
| 27 | </div> |
| 28 | </div> |
| 29 | |
| 30 | </div> |
| 31 | <script type="text/x-jquery-template" id="wfThrottledIPsTmpl"> |
| 32 | <div> |
| 33 | <div style="border-bottom: 1px solid #CCC; padding-bottom: 10px; margin-bottom: 10px;"> |
| 34 | <table border="0" style="width: 100%"> |
| 35 | {{each(idx, elem) results}} |
| 36 | <tr><td style="vertical-align: top;"> |
| 37 | <div> |
| 38 | {{if loc}} |
| 39 | <img src="<?php echo wfUtils::getBaseURL() . 'images/flags/'; ?>${loc.countryCode.toLowerCase()}.png" width="16" height="11" alt="${loc.countryName}" title="${loc.countryName}" class="wfFlag" /> |
| 40 | <a href="http://maps.google.com/maps?q=${loc.lat},${loc.lon}&z=6" target="_blank">{{if loc.city}}${loc.city}, {{/if}}${loc.countryName}</a> |
| 41 | {{else}} |
| 42 | An unknown location at IP <a href="${WFAD.makeIPTrafLink(IP)}" target="_blank">${IP}</a> |
| 43 | {{/if}} |
| 44 | </div> |
| 45 | <div> |
| 46 | <strong>IP:</strong> <a href="${WFAD.makeIPTrafLink(IP)}" target="_blank">${IP}</a> |
| 47 | </div> |
| 48 | <div> |
| 49 | <strong>Reason:</strong> ${lastReason} |
| 50 | </div> |
| 51 | <div> |
| 52 | <span class="wfReverseLookup"><span style="display:none;">${IP}</span></span> |
| 53 | </div> |
| 54 | <div> |
| 55 | <span>Throttled <strong>${timesThrottled}</strong> times starting <strong>${startTimeAgo} ago</strong> and ending <strong>${endTimeAgo} ago</strong>.</span> |
| 56 | </div> |
| 57 | </td> |
| 58 | </tr> |
| 59 | {{/each}} |
| 60 | </table> |
| 61 | </div> |
| 62 | <!--<p><a class="button" href="#" onclick="WFAD.permanentlyBlockAllIPs('throttled'); return false;">Permanently block all throttled IP addresses</a></p>--> |
| 63 | </div> |
| 64 | </script> |
| 65 | |
| 66 | <script type="text/x-jquery-template" id="wfLockedOutIPsTmpl"> |
| 67 | <div> |
| 68 | <p><a class="button" href="#" onclick="WFAD.permanentlyBlockAllIPs('lockedOut'); return false;">Permanently block all locked out IP addresses</a></p> |
| 69 | <div style="border-top: 1px solid #CCC; padding-top: 10px; margin-top: 10px;"> |
| 70 | <table border="0" style="width: 100%"> |
| 71 | {{each(idx, elem) results}} |
| 72 | <tr><td> |
| 73 | <div> |
| 74 | {{if loc}} |
| 75 | <img src="<?php echo wfUtils::getBaseURL() . 'images/flags/'; ?>${loc.countryCode.toLowerCase()}.png" width="16" height="11" alt="${loc.countryName}" title="${loc.countryName}" class="wfFlag" /> |
| 76 | <a href="http://maps.google.com/maps?q=${loc.lat},${loc.lon}&z=6" target="_blank">{{if loc.city}}${loc.city}, {{/if}}${loc.countryName}</a> |
| 77 | {{else}} |
| 78 | An unknown location at IP <a href="${WFAD.makeIPTrafLink(IP)}" target="_blank">${IP}</a> |
| 79 | {{/if}} |
| 80 | </div> |
| 81 | <div> |
| 82 | <strong>IP:</strong> <a href="${WFAD.makeIPTrafLink(IP)}" target="_blank">${IP}</a> [<a href="#" onclick="WFAD.unlockOutIP('${IP}'); return false;">unlock</a>] |
| 83 | </div> |
| 84 | <div> |
| 85 | <strong>Reason:</strong> ${reason} |
| 86 | </div> |
| 87 | <div> |
| 88 | <span class="wfReverseLookup"><span style="display:none;">${IP}</span></span> |
| 89 | </div> |
| 90 | <div> |
| 91 | {{if lastAttemptAgo}} |
| 92 | <span class="wfTimeAgo">Last blocked attempt to sign-in or use the forgot password form was <span class="wfTimeAgo-timestamp" data-timestamp="${lastAttempt}">${lastAttemptAgo} ago</span>.</span> |
| 93 | {{else}} |
| 94 | <span class="wfTimeAgo">No attempts have been made to sign-in or use the forgot password form since this IP was locked out.</span> |
| 95 | {{/if}} |
| 96 | </div> |
| 97 | </td> |
| 98 | <td style="color: #999;"> |
| 99 | <ul> |
| 100 | <li>${blockedHits} attempts have been blocked</li> |
| 101 | <li>Will be unlocked in ${blockedForAgo}</li> |
| 102 | </ul> |
| 103 | </td></tr> |
| 104 | {{/each}} |
| 105 | </table> |
| 106 | </div> |
| 107 | </div> |
| 108 | </script> |
| 109 | |
| 110 | <script type="text/x-jquery-template" id="wfBlockedIPsTmpl"> |
| 111 | <div> |
| 112 | <p><a class="button" href="#" onclick="WFAD.permanentlyBlockAllIPs('blocked'); return false;">Permanently block all temporarily blocked IP addresses</a></p> |
| 113 | <div style="border-top: 1px solid #CCC; padding-top: 10px; margin-top: 10px;"> |
| 114 | <table border="0" style="width: 100%"> |
| 115 | {{each(idx, elem) results}} |
| 116 | <tr><td> |
| 117 | <div> |
| 118 | {{if loc}} |
| 119 | <img src="<?php echo wfUtils::getBaseURL() . 'images/flags/'; ?>${loc.countryCode.toLowerCase()}.png" width="16" height="11" alt="${loc.countryName}" title="${loc.countryName}" class="wfFlag" /> |
| 120 | <a href="http://maps.google.com/maps?q=${loc.lat},${loc.lon}&z=6" target="_blank">{{if loc.city}}${loc.city}, {{/if}}${loc.countryName}</a> |
| 121 | {{else}} |
| 122 | An unknown location at IP <a href="${WFAD.makeIPTrafLink(IP)}" target="_blank">${IP}</a> |
| 123 | {{/if}} |
| 124 | </div> |
| 125 | <div> |
| 126 | <strong>IP:</strong> <a href="${WFAD.makeIPTrafLink(IP)}" target="_blank">${IP}</a> [<a href="#" onclick="WFAD.unblockIPTwo('${IP}'); return false;">unblock</a>] |
| 127 | {{if permanent == '1'}} |
| 128 | [<span style="color: #F00;">permanently blocked</span>] |
| 129 | {{else}} [<a href="#" onclick="WFAD.permBlockIP('${IP}'); return false;">make permanent</a>]{{/if}} |
| 130 | </div> |
| 131 | <div> |
| 132 | <strong>Reason:</strong> ${reason} |
| 133 | </div> |
| 134 | <div> |
| 135 | <span class="wfReverseLookup"><span style="display:none;">${IP}</span></span> |
| 136 | </div> |
| 137 | <div> |
| 138 | {{if lastAttemptAgo}} |
| 139 | <span class="wfTimeAgo">Last blocked attempt to access the site was <span class="wfTimeAgo-timestamp" data-timestamp="${lastAttempt}">${lastAttemptAgo} ago</span>.</span> |
| 140 | {{else}} |
| 141 | <span class="wfTimeAgo">No attempts have been made to access the site since this IP was blocked.</span> |
| 142 | {{/if}} |
| 143 | </div> |
| 144 | <div> |
| 145 | {{if lastHitAgo}} |
| 146 | <span class="wfTimeAgo">Last site access before this IP was blocked was <span class="wfTimeAgo-timestamp" data-timestamp="${lastHit}">${lastHitAgo} ago</span></span> |
| 147 | {{/if}} |
| 148 | </div> |
| 149 | </td> |
| 150 | <td style="color: #999;"> |
| 151 | <ul> |
| 152 | <li>${totalHits} hits before blocked</li> |
| 153 | <li>${blockedHits} blocked hits</li> |
| 154 | <li> |
| 155 | {{if permanent == '1'}}Permanently blocked{{else}} |
| 156 | Will be unblocked in ${blockedForAgo}{{/if}} |
| 157 | </li> |
| 158 | </ul> |
| 159 | </td></tr> |
| 160 | {{/each}} |
| 161 | </table> |
| 162 | </div> |
| 163 | </div> |
| 164 | </script> |
| 165 | |
| 166 | <script type="text/x-jquery-template" id="wfWelcomeContent4"> |
| 167 | <div> |
| 168 | <h3>How to manage Blocked IP addresses</h3> |
| 169 | <strong><p>Block IP's temporarily or permanently</p></strong> |
| 170 | <p> |
| 171 | When you block an IP address, it will appear here with some additional information. |
| 172 | You will be able to see the geographic location of the IP, how many hits occured before |
| 173 | it was blocked and how many attempts it has made on your site since it was blocked. |
| 174 | </p> |
| 175 | <p> |
| 176 | You can also see how long until a blocked IP will be automatically unblocked. |
| 177 | You can also manually add IP addresses on this page to be blocked. |
| 178 | </p> |
| 179 | <p> |
| 180 | You also have the option to see IP addresses who have been locked out from the login system for too many login attempts. |
| 181 | And finally, when the firewall "throttles" someone's access for accessing the site too quickly, you can |
| 182 | see which IP addresses have been throttled. |
| 183 | </p> |
| 184 | </div> |
| 185 | </script> |
| 186 |