GithubHelp home page GithubHelp logo

Comments (3)

tintinweb avatar tintinweb commented on June 7, 2024

Hi @RajeshGottlieb,

Thank you for taking the time to report this issue.

This actually looks like like a copy-paste bug in scapy-ssl_tls. Our model of TLSServerHello is defined having a 3-byte length and optional data which does not match the rfc2246 TLS1.0/rfc5246 TLS1.2 specification of zero length payload.

I've proposed a fix with PR #92. Note that the TLSServerHelloDone() layer wont show up in dissected streams as the layer is actually zero-byte long and scapy only dissects as long as there's bytes to pass to the next layer. However, the TLSHandshake layer will have its type set to TLSHandshakeType.SERVER_HELLO_DONE. Also see the updated unit test.

Let me know if that works for you and we'll have it merged.

cheers,
tin

from scapy-ssl_tls.

RajeshGottlieb avatar RajeshGottlieb commented on June 7, 2024

Looks good to me.

TLSv1 Record Layer: Handshake Protocol: Server Hello Done
    Content Type: Handshake (22)
    Version: TLS 1.0 (0x0301)
    Length: 4
    Handshake Protocol: Server Hello Done
        Handshake Type: Server Hello Done (14)
        Length: 0

from scapy-ssl_tls.

tintinweb avatar tintinweb commented on June 7, 2024

ℹī¸ merged to release/1.2.3 and will be included int bugfix release v1.2.3.2 (not yet scheduled).

from scapy-ssl_tls.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤ī¸ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.