Link to home
Start Free TrialLog in
Avatar of b123coder
b123coder

asked on

paket header query?

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?
Avatar of sunnycoder
sunnycoder
Flag of India image

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
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
Avatar of owensleftfoot
owensleftfoot

http://sourceforge.net/projects/pacgen/ is a program which allows you to send customised packets.
Avatar of b123coder

ASKER


 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?
ASKER CERTIFIED SOLUTION
Avatar of sunnycoder
sunnycoder
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
>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