{"id":546,"date":"2016-04-15T09:57:50","date_gmt":"2016-04-15T08:57:50","guid":{"rendered":"http:\/\/www.haxed.me.uk\/?p=546"},"modified":"2016-04-15T09:57:50","modified_gmt":"2016-04-15T08:57:50","slug":"disable-tcp-offloading-interfaces-linux","status":"publish","type":"post","link":"https:\/\/haxed.me.uk\/index.php\/2016\/04\/15\/disable-tcp-offloading-interfaces-linux\/","title":{"rendered":"Disable TCP offloading on all Interfaces in Linux"},"content":{"rendered":"<p>We had a customer that was experiencing severe issues with checksum failures and it was causing many retransmissions to occur on the virtual machine. <\/p>\n<p>My colleague was able to come up with a oneliner to disable offloading on all the interfaces.<\/p>\n<pre>\r\n# for iface in $(cd \/sys\/class\/net; echo *); do ethtool -k $iface | awk -F: '\/offload: on$\/{print$1}' | sed 's\/^\\(.\\).*-\\(.\\).*-\\(.\\).*\/\\1\\2\\3\/' | xargs --no-run-if-empty -n1 -I{} ethtool -K $iface {} off; done\r\n<\/pre>\n<p>Nice. Thanks D \ud83d\ude00<\/p>\n","protected":false},"excerpt":{"rendered":"<p>We had a customer that was experiencing severe issues with checksum failures and it was causing many retransmissions to occur on the virtual machine. My colleague was able to come up with a oneliner to disable offloading on all the &hellip; <a href=\"https:\/\/haxed.me.uk\/index.php\/2016\/04\/15\/disable-tcp-offloading-interfaces-linux\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[19,9,4],"tags":[],"class_list":["post-546","post","type-post","status-publish","format-standard","hentry","category-bash","category-linux","category-networking"],"_links":{"self":[{"href":"https:\/\/haxed.me.uk\/index.php\/wp-json\/wp\/v2\/posts\/546","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/haxed.me.uk\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/haxed.me.uk\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/haxed.me.uk\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/haxed.me.uk\/index.php\/wp-json\/wp\/v2\/comments?post=546"}],"version-history":[{"count":1,"href":"https:\/\/haxed.me.uk\/index.php\/wp-json\/wp\/v2\/posts\/546\/revisions"}],"predecessor-version":[{"id":547,"href":"https:\/\/haxed.me.uk\/index.php\/wp-json\/wp\/v2\/posts\/546\/revisions\/547"}],"wp:attachment":[{"href":"https:\/\/haxed.me.uk\/index.php\/wp-json\/wp\/v2\/media?parent=546"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/haxed.me.uk\/index.php\/wp-json\/wp\/v2\/categories?post=546"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/haxed.me.uk\/index.php\/wp-json\/wp\/v2\/tags?post=546"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}