Results 1 to 8 of 8

Thread: IP header field

  1. #1
    Apprentice
    Join Date
    May 2005
    Posts
    87

    Default IP header field

    If we are usign a raw socket to access IP layer directly from the application layer bypassing the transport layer, I wonder what the PROTOCOL field in the header of an IP packet will contain.

    Any experts know this?
    Attack ur enemy when he does not expect u, appear where u r least expected.

  2. #2
    String Phreak mediator's Avatar
    Join Date
    Mar 2005
    Location
    In ur Evil Mind!
    Posts
    2,458

    Default Re: IP header field

    WHat do u mean by raw socket? ANd how can u bypass transport layer? U cannot defy the working of TCP/IP protocol suite!
    Even when u use loop back address the packet goes to network layer. So please elaborate clearly so that I can ponder over it!
    Bad Bad server.....No candy for u!

  3. #3
    Apprentice
    Join Date
    May 2005
    Posts
    87

    Default Re: IP header field

    Forget the concept of raw socket.

    have you heard of OSPF a routing protocol? It used IP directly without using either TCP/IP

    It is possible to bypass these layers as per my knowledge using UNIX sockets you can even talk to Data link layer directly. I.e. you will have to design your own protocols in that case


    But I am happy that there is someone who is interested in deep knowledge of TCP/IP. I hope I ll get a good solution from you.
    Attack ur enemy when he does not expect u, appear where u r least expected.

  4. #4
    String Phreak mediator's Avatar
    Join Date
    Mar 2005
    Location
    In ur Evil Mind!
    Posts
    2,458

    Default Re: IP header field

    Yea man I know about Open Shortest path first!

    Quote Originally Posted by akshar
    It used IP directly without using either TCP/IP
    Nops. That will rip off the whole TCP/IP protocol suite and foundation of internet! The thing u shud understand is
    1. OSPF is a routing protocol. And all routing protocols work at network layer
    2. IP is an integral part of TCP/IP. If there was only IP then there wud have been no concept of file downloadings! We have to associate TCP with IP for that!

    Quote Originally Posted by akshar
    It is possible to bypass these layers as per my knowledge using UNIX sockets you can even talk to Data link layer directly. I.e. you will have to design your own protocols in that case
    Have u heard of OSI model?? And why only 5 of its layers are used in practical TCP/IP model?? OSI is the complete thing theoretically! But practically its 2 layers aren't of much use practically. Hence we have TCP/IP suite, a practical model. So even if u develop ur own models, u may be combining the tasks of the layers. But theoretically and practically speaking, u can't bypass any of the layers.

    If u wanna get a good detail of it then read TCP/IP or Telecommunication networks by Forouzan!
    Last edited by mediator; 13-11-2006 at 03:04 AM.
    Bad Bad server.....No candy for u!

  5. #5
    Mobile Freak reddick's Avatar
    Join Date
    Jul 2004
    Location
    S.B.S Nagar
    Posts
    734

    Default Re: IP header field

    Hope 4 d best n Do d right :)

  6. #6
    Apprentice
    Join Date
    May 2005
    Posts
    87

    Default Re: IP header field

    Ok. Mr. Mediator I am very glad that you paid so much attention to my question. If you have access to the book UNIX network programming by STEVENS Volume 1, read the chapter no. two. Also go through its exercise from where I got my question.

    I perfectly understood what you are trying to say and that is what I use to think. But that is not the situation precisely.
    Attack ur enemy when he does not expect u, appear where u r least expected.

  7. #7
    String Phreak mediator's Avatar
    Join Date
    Mar 2005
    Location
    In ur Evil Mind!
    Posts
    2,458

    Default Re: IP header field

    Fine, I'll go thru it wheneva I'll have the time. And Mr.Akshar forget the Richard Stevens, and read Forouzan in detail. Its all u need to make ur concepts crystal clear. SO read it and then tell whats the situation precisely.
    Bad Bad server.....No candy for u!

  8. #8
    Apprentice
    Join Date
    May 2005
    Posts
    87

    Default Re: IP header field

    I have read Forouzan many times and I don't think my concepts are weak. If you doubt that my question was not so clear check Stevens
    Attack ur enemy when he does not expect u, appear where u r least expected.

Similar Threads

  1. USB Header to USB socket cable
    By patkim in forum Hardware Q&A
    Replies: 8
    Last Post: 23-06-2012, 10:15 PM
  2. Want to Insert Header and Background in Forum ?
    By satyamy in forum Internet & WWW
    Replies: 3
    Last Post: 25-09-2008, 08:42 PM
  3. Azureus giving problems:Bad Header
    By rocker in forum Software Q&A
    Replies: 2
    Last Post: 12-07-2007, 10:46 PM
  4. Zidane's header!!!
    By nik_for_you in forum Random News
    Replies: 3
    Last Post: 10-07-2006, 06:36 PM
  5. corrupt avi header !!!
    By atool in forum QnA (read only)
    Replies: 4
    Last Post: 07-06-2005, 12:25 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Close