The 7 Most Common Mistakes Using Packet-Sniffers


This article is also covered in a "The Sniffer Guy" podcast--available at http://www.interpathtech.com --and--through iTunes.

1) Believing the "Intelligence" of the Software without understanding how it makes determinations.

Software default settings are very seldom correct for YOU. For example, a device may say that a SQL server should respond in 50ms. But, whether that slogan is across a WAN with a 200ms ping time--that is highly unlikely. This causes false SLOW SQL messages. This is alone an example, but there are many such alerts and messages based on default "thresholds" within this type of software tool's configuration.

Particulars of your environment may create false alerts or other messages. The definitions of what is an "excessive" delay--latency--broadcasts, etc, are up to you--not the tool.

It's critical for you to know the default settings driving alerts and messages. Then, ignore or transform those alerts that are not allot best--for your enterprise. Altering them to make the appropriate settings for your enterprise is the best strategy. Too many false flags or alerts numb you into ignoring substantial ones or--cause you to constitute serious errors and incorrect decisions that can be Very Also expensive.

Properly used, those features can save huge amounts of time and show matters your own eye would imaginable miss.

2) Not sensitive the Protocols used, such as TCP, HTTP, etc.

What good is a tool that tells you information approximately how a protocol is behaving provided you do not understand the underlying technology? By this I mean the RFC's for the protocols that are relevent to your concerns.

---What is the crash of various protocols working differently for the same application doing the corresponding transaction--in different locations?

---What is expected according to specs--and how is your trace file showing different--or less optimal behavior?

---Why would there be 2 TCP connections from one purpose and 10 from another--for the same application doing the alike transaction?

This short article cannot send all these questions--but it can show you the types of dope that you will devoir to fathom in order to cook sense out of the data a trace file will display you. Know the protocols well. Deep understanding of TCP is the basic price of admission. While you may consider this a matter of skill sets, my site is that attempting to troubleshooting a problem with a packet-sniffer while not understanding the protocols is a mistake--and a common one. If you add this point to the first one listed--about not believing all the standard settings on tools--you find that the tool cannot answer anything for you by itself. You need to be versed what you are looking at. You are the analyst--the thing is just an aid.

3) Not understanding the layer 1 and layer 2 aspects of the topology you are sniffing.

Ethernet and all other topologies corner multifold deviating specifications, which are altered or outright ignored by many switch or other network device manufactures. You must know the specs and how the hardware you are working with applies those specs--or doesn"t handle them. A classic example is Spanning Tree. There are IEEE specifications for Spanning-Tree but those specifications are just a model...not a law. Each manufacturer has tweaked it in order to create some proprietary advancement to come across them a competitive advantage. Sometimes, those advances become the just out spec. However, you need to know what is sample and how your equipment varies on that theme. What deluxe is seeing the BPDU's in a hint data if you don't understand what they contain or how it relates to the occupation at hand? Again, this may be looked at as a skill set issue but--expecting to solve critical problems with a packet-sniffer while not knowing this about your network is a mistake.

4) Uni-directional SPANs or Port Mirroring & Single-sided trace files.

Often the switch port used by a server you need to monitor is incapable of providing a bi-directional SPAN (Port Mirror). If so, you cannot get answers from such a trace as it will miss critical information. It can be an oversight by the Engineer doing the trace but sometimes it is simply not understood to be such a critical concern--and ignored. Either way, when you have a post like this you need to bite the bullet and put in a Change Disposal to carry it moved to a fully bi-directionally mirror-able harbour before any serious analysis can be done.

Here is a good context of why this is so. Picture a Client and a Server. The Server wants to stop a particular TCP connection and keeps sending FIN's. Yet, we never see the Client send back a FIN ACK. We act see other traffic between them and know that there is connectivity. So, here are the questions:

--Are the FINs not arriving at the Client--or--is the Client receiving them and appropriately sending back the FIN ACK--which are not getting back successfully?

----If so, then it is most credible a network issue.

--Are the FINs arriving successfully--but being ignored by the Client?

---If so, then it is mostly likely a Server or OS or Data Centre issue.

These questions can not be answered with a trace file that individual sees one side of the conversation. Two traces, sychronized, are needed to determine the answer to these questions.

5) Incorrect filters--either Capture or Display

An important concept here is that filters add nothing--they only remove--they exclusive filter out. When you state that you are "filtering for" what you mean is that you are "filtering out" everything else. This isn't just semantics as understanding this perspective is critical to success.

Receive Filters:

Capture Filters are irreversible. If you filtered out something that you need to see--you just aren't going to espy it. There is no second chance without running the test again.

Appropriate Filters determine what is allowed in the Capture Buffer. If the data is there to see--great. If you filtered what you need out--you can't change the filter after the fact. A very experienced Protocol Analyst may notice the dispute by seeing anomalies that amount to the shadow of the lost data--but most will not be able to tell. And, of course, even if you can tell--you still have to re-test.

This might example you to envision that you should not use Capture Filters--and that is half true. If you don't really need them--don't use them. However, if you are drinking your packets out of the Element Hydrant--you compass no choice. Under those conditions the data testament fill up your Capture Buffer is less than a single second.

Another mark is that they should be consistent within a Test Design. If they vary too much, they will generate false differences that can easily first place the Network and Application Performance Analyst or Protocol Analyst astray.

Monitor Filters:

Monitor Filters are forgiving. They work the same way--in that they filter out, not in. However, you can chicken feed your mind. The data is in the can (trace file) and it is only a concern of changing the filter to see what was filtered out the last time. Many times I am stumped and then retain an idea--go back and replace my Grip Filters--and bam! There is the answer. The point is--incorrect Monitor Filters will decent as easily front you astray--but you even have the befalling to find your course of action back since the counsel is still there.

Again, this might leave you thinking to avoid Observer Filters. Don't even consider it. Removing irrevelant packets is required to properly measure diverse conversations and search for anomalies. In fact, understanding proper filtering is what using the packet-sniffer software is all about.

6) Lack of kindly the Packet-Sniffer"s CURRENT settings

Monday, you created a Capture Filter and left it as the default. Friday you need to capture a trace string and click on Capture. Changeable people perform their roles in the test and you save the trace file. Everyone goes home, back to their leading craft function or to bed. Then you look at it and conceive that you didn't realize that the out of date Select Filter was still in effect! Why? You altered the Default Capture List instead of creating a new one. Your Trace Dossier is useless.

Always bethink to review ALL settings before beginning a test. Additionally, run a practice test to make sure all filters and setting are as they should be.

Sometimes the error you interpret is that you were given an incorrect IP address and that you never would jewel what you are looking for from the IP superscription from which you are capturing packets. That is a GOOD finding. It wealth someone's diagram is incorrect. It also means you prevented a incompetent round of testing.

7) Lack of test controls.

Liking any proper experiment, a performance or application test requires a control group and controlled data for all groups. If it was a pharmaceutical inspection you might have a party with a placebo. In our existence we need to create a "BESTline" first. A "Bestline" is not a baseline.

Here is an example.

You have a Client in Singapore and a Server in Fresh York City. The client is Singapore takes 40 milliseconds to execute a action and European clients only need 30 milliseconds. Singapore, although farther away, has a faster connexion and is expected to get it done in the same time as Europe. What now? Take a BESTline. Use a client in New York Conurbation running the same transaction in the same way on similar equipment on the same server as the other two tests. You may discover that it yet takes 25 milliseconds! This may due to individual issues in the Data Center, Server or PC itself, 25 milliseconds is the fastest it goes!

This means that the first 25 milliseconds hog nothing to do with the transport distance or speed. It DOESN'T miserly that you have to catch those 25 milliseconds. There is a great deal that can be done about it. However, it is not the network and you now perceive you keep to focus on the Server, PC, Data Center and other components.

Such controls are easy to do--yet seldom done. That common fault results in many false leads and false errors as well as lost allotment and money.

There are many more habitual mistakes......but they are the topic of at odds articles on http://www.InterpathTech.com.


Comments: [0] / Post comment:
06 Oct 2008 19:08:50

Cops trace vehicle in QC ambush - Inquirer.net

Cops trace vehicle in QC ambush Inquirer.net, Philippines - By Julie M. Aurelio MANILA, Philippines Police Monday maintained that a land dispute was most likely the motive behind the Sunday ambush of a Quezon City ...
06 Oct 2008 18:50:34

Scientists Trace A Novel Way Cells Are Disrupted In Cancer - Science Daily (press release)

Scientists Trace A Novel Way Cells Are Disrupted In Cancer Science Daily (press release) - ScienceDaily (Oct. 6, 2008) A research team at Cold Spring Harbor Laboratory (CSHL) is clarifying a previously unappreciated way that cellular processes ...
06 Oct 2008 15:31:58

Orissa sends CID team to Delhi to trace missing nun - Indian Express

Religious Intelligence Ltd Orissa sends CID team to Delhi to trace missing nun Indian Express, India - ... M Satyanarayana, who was tipped that the nun was present somewhere in Delhis Gole Market, however, failed to trace her on Sunday. ... Orissa cops to trace rape victim in Delhi Nun rape: cops have no answer
06 Oct 2008 14:29:15

Implant wins $750K contract - Bizjournals.com

Implant wins $750K contract Bizjournals.com, NC - Implant said the device should be useful to help detect trace amount of explosives in carry-on luggage, parcels, packages and cargo. Implant Sciences Gets $750K Contract From DHS - Update Implant Sciences Receives $750000 Contract Award from Department ... Implant Sciences Receives $750K Phase II Small Business Innovation ...
06 Oct 2008 12:13:53

Trace Adkins Is "All Over the Place" - Great American Country

Trace Adkins Is "All Over the Place" Great American Country, TN - Oct. 6, 2008 Trace Adkins is gearing up for the release of a new album, 10, in November, and its one that might be difficult for critics to pin down. ...
Keywords: