Solved

paket header query?

Posted on 2004-04-16
6
216 Views
Last Modified: 2010-03-18
can it be possible to modify packet header? can i add some own header field to packet header and let it be sent by kernel?
my system is redhat linux 9 kernel 2.4.24?
0
Comment
Question by:b123coder
  • 4
6 Comments
 
LVL 45

Expert Comment

by:sunnycoder
ID: 10841117
Hi b123coder,

You can use raw sockets and form header in any way you like ... However note that if you form the header which does not correspond to the standards (RFC for that protocol ... see ietf.org) then recepient willnot be able to understand it and will reject it ..

http://mixter.void.ru/rawip.html

good luck
Sunnycoder
0
 
LVL 45

Expert Comment

by:sunnycoder
ID: 10841139
Hi n_uthra25,

btw, if you just wish to mangle the packet a bit without descending into the kernel, then check libipq
http://www.cs.princeton.edu/~nakao/libipq.htm

Sunnycoder
0
 
LVL 17

Expert Comment

by:owensleftfoot
ID: 10841652
http://sourceforge.net/projects/pacgen/ is a program which allows you to send customised packets.
0
Manage your data center from practically anywhere

The KN8164V features HD resolution of 1920 x 1200, FIPS 140-2 with level 1 security standards and virtual media transmissions at twice the speed. Built for reliability, the KN series provides local console and remote over IP access, ensuring 24/7 availability to all servers.

 

Author Comment

by:b123coder
ID: 10849285

 i want to know also:-
while reading computer networks book i came across a statement that all machines are required to receive at least 576 bytes?
what is that mean? then what is the ethernet handling 1500 bytes payload then? it means that those machines cannot transfer 1500 payloads?
Is there any room for implementing own header field in options of IP header?
0
 
LVL 45

Accepted Solution

by:
sunnycoder earned 90 total points
ID: 10856495
>all machines are required to receive at least 576 bytes?
>what is that mean?
This is protocol specific information and will vary from protocol to protocol ... ATM cells are 53 bytes and minimum valid ethernet frame is perhaps 64 bytes (if I recollect correctly)

>then what is the ethernet handling 1500 bytes payload then? it means that those machines
>cannot transfer 1500 payloads?
What you read was specific to a protocols and universally applicable to all protocols ... An ethernet frame has its own minimum and maximum size

>Is there any room for implementing own header field in options of IP header?
There is an options field in V4
http://www.freesoft.org/CIE/RFC/791/12.htm

For details of what you can and cannot do with V4 and V6 headers, I recommend that you go through the rfcs
0
 
LVL 45

Expert Comment

by:sunnycoder
ID: 10856536
>What you read was specific to a protocols and universally applicable to all protocols

I meant

What you read was specific to a protocol and NOT universally applicable to all protocols
0

Featured Post

Building an interactive eFuture classroom

Watch and learn how ATEN provided a total control system solution including seamless switching matrix switch, HDBaseT extenders, PDU, lighting control to build an interactive eFuture classroom.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

I have seen several blogs and forum entries elsewhere state that because NTFS volumes do not support linux ownership or permissions, they cannot be used for anonymous ftp upload through the vsftpd program.   IT can be done and here's how to get i…
Note: for this to work properly you need to use a Cross-Over network cable. 1. Connect both servers S1 and S2 on the second network slots respectively. Note that you can use the 1st slots but usually these would be occupied by the Service Provide…
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…

763 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question