Solved

[Q] The way to detect error from captured packet

Posted on 2003-10-22
2
167 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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Introduction This article is the first in a series of articles about the C/C++ Visual Studio Express debugger.  It provides a quick start guide in using the debugger. Part 2 focuses on additional topics in breakpoints.  Lastly, Part 3 focuses on th…
C++ Properties One feature missing from standard C++ that you will find in many other Object Oriented Programming languages is something called a Property (http://www.experts-exchange.com/Programming/Languages/CPP/A_3912-Object-Properties-in-C.ht…
The goal of the video will be to teach the user the concept of local variables and scope. An example of a locally defined variable will be given as well as an explanation of what scope is in C++. The local variable and concept of scope will be relat…
The viewer will learn additional member functions of the vector class. Specifically, the capacity and swap member functions will be introduced.

829 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