Solved

[Q] The way to detect error from captured packet

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

When writing generic code, using template meta-programming techniques, it is sometimes useful to know if a type is convertible to another type. A good example of when this might be is if you are writing diagnostic instrumentation for code to generat…
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 tutorial is to teach the user how to use functions in C++. The video will cover how to define functions, how to call functions and how to create functions prototypes. Microsoft Visual C++ 2010 Express will be used as a text editor an…
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.

919 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

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now