Solved

paket header query?

Posted on 2004-04-16
6
221 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
Create the perfect environment for any meeting

You might have a modern environment with all sorts of high-tech equipment, but what makes it worthwhile is how you seamlessly bring together the presentation with audio, video and lighting. The ATEN Control System provides integrated control and system automation.

 

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

NEW Veeam Agent for Microsoft Windows

Backup and recover physical and cloud-based servers and workstations, as well as endpoint devices that belong to remote users. Avoid downtime and data loss quickly and easily for Windows-based physical or public cloud-based workloads!

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…
Are you ready to implement Active Directory best practices without reading 300+ pages? You're in luck. In this webinar hosted by Skyport Systems, you gain insight into Microsoft's latest comprehensive guide, with tips on the best and easiest way…

732 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