Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
Hello,
 
First off all i'm searching a basic application that sniff and filter network packets and also it should be block some known packets...
 
I have a server and some specific exe's are running on it...
 
Some lamers/hackers send a known packet and they can close spesific exes... In practically that is not good for me...
 

They are sending this packet (It can be modified by them, i know because i also capture some different packets which they also close exes);
 
00000000  25 00 00 50 00 00 0E 41  41 75 26 98 AE 82 E8 BB   %..P...A Au&˜®‚è» 
00000010  00 00 00 19 00 00 00 99  25 03 DD BA 18 E0 1A C3   .......™ %.ݺ.à.à 
00000020  D9 F4 5D 1B B4 69 6A AB  48 1C 21 09 00 00 50 00   Ùô].´ij« H.!...P. 
00000030  00 10 47 48 EC 19 A3 DA  2F E9 0E 00 01 20 00 00   ..GHì.£Ú /é... .. 
00000040  0B 00 41 67 65 6E 74 53  65 72 76 65 72 00 05 00   ..AgentS erver... 
00000050  0D 60 00 00 01 01 00 05  20 0B 00 0D 60 00 00 00   .`......  ...`... 
00000060  01 00 01 C3 02 05 00 00  00 02 05 00 0D 60 00 00   ...Ã.... .....`.. 
00000070  01 01 00 05 60 06 00 0D  60 00 00 00 03 00 02 00   ....`... `....... 
00000080  02                                                 .
 
How can i filter this known packet, i dont want this packet to reach exes...
Is there any packet filter/blocker?
Posted 26-Jun-13 5:10am

1 solution

Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

Your question is kind of confusing. The reason being is because you mention that you want to block a specific packet. However you also mention that it can be changed. Therefore if you set out to blcck at the Packet level on a packet by packet. You're going to pull your hair out. I would recommend looking at SharpPcap. It's a .NET port of the WinPCap. Using this library in your .NET code you can, examine the packets, and attempt to find something that you can filter on. MAC, IP, Structure. Within the .NET application itself.
 
Sharp Pcap can be found Here
  Permalink  

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
0 OriginalGriff 299
1 Maciej Los 295
2 Sergey Alexandrovich Kryukov 205
3 Aajmot Sk 202
4 Sinisa Hajnal 166
0 OriginalGriff 7,760
1 Sergey Alexandrovich Kryukov 7,072
2 DamithSL 5,604
3 Manas Bhardwaj 4,986
4 Maciej Los 4,785


Advertise | Privacy | Mobile
Web02 | 2.8.1411023.1 | Last Updated 24 Jul 2013
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100