+ Reply to Thread
Results 1 to 10 of 10
  1. Junior Member m00ndogg's Avatar
    Join Date
    Aug 2015
    Location
    San Diego California
    Posts
    23

    Certifications
    CCNA, CompTIA Network+, Security+
    #1

    Default Are ports/sockets considered layer 4?

    What layer are ports & sockets?
    Reply With Quote Quote  

  2. SS -->
  3. Went to the dark side.... Moderator networker050184's Avatar
    Join Date
    Jul 2007
    Posts
    11,680

    Certifications
    CCNA, CCNP, CCIP, JNCIA-JUNOS, JNCIS-SP, JNCIP-SP, MCA200
    #2
    So what is your understanding of layer 4? I think if you get that down pat you'll answer your own question.
    An expert is a man who has made all the mistakes which can be made.
    Reply With Quote Quote  

  4. Junior Member m00ndogg's Avatar
    Join Date
    Aug 2015
    Location
    San Diego California
    Posts
    23

    Certifications
    CCNA, CompTIA Network+, Security+
    #3
    Thanks for ...
    I believe that they are layer 4, but someone is trying to tell me that they are layer 5.
    I am only trying to get a definitive answer from someone smarter than me.
    Reply With Quote Quote  

  5. ProEthicalHacker.com fuz1on's Avatar
    Join Date
    Dec 2014
    Location
    silicon valley, where we speak that bay area slang
    Posts
    938

    Certifications
    CCNA CCENT ITIL SSCA SSVVP WSQD WSQI Cloud+ Mobility+ Security+ Linux+ Network+ Server+ Project+ A+ HIT LPIC-1 CLA11 ACE ace/PACA SSBBP SSLP CMS SCP
    #4
    You guys are both right - L3-L7.
    Reply With Quote Quote  

  6. Cisco Focus steele84's Avatar
    Join Date
    Jul 2015
    Location
    Iowa
    Posts
    60

    Certifications
    CCENT, VCA, Unitrends Y
    #5
    Transport is how I remember.
    Reply With Quote Quote  

  7. LS1
    LS1 is offline
    Junior Member
    Join Date
    Feb 2016
    Location
    UK
    Posts
    12

    Certifications
    CCNA R&S
    #6
    I guess as long as you're not referring to network ports in a wall socket, then I think you're good
    Reply With Quote Quote  

  8. Junior Member m00ndogg's Avatar
    Join Date
    Aug 2015
    Location
    San Diego California
    Posts
    23

    Certifications
    CCNA, CompTIA Network+, Security+
    #7
    I like that!
    So ports are definately layer 4.
    What about sockets? Same?
    I would think so but would love to hear someone else say so!
    Reply With Quote Quote  

  9. Senior Member Nans's Avatar
    Join Date
    Jun 2015
    Location
    Router
    Posts
    159

    Certifications
    CCNA R&S, JNCIA-Junos
    #8
    Quote Originally Posted by m00ndogg View Post
    I like that!
    So ports are definately layer 4.
    What about sockets? Same?
    I would think so but would love to hear someone else say so!
    A TCP socket is an endpoint instance defined by an IP address and a port in the context of either a particular TCP connection or the listening state.
    A port is a virtualisation identifier defining a service endpoint (as distinct from a service instanceendpoint aka session identifier).
    A TCP socket is not a connection, it is the endpoint of a specific connection.
    There can be concurrent connections to a service endpoint, because a connection is identified byboth its local and remote endpoints, allowing traffic to be routed to a specific service instance.
    There can only be one listener socket for a given address/port combination.

    To be specific about what layer they are sockets help you identify the sessions or to separate the data from different application's which gives me a feeling that that they belong to layer 5 too. But usually they are mostly discussed in layer 4 transport
    Reply With Quote Quote  

  10. Junior Member m00ndogg's Avatar
    Join Date
    Aug 2015
    Location
    San Diego California
    Posts
    23

    Certifications
    CCNA, CompTIA Network+, Security+
    #9
    Great info there Nans!!
    Thanks for that...
    Reply With Quote Quote  

  11. Senior Member
    Join Date
    Jan 2013
    Location
    Florida
    Posts
    1,321

    Certifications
    CCNP: R&S, CIW: Web Foundations; MCTS: Active Directory; MCP: 2000 Professional; CNA: NetWare 5; CompTIA A+
    #10
    A TCP or UDP Port is Layer 4 (Transport Layer). A Socket is a combination of a Layer 3 (e.g. IP) Address and Layer 4 Port, so I would say it is both Layer 3 and Layer 4.

    Layer 5 is the Session Layer. It is responsible for establishing, maintaining, and tearing down Sessions. The Session Layer would establish sessions between sockets, but the Socket itself would be Layer 3/4.
    Reply With Quote Quote  

+ Reply to Thread

Social Networking & Bookmarks