 |
|
 |
can we craft a packet before it sends? let's say we change the content/ip/port etc.
Regards,
unruledboy_at_gmail_dot_com
http://www.xnlab.com
|
|
|
|
 |
|
 |
I'm on xp sp2 when i try to start the ATW I get System.EntryPointNotFoundException.
|
|
|
|
 |
|
 |
Can you include a project that contains all the references and dependencies, so it is ready to compile. Because of the missing components it's not possible to compile it. If you include those components, it must not be downloaded manually and reduces alot of trouble.
The Demo looks very fine. 10/10
Hope to hear from you soon.
Kindest regards,
|
|
|
|
 |
|
 |
Hi,
I tried to stop "(ConnectionsWatcher) conn" from monitoring by using each of the following commands
1) conn.StopAutoRefresh();
2) conn.AutoRefresh = false;
3) conn.remove();
However, I cannot stop monitoring it. I found that device.PcapStopCapture(); could not stop capturing.
I guess the above problem is the reason I could not close my application form.
Could you please suggest on this issue?
Thank you.
|
|
|
|
 |
|
 |
Hi !
Looks very interesting, but, sad to say, does not work on my Windows Server 2003 x64 Edition. May this depend on the interop code, some API decls not according to x64??
Thanks,
Manfred
Ciao,
mb
|
|
|
|
 |
|
 |
Sorry, but I don't have 2003 x64 Server, so couldn't test it. I think that problem not in interop code but in MIcrosoft function. The same things under Vista. They change some API functions in Vista.
|
|
|
|
 |
|
 |
Hi !
Thanks for your reply! But I think, XP and Server are identical, be it x86 or x64. No idea about Vista/Longhorn. I used the IPHelperAPI also, but only for my ARP requests;This works.
Anyway, thanks so far;If I would find dthe time, I'll look into it.
Best regards,
Manfred
Ciao,
mb
|
|
|
|
 |
|
 |
The version of IPNumbers you link points to does not have the ExcludeLocalNetwork method. Can you point me to the version that does?
Thanks
Kevin
|
|
|
|
 |
|
 |
I'm sorry. That was my modification of the libriary. I upload modified sources with new version of application.
|
|
|
|
 |
|
 |
Hi, there are quite a few missing projects in the solutions in the zip files (Log4Net, WinPCap etc). Any chance of putting them in ?
|
|
|
|
 |
|
 |
Log4Net, WinPcap, IPNumbers - it's not my projects. I just use them in my solution. So, you can download compiled .dll and use binaries.
If you really need all source file I can add them as separate zip file.
-- modified at 5:44 Tuesday 11th July, 2006
|
|
|
|
 |
|
 |
Hi,
I am developing an application traffice watcher similar to your app and your tutorials is very helpful for me. I am not able to compile the demo project as it requires many references as well as other projects.
I would be happy if you could send me those in zip file.
Thanks.
Regards,
Chakkaradeep
|
|
|
|
 |
|
 |
Hi,
as far as I know I include in project all modified by me source code. Could you explain exactly what projects are missing? You can use compiled binary to fill the gap.
Regards,
Andrew
|
|
|
|
 |
|
 |
Hi,
After including the DLLs found in your demo files (log4net,Tamir.SharpPcap), there are no errors.
Can you please explain me how you associate the packet source port with a process?. Now, I am able to capture tcp/ip packets using WinPCap, but not associate to a process.
Thanks.
Regards,
Chakkaradeep
|
|
|
|
 |
|
 |
When I capture packet with specified local port I check which application use the same port. If there is no such application I refresh applications list with assigned port and check again. If still there is no sutable application I mark this packet as "unknown". Of course I periodically refresh association port-application.
|
|
|
|
 |
|
 |
But, the Process.GetCurrentProcess() does not provide the Port number associated right? So how is this mapping done ?. I tried checking your code but it will take time as I have to understand the flow and i need to complete my app soon for the client
Thanks for the help.If you wish, you could mail me at chaks.yoper@gmail.com. I would be really happy if you could help me.
Thanks
Regards,
Chakkaradeep
|
|
|
|
 |
|
 |
You should use another function to get process info. I wrote about this functions in my other articles.
|
|
|
|
 |
|
 |
Can you please upload the other dlls as a separate zip file
|
|
|
|
 |