WireShark過濾解析http/TCP

來源:互聯網
上載者:User

標籤:

HTTP分析

http——Packet Counter      http總的統計http.request.method == "GET" http GET請求http.response==1  http所有的響應包 http.response==1 && http.response.code==200 響應請求成功的包http.response==1 && http.response.code==201 201 created 提示知道新檔案的URL,成功請求並建立了新的資源http.response==1 && http.response.code==304 用戶端已經緩衝,不帶響應體http.response==1 && http.response.code==302 用戶端繼續使用原有URIhttp.request.method==POST http.host==magentonotes.comhttp.host contains magentonotes.com//過濾經過指定網域名稱的http資料包,這裡的host值不一定是請求中的網域名稱http.response.code==302 //過濾http響應狀態代碼為302的資料包http.response==1 //過濾所有的http響應包http.request==1 //過濾所有的http請求,貌似也可以使用http.requesthttp.request.method==POST過濾所有請求方式為POST的http請求包,注意POST為大寫http.cookie contains guid //過濾含有指定cookie的http資料包http.request.uri==”/online/setpoint” //過濾請求的uri,取值是網域名稱後的部分http.request.full_uri==” http://task.browser.360.cn/online/setpoint” //過濾含網域名稱的整個url則需要使用http.request.full_urihttp.server contains “nginx” //過濾http頭中server欄位含有nginx字元的資料包http.content_type == “text/html” //過濾content_type是text/html的http響應、post包,即根據檔案類型過濾http資料包http.content_encoding == “gzip” //過濾content_encoding是gzip的http包http.transfer_encoding == “chunked” //根據transfer_encoding過濾http.content_length == 279http.content_length_header == “279″//根據content_length的數值過濾http.server //過濾所有含有http頭中含有server欄位的資料包http.request.version == "HTTP/1.1" //過濾HTTP/1.1版本的http包,包括請求和響應http.response.phrase == “OK” //過濾http響應中的phras

  

TCP完整分析:

WireShark過濾解析http/TCP

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.