How To Capture and alter the incoming packets from my connection
-
hi there , i have 1 internet connection(Public connection) and 1 LAN connection(Private Connection) i want to capture all incoming packets from both connections at the network layer and alter some of its fields such as source ip, source port, dest. port and dest. ip. i know i should use low level sockets to read all incoming packets at network layer! but how to do that? any one know?
-
hi there , i have 1 internet connection(Public connection) and 1 LAN connection(Private Connection) i want to capture all incoming packets from both connections at the network layer and alter some of its fields such as source ip, source port, dest. port and dest. ip. i know i should use low level sockets to read all incoming packets at network layer! but how to do that? any one know?
Using C# : SharpPcap - A packet capture framework for .NET[^] Using Wireshark : http://www.wireshark.org/[^]
-
Using C# : SharpPcap - A packet capture framework for .NET[^] Using Wireshark : http://www.wireshark.org/[^]
-
I knew these libraries , they are all about monitoring analizing and sniffing the network packets! i need a way to alter these packets and resend them! these won't help me.
-
I don't think it's possible using C#. What do you want with that ? Do you want to modified packet ? I don't think it's a good idea.
-
but it's some times a good idea! do u know about NAT server? it changes the Packet's spurce ip address and port! providing port translation! i am trying to create a custom NAT! so i need to change Packet's fields accordingly