|
 |
|
|
Nice. Reminds me of an analyst/therapist friend of mine. He tried to tie the analyst and therapist ideas together and called himself an ah-nal-ruh-pist. But it still looked like Analrapist on his business card.
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
|
 |
|
|
Suggest user who are having problems try these methods: A unzip and put Pacanal folder in your C# projects folder, then move the 'Myclasses' folder inside Pacanal folder. Next Open Pacanal.csproj which may need converting depending on your version of C#.
In Solution Explorer, right click the top (project icon) and select Add/Existing Project, then browse to your 'Myclasses' folder and click on MyClasses.csproj
(the following debug changes are needed, because the final files were compiled optimized and without debug info): Still in Solution Explorer, right click Myclasses/properties which will open a Myclasses tab. (You should revert these settings after finishing debug but now do the following)........ Check DEBUG, TRACE, allow unsafe code. Uncheck Optimize (because optimize disallows debug) Important - 'output path' to Pacanal \bin\debug Change debug info from none to full (might be under [advanced] button)
Reopen Solution Explorer, right click Myclasses/build - you will probably get an error in build for unsafe code; click the error line which will bring up error and prepend 'unsafe' eg: [DllImport("kernel32.dll", EntryPoint="GlobalAlloc")] unsafe public extern static char * GlobalAllocPtr( uint wFlags, uint dwBytes );
You should now be able to build solution F6 without errors. Kind regards, Alistair George.
|
| Sign In·View Thread·PermaLink | 1.50/5 (2 votes) |
|
|
|
 |
|
|
 |
|
|
hi to all. I m caculating network bandwidth utilization or traffic rate. is there any idea that i can calculate packet size in C#. thnks
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
|
Hi,
I need to know the same. Actually, I want to find bits/sec and packet loss for data received from a particular IP.
Can you plz help me. Any valuable inputs would be appreciated.
Thanks Taran
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
|
thats a link for a solution but its not valid..it doesn't solve ny thing  http://www.codeproject.com/KB/cs/pacanal.aspx?fid=15569&fr=26&select=1898012#xx1898012xx">http://www.codeproject.com/KB/cs/pacanal.aspx?fid=15569&fr=26&select=1898012#xx1898012xx
i beat the crap out of me searching for a long time !! and found out some things..ok now pacanal gets the NICs (Network interface cards) out of the registery..good..then opens them..nice..when it reaches my real NIC, it opens successfuly, but when it tries to set the event when which occurs, it should read a packet, when doing this..it fails to find an event since DeviceIOControl api returns 1 (in appropriate function)..this error code makes me angry coz its not informative at all !!!!!!!..so the whole thing is that there is no event..also DeviceIOControl page on the msdn says that it returns 0 if it fails or if >>pending<<..i donno how could this info help but thats what i found..guys..firat made a great job...i donno y he left us without answering many of our questions but i think we'll have to take it from here...although i'd really love to talk with this guy about many functions in the code..and definitely to thank him.
FrozenEye
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
|
I got the same problem...On some machines,its OK, but on other machines it fails.. dont know why...I am trying it out. If I got an answer I will post it here.
work work hard, day day up...
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
|
I read winpcap's modify log and finally I found that Since 2006-04-05, the event handling has been changed between kernel and APP. if we use this articles source code and its .sys driver, it should be OK. but if we use this articles source code and an the latest driver(any version after 2006-04-05) you would failed when calling "setevent" function because the driver simply return fail, the driver ask you for creating event instead of creating it by the driver now.
and i think this is my reason, and i am trying modify to make it works but I am not sure about it.
Best Wishes Cong
work work hard, day day up...
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
|
thank you wang for your help,
so your saying that the NPF driver should be updated ?, you know pacanal only checks for the NPF driver entry in the registry and thats how it identifies if the NPF driver exists..I can see 2 flaws in here 1.the NPF driver may need updating as wang pointed out 2.it may just exist while the driver doesn't as a mistake that may occure while uninstalling the driver for any reason
what drives me crazy is that winpcap (pacanal's origin) never faces this problem and always gets the read event !!
allah willing I'll check winpcap source and compare it with pacanal's...again :s
FrozenEye
|
| Sign In·View Thread·PermaLink | 2.00/5 (1 vote) |
|
|
|
 |
|
|
 |
|
|
 |
|
|
I am using .NET 2.0. I managedto get the MyClass prject to compile using the /unsafe directive during the build. The entire app runs however it can't find my Interface in the Capture config screen. As a result when I fire off a capture, the whole thing blows up with a index out of range error related to the interface:
public void Start( ListView LVw , TreeNodeCollection Tnc , RichTextBox Rtx ) { ThisListView = LVw; PacketOnOff = true; Thread.CurrentThread.CurrentCulture = new CultureInfo("en-us");
--> P32h.PacketOpenAdapter( P32h.AdapterNames[ mCaptureOptions.AdapterIndex ] );
"In quiet and silence, the truth is made clear."
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
|
Hi Mike. Did your find out what the problem was with not being able to resolve the interface? If so, can you post here please?
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
|
you told that you need someone to work with you to extend your work, so i m here, i liked ur work too much, i m not an very good programmar but i love it like u and i m much intrested in network programming, security programming and system programming so if u like it, i m ready to work with you.
i m a final year student of SSUET, Karachi Pakistan.
another thing to disscuss with u i have choosed "RoHCoIPSec implementation" as my final year project about the project :- ++++++++++++++++++++
u know that IPSec provides security over n/w layer but with a cost of great overhead per packet (because of its headers)
so in 31 dec, 2007, IETF proposed a framework named RoHCoIPSec, to compress IPSec pakect headers before sending it over a slow WAN link,
how is that idea would u like it plz send me ur comments at ahsan.ssuet@gmail.com also tell me from where i have to start work with u thank u and sorry for my poor english
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
|
hello..can anybody help me??i try to run this project but got error..the reference as MYCLASSES missing..WHere is it?then can anybody tell me how to run this program correctly??please im urgent...
|
| Sign In·View Thread·PermaLink | 1.00/5 (2 votes) |
|
|
|
 |
|
|
Very useful stuff, install with no dificulty. I know something about sniffer so that make it a lot of easier. Thanks.
|
| Sign In·View Thread·PermaLink | 2.00/5 (1 vote) |
|
|
|
 |
|
|
can u help me plzzz.....i try to run this projek but can't run it..got error with the MyClasses at refence..i try to add the reference but i can find any file .dll at folder pacanal and myclases...can u help me??how to run it??
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
|
 |
|
|
"got error with the MyClasses at refence..i try to add the reference but i can find any file .dll at folder pacanal and myclases" -reference project but .dll file, right click Refereces->Add References, you can see a tab named 'Projects',then choose MyClass. Make sure MyClass works by following other threads.
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
|
i dont understand it.i try click right at the reference side then add reference -> project -> Myclasses, but i cant find myclasses.dll..so how to get the myclases.dll???please help me..i try find at pacanal and myclasses folder but i cant find it..please help me....
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
|
 |
|
|
Hi, i would like to reconstruct pdf packets from the network into the original pdf file that was sent using C++, please help, any pointers on how to do it will be appreciated.
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
|
hi , good work . I m doing a study project and i want to know how i can capture network packtes thoough LAN card and how to save those packets for analysis. I have a source that differentate the TCP and UDP packets but i m not sure how its works.anyone can help me. Thanks
ahir
|
| Sign In·View Thread·PermaLink | 2.00/5 (1 vote) |
|
|
|
 |
|
|
 |