Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Know Thy Packets - PyCon India 2025

Know Thy Packets - PyCon India 2025

Slides of the talk that Rengaraj and I presented at PyCon India 2025 in September 2025

Associated repo: https://github.com/shrayasr/KnowThyPackets

Avatar for Shrayas Rajagopal

Shrayas Rajagopal

September 17, 2025
Tweet

More Decks by Shrayas Rajagopal

Other Decks in Programming

Transcript

  1. 1 Assumptions 2 Break down the HTTP&S protocol 3 Look

    at other protocols 4 SURPRISE 5 Takeaways
  2. 1

  3. 1

  4. 10

  5. 1

  6. 1

  7. 13

  8. FTP

  9. SSH

  10. FTP

  11. $

  12. NOW

  13. NOW

  14. SO?

  15. dns = DNS( id = query_packet[DNS].id, qr = 1, #

    response aa = 1, # authoritative qd = query_packet[DNS].qd, an = answer_txt )
  16. dns = DNS( id = query_packet[DNS].id, qr = 1, #

    response aa = 1, # authoritative qd = query_packet[DNS].qd, an = answer_txt )
  17. 1

  18. 2

  19. 3

  20. 4

  21. FIN FIN Rengaraj & Shrayas github.com/shrayasr/KnowThyPackets These slides and code

    are released publicly under Creative Commons Attribution-ShareAlike 4.0 International (CC BY-SA 4.0)