1 | initial version |
For a capture filter that restricts traffic to that to\from a particular host use host example.com
replacing "example.com" with the appropriate host name for the site, the portion of the URL that is between the scheme ("http://" or "https://") and the first tailing slash.
E.g. for the URL "https://www.bbc.co.uk/sport", the host name part is "www.bbc.co.uk" and the capture filter would be host www.bbc.co.uk
.
Note however such a filter might not capture all traffic involved in visiting a web site as the page code may link to external resources, e.g. ads that your browser will retrieve and they may be on a different host that won't be included by the capture filter.
2 | No.2 Revision |
For a capture filter that restricts traffic to that to\from a particular host use host example.com
replacing "example.com" with the appropriate host name for the site, the portion of the URL that is between the scheme ("http://" or "https://") and the first tailing trailing slash.
E.g. for the URL "https://www.bbc.co.uk/sport", the host name part is "www.bbc.co.uk" and the capture filter would be host www.bbc.co.uk
.
Note however such a filter might not capture all traffic involved in visiting a web site as the page code may link to external resources, e.g. ads that your browser will retrieve and they may be on a different host that won't be included by the capture filter.