{"id":334,"date":"2026-11-28T22:46:10","date_gmt":"2026-11-28T22:46:10","guid":{"rendered":"https:\/\/goadmio.com\/blog\/go-iptop-command\/"},"modified":"2026-11-28T22:46:10","modified_gmt":"2026-11-28T22:46:10","slug":"go-iptop-command","status":"publish","type":"post","link":"https:\/\/goadmio.com\/blog\/go-iptop-command\/","title":{"rendered":"iptop with the \/go\/iptop Command"},"content":{"rendered":"<p>\/go\/iptop ranks the IP addresses that sent the most requests to the server in a chosen time window. It can also block the ones that look like bots or floods. It: No setup is needed. GoAdmio&#x27;s default cron jobs already run iptop block every hour, so high-traffic IPs and bots are blocked automatically. Every admin action in <a href=\"https:\/\/www.goadmio.com\/\">GoAdmio<\/a> has a matching <code>\/go\/<\/code> command, so anything you can click you can also script.<\/p>\n<h2>Quick start<\/h2>\n<p><code># Top IPs in the last 24 hours. Nothing is blocked.<br \/>\n\/go\/iptop<\/p>\n<p># Show the last hour and block offenders (what cron runs)<br \/>\n\/go\/iptop block<br \/>\n<\/code><\/pre>\n<h2>Options<\/h2>\n<h3>Modes<\/h3>\n<table>\n<thead>\n<tr>\n<th>Argument<\/th>\n<th>Window<\/th>\n<th>Rows shown<\/th>\n<th>Blocks?<\/th>\n<th>Threshold<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td><em>(none or unrecognized)<\/em><\/td>\n<td>24 hours<\/td>\n<td>25<\/td>\n<td>No<\/td>\n<td>\u2014<\/td>\n<\/tr>\n<tr>\n<td><code>&lt;seconds&gt;<\/code> (digits only)<\/td>\n<td>That many seconds<\/td>\n<td>25<\/td>\n<td>No<\/td>\n<td>\u2014<\/td>\n<\/tr>\n<tr>\n<td><code>hour<\/code><\/td>\n<td>1 hour<\/td>\n<td>25<\/td>\n<td>No<\/td>\n<td>\u2014<\/td>\n<\/tr>\n<tr>\n<td><code>day<\/code><\/td>\n<td>24 hours<\/td>\n<td>25<\/td>\n<td>No<\/td>\n<td>\u2014<\/td>\n<\/tr>\n<tr>\n<td><code>week<\/code><\/td>\n<td>7 days<\/td>\n<td>See <a href=\"#week-row-count\">note<\/a><\/td>\n<td>No<\/td>\n<td>\u2014<\/td>\n<\/tr>\n<tr>\n<td><code>block<\/code><\/td>\n<td>1 hour<\/td>\n<td>50<\/td>\n<td>Yes<\/td>\n<td><code>2500<\/code> (default)<\/td>\n<\/tr>\n<tr>\n<td><code>robot<\/code><\/td>\n<td>15 minutes<\/td>\n<td>50<\/td>\n<td>Yes<\/td>\n<td>A quarter of the limit (<code>625<\/code> by default)<\/td>\n<\/tr>\n<tr>\n<td><code>underattack<\/code><\/td>\n<td>15 minutes<\/td>\n<td>1<\/td>\n<td>Yes<\/td>\n<td><code>100<\/code>, only if server load is over 100%<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h3>Configuration<\/h3>\n<table>\n<thead>\n<tr>\n<th>Item<\/th>\n<th>Required<\/th>\n<th>Default<\/th>\n<th>Notes<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td><code>\/var\/go\/etc\/iptop<\/code> (file)<\/td>\n<td>No<\/td>\n<td><code>2500<\/code><\/td>\n<td>A whole number: the request count at which an IP is blocked. See <a href=\"#threshold\">Threshold<\/a>.<\/td>\n<\/tr>\n<tr>\n<td><code>\/etc\/white<\/code> (file)<\/td>\n<td>No<\/td>\n<td>\u2014<\/td>\n<td>IPs to leave out of the count. See <a href=\"#whitelist\">Whitelist<\/a>.<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h2>Examples<\/h2>\n<p><code># Who visited most in the last 5 minutes?<br \/>\n\/go\/iptop 300<br \/>\n<\/code><\/pre>\n<p><code># Who visited most this week?<br \/>\n\/go\/iptop week<br \/>\n<\/code><\/pre>\n<p><code># Report and block, as cron does every hour<br \/>\n\/go\/iptop block<br \/>\n<\/code><\/pre>\n<p><code># Block at 5000 requests per hour instead of 2500<br \/>\necho 5000 | sudo tee \/var\/go\/etc\/iptop<br \/>\n<\/code><\/pre>\n<p><code># Go back to the default threshold<br \/>\nsudo rm \/var\/go\/etc\/iptop<br \/>\n<\/code><\/pre>\n<p><code># Read the history of runs and their arguments<br \/>\nsudo tail \/var\/log\/go\/iptop.log<br \/>\n<\/code><\/pre>\n<h2>Output<\/h2>\n<table>\n<thead>\n<tr>\n<th>Outcome<\/th>\n<th>What you get<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>Report<\/td>\n<td>A table of IPs with visits, country, city, and company.<\/td>\n<\/tr>\n<tr>\n<td>Blocking mode, IPs blocked<\/td>\n<td>The same table, then an email and a WhatsApp message listing the blocked IPs.<\/td>\n<\/tr>\n<tr>\n<td>Blocking mode, nothing blocked<\/td>\n<td>The table only. No message is sent.<\/td>\n<\/tr>\n<tr>\n<td>Blocking mode, another instance running<\/td>\n<td><code>Instance (&lt;name&gt;) already running.<\/code> and exit code <code>1<\/code>.<\/td>\n<\/tr>\n<tr>\n<td><code>underattack<\/code>, server load not over 100%<\/td>\n<td>No output and exit code <code>1<\/code>.<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h3>Report<\/h3>\n<p>The columns are aligned with <code>column<\/code>. This sample is illustrative.<\/p>\n<p><code>IP            VISITS  COUNTRY  CITY     COMPANY<br \/>\n--            ------  -------  ----     -------<br \/>\n203.0.113.7   4120    US       Chicago  Example Hosting LLC<br \/>\n198.51.100.22 310     DE       Berlin   Example Telecom<br \/>\n<\/code><\/pre>\n<p>The server&#8217;s own IPv4 address, its IPv6 address, and <code>127.0.0.1<\/code> are never listed. Whitelisted IPs are not counted, so they don&#8217;t appear either.<\/p>\n<h3>Notification<\/h3>\n<p>Sent only in blocking modes, and only if at least one IP was blocked in that run.<\/p>\n<table>\n<thead>\n<tr>\n<th>Channel<\/th>\n<th>Subject or title<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>Email, through <a href=\"sendmail\"><code>sendmail<\/code><\/a><\/td>\n<td><code>Blocking of High Traffic and Non-Human Bot IPs (&lt;N&gt; IPs)<\/code><\/td>\n<\/tr>\n<tr>\n<td>WhatsApp, through <a href=\"sendwhatsapp\"><code>sendwhatsapp<\/code><\/a><\/td>\n<td><code>*Blocking of High Traffic and Non-Human Bot IPs (&lt;N&gt; IPs)*<\/code><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>The body explains what happened, then lists one line per blocked IP. The number of minutes is the window used for that run.<\/p>\n<p><code>- Robot 203.0.113.7 (3 Visits \/ 60 Minutes) - Country: US, Company: Example Hosting LLC.<br \/>\n- High Traffic 198.51.100.22 (4120 Visits \/ 60 Minutes) - Country: DE, Company: Example Telecom.<br \/>\n<\/code><\/pre>\n<blockquote>\n<p>[!WARNING]<br \/>\nBlocking is automatic and unattended. The <a href=\"#bot-networks\">bot-network list<\/a> blocks an IP after a <strong>single<\/strong> request, and it matches broad names such as <code>Microsoft<\/code>, <code>Comcast Cable Communications<\/code>, and <code>Beijing<\/code>. A real visitor on one of those networks can be blocked. Read the notification emails, and use <a href=\"unblock\"><code>unblock<\/code><\/a> for any false positive.<\/p>\n<\/blockquote>\n<p>See the full reference at <a href=\"https:\/\/www.goadmio.com\/commands\/iptop\">\/go\/iptop<\/a> and the <a href=\"https:\/\/www.goadmio.com\/commands\">GoAdmio command index<\/a>.<\/p>\n<p>GoAdmio is free and open source, with no license fees and no account limits. Read the <a href=\"https:\/\/www.goadmio.com\/docs\/\">GoAdmio docs<\/a>, or see why it is a <a href=\"https:\/\/www.goadmio.com\/cpanel-alternative.html\">free cPanel alternative<\/a> at <a href=\"https:\/\/www.goadmio.com\/\">goadmio.com<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\/go\/iptop ranks the IP addresses that sent the most requests to the server in a chosen time window. It can also block the ones that look like bots or &#8230;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4],"tags":[],"class_list":["post-334","post","type-post","status-publish","format-standard","hentry","category-command-line"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v28.9 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>iptop with the \/go\/iptop Command - GoAdmio<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/goadmio.com\/blog\/go-iptop-command\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"iptop with the \/go\/iptop Command - GoAdmio\" \/>\n<meta property=\"og:description\" content=\"\/go\/iptop ranks the IP addresses that sent the most requests to the server in a chosen time window. It can also block the ones that look like bots or ...\" \/>\n<meta property=\"og:url\" content=\"https:\/\/goadmio.com\/blog\/go-iptop-command\/\" \/>\n<meta property=\"og:site_name\" content=\"GoAdmio\" \/>\n<meta property=\"article:published_time\" content=\"2026-11-28T22:46:10+00:00\" \/>\n<meta name=\"author\" content=\"admin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/goadmio.com\\\/blog\\\/go-iptop-command\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/goadmio.com\\\/blog\\\/go-iptop-command\\\/\"},\"author\":{\"name\":\"admin\",\"@id\":\"https:\\\/\\\/goadmio.com\\\/blog\\\/#\\\/schema\\\/person\\\/2792dfae1ff31de5831fd5c9ede251ce\"},\"headline\":\"iptop with the \\\/go\\\/iptop Command\",\"datePublished\":\"2026-11-28T22:46:10+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/goadmio.com\\\/blog\\\/go-iptop-command\\\/\"},\"wordCount\":394,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/goadmio.com\\\/blog\\\/#organization\"},\"articleSection\":[\"Command Line\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/goadmio.com\\\/blog\\\/go-iptop-command\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/goadmio.com\\\/blog\\\/go-iptop-command\\\/\",\"url\":\"https:\\\/\\\/goadmio.com\\\/blog\\\/go-iptop-command\\\/\",\"name\":\"iptop with the \\\/go\\\/iptop Command - GoAdmio\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/goadmio.com\\\/blog\\\/#website\"},\"datePublished\":\"2026-11-28T22:46:10+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/goadmio.com\\\/blog\\\/go-iptop-command\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/goadmio.com\\\/blog\\\/go-iptop-command\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/goadmio.com\\\/blog\\\/go-iptop-command\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/goadmio.com\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"iptop with the \\\/go\\\/iptop Command\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/goadmio.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/goadmio.com\\\/blog\\\/\",\"name\":\"GoAdmio\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\\\/\\\/goadmio.com\\\/blog\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/goadmio.com\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/goadmio.com\\\/blog\\\/#organization\",\"name\":\"GoAdmio\",\"url\":\"https:\\\/\\\/goadmio.com\\\/blog\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/goadmio.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/goadmio.com\\\/blog\\\/wp-content\\\/uploads\\\/2026\\\/11\\\/goadmio-logo.png\",\"contentUrl\":\"https:\\\/\\\/goadmio.com\\\/blog\\\/wp-content\\\/uploads\\\/2026\\\/11\\\/goadmio-logo.png\",\"width\":1200,\"height\":1200,\"caption\":\"GoAdmio\"},\"image\":{\"@id\":\"https:\\\/\\\/goadmio.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/goadmio.com\\\/blog\\\/#\\\/schema\\\/person\\\/2792dfae1ff31de5831fd5c9ede251ce\",\"name\":\"admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/d4bb3c53e2296776392ae05085feace43ad3be136196668f9d414210355127bd?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/d4bb3c53e2296776392ae05085feace43ad3be136196668f9d414210355127bd?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/d4bb3c53e2296776392ae05085feace43ad3be136196668f9d414210355127bd?s=96&d=mm&r=g\",\"caption\":\"admin\"},\"sameAs\":[\"https:\\\/\\\/goadmio.com\\\/blog\"],\"url\":\"https:\\\/\\\/goadmio.com\\\/blog\\\/author\\\/admin\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"iptop with the \/go\/iptop Command - GoAdmio","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/goadmio.com\/blog\/go-iptop-command\/","og_locale":"en_US","og_type":"article","og_title":"iptop with the \/go\/iptop Command - GoAdmio","og_description":"\/go\/iptop ranks the IP addresses that sent the most requests to the server in a chosen time window. It can also block the ones that look like bots or ...","og_url":"https:\/\/goadmio.com\/blog\/go-iptop-command\/","og_site_name":"GoAdmio","article_published_time":"2026-11-28T22:46:10+00:00","author":"admin","twitter_card":"summary_large_image","twitter_misc":{"Written by":"admin","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/goadmio.com\/blog\/go-iptop-command\/#article","isPartOf":{"@id":"https:\/\/goadmio.com\/blog\/go-iptop-command\/"},"author":{"name":"admin","@id":"https:\/\/goadmio.com\/blog\/#\/schema\/person\/2792dfae1ff31de5831fd5c9ede251ce"},"headline":"iptop with the \/go\/iptop Command","datePublished":"2026-11-28T22:46:10+00:00","mainEntityOfPage":{"@id":"https:\/\/goadmio.com\/blog\/go-iptop-command\/"},"wordCount":394,"commentCount":0,"publisher":{"@id":"https:\/\/goadmio.com\/blog\/#organization"},"articleSection":["Command Line"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/goadmio.com\/blog\/go-iptop-command\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/goadmio.com\/blog\/go-iptop-command\/","url":"https:\/\/goadmio.com\/blog\/go-iptop-command\/","name":"iptop with the \/go\/iptop Command - GoAdmio","isPartOf":{"@id":"https:\/\/goadmio.com\/blog\/#website"},"datePublished":"2026-11-28T22:46:10+00:00","breadcrumb":{"@id":"https:\/\/goadmio.com\/blog\/go-iptop-command\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/goadmio.com\/blog\/go-iptop-command\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/goadmio.com\/blog\/go-iptop-command\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/goadmio.com\/blog\/"},{"@type":"ListItem","position":2,"name":"iptop with the \/go\/iptop Command"}]},{"@type":"WebSite","@id":"https:\/\/goadmio.com\/blog\/#website","url":"https:\/\/goadmio.com\/blog\/","name":"GoAdmio","description":"","publisher":{"@id":"https:\/\/goadmio.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/goadmio.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/goadmio.com\/blog\/#organization","name":"GoAdmio","url":"https:\/\/goadmio.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/goadmio.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/goadmio.com\/blog\/wp-content\/uploads\/2026\/11\/goadmio-logo.png","contentUrl":"https:\/\/goadmio.com\/blog\/wp-content\/uploads\/2026\/11\/goadmio-logo.png","width":1200,"height":1200,"caption":"GoAdmio"},"image":{"@id":"https:\/\/goadmio.com\/blog\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/goadmio.com\/blog\/#\/schema\/person\/2792dfae1ff31de5831fd5c9ede251ce","name":"admin","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/d4bb3c53e2296776392ae05085feace43ad3be136196668f9d414210355127bd?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/d4bb3c53e2296776392ae05085feace43ad3be136196668f9d414210355127bd?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/d4bb3c53e2296776392ae05085feace43ad3be136196668f9d414210355127bd?s=96&d=mm&r=g","caption":"admin"},"sameAs":["https:\/\/goadmio.com\/blog"],"url":"https:\/\/goadmio.com\/blog\/author\/admin\/"}]}},"_links":{"self":[{"href":"https:\/\/goadmio.com\/blog\/wp-json\/wp\/v2\/posts\/334","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/goadmio.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/goadmio.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/goadmio.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/goadmio.com\/blog\/wp-json\/wp\/v2\/comments?post=334"}],"version-history":[{"count":0,"href":"https:\/\/goadmio.com\/blog\/wp-json\/wp\/v2\/posts\/334\/revisions"}],"wp:attachment":[{"href":"https:\/\/goadmio.com\/blog\/wp-json\/wp\/v2\/media?parent=334"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/goadmio.com\/blog\/wp-json\/wp\/v2\/categories?post=334"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/goadmio.com\/blog\/wp-json\/wp\/v2\/tags?post=334"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}