Server Name Indication (SNI) TLS Extension Explained

Поділитися
Вставка
  • Опубліковано 23 жов 2024

КОМЕНТАРІ • 31

  • @akshhay
    @akshhay 4 роки тому +13

    Hussein, believe it or not, your channel is best in tech community, i love watching these videos🙏🏻🙏🏻

  • @ergis8004
    @ergis8004 2 роки тому +4

    The most practical way of learning you can ever find (also made me laugh 2/3 times lol). I wish a lot of articles, blogs, even documentations where written the way you explain things. :)
    Cheers.

  • @JeffSebrechts
    @JeffSebrechts 4 місяці тому

    Thank you for this informative video!
    I have a question: On webservers and proxy servers there is the option to turn on SNI or off.
    Is there any reason SNI should be set to false in stead of true when hosting multiple sites? It seems that when you host multiple sites the option should always be true?

  • @MDExplainsx86
    @MDExplainsx86 7 місяців тому

    I got addicted to your channel!

  • @og_shonax
    @og_shonax 3 місяці тому

    good explanation, thanks

  • @romantsyupryk3009
    @romantsyupryk3009 4 роки тому +1

    Thanks so much for this video tutorial.

  • @bashmohandes
    @bashmohandes 4 роки тому +4

    Nice video, love your style 👍🏼

    • @hnasr
      @hnasr  4 роки тому

      thank you Mohamed!

  • @palaniappanrm6277
    @palaniappanrm6277 4 роки тому +1

    I have 2 questions.
    1. The one which does SNI resolving can be any web server/proxy like Apache/Nginx/HAProxy ? If so any extra configuration is needed right?
    2. During TLS, we use SNI to create a proper symmetric key between browser and server(a.com). Now browser encrypts the content (headers and body) and send it. For the normal subsequent GET request how come the proxy/web server will be able to decrypt the content and see the header to route it to a.com?

    • @Crupanshu
      @Crupanshu 4 роки тому

      For 1,
      Yes, you can have it be a proxy resolving to multiple other servers
      For 2,
      I think it depends on level of proxy. Layer 7 might have those values to decrypt but layer 4 might not

    • @hnasr
      @hnasr  4 роки тому +1

      Adding to Udani’s answer and assuming you have a TLS terminating proxy (layer 7) you have to share all SNI certificates of all the upstream/backend serves with the proxy. If so than the proxy decrypts the traffic and encrypts it back on the backend
      If you don’t want to do that than you use a layer 4 proxy which just forwards client hello to the backend and proxy becomes transparent

    • @palaniappanrm6277
      @palaniappanrm6277 4 роки тому

      @@hnasr can we have a layer 4 LB in this SNI case? Because proxy has to see the Host header to route the traffic in the first place. I thought we can't have a layer 4 LB for SNI at all.

    • @shreyasrajanna7361
      @shreyasrajanna7361 2 роки тому

      @@palaniappanrm6277 you don't need sni in layer 4. The layer 4 will forward packet based on seq number, source port, etc to the right server

  • @steelestenger4134
    @steelestenger4134 2 роки тому

    Great video Hussein. Thanks!

  • @amirchip
    @amirchip 4 роки тому +3

    Thank you so much for these great videos! Even after many years in the industry, I learn new stuff all the time with your channel.

    • @hnasr
      @hnasr  4 роки тому

      Amir Shitrit thank you Amir! 😊 what do you focus on at your work?

  • @ahmad82pkn
    @ahmad82pkn Рік тому

    You are entertaining. Try vlog different no tech topics.

  • @nateshsharan1844
    @nateshsharan1844 3 роки тому

    Thanks for this video. Very nice.

  • @hari4ever1985
    @hari4ever1985 3 роки тому +1

    Cool explanation bro. Thank you for this video.

  • @Shahad-ls4xb
    @Shahad-ls4xb 3 роки тому

    Amazing explanation, Thanks a lot for this video!

  • @hershygrosz4568
    @hershygrosz4568 2 роки тому

    Hi, I have a question,
    As to what you explained that if I go to an IP address directly I will not be able to get the page as the SNI will be the same as the IP address and the host won't know what to do with it, what will be if I use a header editor like modheader and add an sni of the domain name for that site, would that work?

  • @redalaameche408
    @redalaameche408 4 роки тому +1

    Virtual Board is the best Hussein

  • @ca7986
    @ca7986 4 роки тому

    Man you are awesome

    • @hnasr
      @hnasr  4 роки тому +1

      Null Hunt you are more awesome! Thanks for all the love and comments ❤️

    • @ca7986
      @ca7986 4 роки тому

      @@hnasr ❤️

  • @withusgetmore3499
    @withusgetmore3499 2 роки тому

    hi sir can you help me how to find Bug SNI Host to free net

  • @RussellOscar
    @RussellOscar Місяць тому

    0010 Lauriane Junction

  • @TravisHolder-d8e
    @TravisHolder-d8e 8 днів тому

    Alison Pass

  • @BrianDavis-w2b
    @BrianDavis-w2b 15 днів тому

    MacGyver Meadows

  • @agkhantmin10
    @agkhantmin10 3 роки тому

    I think I am in love with you ...

  • @pcgamer9765
    @pcgamer9765 3 роки тому

    Hy