-
September 5th, 2010, 05:25 AM
#1
libpcap error?
well first hows every one doing? Now I can't post the code for my program sorry about that guys I know its kinda hard to trouble shoot a problem but here is the background on this prog I'm writing. I wrote this program in c/c++ and a major part of it is collecting network traffic and then looking at it, I original wrote it using raw sockets for the packet capture but after a few problem and for the fact that I'm trying to make it as portable as possible I decided to switch to using libpcap. now before I switch to libpcap I was able to compile and run it and it "worked"(with a non-fully functional raw socket only able to capture one protocol at a time). Now that I have switched to libpcap tho it functions 100% but I get these random floating point exceptions IE. some time it will happen rite away and some times it will happen after 500 600 packets are captured or any ware in between with no true rhyme or reason to why. So I'm starting to think that its being caused by libpcap having trouble handling a certain protocols packet or something dose any one know of any thing like that? I'm sorry I don't have the version of libpcap I'm suing but I'm not currently at that computer but I can tell you its the default version that is on Slackware 13.
Thank you for all your help.
Riot
Similar Threads
-
By cheyenne1212 in forum Miscellaneous Security Discussions
Replies: 7
Last Post: February 1st, 2012, 02:51 PM
-
By wolfman1984 in forum Programming Security
Replies: 2
Last Post: December 8th, 2007, 07:50 PM
-
By w0lverine in forum Other Tutorials Forum
Replies: 2
Last Post: December 19th, 2003, 08:58 PM
-
By cdkj in forum Tech Humor
Replies: 7
Last Post: October 14th, 2003, 12:52 PM
-
By antihaxor in forum Non-Security Archives
Replies: 0
Last Post: January 24th, 2002, 05:42 PM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
|