Results 1 to 10 of 19
hi
I have linux router with 2 interface
eth0 connect to internet
eth1 connect to lan
and i want to capture all the packets that outgoing from eth1 (which connect ...
- 01-20-2010 #1Just Joined!
- Join Date
- Nov 2009
- Posts
- 15
packet modify
hi
I have linux router with 2 interface
eth0 connect to internet
eth1 connect to lan
and i want to capture all the packets that outgoing from eth1 (which connect to lan)
then modify all packets and then sent them to lan
i want to do that by using c lang
any one can help me please??????????
thanks
- 01-21-2010 #2Just Joined!
- Join Date
- Oct 2008
- Posts
- 30
- 01-21-2010 #3Just Joined!
- Join Date
- Nov 2009
- Posts
- 15
HI jayasekar.k
I DON'T WANT TO CAPTURE PACKETS ONLY BUT WANT TO MODIFY IT AND THAT'S THE PROBLEM
IF I USE RAW SOCKET THEN I CAN'T STOP THE PACKETS IN KERNAL I JUST GET A COPY OF THE PACKETS AND WHEN I SEND MY MODIFICATION PACKET THEN THE PACKET WILL SEND TWICE :THE ORGINAL PACKET AND THE MODIFICATION PACKET
SO I NEED A WAY TO GET THE ORIGINAL PACKET NOT A COPY OF IT
HOW TO DO THAT ????
PLEASE HELP ME
- 01-21-2010 #4Just Joined!
- Join Date
- Oct 2008
- Posts
- 30
hi reta, It look's like we have to do something with kernel.
Iam started working on this issue. i will let u know abt my result.
if you found the answer plz post it.
- 01-21-2010 #5Just Joined!
- Join Date
- Nov 2009
- Posts
- 15
- 01-24-2010 #6Just Joined!
- Join Date
- Jan 2010
- Posts
- 2
Hi jayasekar.k and reta,
I am also working on packet modification. Additionally, I will have to check for specific packet format before packet modification. If any of you get any idea of how to do the modification then please do share.
Regards,
Kishwar.
- 01-25-2010 #7Just Joined!
- Join Date
- Oct 2008
- Posts
- 30
- 01-29-2010 #8Just Joined!
- Join Date
- Oct 2008
- Posts
- 30
hi reta, hv u got any solutions.
Now iam started to analyse the kernel source code. on how it sends data to the network card. what about your status, ???
regards
jayasekar
jayasekar.k@gmail.com
- 01-29-2010 #9Just Joined!
- Join Date
- Nov 2009
- Posts
- 15
- 02-10-2010 #10Just Joined!
- Join Date
- Oct 2008
- Posts
- 30
i know it is silly to ask you, i googled it , i dont get the proper result.
where can we download "libipq library for C", i found libipq for php but i cant found one for c


Reply With Quote
