How to capture json-rpc traffic using wireshark
Setup
1. Open wireshark
2. Click on the top left icon ("List the available capture interfaces...")
3. Choose 'wlan0' and click on 'Start'.
4. Click on 'Statistics > Conversation List > TCP (IPV4 & IPV6)'
5. A new window with a list of conversations should appear. 6. Send a request using your client. Take note of the ip address and port number of the host that you're sending your request to, so that it's easier to spot on the list.
7. Go back to the TCP conversations window. The new request should appear at the bottom of the list. Click on the said request, then click 'Follow Stream'.
8. Another window should appear bearing the full request that was sent along with the headers and the response.
That wasn't too hard now, was it?
1. Open wireshark
2. Click on the top left icon ("List the available capture interfaces...")
3. Choose 'wlan0' and click on 'Start'.
4. Click on 'Statistics > Conversation List > TCP (IPV4 & IPV6)'
5. A new window with a list of conversations should appear. 6. Send a request using your client. Take note of the ip address and port number of the host that you're sending your request to, so that it's easier to spot on the list.
7. Go back to the TCP conversations window. The new request should appear at the bottom of the list. Click on the said request, then click 'Follow Stream'.
8. Another window should appear bearing the full request that was sent along with the headers and the response.
That wasn't too hard now, was it?