Food trip at Gerry's Grill Singapore

Food trip at Gerry's Grill Singapore

      Recently a thoughful friend of ours treated the whole flatmates to the famous Filipino grilled...

Trip to Jurong Bird Park Singapore

Trip to Jurong Bird Park Singapore

        One of the most common tourist spot in Singapore is Jurong Bird Park which has almost 5000 birds of...

Trip to Universal Studios Singapore

Trip to Universal Studios Singapore

      Finally I got the chance to go in Universal Studios Singapore with my wife.  I heard a lot of fun stories...

Trip to Kuala Lumpur

Trip to Kuala Lumpur

           I never thought that Chinese New Year (CNY) was really a great holiday to wait here in...

God's medium of communication

God's medium of communication

        Social networking sites were usually intended to build and share relations among people. It's where we...

Writing annual family goals

Writing annual family goals

        During my college days I read a lot of goal setting books as I realized the importance of having...

Favorite bible verse

Favorite bible verse

      I grew up in a protestant school and until I'd reached in high school, that's why having faith in God is...

5 Reasons why God uses problems

5 Reasons why God uses problems

      It's been a while since my last post. I've been so much busy on our project. We're already on the point of...

Short story writing contests

Short story writing contests

      Lately I was doing a clean up on my backup drive, I was deleting my unnecessary data. Then I accidentally...

  • Food trip at Gerry's Grill Singapore

    Food trip at Gerry's Grill Singapore

  • Trip to Jurong Bird Park Singapore

    Trip to Jurong Bird Park Singapore

  • Trip to Universal Studios Singapore

    Trip to Universal Studios Singapore

  • Trip to Kuala Lumpur

    Trip to Kuala Lumpur

  • God's medium of communication

    God's medium of communication

  • Writing annual family goals

    Writing annual family goals

  • Favorite bible verse

    Favorite bible verse

  • 5 Reasons why God uses problems

    5 Reasons why God uses problems

  • Short story writing contests

    Short story writing contests

You are here: HomeTechnical Knowledgeclient server technology[SOLVED] Wireshark : Packet size limited during capture

[SOLVED] Wireshark : Packet size limited during capture

     



Wireshark and tcpdump are the two of the most useful tools in debugging a certain issue. Every now and then I use tcpdump to capture network packets in linux or unix platform and use wireshark to analyze the captured packets.

I can't imagine myself debugging network related issues without those two tools, it will be crawling in the dark.

Recently we have an issue pertaining to HTTP transactions and I have to use tcpdump to capture the packets to see the exact data send out to our server.

I got the  tcpdump with the http transaction however in wireshark I got a message with "Packet size limited during the capture", you can see below screenshot. Just click the image to enlarge.

wireshark packet size limited during capture

I tried to capture the printable data text in the HTTP GET response but only got below results.


HTTP/1.1 200 OK
Server: Apach



The HTTP transaction was successful but the data capture is not complete. The tcpdump command use during the capture is below.

[bash]# tcpdump -w httpdump.pcap -i lo port 20810
tcpdump: listening on lo, link-type EN10MB (Ethernet), capture size 96 bytes
1030 packets captured
2060 packets received by filter
0 packets dropped by kernel


I noticed that the capturing of the packets is only limited to 96 bytes.  Checking manual of tcpdump I found that there is an option to disable the 96 bytes limitation by using the option "-s 0".  

[bash]# tcpdump -w httpdump.pcap -i lo port 20810 -s 0
 
tcpdump: listening on lo, link-type EN10MB (Ethernet), capture size 65535 bytes
1030 packets captured
2060 packets received by filter
0 packets dropped by kernel

 

This time the size is now limited to 65535 bytes.  Opening the dump file in wireshark the message of size limitation is already gone. 


tcpdump http capture packet size limited issue gone
 
 
 
 

You might also like:

              

Go to top