LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 02-24-2007, 12:32 AM   #1
SBN
Member
 
Registered: Jul 2006
Distribution: UBUNTU, CentOS, FEDORA 8
Posts: 474

Rep: Reputation: 30
Wireshark Tutorial


- hey guys are there more tutorial about wireshar on the net aside for Chris Sanders » Packet School 101. cant find anything more on the net.
 
Old 02-24-2007, 04:28 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
well what sort of thing do you really want to know? i've always found the official documentation very concise and useful. wireshark is an amazingly useful tool to the right person, i couldn't do my job without it at all...
 
Old 02-24-2007, 02:11 PM   #3
Matir
LQ Guru
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Debian, Arch
Posts: 8,507

Rep: Reputation: 128Reputation: 128
Fyi, wireshark used to be called ethereal. Searching for ethereal tutorials should reveal a lot of information applicable to wireshark.
 
Old 02-25-2007, 09:38 PM   #4
SBN
Member
 
Registered: Jul 2006
Distribution: UBUNTU, CentOS, FEDORA 8
Posts: 474

Original Poster
Rep: Reputation: 30
Talking

Quote:
well what sort of thing do you really want to know?
- like how do you use it to monitor your network, how do you analyze its output, and how do you use it to know if something is wrong with your network. and others
 
Old 02-25-2007, 09:47 PM   #5
Matir
LQ Guru
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Debian, Arch
Posts: 8,507

Rep: Reputation: 128Reputation: 128
If you're looking for a tool that says "there is a virus on your network", Wireshark is not it. Wireshark will show you each packet and is more useful to see the exact content of packets. It allows you to tell if, for example, a server is not responding, or is responding with an error.
 
Old 02-25-2007, 11:47 PM   #6
SBN
Member
 
Registered: Jul 2006
Distribution: UBUNTU, CentOS, FEDORA 8
Posts: 474

Original Poster
Rep: Reputation: 30
-
Quote:
allows you to tell if, for example, a server is not responding, or is responding with an error.
- this is also one of the things i want to learn using wireshark. i tried to google for other tutorial but no such luck.
-
Quote:
If you're looking for a tool that says "there is a virus on your network", Wireshark is not it.
- well this is not one of my purpose, but actually i read an article about network analyzers being able to detect virus threats by using probes.

 
Old 02-26-2007, 01:46 AM   #7
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
well in terms of knowing what's wrong and such, that's not *really* wiresharks job. it doesn't do "health checks" and such. it's really up to the user to know what they are looking at, and that includes tcp/ip knowledge, strcuture of layer 5 - 7 data within ip protocols. wireshark tries to present as much of any given protocol in a deconstructed way as possible, i.e. splitting up http requests field by field, but it can only present you raw data in simpler formats, it's still going to require you to understand the relevance of a TCP RST flag, or an HTTP POST for example.

One big step forward that would help you is the "foloow tcp stream" feature. right click on any packet in the list and select it. that'll then filte to only show a single tcp stream, including packet resends and errors and such.
 
Old 02-26-2007, 03:28 AM   #8
SBN
Member
 
Registered: Jul 2006
Distribution: UBUNTU, CentOS, FEDORA 8
Posts: 474

Original Poster
Rep: Reputation: 30
Quote:
well in terms of knowing what's wrong and such, that's not *really* wiresharks job. it doesn't do "health checks" and such.
- actually this is not my problem.
- im new to wireshark and my real problem is that how do you interprete or analyze those raw data that its showing.
Quote:
it's really up to the user to know what they are looking at, and that includes tcp/ip knowledge, strcuture of layer 5 - 7 data within ip protocols. wireshark tries to present as much of any given protocol in a deconstructed way as possible
- so your saying that in order for me a newbie to wireshark to understand what the wireshark is showing is to first undertand TCP/IP protocols and others?
 
Old 02-26-2007, 03:39 AM   #9
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
Well in general, yes. it's there to explode the IP packets for you so you can get at the "good stuff" without decoding binary stream and such. In a potentially similar way to a lot of the mentality behind Linux itself, which you've probably (or rather, hopefully) come to appreciate, if you try to be too clever within an application, it typically quickly moves to reducing control, functionality and flexibility within said app. So without that base knowledge of tcp/ip etc.. it may well be pointless you being given some "answers" by an analysis program at such a low level of detail. of course wireshark does do *some* of this, but it's about giving you all the info for you to use as you see fit, not tell you what it thinks you might want to know.

Of course, it's utterly down to what problems you are trying to solve as to what knowledge you need. (Almost) any old fool should be able to appreciate the presence of a tcp communication in both directions or not, but when you're trying to analyze err... fluctuating TCP window sizes or rogue RST packets, then you'll need a suitably greater knowlegde of the subject.
 
Old 02-26-2007, 08:18 PM   #10
SBN
Member
 
Registered: Jul 2006
Distribution: UBUNTU, CentOS, FEDORA 8
Posts: 474

Original Poster
Rep: Reputation: 30
ok thanks so much
 
Old 03-11-2007, 09:06 PM   #11
john@ackley.net
LQ Newbie
 
Registered: Mar 2005
Location: Virgin Islands
Distribution: Red Hat 9.0
Posts: 13

Rep: Reputation: 0
wireshark: command not found

here is my problem:

[root@paradise Desktop]# rpm -ivh wireshark-0.99.5-1.fc6.i386.rpm
Preparing... ########################################### [100%]
package wireshark-0.99.5-1.fc6 is already installed


[root@paradise Desktop]# wireshark
-bash: wireshark: command not found

I tried yum remove then yum install - same result.
 
Old 03-12-2007, 02:50 AM   #12
Matir
LQ Guru
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Debian, Arch
Posts: 8,507

Rep: Reputation: 128Reputation: 128
Have you tried 'locate wireshark'? Maybe it installs it outside of your path.
 
Old 03-12-2007, 04:36 AM   #13
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
1) don't hijack / dig up other peoples threads, your question really has nothign to do with the original one other than a common app.

2) install wireshark-gnome for the gtk interface. wireshark by default only contains the lighter tshark console interface
 
  


Reply

Tags
fc6, install, wireshark



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
wireshark and network performance metallica1973 Linux - Networking 8 01-30-2007 04:29 PM
Wireshark problem kgd35s4wbxzrn08 Fedora 4 01-18-2007 06:05 PM
Can't find wireshark bugmenot60 Fedora 3 12-09-2006 01:04 AM
Wireshark Help bgeddy Slackware 9 09-30-2006 12:34 PM
LXer: Ethereal changes name to Wireshark LXer Syndicated Linux News 0 06-10-2006 08:03 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 04:07 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration