Emulating packets

CHAUD

n00b
Joined
Apr 12, 2006
Messages
47
Hey,
I have a program that sends a packet to an IP, then gets an okay reply. I have captured the okay reply packet, and now want to be able to emulate that. How would I go about makeing 127.0.0.1 : XXXX reply with a certain packet? Its udp.

The packets go something like this...

00000000 93 F1 43 00 00 00 00 00 00 00 01 01 00 00 00 00 “ñC..... ........
00000010 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ........ ........
00000020 00 00 00 00 00 00 7E 00 00 00 63 68 61 75 64 68 ......~. ..chaudh
00000030 61 72 79 6D 69 63 00 00 00 00 00 00 00 00 00 64 arymic.. .......d
00000040 A1 E8 E1 ¡èá


00000000 35 9D 19 00 00 00 00 00 00 00 02 01 FF 1B 4B 00 5�...... ....ÿ.K.
00000010 00 2E FC FF FF 81 00 00 00 ..üÿÿ�.. .


00000000 00 00 10 00 1B 4B 00 00 01 00 01 03 00 00 00 00 .....K.. ........
 

Kaos

[H]ard|Gawd
Joined
Oct 14, 2003
Messages
1,328
There are packet forming software available for linux. What is it that you are trying to accomplish?
 

CHAUD

n00b
Joined
Apr 12, 2006
Messages
47
I am limited to windows for now.
I just want to have my computer send out the second little packet above when it recives a request packet, the first one
 

CHAUD

n00b
Joined
Apr 12, 2006
Messages
47
I'm not a coder, so C is out of the question.
pacatyzer just captures and anylizes packets. I need to return one packet always.
 

Xipher

2[H]4U
Joined
Mar 15, 2004
Messages
2,621
look around, you should be able to mess with the ip and transport layer, check the ip layer options to change it to udp
 
Top