{"id":1266,"date":"2012-04-30T10:12:26","date_gmt":"2012-04-30T09:12:26","guid":{"rendered":"http:\/\/mccltd.net\/blog\/?p=1266"},"modified":"2012-08-16T14:19:27","modified_gmt":"2012-08-16T13:19:27","slug":"wccp-protocol-plus-wireshark-capture","status":"publish","type":"post","link":"http:\/\/darenmatthews.com\/blog\/?p=1266","title":{"rendered":"WCCP Protocol plus Wireshark Capture"},"content":{"rendered":"<div id=\"attachment_1614\" style=\"width: 69px\" class=\"wp-caption alignright\"><a href=\"http:\/\/www.cloudshark.org\/captures\/dd97453c7158\" target=\"_blank\"><img aria-describedby=\"caption-attachment-1614\" loading=\"lazy\" class=\"size-full wp-image-1614  \" title=\"WCCP Protocol\" src=\"http:\/\/darenmatthews.com\/blog\/wp-content\/uploads\/2011\/05\/CloudShark-Logo.PNG\" alt=\"CloudShark-Logo\" width=\"59\" height=\"49\" \/><\/a><p id=\"caption-attachment-1614\" class=\"wp-caption-text\">WCCP<\/p><\/div>\n<p>Refer to this Wireshark Capture. OR: view it now via <strong><a title=\"WCCP capture\" href=\"http:\/\/www.cloudshark.org\/captures\/dd97453c7158\" target=\"_blank\">Cloudshark\u00a0<strong><\/strong><br \/>\n<\/a><\/strong><\/p>\n<p>Alternatively, <strong>Download:<\/strong> <a href=\"http:\/\/darenmatthews.com\/blog\/wp-content\/uploads\/2011\/05\/WCCPv2.pcap.cap\">WCCPv2.pcap<\/a> and continue reading..<!--more--><\/p>\n<p><a href=\"http:\/\/darenmatthews.com\/blog\/wp-content\/uploads\/2011\/05\/WCCPv2.jpg\"><\/a><a href=\"http:\/\/darenmatthews.com\/blog\/wp-content\/uploads\/2011\/05\/WCCPv21.jpg\"><img loading=\"lazy\" class=\"aligncenter size-full wp-image-1274\" title=\"WCCPv2\" src=\"http:\/\/darenmatthews.com\/blog\/wp-content\/uploads\/2011\/05\/WCCPv21.jpg\" alt=\"WCCPv2\" width=\"825\" height=\"544\" srcset=\"http:\/\/darenmatthews.com\/blog\/wp-content\/uploads\/2011\/05\/WCCPv21.jpg 825w, http:\/\/darenmatthews.com\/blog\/wp-content\/uploads\/2011\/05\/WCCPv21-300x197.jpg 300w\" sizes=\"(max-width: 825px) 100vw, 825px\" \/><\/a><\/p>\n<p><strong>Registration<\/strong>:<br \/>\nAccelerator or Engine is a WCCP client<br \/>\nRegisters WCCP services (0-255) with \u201cHere I Am\u201d if application is operational<br \/>\nRegistration announces WCCP client on service group, provides availability notification, requests interesting traffic<br \/>\nTransmits \u201cHere I Am\u201d every 10 seconds<br \/>\nLead WCCP client (lowest IP address) instructs routers on protocol\/port, assignment, forwarding, and return methods<br \/>\nRouter is a WCCP server<br \/>\nAccepts service group registration (0-255)<br \/>\nAcknowledges \u201cHere I Am\u201d with \u201cI See You\u201d<br \/>\nWaits 30 (3&#215;10) seconds before declaring engine failed<br \/>\nAnnounce engines to other engines<br \/>\nRouter id is highest interface IP or highest loopback IP if one exists<br \/>\nRedirects traffic to engine<\/p>\n<p><strong>Assignment<\/strong>: (Note, see this post &#8220;<a href=\"http:\/\/darenmatthews.com\/blog\/?p=999\">WCCP Load Distribution (Hash and Mask)<\/a>&#8221; to understand how this works.<br \/>\nSelects an engine in the cluster<br \/>\nHash 256 buckets<br \/>\nMask 128 buckets represented by 7 bit mask of the source or destination IP\/Port<\/p>\n<p><strong>Redirect from Router to Cache Engine<\/strong>:<br \/>\nRedirect list allows router to permit\/deny traffic to intercept<br \/>\nTwo methods of redirection:<br \/>\nWCCP L2: Local subnet only, little overhead. Rewrites packet MAC address to that of the local Engine<br \/>\nWCCP GRE: Any IP-Subnet, more overhead. Creates tunnel from router to local or remote Engine.<\/p>\n<p><strong>Return from Cache Engine to Router<\/strong>:<br \/>\nWCCP GRE return (the IP headers are encapsulated usuing transport-mode, adding GRE headers.\u00a0 This is used when the targets are on different subnets to the cache engine<br \/>\nWCCP L2 return<br \/>\nEngine can optionally return traffic any other way including routing<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Refer to this Wireshark Capture. OR: view it now via Cloudshark\u00a0 Alternatively, Download: WCCPv2.pcap and continue reading..<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[53],"tags":[46,37],"_links":{"self":[{"href":"http:\/\/darenmatthews.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/1266"}],"collection":[{"href":"http:\/\/darenmatthews.com\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/darenmatthews.com\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/darenmatthews.com\/blog\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/darenmatthews.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1266"}],"version-history":[{"count":16,"href":"http:\/\/darenmatthews.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/1266\/revisions"}],"predecessor-version":[{"id":1626,"href":"http:\/\/darenmatthews.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/1266\/revisions\/1626"}],"wp:attachment":[{"href":"http:\/\/darenmatthews.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1266"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/darenmatthews.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1266"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/darenmatthews.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1266"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}