[Ilugc] custom payload generation

  • From: kumaresh_ind@xxxxxxx (kumaresh_ind)
  • Date: Wed, 25 Sep 2002 15:52:23 +0530

Hello all,

I want to generate an IP packet with some specific data embedded to the
packet. I am successful in generating a raw IP packet and add the IP and TCP
headers to it. Now i add a custom structure(with my specific data) to the
end of the headers. This is Ok and the packet is successfully generated and
it is reaching the destination machine. But when i receive the packet with
data in the destination machine and traced using a packet sniffer, the data
part is not showing correctly. Any comments on how to adjust the outgoing
packet so that it produce the data while it is sniffed.

My requirement is as below:
1) Construct an IP header
2) Add custom payload
3) Send it
4) Run a packet sniffer in the destination machine
5) Sniff the packets
6) Extract the header and data from the packet

In the destination machine, i receive only the port information not the ip
information. I am running "netdump" in my destination machine. The output is
something like...

 DATA:   UDP: 51379 -> 2000 ..
 DATA:  DATA:   UDP: 51379 -> 2000 ....
 DATA:  DATA:  DATA:   UDP: 51379 -> 2000 ......
 DATA:  DATA:  DATA:  DATA:   UDP: 51379 -> 2000 ........
 DATA:  DATA:  DATA:  DATA:  DATA:   UDP: 51379 -> 2000 ..........
 DATA:  DATA:  DATA:  DATA:  DATA:  DATA:   UDP: 51379 -> 2000 ............
 DATA:  DATA:  DATA:  DATA:  DATA:  DATA:  DATA:   UDP: 51379 -> 2000
.........
 DATA:  DATA:  DATA:  DATA:  DATA:  DATA:  DATA:  DATA:   UDP: 51379 -> 2000
..

Advance thanks  for your help.

Regards
Kumar.




From Marco Fioretti <m.fioretti@xxxxxxxxx>  Wed Sep 25 17:53:25 2002
From: Marco Fioretti <m.fioretti@xxxxxxxxx> (Marco Fioretti)
Date: Wed, 25 Sep 2002 19:53:25 +0200
Subject: [Ilugc] Rural computers and the RULE project
Message-ID: <20020925195325.B8493@polaris>


Hello,

I have received the message below from Mr Noronha. May I ask you to
provide some links regarding this Rural computer project, and to any
similar initiatives? I confirm that the RULE project
(www.rule-project.org) was founded exactly to help in these situations,
and we would be happy to help and work together. Please let me know
how we can support that project, we are re-starting development again
after a summer break (longer than expected, I admit...)

        Best Regards,

                        Marco Fioretti
                        RULE project leader
                        
On Mon, 16 Sep 2002 ilugc-request@xxxxxxxxxxxxxxxxxx wrote:

Message: 1
Date: Sun, 15 Sep 2002 19:11:32 +0530 (IST)
From: Bharathi S <bharathi@xxxxxxxxxxxxxxxxxxxx>
To: Indian Linux User Group of Chennai <ilugc@xxxxxxxxxxxxxxxxxx>
Subject: Re: [Ilugc] Minutes - 14th Sep
  
Mr. Bharathi wanted to know if there are any lightweight office 
applications/word processor that would run on FVWM/TWM, without
KDE/GNOME. He wants to add the same to his "Rural Computer". Any
suggestions?


-- 
Nature is very un-American.  Nature never hurries.
                                                -- William George Jordan

Other related posts:

  • » [Ilugc] custom payload generation - kumaresh_ind