{"id":155,"date":"2021-01-23T09:58:19","date_gmt":"2021-01-23T09:58:19","guid":{"rendered":"https:\/\/www.cybersecuritynotepad.com\/?p=155"},"modified":"2021-01-26T07:49:50","modified_gmt":"2021-01-26T07:49:50","slug":"ab-apache-benchmarking-tool","status":"publish","type":"post","link":"https:\/\/www.cybersecuritynotepad.com\/index.php\/2021\/01\/23\/ab-apache-benchmarking-tool\/","title":{"rendered":"ab &#8211; Apache benchmarking tool"},"content":{"rendered":"\n<p>&#8220;ab&#8221; is an Apache HTTP server benchmarking tool. <\/p>\n\n\n\n<p>Before probing further this type of server, first you need to determine some basic information about its configuration.  There are multiple tools available for server fingerprinting. In this case, the tool is specifically made for Apache and it is installed by default in many Linux distributions. When you see a banner, header, default files or anything else that indicates that it is Apache, then you could use the &#8220;ab&#8221; tool to get some more useful information that you can use later to be precise rather than flooding the server with  unnecessary traffic and generating security alerts. <\/p>\n\n\n\n<p>Basic syntax:<\/p>\n\n\n\n<p class=\"has-dark-gray-color has-text-color has-small-font-size\">ab -n &lt;number of requests&gt; -c &lt;number of concurrent requests&gt; &lt;url&gt;<\/p>\n\n\n\n<p>For more detailed information read the tool manual. It is a powerful tool that allows server administrators to determine various configuration issues with Apache, including the number of requests that the server can handle per second and its bandwidth limits. For resilience, disaster recovery and load balancing purposes, that is the key information for admins. For offensive minded individuals this is one of the key bits of information you can get. If you know what the bandwidth is and how much traffic the server can handle then you can adapt your approach accordingly. <\/p>\n\n\n\n<p>The sample usage is shown at the top of the page.<\/p>\n\n\n\n<p>The tcpdump filter used in the example is as follows:<\/p>\n\n\n\n<p class=\"has-dark-gray-color has-text-color has-small-font-size\">sudo tcpdump -A -s 0 &#8216;tcp dst port 80 and (((ip[2:2] &#8211; ((ip[0]&amp;0xf)&lt;&lt;2)) &#8211; ((tcp[12]&amp;0xf0)&gt;&gt;2)) != 0)&#8217; -i lo<\/p>\n\n\n\n<p>The filter shows only the requests made and no responses and it is targeting the localhost interface used in the example. If you need to see both the responses and the requests change  &#8216;tcp dst port 80&#8217; to &#8216;tcp port 80&#8217; in the tcpdump filter. <\/p>\n","protected":false},"excerpt":{"rendered":"<p>&#8220;ab&#8221; is an Apache HTTP server benchmarking tool. Before probing further this type of server, first you need to determine some basic information about its configuration. There are multiple tools available for server fingerprinting. In this case, the tool is specifically made for Apache and it is installed by default in many Linux distributions. When&hellip; <a class=\"more-link\" href=\"https:\/\/www.cybersecuritynotepad.com\/index.php\/2021\/01\/23\/ab-apache-benchmarking-tool\/\">Continue reading <span class=\"screen-reader-text\">ab &#8211; Apache benchmarking tool<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":156,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[9],"tags":[5,7,6,8,10],"class_list":["post-155","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-references_command_line","tag-ab","tag-apache","tag-linux","tag-references","tag-tcpdump","entry"],"yoast_head":"<title>ab - Apache benchmarking tool - Cyber Security Notepad<\/title>\n<meta name=\"description\" content=\"Linux,Apache,Ab,benchmarking,cybersecurity,cyber security notepad, tcpdump, references, cyber, security, information security, notepad, tools\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<meta property=\"og:locale\" content=\"en_GB\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"ab - Apache benchmarking tool - Cyber Security Notepad\" \/>\n<meta property=\"og:description\" content=\"Linux,Apache,Ab,benchmarking,cybersecurity,cyber security notepad, tcpdump, references, cyber, security, information security, notepad, tools\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.cybersecuritynotepad.com\/index.php\/2021\/01\/23\/ab-apache-benchmarking-tool\/\" \/>\n<meta property=\"og:site_name\" content=\"Cyber Security Notepad\" \/>\n<meta property=\"article:published_time\" content=\"2021-01-23T09:58:19+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2021-01-26T07:49:50+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.cybersecuritynotepad.com\/wp-content\/uploads\/2021\/01\/ab_tcpdump_1.ready_.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1384\" \/>\n\t<meta property=\"og:image:height\" content=\"709\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"admin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.cybersecuritynotepad.com\\\/index.php\\\/2021\\\/01\\\/23\\\/ab-apache-benchmarking-tool\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.cybersecuritynotepad.com\\\/index.php\\\/2021\\\/01\\\/23\\\/ab-apache-benchmarking-tool\\\/\"},\"author\":\"cybersecuritynotepad\",\"headline\":\"ab &#8211; Apache benchmarking tool\",\"datePublished\":\"2021-01-23T09:58:19+00:00\",\"dateModified\":\"2021-01-26T07:49:50+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.cybersecuritynotepad.com\\\/index.php\\\/2021\\\/01\\\/23\\\/ab-apache-benchmarking-tool\\\/\"},\"wordCount\":308,\"commentCount\":0,\"image\":{\"@id\":\"https:\\\/\\\/www.cybersecuritynotepad.com\\\/index.php\\\/2021\\\/01\\\/23\\\/ab-apache-benchmarking-tool\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.cybersecuritynotepad.com\\\/wp-content\\\/uploads\\\/2021\\\/01\\\/ab_tcpdump_1.ready_.png\",\"keywords\":[\"ab\",\"Apache\",\"Linux\",\"references\",\"tcpdump\"],\"articleSection\":[\"References\"],\"inLanguage\":\"en-GB\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.cybersecuritynotepad.com\\\/index.php\\\/2021\\\/01\\\/23\\\/ab-apache-benchmarking-tool\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.cybersecuritynotepad.com\\\/index.php\\\/2021\\\/01\\\/23\\\/ab-apache-benchmarking-tool\\\/\",\"url\":\"https:\\\/\\\/www.cybersecuritynotepad.com\\\/index.php\\\/2021\\\/01\\\/23\\\/ab-apache-benchmarking-tool\\\/\",\"name\":\"ab - Apache benchmarking tool - Cyber Security Notepad\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.cybersecuritynotepad.com\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.cybersecuritynotepad.com\\\/index.php\\\/2021\\\/01\\\/23\\\/ab-apache-benchmarking-tool\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.cybersecuritynotepad.com\\\/index.php\\\/2021\\\/01\\\/23\\\/ab-apache-benchmarking-tool\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.cybersecuritynotepad.com\\\/wp-content\\\/uploads\\\/2021\\\/01\\\/ab_tcpdump_1.ready_.png\",\"datePublished\":\"2021-01-23T09:58:19+00:00\",\"dateModified\":\"2021-01-26T07:49:50+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/www.cybersecuritynotepad.com\\\/#\\\/schema\\\/person\\\/7fd460a876c44ee288cb37cb33e1ed5e\"},\"description\":\"Linux,Apache,Ab,benchmarking,cybersecurity,cyber security notepad, tcpdump, references, cyber, security, information security, notepad, tools\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.cybersecuritynotepad.com\\\/index.php\\\/2021\\\/01\\\/23\\\/ab-apache-benchmarking-tool\\\/#breadcrumb\"},\"inLanguage\":\"en-GB\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.cybersecuritynotepad.com\\\/index.php\\\/2021\\\/01\\\/23\\\/ab-apache-benchmarking-tool\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-GB\",\"@id\":\"https:\\\/\\\/www.cybersecuritynotepad.com\\\/index.php\\\/2021\\\/01\\\/23\\\/ab-apache-benchmarking-tool\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.cybersecuritynotepad.com\\\/wp-content\\\/uploads\\\/2021\\\/01\\\/ab_tcpdump_1.ready_.png\",\"contentUrl\":\"https:\\\/\\\/www.cybersecuritynotepad.com\\\/wp-content\\\/uploads\\\/2021\\\/01\\\/ab_tcpdump_1.ready_.png\",\"width\":1384,\"height\":709,\"caption\":\"ab tool usage example\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.cybersecuritynotepad.com\\\/index.php\\\/2021\\\/01\\\/23\\\/ab-apache-benchmarking-tool\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.cybersecuritynotepad.com\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"ab &#8211; Apache benchmarking tool\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.cybersecuritynotepad.com\\\/#website\",\"url\":\"https:\\\/\\\/www.cybersecuritynotepad.com\\\/\",\"name\":\"Cyber Security Notepad\",\"description\":\"Cyber and Information Security News, Trends, Guides and Tools\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.cybersecuritynotepad.com\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-GB\"}]}<\/script>","yoast_head_json":{"title":"ab - Apache benchmarking tool - Cyber Security Notepad","description":"Linux,Apache,Ab,benchmarking,cybersecurity,cyber security notepad, tcpdump, references, cyber, security, information security, notepad, tools","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"og_locale":"en_GB","og_type":"article","og_title":"ab - Apache benchmarking tool - Cyber Security Notepad","og_description":"Linux,Apache,Ab,benchmarking,cybersecurity,cyber security notepad, tcpdump, references, cyber, security, information security, notepad, tools","og_url":"https:\/\/www.cybersecuritynotepad.com\/index.php\/2021\/01\/23\/ab-apache-benchmarking-tool\/","og_site_name":"Cyber Security Notepad","article_published_time":"2021-01-23T09:58:19+00:00","article_modified_time":"2021-01-26T07:49:50+00:00","og_image":[{"width":1384,"height":709,"url":"https:\/\/www.cybersecuritynotepad.com\/wp-content\/uploads\/2021\/01\/ab_tcpdump_1.ready_.png","type":"image\/png"}],"author":"admin","twitter_card":"summary_large_image","schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.cybersecuritynotepad.com\/index.php\/2021\/01\/23\/ab-apache-benchmarking-tool\/#article","isPartOf":{"@id":"https:\/\/www.cybersecuritynotepad.com\/index.php\/2021\/01\/23\/ab-apache-benchmarking-tool\/"},"author":"cybersecuritynotepad","headline":"ab &#8211; Apache benchmarking tool","datePublished":"2021-01-23T09:58:19+00:00","dateModified":"2021-01-26T07:49:50+00:00","mainEntityOfPage":{"@id":"https:\/\/www.cybersecuritynotepad.com\/index.php\/2021\/01\/23\/ab-apache-benchmarking-tool\/"},"wordCount":308,"commentCount":0,"image":{"@id":"https:\/\/www.cybersecuritynotepad.com\/index.php\/2021\/01\/23\/ab-apache-benchmarking-tool\/#primaryimage"},"thumbnailUrl":"https:\/\/www.cybersecuritynotepad.com\/wp-content\/uploads\/2021\/01\/ab_tcpdump_1.ready_.png","keywords":["ab","Apache","Linux","references","tcpdump"],"articleSection":["References"],"inLanguage":"en-GB","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.cybersecuritynotepad.com\/index.php\/2021\/01\/23\/ab-apache-benchmarking-tool\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.cybersecuritynotepad.com\/index.php\/2021\/01\/23\/ab-apache-benchmarking-tool\/","url":"https:\/\/www.cybersecuritynotepad.com\/index.php\/2021\/01\/23\/ab-apache-benchmarking-tool\/","name":"ab - Apache benchmarking tool - Cyber Security Notepad","isPartOf":{"@id":"https:\/\/www.cybersecuritynotepad.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.cybersecuritynotepad.com\/index.php\/2021\/01\/23\/ab-apache-benchmarking-tool\/#primaryimage"},"image":{"@id":"https:\/\/www.cybersecuritynotepad.com\/index.php\/2021\/01\/23\/ab-apache-benchmarking-tool\/#primaryimage"},"thumbnailUrl":"https:\/\/www.cybersecuritynotepad.com\/wp-content\/uploads\/2021\/01\/ab_tcpdump_1.ready_.png","datePublished":"2021-01-23T09:58:19+00:00","dateModified":"2021-01-26T07:49:50+00:00","author":{"@id":"https:\/\/www.cybersecuritynotepad.com\/#\/schema\/person\/7fd460a876c44ee288cb37cb33e1ed5e"},"description":"Linux,Apache,Ab,benchmarking,cybersecurity,cyber security notepad, tcpdump, references, cyber, security, information security, notepad, tools","breadcrumb":{"@id":"https:\/\/www.cybersecuritynotepad.com\/index.php\/2021\/01\/23\/ab-apache-benchmarking-tool\/#breadcrumb"},"inLanguage":"en-GB","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.cybersecuritynotepad.com\/index.php\/2021\/01\/23\/ab-apache-benchmarking-tool\/"]}]},{"@type":"ImageObject","inLanguage":"en-GB","@id":"https:\/\/www.cybersecuritynotepad.com\/index.php\/2021\/01\/23\/ab-apache-benchmarking-tool\/#primaryimage","url":"https:\/\/www.cybersecuritynotepad.com\/wp-content\/uploads\/2021\/01\/ab_tcpdump_1.ready_.png","contentUrl":"https:\/\/www.cybersecuritynotepad.com\/wp-content\/uploads\/2021\/01\/ab_tcpdump_1.ready_.png","width":1384,"height":709,"caption":"ab tool usage example"},{"@type":"BreadcrumbList","@id":"https:\/\/www.cybersecuritynotepad.com\/index.php\/2021\/01\/23\/ab-apache-benchmarking-tool\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.cybersecuritynotepad.com\/"},{"@type":"ListItem","position":2,"name":"ab &#8211; Apache benchmarking tool"}]},{"@type":"WebSite","@id":"https:\/\/www.cybersecuritynotepad.com\/#website","url":"https:\/\/www.cybersecuritynotepad.com\/","name":"Cyber Security Notepad","description":"Cyber and Information Security News, Trends, Guides and Tools","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.cybersecuritynotepad.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-GB"}]}},"jetpack_featured_media_url":"https:\/\/www.cybersecuritynotepad.com\/wp-content\/uploads\/2021\/01\/ab_tcpdump_1.ready_.png","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/www.cybersecuritynotepad.com\/index.php\/wp-json\/wp\/v2\/posts\/155","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.cybersecuritynotepad.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.cybersecuritynotepad.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.cybersecuritynotepad.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.cybersecuritynotepad.com\/index.php\/wp-json\/wp\/v2\/comments?post=155"}],"version-history":[{"count":9,"href":"https:\/\/www.cybersecuritynotepad.com\/index.php\/wp-json\/wp\/v2\/posts\/155\/revisions"}],"predecessor-version":[{"id":178,"href":"https:\/\/www.cybersecuritynotepad.com\/index.php\/wp-json\/wp\/v2\/posts\/155\/revisions\/178"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.cybersecuritynotepad.com\/index.php\/wp-json\/wp\/v2\/media\/156"}],"wp:attachment":[{"href":"https:\/\/www.cybersecuritynotepad.com\/index.php\/wp-json\/wp\/v2\/media?parent=155"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.cybersecuritynotepad.com\/index.php\/wp-json\/wp\/v2\/categories?post=155"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.cybersecuritynotepad.com\/index.php\/wp-json\/wp\/v2\/tags?post=155"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}