Thread: TCPDUMP question.

  1. #1
    William
    Guest

    Question TCPDUMP question.

    Hi,
    I would like to ask whether I can use TCPDUMP to capture the content of the ip packet in the network? Because when I execute TCPDUMP executable on Unix (Solaris), I can only see all the request & acknowledgement being captured on screen, but I can't see any text message (during the time of sniffing, I am surfing the net, supposedly I should see some HTML text on screen?)
    The following is how I execute TCPDUMP:

    ./tcpdump -i [network card] ip host 129.223.36.238

    What should I do in order to capture the content of the ip packet as well?

    Thanks and regards!

  2. #2
    Registered User
    Join Date
    Sep 2001
    Location
    Fiji
    Posts
    212
    Im not sure, and if Im wrong someone correct me (cause Im only guessing) but redirect it to a file e.g
    Code:
     ./tcpdump -i [network card] ip host 129.223.36.238 >> file.txt
    I don't really know, like i said im guessing you may have already tried this.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Debugging question
    By o_0 in forum C Programming
    Replies: 9
    Last Post: 10-10-2004, 05:51 PM
  2. Question about pointers #2
    By maxhavoc in forum C++ Programming
    Replies: 28
    Last Post: 06-21-2004, 12:52 PM
  3. Question...
    By TechWins in forum A Brief History of Cprogramming.com
    Replies: 16
    Last Post: 07-28-2003, 09:47 PM
  4. Question about linked lists.
    By cheeisme123 in forum C++ Programming
    Replies: 6
    Last Post: 02-25-2003, 01:36 PM
  5. Question, question!
    By oskilian in forum A Brief History of Cprogramming.com
    Replies: 5
    Last Post: 12-24-2001, 01:47 AM