UDP hole punching | The Backend Engineering Show

Поділитися
Вставка
  • Опубліковано 28 вер 2024
  • In this episode of the backend engineering show I discuss UDP hole punching in details.
    Fundamentals of Networking for Effective Backends udemy course (link redirects to udemy with coupon)
    network.hussei...
    Fundamentals of Database Engineering udemy course (link redirects to udemy with coupon)
    database.husse...
    Introduction to NGINX (link redirects to udemy with coupon)
    nginx.husseinn...
    Python on the Backend (link redirects to udemy with coupon)
    python.hussein...
    Become a Member on UA-cam
    / @hnasr
    Arabic Software Engineering Channel
    / @husseinnasser
    🔥 Members Only Content
    • Members-only videos
    🏭 Backend Engineering Videos in Order
    backend.hussei...
    💾 Database Engineering Videos
    • Database Engineering
    🎙️Listen to the Backend Engineering Podcast
    husseinnasser....
    Gears and tools used on the Channel (affiliates)
    🖼️ Slides and Thumbnail Design
    Canva
    partner.canva....
    Stay Awesome,
    Hussein

КОМЕНТАРІ • 40

  • @hnasr
    @hnasr  2 роки тому +3

    Get my Fundamentals of Networking for Effective Backends udemy course Head to network.husseinnasser.com (link redirects to udemy with coupon)

  • @lukaswerner4390
    @lukaswerner4390 Рік тому +1

    I just re-watched this after looking at libp2p hole punching. This is a good explainer. But fun fact we can do p2p through symmetric nat because of the sync packet being set. Pretty cool stuff

  • @biplobmanna
    @biplobmanna 2 роки тому +11

    Starting the day with some Backend Engineering is substantially motivating to get some real engineering work done.

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

    If I have a server (that is already port forwarded) and a client
    Can I just add a STUN library like libnice to the server, and fetch the public ip/port from the server, then send to the server again with this info, and then they communicate?
    if summerrical NAT only accepts return packets from whom it sent the first packet to, then this should solve this issue, without the need to configure an in the middle server

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

    Huge thanks صدیقی

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

    not entirely true tbh that "none of the packets are intended for router". Alot of control plane protocols packets are intended for router

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

    is this a AI voice over?

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

    video starts at 8:17 :/

  • @zaheeruddinfaiz7064
    @zaheeruddinfaiz7064 2 роки тому +5

    7:38 I was thinking of Pam from The Office. When she was receiving huge bouqes of flower on Valentine's Day. But none of them were for herself. She got really sad seeing that.
    She kept of "routing" the boques to Phyllis :(

  • @itherna
    @itherna 2 роки тому +2

    Hi Hussein and thanks for a great video. Is there any time limit for how long each hole exists before the router closes it?

  • @jolachye8450
    @jolachye8450 Рік тому +1

    Hi Hussein. Once you punched a hole with UDP and start the peer-to-peer communication between two computer, is it possible to keep that connection but convert it from UDP to TCP, so that you can continue the communication with TCP (instead uf UDP) ?

  • @alexanderkremenchuk8378
    @alexanderkremenchuk8378 5 годин тому

    great explanation

  • @withdjmorris
    @withdjmorris Рік тому +3

    Dude the hole thing came in just brilliant 🤣

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

    Good Video! I'm glad your name is not PAul!

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

    thank you, was easy to follow through :)

  • @rocketleague2136
    @rocketleague2136 2 роки тому +1

    @Hussain Nasser give us your top10 book for back end programmers!

  • @zaheeruddinfaiz7064
    @zaheeruddinfaiz7064 2 роки тому +2

    Hussain, what about the Virtual Server setting that is present on the routers. I think we can use that to forward the packet to the relavent machine in the private network.
    While setting this, we specify the private ip address of the machine and the port of the machine where we want to route the packet to.

    • @ili101
      @ili101 2 роки тому +2

      "Virtual Servers" is a confusing synonym to "Port Forwarding", port forwarding will solve this problem but need to be configured manually on your router, a better solution is "UPnP" which is a protocol that let your PC send a request to your router to set a port forwarding rule for you automatically.

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

      @@ili101 That is so interesting. I will look into UPnP 🙂

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

    I really like the way you explain the concepts behind the terms like this one. Very understandable and clear.

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

    Thank you thank you thank you!!! Quality content, great mic quality, clear and concise talk, not overwhelming yet very informative. Subbed!

  • @Shadrak33
    @Shadrak33 10 місяців тому

    great information! can you tell me why I can't get my UDP hole punching script to work inside a docker container when it works just fine outside it?

  • @devyetii
    @devyetii 2 роки тому +1

    Looks like you need some coffee to fill the holes 😂

  • @giovannibertoncelli6777
    @giovannibertoncelli6777 2 роки тому +1

    Every day a router gets friendzoned

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

    11:20 that sounds like an other backronym
    13:28 it's especially problematic if both sides have port randomization.
    15:43 unless you are Dan Kaminsky of course... (RIP) see: DNS Rebinding And More Packet Tricks at 24c3

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

    No practical

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

    Poor router - maybe we can send a package to it just once? 😭📦

  • @Nominal_GDP
    @Nominal_GDP 2 роки тому +1

    nice asmr

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

    Great video and explanation of UDP hole punching.

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

    Why did you make me feel sad for the poor routers

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

    amazing, happy to follow you Mr.

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

    Pls give me a example

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

    7:45 :) good humour.

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

    First 🤣

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

      Congratulation

    • @mastahc0w
      @mastahc0w 2 роки тому +2

      10 IF "First" = 0 THEN 30 ELSE 20
      20 END
      30 PRINT "HI"
      HI