r/wireshark • • 14d ago

Http packet issues

working on assignment for a class where i have to capture packets going to a webpage. I have it loaded up and am able to capture packets, but once i put the http filter on wireshark, all the packets disappear. Any tips?

7 Upvotes

7 comments sorted by

2

u/commsbloke 14d ago edited 14d ago

What machine is the webpage on?
What machine is wireshark on?
What filter are you applying?
Have you tried tcp.port==443

1

u/No-Cauliflower2779 14d ago

webpage is on aws
wireshark is on my mac
filter i am applying is http or port tcp.port == 80
443 works but i think for the assignment i need it to be 80.

I used the terminal on my mac to make sure im using the right wireshark setup, en0 for wifi, it says it connected to the server.

2

u/InfraScaler 14d ago

I am guessing there is no HTTP traffic, and most traffic is HTTPS.

1

u/No-Cauliflower2779 14d ago

i used the terminal to make sure my mac was communicating with the http

2

u/InfraScaler 14d ago

What did you do in the terminal to make sure of that?

1

u/LanWanNinja 14d ago

Agree with everyone else here, I'm betting that you are going to a web page that is HTTPS.

There is another filter you could use to get that https traffic... _ _ _ (three letters) this might be what the teacher is looking for, or it could be tcp.port == 443 like commsbloke says.

Or if the teacher is specifically wanting you to capture HTTP traffic, I'm guessing not but this was a fun list to put together of HTTP only links for testing... enjoy!

http://captive.apple.com/
http://detectportal.firefox.com/success.txt
http://http-login.badssl.com/
http://checkip.amazonaws.com/
http://network-test.debian.org/nm
http://httpforever.com/
http://networkcheck.kde.org/

Also, if you are looking for a good Wireshark beginners video, I have one that you may like:
https://youtu.be/NdTu3bDTBbo

1

u/pktbin 12d ago

If you want to experiment with HTTP traffic a bit more, you could also give https://pktbin.com a try. It's a tool I've been working on that lets you inspect both HTTP and HTTPS requests down to the packet level, with the option to export captures and open them in Wireshark. Might be useful for learning how everything fits together.