{"id":415158,"date":"2026-12-04T16:41:22","date_gmt":"2026-12-04T16:41:22","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/l2s-login-monitor\/"},"modified":"2026-12-04T16:41:13","modified_gmt":"2026-12-04T16:41:13","slug":"l2s-login-monitor","status":"publish","type":"plugin","link":"https:\/\/wordpress.org\/plugins\/l2s-login-monitor\/","author":20071002,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"1.0.0","stable_tag":"1.0.0","tested":"7.1.5","requires":"6.2","requires_php":"7.4","requires_plugins":null,"header_name":"L2S Login Monitor","header_author":"L2S.io","header_description":"See, log and block suspicious logins: login log, brute-force protection, risk score and session protection. Works with L2S Login OTP 2FA.","last_updated":"2026-12-04 16:41:13","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"https:\/\/www.L2S.io\/en\/l2s-login-monitor","header_author_uri":"https:\/\/www.l2s.io","rating":0,"author_block_rating":0,"active_installs":0,"downloads":51,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":{"1.0.0":{"tag":"1.0.0","author":"landolsi","date":"2026-12-04 16:41:13","revision":3844879}},"upgrade_notice":[],"ratings":[],"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":3844864,"resolution":"128x128","location":"assets","locale":"","width":128,"height":128},"icon-256x256.png":{"filename":"icon-256x256.png","revision":3844864,"resolution":"256x256","location":"assets","locale":"","width":256,"height":256},"icon.svg":{"filename":"icon.svg","revision":3844864,"resolution":false,"location":"assets","locale":false}},"assets_banners":{"banner-1544x500.png":{"filename":"banner-1544x500.png","revision":3844864,"resolution":"1544x500","location":"assets","locale":"","width":1544,"height":500},"banner-772x250.png":{"filename":"banner-772x250.png","revision":3844864,"resolution":"772x250","location":"assets","locale":"","width":772,"height":250}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0.0"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":3844864,"resolution":"1","location":"assets","locale":"","width":1440,"height":900},"screenshot-2.png":{"filename":"screenshot-2.png","revision":3844864,"resolution":"2","location":"assets","locale":"","width":1440,"height":900},"screenshot-3.png":{"filename":"screenshot-3.png","revision":3844864,"resolution":"3","location":"assets","locale":"","width":1440,"height":900},"screenshot-4.png":{"filename":"screenshot-4.png","revision":3844864,"resolution":"4","location":"assets","locale":"","width":1440,"height":900},"screenshot-5.png":{"filename":"screenshot-5.png","revision":3844864,"resolution":"5","location":"assets","locale":"","width":1440,"height":900},"screenshot-6.png":{"filename":"screenshot-6.png","revision":3844864,"resolution":"6","location":"assets","locale":"","width":1440,"height":900}},"screenshots":{"1":"Overview: logins, failures, blocks and sessions of the last 24 hours, latest events and a protection check.","2":"Login log: every attempt with its result, IP address, device, entry point, risk score and the decision taken.","3":"Active sessions: who is logged in, from where and on which device, with buttons to close sessions.","4":"Blocks and lists: active blocks with their reference, reason and remaining time, and a form to block an address.","5":"Settings: observation or blocking mode, login attempt limits, IP lists and more.","6":"Setup assistant: four steps to start safely (mode, alert e-mail, trusted addresses, activation)."}},"plugin_section":[],"plugin_tags":[2439,9374,602,55369,600],"plugin_category":[38,54],"plugin_contributors":[295095],"plugin_business_model":[],"class_list":["post-415158","plugin","type-plugin","status-publish","hentry","plugin_tags-brute-force","plugin_tags-limit-login-attempts","plugin_tags-login","plugin_tags-login-log","plugin_tags-security","plugin_category-authentication","plugin_category-security-and-spam-protection","plugin_contributors-landolsi","plugin_committers-landolsi"],"banners":{"banner":"https:\/\/ps.w.org\/l2s-login-monitor\/assets\/banner-772x250.png?rev=3844864","banner_2x":"https:\/\/ps.w.org\/l2s-login-monitor\/assets\/banner-1544x500.png?rev=3844864","banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":"https:\/\/ps.w.org\/l2s-login-monitor\/assets\/icon.svg?rev=3844864","icon":"https:\/\/ps.w.org\/l2s-login-monitor\/assets\/icon.svg?rev=3844864","icon_2x":false,"generated":false},"screenshots":[{"src":"https:\/\/ps.w.org\/l2s-login-monitor\/assets\/screenshot-1.png?rev=3844864","caption":"Overview: logins, failures, blocks and sessions of the last 24 hours, latest events and a protection check."},{"src":"https:\/\/ps.w.org\/l2s-login-monitor\/assets\/screenshot-2.png?rev=3844864","caption":"Login log: every attempt with its result, IP address, device, entry point, risk score and the decision taken."},{"src":"https:\/\/ps.w.org\/l2s-login-monitor\/assets\/screenshot-3.png?rev=3844864","caption":"Active sessions: who is logged in, from where and on which device, with buttons to close sessions."},{"src":"https:\/\/ps.w.org\/l2s-login-monitor\/assets\/screenshot-4.png?rev=3844864","caption":"Blocks and lists: active blocks with their reference, reason and remaining time, and a form to block an address."},{"src":"https:\/\/ps.w.org\/l2s-login-monitor\/assets\/screenshot-5.png?rev=3844864","caption":"Settings: observation or blocking mode, login attempt limits, IP lists and more."},{"src":"https:\/\/ps.w.org\/l2s-login-monitor\/assets\/screenshot-6.png?rev=3844864","caption":"Setup assistant: four steps to start safely (mode, alert e-mail, trusted addresses, activation)."}],"raw_content":"<!--section=description-->\n<p>L2S Login Monitor watches everything around the login of your WordPress site. Everything that protects your site is in this free plugin.<\/p>\n\n<h4>Login log<\/h4>\n\n<ul>\n<li>Every attempt (success, failure, blocked) through the login form, WooCommerce, XML-RPC, the REST API and application passwords, with IP address, device, entry point, risk score and the decision taken.<\/li>\n<li>Logouts, password reset requests and resets, new accounts and role changes, refused redirects, settings changes, blocks and closed sessions are logged too.<\/li>\n<li>Filters, timeline per user and per IP, CSV export protected against formula injection.<\/li>\n<li>Passwords and verification codes are never recorded. An unknown username typed at login is shortened and marked \"unknown\", in case a password was typed in that field.<\/li>\n<\/ul>\n\n<h4>Brute-force protection<\/h4>\n\n<ul>\n<li>Counters per IP, per account and per IP + account, with progressive block durations.<\/li>\n<li>Blocking targets the IP + account pair, so an attacker cannot lock your administrator account.<\/li>\n<li>Whitelist and blacklist of addresses and CIDR ranges, manual blocks and unblocks.<\/li>\n<li>Limit on password reset requests.<\/li>\n<\/ul>\n\n<h4>Suspicious logins<\/h4>\n\n<ul>\n<li>Each successful login gets a risk score from 0 to 100 with the list of signals that explain it: new device, IP seen in recent failures, success after a series of failures, unusual hour for this user, anonymizing network (ranges you declare). Administrators and editors get a higher score.<\/li>\n<li>The score never blocks on its own: it raises alerts, and can ask L2S Login OTP 2FA for a verification code.<\/li>\n<\/ul>\n\n<h4>Sessions and phishing<\/h4>\n\n<ul>\n<li>Active sessions per user, close one or all of them. An administrator cannot close another administrator's session, and a user whose session is closed by someone else is told by e-mail.<\/li>\n<li>Session protection: a login cookie used from another browser and another network (stolen cookie, phishing page in front of your site) closes the session and alerts you. Strict binding to the IP address is optional.<\/li>\n<li>\"This was not me\": after a login from a new device or a password reset, the user gets an e-mail with a link that closes every session and asks for a new password.<\/li>\n<li>Password reset links are protected against a forged Host header.<\/li>\n<li>Safe redirects: no open redirect after login, logout or lost password; you can add trusted domains.<\/li>\n<li>Username scanning: identical error messages, <code>?author=N<\/code> scanning blocked, user list hidden from the REST API.<\/li>\n<li>XML-RPC: <code>system.multicall<\/code> blocked, or XML-RPC disabled.<\/li>\n<\/ul>\n\n<h4>Alerts<\/h4>\n\n<ul>\n<li>E-mail alerts for attacks, suspicious logins, reused sessions, \"this was not me\" reports, new administrator accounts and deactivation of the plugin.<\/li>\n<\/ul>\n\n<h4>Administration<\/h4>\n\n<ul>\n<li>Overview with the last 24 hours, latest events and a protection check (mode, HTTPS, XML-RPC, two-factor authentication).<\/li>\n<li>Screens: Overview, Login log, Active sessions, Blocks and lists, Settings, Setup assistant, Documentation.<\/li>\n<li>\"My sessions\" section in each user's profile.<\/li>\n<li>WP-CLI: <code>wp l2s-login-monitor log | block | unblock | blocks | sessions<\/code>.<\/li>\n<li>Observation mode by default: test before you block. Your IP is whitelisted at activation, and a four-step setup assistant guides the first steps.<\/li>\n<\/ul>\n\n<h4>Privacy<\/h4>\n\n<ul>\n<li>Data stays on your site. No external service is contacted.<\/li>\n<li>The log is kept 90 days by default (7 to 90 days), then deleted every day.<\/li>\n<li>Optional IP anonymization, WordPress personal data export and erasure, suggested privacy policy text.<\/li>\n<\/ul>\n\n<h4>Languages<\/h4>\n\n<p>English, ready for translation. French, Spanish and German translations are prepared and will be shared on translate.wordpress.org.<\/p>\n\n<h4>With L2S Login OTP 2FA<\/h4>\n\n<p>Works alone, and even better with <a href=\"https:\/\/wordpress.org\/plugins\/l2s-login-otp-2fa\/\">L2S Login OTP 2FA<\/a> (two-factor authentication by e-mail, SMS, authenticator app and passkeys): verification results go to the log, and a code can be required when a login is risky.<\/p>\n\n<h4>Pro add-on (planned)<\/h4>\n\n<p>A separate L2S Login Monitor Pro add-on is planned for: alerts by SMS and Telegram with a channel choice for each kind of alert, geolocation and blocking by country, webhooks, statistics and reports, and log retention up to 365 days. This free plugin contains no locked feature and no license check.<\/p>\n\n<h3>External services<\/h3>\n\n<p>L2S Login Monitor does not contact any external service.<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Upload the <code>l2s-login-monitor<\/code> folder to <code>\/wp-content\/plugins\/<\/code>, or install it from the Plugins screen.<\/li>\n<li>Activate the plugin. It starts in observation mode, and a notice leads you to the setup assistant.<\/li>\n<li>Check the alert e-mail and the whitelist, then switch to blocking mode.<\/li>\n<\/ol>\n\n<p>Locked out? Add <code>define( 'L2SLM_DISABLE', true );<\/code> to <code>wp-config.php<\/code>.<\/p>\n\n<!--section=faq-->\n<dl>\n<dt id=\"my%20site%20is%20behind%20cloudflare%20or%20a%20load%20balancer\"><h3>My site is behind Cloudflare or a load balancer<\/h3><\/dt>\n<dd><p>Declare its addresses in <strong>Settings &gt; Trusted proxies<\/strong> and choose the right header. Forwarded IP headers are ignored otherwise, so they cannot be faked.<\/p><\/dd>\n<dt id=\"how%20long%20is%20the%20log%20kept%3F\"><h3>How long is the log kept?<\/h3><\/dt>\n<dd><p>90 days by default. You can choose from 7 to 90 days in <strong>Settings<\/strong>. Older lines are deleted every day. The Pro add-on will allow up to 365 days.<\/p><\/dd>\n<dt id=\"can%20i%20receive%20alerts%20by%20sms%3F\"><h3>Can I receive alerts by SMS?<\/h3><\/dt>\n<dd><p>Not in the free plugin: alerts are sent by e-mail. SMS and Telegram alerts are planned for the Pro add-on, where you will choose which kinds of alert go to which channel. SMS will go through the SMS provider set up in <a href=\"https:\/\/wordpress.org\/plugins\/l2s-login-otp-2fa\/\">L2S Login OTP 2FA<\/a> (Twilio, Vonage or TunisieSMS).<\/p><\/dd>\n<dt id=\"does%20it%20show%20the%20country%20of%20each%20login%3F\"><h3>Does it show the country of each login?<\/h3><\/dt>\n<dd><p>Not in the free plugin, which ships no geolocation database. The country, blocking by country and the location signals (new country, impossible travel) are part of the Pro add-on.<\/p><\/dd>\n<dt id=\"will%20it%20block%20my%20real%20users%3F\"><h3>Will it block my real users?<\/h3><\/dt>\n<dd><p>It starts in observation mode: attacks are logged but nobody is blocked until you switch to blocking mode. A change of IP address alone (mobile network, Wi-Fi, VPN) never closes a session.<\/p><\/dd>\n<dt id=\"are%20passwords%20stored%3F\"><h3>Are passwords stored?<\/h3><\/dt>\n<dd><p>Never. Neither passwords nor verification codes are written to the log.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.0.0<\/h4>\n\n<ul>\n<li>Initial release.<\/li>\n<\/ul>","raw_excerpt":"See who logs in, from where and how. Log every login attempt, block brute-force attacks and spot unusual logins.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/415158","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=415158"}],"author":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/landolsi"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=415158"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=415158"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=415158"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=415158"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=415158"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=415158"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}