Sniffing My Own Connection

DOOManiacDOOManiac Worst. Critic. Ever. Join Date: 2002-04-17 Member: 462Members, NS1 Playtester
<div class="IPBDescription">for development purposes</div>Question to all you network gurus out there:

I'm only briefly familiar w/ the concept of sniffing. Is there any way I can sniff my own connection and see a readout (hex dump, or etc) so that i can read any plaintext data being sent?

Thanks.

Comments

  • tbZBeAsttbZBeAst Join Date: 2003-01-26 Member: 12755Members
    I'm feeling unnaccountably revolted now.

    Sniffing my own connection indeed. You'll go blind!
  • pardzhpardzh Join Date: 2002-10-25 Member: 1601Members
    <!--QuoteBegin--[tbZ]BeAst+Apr 8 2003, 10:32 AM--></span><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> ([tbZ]BeAst @ Apr 8 2003, 10:32 AM)</td></tr><tr><td id='QUOTE'><!--QuoteEBegin--> I'm feeling unnaccountably revolted now.

    Sniffing my own connection indeed. You'll go blind! <!--QuoteEnd--> </td></tr></table><span class='postcolor'> <!--QuoteEEnd-->
    <!--emo&:0--><img src='http://www.unknownworlds.com/forums/html/emoticons/wow.gif' border='0' style='vertical-align:middle' alt='wow.gif'><!--endemo-->

    Oh dear.
  • SycophantSycophant Join Date: 2002-11-05 Member: 7092Members
    Uhh right, getting back on topic.... please.... <!--emo&???--><img src='http://www.unknownworlds.com/forums/html/emoticons/confused.gif' border='0' style='vertical-align:middle' alt='confused.gif'><!--endemo-->

    <!--QuoteBegin--DOOManiac+Apr 8 2003, 05:17 AM--></span><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> (DOOManiac @ Apr 8 2003, 05:17 AM)</td></tr><tr><td id='QUOTE'><!--QuoteEBegin-->Question to all you network gurus out there:

    I'm only briefly familiar w/ the concept of sniffing. Is there any way I can sniff my own connection and see a readout (hex dump, or etc) so that i can read any plaintext data being sent?

    Thanks.<!--QuoteEnd--></td></tr></table><span class='postcolor'><!--QuoteEEnd-->

    The best program I've used for packet sniffing is <a href='http://www.ethereal.com/' target='_blank'>Ethereal</a>. It logs <i>all</i> your network traffic (<i>up to <b>366</b> protocols!!</i>) in real-time. It's still beta software, but I've never had any trouble with it.
  • localhost2600localhost2600 Join Date: 2002-12-04 Member: 10448Members
    yes ethereal is good, however keep in mind that it logs all traffic that passes by your network card. Even if it isn't yours. By default nic cards only take packets that are addressed to them, ethereal puts your card in promiscous mode and look at all passing traffic(which is what a true sniffer should do).

    just keep in mind that you may not just be seeing your own traffic
  • TalesinTalesin Our own little well of hate Join Date: 2002-11-08 Member: 7710NS1 Playtester, Forum Moderators
    However, you *can* set the filters to only record stuff destined for your machine. Alternately, if you have a switch (as opposed to a hub) your card won't be able to see anything that isn't going to/coming from your card anyway.

    For a slightly simpler tool, tcpdump works.
  • That_Annoying_KidThat_Annoying_Kid Sire of Titles Join Date: 2003-03-01 Member: 14175Members, Constellation
    I will ask my CISCO teacher what she thinks, when it comes to computers she is the 1337357 (please pardon the leet) person. She has been around since the day computers were the size of a large room. She should have a good idea, as soon as 5th period starts I will ask her...
  • That_Annoying_KidThat_Annoying_Kid Sire of Titles Join Date: 2003-03-01 Member: 14175Members, Constellation
    DOOM, I'm a moron
    I forgot, but I will remeber tomorrow, PM/IM me if you have already got this issue resolved
  • Just_AyaneJust_Ayane Join Date: 2002-11-06 Member: 7317Members
    I used to do that, with a good sniffer you can learn alot about what's being send and received, go for it! <!--emo&:p--><img src='http://www.unknownworlds.com/forums/html/emoticons/tounge.gif' border='0' style='vertical-align:middle' alt='tounge.gif'><!--endemo-->
  • SycophantSycophant Join Date: 2002-11-05 Member: 7092Members
    <!--QuoteBegin--Just Ayane+Apr 8 2003, 10:46 PM--></span><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> (Just Ayane @ Apr 8 2003, 10:46 PM)</td></tr><tr><td id='QUOTE'><!--QuoteEBegin--> I used to do that, with a good sniffer you can learn alot about what's being send and received, go for it! <!--emo&:p--><img src='http://www.unknownworlds.com/forums/html/emoticons/tounge.gif' border='0' style='vertical-align:middle' alt='tounge.gif'><!--endemo--> <!--QuoteEnd--> </td></tr></table><span class='postcolor'> <!--QuoteEEnd-->
    The only real time I've used a packet sniffer at home was when I was troubleshooting my younger brother's connection to the network. He wanted to do the installation himself so he could learn, so I let him. When it didn't work, he blamed my router configuration.

    By running the packet sniffer, I was able point out exactly why his computer wasn't doing well on the network - it was transmitting packets just fine, but wasn't acknowledging any receipts. It turns out he messed up both the Rx wires. <!--emo&:)--><img src='http://www.unknownworlds.com/forums/html/emoticons/smile.gif' border='0' style='vertical-align:middle' alt='smile.gif'><!--endemo-->
Sign In or Register to comment.