 |
|
 |
Hello,
I am trying to compile your program using VS2010 but I keep getting the above error at the following line.
[DllImport("kernel32.dll", EntryPoint="GlobalAlloc")] public extern static char *
GlobalAllocPtr( uint wFlags, uint dwBytes );
I have selected "allow unsafe code" on the build tab in the project's properties but the error message still appears and it is stopping me from running the program.
Hope you/someone can help.
|
|
|
|
 |
|
 |
thanks for the good tutorial.
|
|
|
|
 |
|
 |
hye author.. i'm new here..i'm looking for packet sniffer tools for my final year project. i really need your help..in c programming or java prgramming, which is better for beginner like me?? could you please give me the tools in order to make the packet sniffer by own?i'm using window7 as my OS. please send me email at my id: sweetgalz_54@yahoo.com.my i'm really appreciate of your help..thanks..
|
|
|
|
 |
|
 |
I'm thinking to develop a packet sniffer using C# in 3rd year project.As I haven't done this before so I need a help......please help me....Any suggestions would be appreciated....my email id is : pn912@greenwich.ac.uk
|
|
|
|
 |
|
 |
hy firat
pleace help me....
how to make these tools.
pleace send me to my mail id is arifiadi99@gmail.com
|
|
|
|
 |
|
 |
hi firat,
i have to submit a project for this semester. n i have to submit it in 1 month . so will u plz help me how to make the packet sniffer tool. the code used to make it. i already used this tool. but i dont kw how to make these tools. my mail id is ratnesh181090@gmail.com
please help me.
|
|
|
|
 |
|
|
 |
|
 |
Hi,
Anybody help me regarding project documents and details.
and my email id is anilds.rvce@gmail.com
with regards
Anil D S
|
|
|
|
 |
|
 |
Thanks for giving this project.
|
|
|
|
 |
|
 |
hi firat,
i have to submit a project for this semester. n i have to submit it in 1 month . so will u plz help me how to make the sniffer tool. the code used to make it. i already used this tool. but i dont kw how to make these tools. my mail id is getcool209@gmail.com
|
|
|
|
 |
|
 |
thanks dear firat kocak for this post and project !!!!
iam download this project !!!
i have winxp and i install the winpcap 3.1 and service winpcap in my windows is runing !!!
i re-install the winpcap and change the version it !!!!!
BUT I HAVE ERROR {"Index was outside the bounds of the array."}
iam can't fix this error
please help me !!!!
one question : this project suported all adapter's ?
|
|
|
|
 |
|
 |
First thank you for taking the time to make all of this work - I personally dislike WinPCAP on my computer as I could not see its code so having a C# equivalent is great.
That stated, I am trying for something a little different and I cannot see how to make what I need work. I do not need to see every packet per se, nor do I actually want to intercept any packages. Rather I need to know when a network timeout event occurs, for example the following TCP error codes:
10050 WSAENETDOWN -- Network is down.
10051 WSAENETUNREACH -- Network is unreachable.
10052 WSAENETRESET -- Network dropped connection on reset.
10053 WSAECONNABORTED -- Software caused the connection to abort. A connection that has been made was aborted, usually due to connection or protocol error.
10054 WSAECONNRESET -- Connection reset by peer. This occurs when an established connection is shut down for some reason by the remote computer.
At a high-level these cause various browsers to timeout and that is what I am trying to react to using my Windows application. I am not controlling the browsers and thus I do not know ahead of time what ports are going to be used so I need a general event monitor. I thought that something like your code would do the trick but I cannot figure out how to just monitor for events without resorting to installing a driver and looking at every packet - even then I cannot figure out how to look for these errors.
Do you have any suggestions? Thanks!
|
|
|
|
 |
|
|
 |
|
 |
hi to all. i am using visual studio 2010 and i compiled the code of pacanal there. when i debbuged and i clicked the start capture button it does not worked although i extracted all the errors. can anyone guide me whats the solution for this problem. thanks
|
|
|
|
 |
|
 |
Hello
I saw your project of packet capture and Analyzer in code project and thought my be you can help me in my project. my project is about network analyzer and I must finish it at 2 months and I do what... nothing now.
I searched a lot and I studied about socket programming and protocol implementing. Can you send for me some documents or projects of it . but please guide me step by step if it is possible. i must tell that i download ethereal and tcpmon source code but I couldn't understand any thing form it.please help me... Sigh
|
|
|
|
 |
|
 |
I have winpcap ver 4.1 and have to uninstall it. after I install ver 3.1 I can use PACANAL, but since that can't use anything else that uses winpcap lib - for instance I can't use arp-sk utility. I install back to ver 4.1 but it does not help. arp-sk utility break and can't find adapters ! now I am stuck and pissed off ! the optimal solution ( minimal time and nerves consumption ) is to FORMAT disk, instal XP and FORGET PACANAL and ver 3.1 ! try wireshark !
modified on Friday, July 30, 2010 3:24 PM
|
|
|
|
 |
|
 |
Hey man, don't get mad at this guy!
He's just trying to help with what he has developed.
If you make changes to your dev machine, that's really not his fault is it?
I would advise you to install a virtual PC machine with XP on it, and test stuff you
are not sure of there...
Thanks,
Carl
|
|
|
|
 |
|
 |
How to add new SIP protocol class to program. Help me?
|
|
|
|
 |
|
 |
To detect SIP just look for "SIP/" in the byte array sent to Form1::ReceivePacket
If found, look at the 42 index onwards for the SIP Signalling
|
|
|
|
 |
|
 |
Hi ,
I am unable to get abapter info in xp pc what might be the problem. I debugged and got clue that open handle to adapter is failing how to fix it.
Thansk.
|
|
|
|
 |
|
 |
it is VERY important to install WINPCAP ver 3.1 - if you install new version ( 4.1 ) you have to uninstall first !
|
|
|
|
 |
|
 |
Hi firat kocak,
i got exception at this line
P32.Start( LVwReceivedPackets , TVwPacketDetails.Nodes , RtxPacketData );
can you resolve this
regards,
elango
|
|
|
|
 |
|
 |
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.
************** Exception Text **************
System.ArgumentNullException: Value cannot be null.
Parameter name: item
at System.Windows.Forms.ComboBox.ObjectCollection.AddInternal(Object item)
at System.Windows.Forms.ComboBox.ObjectCollection.Add(Object item)
at Pacanal.CaptureOptions.CaptureOptions_Activated(Object sender, EventArgs e) in C:\Users\TAUSIF\Desktop\1\Pacanal\CaptureOptions.cs:line 851
at System.Windows.Forms.Form.OnActivated(EventArgs e)
at System.Windows.Forms.Form.set_Active(Boolean value)
at System.Windows.Forms.Form.WmActivate(Message& m)
at System.Windows.Forms.Form.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
************** Loaded Assemblies **************
mscorlib
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
Pacanal
Assembly Version: 1.0.3676.164
Win32 Version: 1.0.3676.164
CodeBase: file:///C:/Users/TAUSIF/Desktop/1/Pacanal/bin/Debug/Pacanal.exe
----------------------------------------
System.Windows.Forms
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
CodeBase: file:///C:/windows/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
CodeBase: file:///C:/windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
CodeBase: file:///C:/windows/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
MyClasses
Assembly Version: 1.0.3676.94
Win32 Version: 1.0.3676.94
CodeBase: file:///C:/Users/TAUSIF/Desktop/1/Pacanal/bin/Debug/MyClasses.DLL
----------------------------------------
System.Configuration
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
CodeBase: file:///C:/windows/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
System.Xml
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
CodeBase: file:///C:/windows/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
System.Data
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
CodeBase: file:///C:/windows/assembly/GAC_32/System.Data/2.0.0.0__b77a5c561934e089/System.Data.dll
----------------------------------------
************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.
For example:
<configuration>
<system.windows.forms jitDebugging="true" />
</configuration>
When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.
|
|
|
|
 |
|
 |
Hi,
When i run the application it do not get the adapters information
so i am stuck and can't do any thing. Please help
mr.saram@gmail.com
Saram
|
|
|
|
 |
|
 |
Install winpcap 3.1
.NET, Web Services, Design Patterns, Windows Infrastructure
|
|
|
|
 |