Slashdot Mirror


Ethereal Packet Sniffing

nazarijo writes "I look at packets for a living. I generate them, I capture them and dissect them, and I try and make sense of them as quickly as possible. Sniffers and protocol analyzers are part of my bread and butter, and I'd be foolish to not use Ethereal. Tcpdump for a quick capture, but I use Ethereal when I need detailed information in a better, more navigable fashion. Because of that, I was pretty interested to see a book on Ethereal coming out." Read on for Jose's review of Ethereal Packet Sniffing from Syngress. Ethereal Packet Sniffing author Angela Orebaugh with Greg Morris and Ed Warnick pages 468 publisher Syngress rating 7 reviewer Jose Nazario ISBN 1932266828 summary Solid coverage of an excellent networking tool. Offers value beyond free documentation, insight available nowhere else, and plenty of handy tips and tricks.

I've used the tool for years, and I've read the docs a bit, so I felt comfortable with the tool. Still, I wanted to learn something new with it, and I wanted to see if this book could offer what I was hoping for. The book delivers, and does a pretty good job. One of the big tests for me about any book that covers an Open Source project is "Does this book offer more than the existing documentation?" If it fails to, the book isn't worth the money, I'll stick with free docs. While the book comes out favorably for me, I'll start with the things I didn't like, first.

One of the big things that is missing from this book is any coverage of Ethereal on OS X. Given how many people are migrating to OS X (from UN*X or from Windows), and the coverage of Ethereal on Windows, I would have expected some mention of it. Luckily it's available in both Darwin Ports and the Fink project, but some mention of any of the quirks people may encounter would have been welcome. Amy (from Syngress) tells me that they will have a paper in their Solutions center on Ethereal on OS X, which would be great to see.

Another annoyance with the book is the repeated coverage in some sections of various aspects of Ethereal. One that stands out is the coverage of the additional tools which are installed alongside Ethereal, like Editcap and Text2pcap. They are covered in chapter 2 for a bit and then more completely in chapter 6. Covering these tools only once would have sufficed, but it does let chapter 2 stand on its own. Amy tells me that they do this intentionally, because it makes some chapters stand on their own as "units" for others to use. That makes sense.

A final bit of the book I didn't like was the choice of screenshots: quite a number of the screenshots were full screen dumps when only one or two elements of the page really mattered. Either trimmed or annotated screenshots would have been more welcome. A lot of information gets dumped in Ethereal, helping people navigate the UI with a static, black-and-white image would have been welcome.

Now, on to the real strengths of the book. Like I said earlier, The book offers more coverage than the existing, free docs on Ethereal provide, or at least in a more manageable form. Obviously, with the source code in front of me I could dissect the tool and learn everything about it, but that's hardly efficient. Simply put, the book introduces network sniffing and troubleshooting well. How can you place a sniffer to get coverage, what can a sniffer tell you during troubleshooting (and what can it not?), and of course how to get and install Ethereal (on UN*X and Windows).

The next chapter covers exactly what you would expect it to, how to use Ethereal. Ethereal's main use is as a GUI protocol analyzer, so you have menus, panes and windows to navigate. This chapter tells you what they are and how they present and format the data you're looking at. The next chapter deals with four tools that come with Ethereal: Tethereal (very similar to tcpdump), Editcap, Mergecap, and Text2pcap (all useful for managing pcap files).

Chapter 7 is one of those handy things to read. Ethereal is typically used to read pcap files, but it can also read snoop files, Microsoft Network Monitor files, EtherPeek files, NAI's Sniffer files, and HPUX's nettl files, all of which you'll find around. It's handy that you can see how to integrate Ethereal with these other products.

Chapter 8 brings it all together with real world packet captures, many of which are also on the included CD. These files include scans, Trojan uses, and even worm traffic. All of these are useful for learning how to use Ethereal and highlight the power of the tool. You can go from novice to a pretty decent network protocol junkie if you dilligently study the resources in this chapter and on the CD.

Chapter 9 will be useful to a small subset of people, but quite useful. This chapter gives you a tour of how to develop for and extend Ethereal. Ethereal's main strength is a huge number of decode routines, such as sFlow and MPLS (in addition to the standard ones like DNS, DHCP, and the like). Using this information you can extend Ethereal for your own needs and maybe even contribute back to the project.

Either the developer's angle or the detailed discussions and examples of the filter syntax are my favorite parts of the book. They contribute significant value for everyday use, and I found them useful in a recent task at work.

The book is going to run the risk of becoming quickly out of date, given the development pace of Ethereal. However, it relies more on underlying core concepts and principles inherent in Ethereal, so it should stay useful for longer than you may think.

All in all I would say this is probably worth picking up if you're looking at becoming a network operator or network security junkie. You'll learn a lot about a powerful tool, how to integrate it into your use, and even how to dissect real traces of traffic. I give it a 7 out of 10 for the above weaknesses, but that shouldn't stop you from strongly considering it.

You can purchase Ethereal Packet Sniffing from bn.com. Slashdot welcomes readers' book reviews -- to see your own review here, read the book review guidelines, then visit the submission page

147 comments

  1. Additional note: by Anonymous Coward · · Score: 5, Funny

    I purchased this book using credit card information I picked up using Ethereal.

    1. Re:Additional note: by MisanthropicProgram · · Score: 1, Funny

      Ah HA! Now, I can blame that $543.21 porn bill on you!
      I'm off the hook with my girlfriend! Pfew!

    2. Re:Additional note: by Anonymous Coward · · Score: 3, Funny

      I should also thank you for not posting a joke like:
      In Soviet Russia Ethereal you!
      or ...
      Ethereal
      ???
      Profit!

      There! I just earned my second "Troll" mod for the week.

      --
      Getting modded as "Troll" let's me know that I'm not succumbing /. groupthink.


      Getting modded as "Troll" lets everyone else know your an idiot.

    3. Re:Additional note: by Anonymous Coward · · Score: 0

      You forgot the "you insensitive clod" part.

    4. Re:Additional note: by Otter · · Score: 3, Funny
      Getting modded as "Troll" lets everyone else know your an idiot.

      If you're going to be an apostrophe troll, you need to make sure you get your own apostrophes right!

    5. Re:Additional note: by Johnny+Doughnuts · · Score: 1, Interesting

      Something that really gets me about /.

      The fact that someone can post something that would NORMALLY be modded troll, but since they say 'Oh, I've earned for xth troll mod for the day.', they get modded up, whilst other opinions/facts are more deserving of the mod points.

    6. Re:Additional note: by MisanthropicProgram · · Score: 1
      Point taken. And, sir, I respect your opinion. I did have an outburst.

      I hope you read your posts later on .... I'm pretty angry at the staleness of /. and the fact that I've seen well articulated arguments against popular opinion get modded as "Troll".

    7. Re:Additional note: by MisanthropicProgram · · Score: 1
      Mr AC,
      Thank you for getting it.

      MisanthropicProgram

    8. Re:Additional note: by SphericalCrusher · · Score: 1

      Well, I'm sure you had to use a little technical hacking skills and social engineering to get the information though, as Ethereal the program does not send back credit card info. ;)

      I understand truthfully though, as I can name a certain someone who has done something of that sort in the past before...

      --
      "Instant gratification takes too long." - Carrie Fisher
    9. Re:Additional note: by Anonymous Coward · · Score: 0, Funny

      Maybe it's just a development of that whole trolling technique... hooking as many people as possible :)

  2. I love this tool by jxs2151 · · Score: 3, Funny

    Can only understand about half of what it does though. Maybe I'll buy the book.

    1. Re:I love this tool by sTalking_Goat · · Score: 1

      yeah I defintely think I'll let my job buy me this book...

      --

      My days of not taking you seriously are certainly coming to a middle...

  3. possible? by WormholeFiend · · Score: 2, Interesting

    would it be possible to sniff spam packets?

    1. Re:possible? by Anonymous Coward · · Score: 0

      I wouldn't want to smell that, I can barely look at it.

    2. Re:possible? by dubdays · · Score: 2, Funny

      Why? They already smell like crap.

    3. Re:possible? by jaeson · · Score: 0, Redundant

      would it be possible to sniff spam packets?

      Yeah, but they smell like shit.

    4. Re:possible? by SquadBoy · · Score: 3, Funny

      No spam packets are unlike other packets. They are marked with the "spam bit" and this means that sniffers will not capture them or display them.

      --

      Cypherpunks: Civil Liberty Through Complex Mathematics. Those who live by the sword die by the arrow.
  4. Already out of date by Anonymous Coward · · Score: 5, Informative

    While this is an interesting book, its problem is that it is already out of date. It seems that it was written at a time when the user interface was undergoing lots of churn.

    For example, on page 47, figure 2.1 is out of date, as the menu items have changed and the toolbar now has more items.

    On Page 146 and 147 the authors attempted to deal with changes in the GUI, and show us what the new print dialog box will look like, however, that version is also out of date.

    On Page 153, Figure 4.19 is out of date. On Page 155, Figure 4.21 no longer exists. Page 156, Figure 4.22 is out of date. Page 162, Figure 4.31 is out of date, and so on.

    Further on, Page 180, Figures 4.49 and 4.50 are also out of date, and it would have been nicer to show some real-life examples of problems one can spot with the Time Sequence Graphs and some explanation of how socket layer stuff relates to what you might see on the wire.

    So, I am not sure this book is worth buying. Perhaps wait for the update.

    1. Re:Already out of date by Sylvain · · Score: 1

      So?

      I'm pretty sure 90% of the book is still relevant.

      Sure there has been new features introduced since the book was written but there will also be some others after the book update will be published.

      Regarding the real life examples, I guess it was the author choice to explain what the software does, not to teach TCP/IP again and let you deal with the use cases since there are several thousands of them.

    2. Re:Already out of date by Halfbaked+Plan · · Score: 2, Insightful

      Well, in making my first judgement of a book, I look to see how many screen shots it has. Books that mainly consist of screenshots are often a waste of paper. Have you mentioned every screen shot in the book? If so, it doesn't sound like that bad a book.

      You think the print dialogue is essential to effective use of this tool? Enough that an 'out of date' screenshot of the print dialogue turns you away from it?

      --
      resigned
    3. Re:Already out of date by Wister285 · · Score: 3, Informative

      I'm pretty sure this is why they offer a "1 Year Upgrade", as shown on the cover. It is meant to protect the customer against these sorts of problems with rapidly progressing technology. The only trick seems to be that you have to register. Still, it's refreshing to see book publishers offering such things.

    4. Re:Already out of date by ted_nugent · · Score: 3, Interesting
      Sounds great until you realize that Syngress has never published a revision to any of their existing titles.

      Disclaimer:Of course, I could be totally wrong on this, since it's based on my own casual observation rather than a publishing schedule.

      --

      Free the West Memphis Three!

  5. Sounds Good by MrRuslan · · Score: 1, Interesting

    I use ethereal as a comprehensive intrusion detection system and i wish to learn more about it...seems like this book is a very good start.

    1. Re:Sounds Good by SquadBoy · · Score: 1

      WTF?

      Do you by chance mean Snort?

      --

      Cypherpunks: Civil Liberty Through Complex Mathematics. Those who live by the sword die by the arrow.
    2. Re:Sounds Good by MrRuslan · · Score: 1

      no not snort LoL i just like to look at all the packets incoming and outgoing with it...i know its lame but it works.

    3. Re:Sounds Good by throughthewire · · Score: 1

      Beats working, I guess.

    4. Re:Sounds Good by The+Other+White+Boy · · Score: 1

      OT but willing to put up with it...to the parent, what is your sig from? it strikes me vaguely familiar and its gonna bother me, i just know it. =)

    5. Re:Sounds Good by prgrmr · · Score: 2, Insightful

      comprehensive intrusion detection system

      Comprehensive? So you basicially rewrote Tripwire, Saint, and a bunch of other stuff using ethereal?

    6. Re:Sounds Good by MrRuslan · · Score: 2, Interesting

      LoL not at work...at home on my pc...sometimes i glance at it to see what happens...i run alot of stuff on my home pc like that for the sake of learning it.I have apache running just to give files to people i know...thats the way i learn alot of stuff u know poking it.

    7. Re:Sounds Good by MrRuslan · · Score: 1

      Heh no...it just tell's me what goes in and out in detail and from where and to where ...thats what i meant by comprehensive...

    8. Re:Sounds Good by Brando_Calrisean · · Score: 1, Funny

      ...thats the way i learn alot of stuff u know poking it. Must... contain... jokes...

      --
      Don't call me a cowboy, and don't tell me to slow down!
  6. Just Wondering.... by Dr.+Bent · · Score: 4, Funny

    I look at packets for a living. I generate them, I capture them and dissect them, and I try and make sense of them as quickly as possible.

    So what's it like working for the N.S.A.? Do they have a decent benefits package?

    1. Re:Just Wondering.... by Anonymous Coward · · Score: 0

      even more important, are they hiring?

    2. Re:Just Wondering.... by Anonymous Coward · · Score: 0

      Nah, Jose actually works on network security in the private sector. Although I have heard rumors of his name showing up on some sort of NSA watch list...

    3. Re:Just Wondering.... by bfg9000 · · Score: 2, Funny

      Missing line that fills in the details, deleted for length reasons:

      I look at packets for a living. I generate them, I capture them and dissect them, and I try and make sense of them as quickly as possible.... ... and they turn into boobies and peepee bums on my screen when I've done it right. And if my mom finds out I'm dead meat, which is why I also like crypto.

      By this measure, I look at packets for a living too... well, I don't get paid for it, but it takes more time than my day job at Twinkles Bar and Grill.

      --

      I'm not normally an irrational zealous dickhead, but I figure "When in Rome..."

    4. Re:Just Wondering.... by meringuoid · · Score: 1

      Don't know about the NSA, but GCHQ are. Plenty of career opportunities for patriotic young hackers ready to sniff terrorist packets for Queen and country...

      --
      Real Daleks don't climb stairs - they level the building.
  7. Question... by Frennzy · · Score: 4, Interesting

    Can we assume that it really focuses more on the ethereal product than analyzing and understanding frames? (In short, is it more for someone who wants to squeeze the most out of ethereal, or does it do remedial to advanced instruction on packet construction, deconstruction, and analysis?

  8. I'd love to but... by Iscariot_ · · Score: 4, Interesting

    I'd really love to play around with Ethereal, but I'm running WindowsXP and for some reason it just doesn't go. I've read that this has to do with WinPcap.

    What I want to know is, is there a way to get Ethereal running on XP? Is there an alternative to WinPcap 3.0?

    1. Re:I'd love to but... by lukewarmfusion · · Score: 4, Informative

      I've run Ethereal on several XP boxes. Make sure you install WinPCap first. Check which device you have set to monitor, too.

      Your network configuration can also affect what packets you see - are there switches dividing your network? Are you alone on your network?

      New the Ethereal?
      Start a capture, then check your email. Then use the email address and password you capture to do all kinds of nasty things.

    2. Re:I'd love to but... by Aliencow · · Score: 1

      I never had any problem with Ethereal in Windows XP... try an older version of WinPcap maybe, that should do it.. Or maybe I'm confused and what I think was Windows XP was actually Windows 2000, but I'm pretty sure my previous box at work was XP and ran ethereal..

    3. Re:I'd love to but... by buht · · Score: 0

      Hmm.. Im running Ethereal 0.10.3 on XP Pro. I did click yes when it wanted to load WinPcap stuff. It has not caused any problems yet. Did you try that version?

      --

      -- The box said Windows 2000 or better... so I installed Linux
    4. Re:I'd love to but... by Anonymous Coward · · Score: 0

      I'm running 0.10.3 and Winpcap 3.0.

    5. Re:I'd love to but... by fred_sanford · · Score: 5, Informative

      Give credit here but this is how I got it working on 2000:

      [quote] For windows get winpcap [polito.it]
      then get ethereal for windows [ethereal.com]
      and get windump [polito.it]

      SANS.org has all the info: Packet capture apps [sans.org][/quote]

    6. Re:I'd love to but... by phaetonic · · Score: 4, Insightful

      Why not get Knoppix or one of the many LiveCD distributions that allow you to use ethereal without the need to install Linux. Then your WindowsXP problem will not longer be a problem. The Knoppix release I used last July had support for my wireless NIC (Orinoco) on my laptop, and everything worked great.

    7. Re:I'd love to but... by Anonymous Coward · · Score: 0
      is there a way to get Ethereal running on XP? Is there an alternative to WinPcap 3.0?

      Well, there's WinPcap 3.1 beta. But what do you mean by "doesn't go?" If you can't see any interfaces in Ethereal's capture list, even after you've installed WinPcap - and you're using a corporate machine - there might be a Group Policy restriction that's causing your problem. Ditto if you can't install the WinPcap driver at all.

    8. Re:I'd love to but... by Iscariot_ · · Score: 1

      I have winpcap installed, but you are correct... I cannot see any interfaces.

    9. Re:I'd love to but... by kayen_telva · · Score: 1

      runs great, just use the older winpcap, not version 3.
      2.3 i think it is.

    10. Re:I'd love to but... by lukewarmfusion · · Score: 1

      Great suggestion. Slashdot just ran a story about one of these.

    11. Re:I'd love to but... by matastas · · Score: 2, Insightful

      Because, often times, kicking it over to Linux is neither desirable nor feisible, especially if it's a work machine. If I want to use Ethereal on my laptop, and WinXP is feeling quirky, my solution can't be 'boot Knoppix,' 'cause then I can't do anything else with any ease.

      Knee-jerk Linux reactions are no better than knee-jerk MS reactions, 'cept Linux has cooler t-shirts.

    12. Re:I'd love to but... by Anonymous Coward · · Score: 1, Informative

      I've ran into issues with WinPcap 3.0 and Windows. Not specifically with ethereal but when i use Snort. WinPcap 2.2 & 2.3 have been the most stable in my book. You can find all the older versions here. WinPcap 3.1 is now available would try that first. Haven't used it personally though.

    13. Re:I'd love to but... by asdfghjklqwertyuiop · · Score: 1

      The Knoppix release I used last July had support for my wireless NIC (Orinoco)

      Is that orinoco silver (model nos 8410-WD or 8420-WD)?

    14. Re:I'd love to but... by phaetonic · · Score: 1

      Yeah Silver... I have an Enterasys RoamAbout 802.11b PCMCIA NIC , which is a rebaged Orinoco Silver.

    15. Re:I'd love to but... by Suidae · · Score: 1

      OK, how about CoLinux?

      Well, ok, no, I wouldn't run it on my primary work machine either, but its still cool :)

    16. Re:I'd love to but... by Anonymous Coward · · Score: 0

      MOD PARENT DOWN! Goddamn you are a sick individuals I am sick of seeing that guy's gaping anus. Since beginning my Slashdot reading I have had a gaping anus burnt on my retina!

    17. Re:I'd love to but... by itwerx · · Score: 1

      Tip - If you can't afford the Shomiti, (if you can afford the Shomiti your switches are probably already manageable :), or if you just want to tap a line you can also build your own ethertap.

    18. Re:I'd love to but... by dave420 · · Score: 1

      "without the need to install linux" - no, just reboot your machine every time you want to sniff packets :) there's productivity for you ;)

  9. ethereal plus google's locator service... by 192939495969798999 · · Score: 2, Funny

    I would like to see an integration of Ethereal with google's locator service, or one of those ip to geographical coordinate services. It could bring up a map of the world, and where people are coming from to get to you. Finally, I could project that map on the wall, and be just like in DEFCON 5 the movie! HA HA HA!

    --
    stuff |
    1. Re:ethereal plus google's locator service... by JuanVZ · · Score: 2, Informative

      Check out NETI@home

  10. NET Sniffer vs Ethereal by Anonymous Coward · · Score: 0

    What's everyone opinion on Network Associates Sniffer vs free Ethereal? Which one help you solve your problems, and report status of your network better?

  11. Good Book by i2878 · · Score: 2, Interesting

    Bought the book last week. Likely nothing you can't find on-line, but I would almost always prefer a hardcopy in my hands when I want a reference manual.

    It seens to be a good intro to Ethereal and packet sniffing - esp. if you've not done much with it before.

    --
    legal. fun. profitable. pick two.
  12. OS X & Ethereal by grocer · · Score: 3, Insightful

    Ethereal requires X Windows to run on OS X...which means the some form of a rootless install or the defunct Apple XFree86 Beta in Jaguar (10.2.x).

    Panther (10.3.x) has X Windows intergrated, although I haven't bought it yet...(so I don't know how well it works or if all the build issues are sorted out of Fink...although Fink is supposed to work now)

    10.1.x, I have no clue, but it's different than 10.2.x (probably have to install some third variant of X via Fink)

    Ethereal on OS X does rock especially with KisMac but there's three or four possible scenarios for install...probably why the book doesn't cover it...

    1. Re:OS X & Ethereal by Charles+Dodgeson · · Score: 2, Informative
      Panther (10.3.x) has X Windows intergrated, although I haven't bought it yet...(so I don't know how well it works or if all the build issues are sorted out of Fink...although Fink is supposed to work now)
      Note that while X is "integrated" you need to specifically install it from Install Disk 3. Also, you will need to do a custom install from the XCode disk to get the X11SDK.

      There are some real annoyences in getting fink to accept that you are using Apple's distribution of X. I'm still not confident that I understand how I eventually got it to work. But once I did

      sudo fink install ethereal
      did the job and I've been happily looking at packets since then.

      Ever since then (well, about a week ago), I've found myself in need to something that gives me some of the basics of capture and sniffing. So it looks like this book will do the job for me.

      --
      Prime numbers are exactly what Alan Greenspan says they are -S. Minsky
    2. Re:OS X & Ethereal by elemental23 · · Score: 0, Flamebait

      There are some real annoyences in getting fink to accept that you are using Apple's distribution of X.

      You just have to install system-xfree86 via Fink first. You shouldn't have any problems after that.

      --
      I like my women like my coffee... pale and bitter.
    3. Re:OS X & Ethereal by Charles+Dodgeson · · Score: 0, Troll
      You just have to install system-xfree86 via Fink first.
      Unfortunately fink wasn't listing system-xfree86 as available to me. The guts of the problem was that when I moved from 10.2 to 10.3 I replaced previous (non-Apple) X installation with the Apple one. It just took a bit of effort to get fink to recognize that I didn't have a fink installed X11 system. This required calls to dpkg directly instead of through fink to remove fink's record on an X11 installation, but without removing everything that depended on X11. Only then would fink allow me to install system-xfree86. To work out what the problem was, I had to see how the system-xfree86 tests were coded in Fink::VirtPackage.pm and work from there.

      On a separate 10.3 system, I had no such problem.

      --
      Prime numbers are exactly what Alan Greenspan says they are -S. Minsky
  13. More importantly... by crawdaddy · · Score: 1

    I look at packets for a living. I generate them, I capture them and dissect them, and I try and make sense of them as quickly as possible.

    So what's it like working for the N.S.A.? Do they have a decent benefits package?


    More importantly, do you feel your job security is at stake due to recent purchases made by the government?

  14. IS OS X Special? by the+MaD+HuNGaRIaN · · Score: 2, Insightful

    I mean, I know it's a special OS and everything (posted from Camino).

    But, whenever I use Ethereal on OS X, I just download the latest source. ./configure
    make
    make install

    Then, launch X, and run ethereal.

    So, there you go. There's your chapter on using Ethereal in OS X.
    Happy to help!

    1. Re:IS OS X Special? by Anonymous Coward · · Score: 0

      The prior post is modded Insightful, yet it doesn't tell you anything. This one tells me everything. Mod it up!

  15. Too late by KalvinB · · Score: 2, Funny

    I used Ethereal back when I was playing with Try2Hack and discovered what information was being sent for The Kill Everyone Project. I then fired up my custom "hacker" program and proceeded to destroy the world approximatly five times per packet.

    After crashing the high score page from an integer overflow caused by my rediculously high score, I decided that maybe I should stop.

    So after beating the internet, what purpose does a book on Ethereal serve?

    What would actually be handy is a browser that you can tell to "step" through message transmissions. The owner of the "Kill Everyone Project" challenged me to hack his other games after I e-mailed him to explain what I did and how he could fix it. The only reason I couldn't do it was because after some cookie passing with my program I couldn't quite get the SWF file with the session ID. With a real browser with "step" it would be possible to let it load up the game session like normal but then set it to "step" mode and be able to edit packets before they go to the server.

    I don't imagine it would be too terribly difficult to add such a feature to Mozilla. It would be nice to have a text window that shows what data is actually being sent up to the server with the option to have to manually okay each packet so you could edit out any info you'd rather the server didn't have.

    Like when certain Javascript pages try to grab system information.

    Ben

  16. Great every idiot on slashdot will be sniffing now by DR+SoB · · Score: 3, Funny

    Here we go with the n00b questions.. ie. Can it sniff spam packets? Answer: No, spam packets are so mysterious and powerful, no available NIC is capable of passing them to a sniffer program.

    Please people, leaving SNIFFING to the professionals!

    --
    Mod +5 Drunk
  17. Re:HELP! by Anonymous Coward · · Score: 0

    You want to install linux on your ass? Guess you got tired of having your backdoors violated all the time?

  18. Ethereal Rocks by Doug+Dante · · Score: 2, Informative

    * Always shows gracefully parsed packets, even on tagged vlans * Follows TCP Stream so you can view and analyze XML transactions generated by JavaScript scripts. * Completely supports almost all protocols e.g. Knows RADIUS options. * Can use it to examine HTML headers, redirects, and what goofy web pages are doing behind the scenes. * Works on Windows, Linux, and Mac OS-X (although I never use the last)

    --
    The world will not get better through technology. We must seek to be better people.
  19. It works for me with no problems by Anonymous Coward · · Score: 0

    I installed WinPCap, Ethereal, NetStumbler, and a few other things on XP for travelling around, and I've had no problems.

  20. Please help. by Neil+Blender · · Score: 0, Offtopic

    I send you this packet in order to have your advice.

    See you later. Thanks.

    1. Re:Please help. by Anonymous Coward · · Score: 0

      My advice is to stop sucking dicks.

  21. If you *really* need to sniff, by pair-a-noyd · · Score: 1, Funny

    Get your own Carnivore device...
    http://www.systemrecycler.com/shomiti/

    1. Re:If you *really* need to sniff, by Anonymous Coward · · Score: 0

      Um, you make it sound like that's something insidious. It's just a network tap. They're very common.

      Oh, you're shilling your own website. Gotcha.

      P.S., no way is that worth $4,000.

    2. Re:If you *really* need to sniff, by pair-a-noyd · · Score: 1

      Yeah so what I promote my website, I'm not the only one that does that...

      BTW, Fluke sells this very item with a Fluke label on it, the "Fluke TAP-12"
      http://www.flukenetworks.com/us/LAN/Monitoring+Ana lysis+Diagramming/Inline+Taps/Overview.htm

      I assure you, this device from Fluke or Shomiti (now Finisar)
      costs a HELL of a lot more than $4,000

  22. Ethereal in University Setting by crass751 · · Score: 4, Interesting

    In the networking class I'm taking this semester, we've been doing exercises using Ethereal to study different protocols and layers of the TCP/IP stack. My professor is working on a book that uses Ethereal to study networks, but provides all the relevant captures and such to keep students from running traces on active networks. It's been a useful learning aid, for me at least. It's makes more sense to think about packets and such when you can actually see them and the data they contain.

    1. Re:Ethereal in University Setting by dr_dank · · Score: 3, Funny

      My professor is working on a book that uses Ethereal to study networks, but provides all the relevant captures and such to keep students from running traces on active networks

      Is this Prof on crack that he/she doesn't think that any of their students is going to try sniffing their neighbors packets on the dorm network? Hell, thats the first thing I'd do!

      --
      Where does the school board find them and why do they keep sending them to ME?
    2. Re:Ethereal in University Setting by symbolic · · Score: 1

      My professor is working on a book that uses Ethereal to study networks, but provides all the relevant captures and such to keep students from running traces on active networks.

      Bah...running traces on live networks is MUCH more fun (albeit for legitimate purposes). Tethereal and grep are an interesting combination as well.

    3. Re:Ethereal in University Setting by mikeee · · Score: 1

      Odds are, they won't see much. Just *try* to buy a hub (not a switch!) with more than 4 ports these days. It's a PITA if you actually do want to use ethereal to sniff outside traffic.

    4. Re:Ethereal in University Setting by Anonymous Coward · · Score: 0

      Heh, first thing I did when I figured out how to use ethereal a little bit was sniff for AOL Instant Messenger packets.

      I'd interject into peoples' conversations, doing fun shit like answering someone's question from their conversation using handles like eyeseejewhah and whatnot. Some people seemed to be very creeped out by it, some people just closed their AIM clients. All in all a fun way to spend an afternoon of skipping class.

    5. Re:Ethereal in University Setting by Anonymous Coward · · Score: 0

      Is this Prof on crack that he/she doesn't think that any of their students is going to try sniffing their neighbors packets on the dorm network?

      Well, I wouldn't expect students not to download music from dubious sites either or all manner of illegal things. I wouldn't show them how to do it in class though.

    6. Re:Ethereal in University Setting by zgornz · · Score: 2, Interesting

      Switches are sniffable too. It just takes more work. Read about arpspoof, part of the dsniff package, you can trick a switch into sending you data rather than a client or even the gateway, then you forward it along to where it really belongs.

      This even works on cable modems, but you can only sniff downstream packets, not upstream.

    7. Re:Ethereal in University Setting by WarehouseCU · · Score: 1

      Actually, I'm alumni of this particular school. The network is switched and you wouldn't get anywhere sniffing the neighbors packets. Unless you were living in an apartment on campus and used a hub to split up the one ethernet connection running to the bedrooms, they you could sniff your roommates packets.

    8. Re:Ethereal in University Setting by mph · · Score: 1
      Actually, I'm alumni of this particular school.
      How's that Multiple Personality Disorder coming along?
    9. Re:Ethereal in University Setting by ted_nugent · · Score: 1

      Or you could use the more boring method of what Cisco calls "port mirroring".

      --

      Free the West Memphis Three!

  23. Web by macgyvr64 · · Score: 2

    Are there any good introductions to Ethereal on the web? I've looked a little with Google, but turned up nothing great. I may buy this book, but I'm not sure I want to spend $35 on something I may or may not use.

  24. I know I'm being lazy but... by jeffehobbs · · Score: 1

    ... I really wish there was a .pkg installer for OS X.

    ~jeff

    1. Re:I know I'm being lazy but... by OmniVector · · Score: 1

      if you're even remotely a *nix user in os x, you should already have fink and darwinports already installed. it's a simple port install ethereal and you're done.

      --
      - tristan
    2. Re:I know I'm being lazy but... by libra-dragon · · Score: 1
      I wouldn't call it laziness.

      strlen( "port install ethereal")*
      strlen( "I know I'm being lazy but... ... I really wish there was a .pkg installer for OS X.")

      *(Pre-requisite)
      % cd ~/
      % cvs -d :pserver:anonymous@anoncvs.opendarwin.org:/Volumes /src/cvs/od login
      % cvs -d :pserver:anonymous@anoncvs.opendarwin.org:/Volumes /src/cvs/od co -P darwinports
  25. Off topic but related... by Anonymous Coward · · Score: 0

    I need to capture an entire day or two worth of data, and be able to generate summary statistics, and drill down to individual transactions if necessary. I looked at ntop, but with the migration away from supporting SQL, that doesn't look like a solution.

    Anyone have any recommendations???

    Thanks!!

  26. Network Associates Sniffer Pro is excellent. by qualico · · Score: 1

    I like that product best with its graphs and traffic maps.
    Although it would be nice to have some more sophisticated software in tune with hardware like routers and switches.

    Development on these types of software seems to have gone stagnant.

    You'd think with all the crap on the net, there would be some really good tools.

  27. packet sniffing by Cruciform · · Score: 4, Funny

    Ever mention 'packet sniffing' in a public place?

    Suddenly people across the room are hanging on your every word, until they realize you didn't say "panty sniffing" and they can't get vicarious thrills/outrage from the perverted geeks in the corner.

  28. Out of date? It was published in February 2004. by David+Hume · · Score: 1

    While this is an interesting book, its problem is that it is already out of date.


    How out of date can the book be? It was published in February 2004.

    Then again, Ethereal version 0.10.3 was released on March 25, 2004.

    Ethereal version 0.10.2 was released on February 23, 2004.

    Ethereal version 0.10.1 was released on February 18, 2004.

    Ethereal version 0.10.0 was released on December 12, 2003.

    Perhaps most importantly, according to one Amazon.com review, "the book documents version 0.10.0." Another Amazon.com review states that, "the captures are up to date as of version 0.10.1."

  29. Ethereal question... by Anonymous Coward · · Score: 0

    I stared using it from the last slashdot article, and I was wondering how with Ethereal can I capture files like html, images, media, cgi, etc?

    1. Re:Ethereal question... by DaCool42 · · Score: 1

      Follow the TCP stream and save the data to a file.

      --

      ----
      All of whose base are belong to the what-now?
  30. Flameon by g0bshiTe · · Score: 3, Funny

    Not to mention the 13 root exploits for Ethereal.

    --
    I am Bennett Haselton! I am Bennett Haselton!
  31. Re:HELP! by Anonymous Coward · · Score: 0

    Maybe a site like www.hotstuds.com or www.fudgepackers.com would be a better place to ask that question.

  32. Usually the wrong level for solving that problem by billstewart · · Score: 3, Informative
    Spam doesn't arrive in packets - it arrives in SMTP sessions, packaged in TCP flows, packaged in IP packets. That means that you don't have a whole spam session in any given IP packet, so it's much harder to detect spamminess from sampling IP packets than from sampling at the SMTP handler. For most people, all the incoming SMTP is handled at one place - one of your home machines if you're at home, or one of your servers (or clusters of servers) if you're a mailbox provider or a business.

    If you're an ISP or hosting center that has customers that you're only providing with IP services, not email services, you _could_ sniff packets and send RSETs to kill sessions that look like spam, but you'd be doing it with less information than your customers, and you would probably end up killing off lots of useful mail, such as the message they're sending to abuse@example.net telling them how to find the spammer that just sent them this message. Usually a bad idea.

    --

    Bill Stewart
    New Fast-Compression-only CPR http://preview.tinyurl.com/dy575ks
  33. packet sniffing? by bl8n8r · · Score: 1

    "I look at packets for a living. I generate them, I capture them and dissect them, and I try and make sense of them as quickly as possible. Sniffers and protocol analyzers are part of my bread and butter"

    Aha! a real live Tea farmer!

    --
    boycott slashdot February 10th - 17th check out: altSlashdot.org
  34. As many Unix tools, Ethereal is egoist ! by Anonymous Coward · · Score: 2, Interesting

    In my company, we wanted to monitor HTTP traffic from our users but we didn't want to put in place a proxy. We went to the solution of sniffing traffic going through our gateway and Ethereal managed to give us some interesting realtime results.
    However, we wanted to log the traffic over many days and to make graphs and statistics from the results. And this where Ethereal falls short and shows up the weak point of many tools coming from the Unix world : how can we interface and use the power of Ethereal from another program easily ? We are a company and we did not want to spend days and days looking at the source code. At the contrary, in the Windows world, we don't have the source code of Word, Excel, Internet Explorer, nor Exchange but we can check spelling, create graphics, and send tasks and notes with only a few lines of VB code.

    The only solution we found to use Ethereal from another program was : to ask tethereal (the command line tool) to output results in Xml-like (!) format (pdml), to process output using an Xml parser and to put all this stuff in a .Net component. Finally, this .Net component exposed all high level methods we expected from Ethereal : "analyse http traffic" and "notify us when you find new packets". And at the end... we used this component to generate Excel reports !

    Ok, interfacing ethereal with xml works well and took only a few hours to implement but I let you imagine how much CPU this solution uses! Fortunately we process *only* HTTP traffic over a *slow* 1Mb/s line. We could not use this approach to monitor for instance tcp traffic over a 10Mb/s line...

    1. Re:As many Unix tools, Ethereal is egoist ! by Anonymous Coward · · Score: 0

      Wow. Let's see -
      1) you claim unix tools are egoist and yet your story is about how you managed to fit a *useful*
      unix tool into *your* windows environment? ouch.
      Sorry - no sympathy here...
      2) lesson -> why don't you instead look within and
      realize that it is, in fact, your ego that is the hurdle here. Those of us here in the development
      world use open source/linux/BSD because they
      frequently have the best tools for the job. If
      you need a job done, and you have only one
      tool (Windows) maybe you should consider either

      a) using a platform that provides more solutions

      - or -

      b) make your own tool - code your own solution.

      But, please, complaining here, or anywhere else, that all those open source solutions are "egoist" because they don't run on your Windows box, or don't make things purty for your pointy-haired bosses is really pretty silly.

    2. Re:As many Unix tools, Ethereal is egoist ! by Anonymous Coward · · Score: 0

      Webtrends

    3. Re:As many Unix tools, Ethereal is egoist ! by Shutter_BC · · Score: 1

      I would be nervous to make such a blanket statement about a free (beta) tool. Also, you may want to consider other options since it sounds like you're trying to do live network monitoring and reporting, which is barely within the scope of what Ethereal was written for.

      Have you taken a look at Nagios, for example? ( www.nagios.org )

      I have a feeling that your tone of voice won't be received well here, despite all the work you've done to get Ethereal to work in your environment. Good luck to you.

    4. Re:As many Unix tools, Ethereal is egoist ! by svindler · · Score: 2, Informative

      Ethereal is primarily meant as an interactive tool, I guess, which makes it not perfect for your purpose.
      A few other options for you:
      1) Simplest option with focus on http: Put in squid as a transparent proxy. No need to setup anything on the client, just put the squid server in front of your gateway and tell it to route port 80 through squid. Lots of tools exists to analyze squid log files. My preference is awstats, because it suits my needs.
      2) Use tcpdump, writing to a file. You can use -C to specify filesize if you expect high volume. Then you can use another tcpdump, ethereal or whatever tool to analyze your dump files. Remember "-s 0" to save the full packet.
      For instance "tcpdump -s 0 -C 1000 -w tcpdump.dmp &" saves the dump in 1G files. Then you can use "tail -f -c +0 tcpdump.dmp | tcpdump -r - port 80" to follow http traffic online. You'll of course have to monitor when the new rollover happens and restart with the newest filename. This can be easily scripted.

  35. One last note.... by MisanthropicProgram · · Score: 0, Redundant

    Now, I know the score here....

  36. Would some duct tape help? by M3shuggah · · Score: 1

    Maybe the legendary MacGyver isn't as resourceful as his reputation suggests.

    1. Re:Would some duct tape help? by macgyvr64 · · Score: 1

      What, you expect him to use chewing gum and a paperclip for everything? :-P

  37. UN*X ? by Anonymous Coward · · Score: 0

    I thought it was *NIX, not UN*X ...

  38. Ethereal by weekendwarrior1980 · · Score: 1

    It has a big learning curve, other than the tool is very handy.

  39. RTFM by Anonymous Coward · · Score: 0

    You won't see any interfaces unless you are running as administrator.

  40. Ethereal compatible packet sniffing:Novell NetWare by KKBaSS · · Score: 2, Informative

    There is a free packet scan nlm file that you can run on Novell NetWare. The file dumps can be read with Ethereal.
    Guidelines to Take a Packet Trace
    Packetscan - NetWare packet capture tool
    How to use Ethereal to capture a packet trace
    How to configure a capture filter for Ethereal

  41. Richard Stevens... by Mirko.S · · Score: 2, Interesting
    Hi,

    I currently reading TCP/IP Illustrated Vol.1 (somewhere above Chap. 19) and have begun with Vol.2 a few days ago... (implemetation of IP in FreeBSD havy stuff... :))

    Well... if you have read Vol.1 you should not have further questions to a tcpdump or an ethereal or "raw packet binary dump" output.

    Stevens explain all fields in the headers and what are possible options/flags and what they do. Also he explain how connections are established and closed and data are delivered. He also gives a short instruction in many protocols like dns, tftp, bootp etc. and a lot of more...

    They are a little bit expensive (arround 60 - 70 euro per book) but thouse books are full of information, no unneedet informations or overhead and worth to buy it (at least Vol.1 when you are interested in IP).

    all in one... he explains the internet :)

  42. livehttpheaders.mozdev.org by Ayanami+Rei · · Score: 1
    --
    THIS THING CAN TURN ON A DIME, MACROSSZERO STYLE ALSO FUCK BETA, ~NYORON
  43. Mordekainen's Ethereal Packet Sniffing by quantaq · · Score: 3, Funny

    Yes, but what are the material componants? Area of effect? Your review of this "Ethereal Packet Sniffing" leaves me wanting.

    Why oh why did I have to play so much D&D in high school...

  44. A book on Ethereal? by LS · · Score: 1

    Sorry, but is Ethereal a complex enough program to inspire a book? Sendmail, yes, but Ethereal? I figured it out within 5 minutes. Can someone enlighten me here on what I'm missing?

    LS

    --
    There is a fine line between being a cultivated citizen and being someone else's crop. - A. J. Patrick Liszkie
  45. Ethereal, nmap, nessus by mnemotronic · · Score: 2, Funny
    It would be nice to get a single usage guide for all these tools together. How to use them individually or in combinations.
    • nmap for basic port sniffing.
    • nessus for more extensive security sweeping.
    • ethereal for packet capture & analysis.
    • snort for intrusion detection.
    • magnum marine for spammer management (I feel a mod-down comin on!)
    (Apologies if I've left your favorite tool out of this list)

    I have a vague notion about how to use some of them in limited fashion, but I'm handicaped by not having an intimate knowledge of how IP and TCP really work (down at the packet level).

    --
    The Russians have won. They have made the world a cesspool of distrust, greed, fear and hate.
    1. Re:Ethereal, nmap, nessus by Anonymous Coward · · Score: 0

      That's a whole lotta tools to wrap up in one book. You have traffic analysis, intrusion detection, and port scanning rolled into one. All good when used together, but I doubt you can encompass all of these in a single tome.

  46. Re:Great every idiot on slashdot will be sniffing by OneArmedMan · · Score: 1

    So if worked as network security for CocaCola Corp , and i was sniffing their network ...

    Would that mean i was sniffing coke packets?

  47. WebScarab has this functionality by SlashdotStu · · Score: 1

    Check out WebScarab, which is available from the Open Web Application Security Project.

    The feature you are interested in is:

    • Interception Proxy - captures traffic between the browser and the web server and alllows the user to modify HTTP on the fly.
  48. No longer 'sniffing the glue', but much better... by ctar · · Score: 2, Informative

    Unfortunately, Ethereal's motto has changed from the oh-so-sweet 'Sniffing the glue that holds the Internet together' But, it gets better almost monthly...The latest feature that I immediately noticed is the syntax checker on the filter box. To create filters in Ethereal, you type some simple boolean type commands, that can become very specific and complicated. (Filter by specific IP or protocol or port, for example) The box where you type them in (if you don't use the wizard, which is kind of clunky) is red, until you type in a filter with correct syntax. Then, it turns green. This happens as you type...Very nice.

    The other nice function that is not quite that recent, but I think appeared within the past year and a half or so, is the ability to filter a TCP connection, just by right clicking on one frame of the stream, and choosing 'Follow TCP Stream'. This automatically creates a filter based on the source and destination IP and ports, and spawns a new window that contains only the data portions of the stream. It defaults to interpreting data as ASCII, but you can choose EBCDIC, or just look at the HEX, and export out to another app that can view the data. Very useful for any apps that use ASCII text to communicate (I've often used for un-encrypted FIX connection troubleshooting)

    This and some other very simple features make Ethereal much more powerful for troubleshooting and viewing individual connections that Sniffer Pro, which can cost more than $5000, depending on your configuration. A very simple but effective feature is just the ability to organize alpha-numerically columns in the capture window. Its sometimes the easiest way to find where traffic from a certain IP starts...We had training on Sniffer Pro from an NAI guy once, and I asked why Sniffer didn't have this feature...He was like 'what would you use this for?'

    That training session was when I discovered that Sniffer Pro is really better suited to looking at a whole network, and performance as a whole...Ethereal is absolutely the best for looking at individual packets, data streams, or connection problems.

  49. Yes by Anonymous Coward · · Score: 0
  50. Re:Tomayto, tomahto by Guy+Harris · · Score: 1
    Is this going to be like the LIE-Nuks Lee-nooks, thing?

    Hopefully not. For one thing, "Ethereal" wasn't named after somebody whose name is pronounced in a way different from the way the same name is pronounced when it's then name of a character in "Peanuts". :-)

    See the Ethereal FAQ item on the pronunciation; you're right, they're wrong.

  51. a book? by Antisthenes · · Score: 1

    I dont read books