Solved

[Q] The way to detect error from captured packet

Posted on 2003-10-22
2
166 Views
Last Modified: 2010-04-02
 I made a  packet analyze program(very simple. Using packet capture library).
This program show packet size and  IP. I want to add another feature. Like a error detecting.(CRC, Fragments, Alignments and so on. Sniffer show this error. I need only CRC)
 How can I detect error from captured packet.

0
Comment
Question by:goodsoul
2 Comments
 
LVL 22

Accepted Solution

by:
grg99 earned 100 total points
ID: 9598814
If you want to detect errors down at the MAC level you may have to hook things at a lower level.  Most MAC layers filter out all the "bad" packets.  See the docs about the packet capture library. They may either have an option to turn ON passing up of bad packets, or they may keep statistics on total number of such packets.   Or you may have to call the low-level driver yourself to set "pass up bad packets", or to set a callback that will receive bad packets.

0
 
LVL 11

Expert Comment

by:bcladd
ID: 10482419
No comment has been added lately, so it's time to clean up this TA. I will
leave a recommendation in the Cleanup topic area that this question is:

Answered: Points to grg99

Please leave any comments here within the next four days.

Experts: Silence means you don't care. Grading recommendations are made in light
of the posted grading guidlines (http://www.experts-exchange.com/help.jsp#hi73).

PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER!

-bcl (bcladd)
EE Cleanup Volunteer
0

Featured Post

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

  Included as part of the C++ Standard Template Library (STL) is a collection of generic containers. Each of these containers serves a different purpose and has different pros and cons. It is often difficult to decide which container to use and …
Basic understanding on "OO- Object Orientation" is needed for designing a logical solution to solve a problem. Basic OOAD is a prerequisite for a coder to ensure that they follow the basic design of OO. This would help developers to understand the b…
The viewer will learn how to use the return statement in functions in C++. The video will also teach the user how to pass data to a function and have the function return data back for further processing.
The viewer will learn additional member functions of the vector class. Specifically, the capacity and swap member functions will be introduced.

770 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question