Тёмный

Linux Networking: How The Kernel Handles A TCP Connection 

Deep Linux
Подписаться 12 тыс.
Просмотров 102 тыс.
50% 1

Опубликовано:

 

29 сен 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 69   
@MrRaja
@MrRaja 10 месяцев назад
I am interested in Linux more and more recently and this somewhat helps put a picture to the background process we are unaware of.
@linkernick5379
@linkernick5379 Год назад
This video is unique: it is too deep for the majority of users, but a few ones, who need it to be watched, they seem to be saved by you, dear author! 🎉
@deeplinux2248
@deeplinux2248 Год назад
Thanks for the comment.
@epolpier
@epolpier 4 месяца назад
It's not deep at all, it barely scratches the surface...
@natking1u1z99
@natking1u1z99 4 месяца назад
“Too deep for the majority of users” speak for yourself buddy 😂😂😂
@khardian2823
@khardian2823 4 месяца назад
Sadly, most people don't know what "majority of users" mean, thus making your comment too deep for the majority of users.
@tanchienhao
@tanchienhao 11 месяцев назад
Awesome channel!! Subscribed
@QuantumQ80
@QuantumQ80 Год назад
Awesome video! ❤
@chabaslabas
@chabaslabas 10 месяцев назад
Thanks a lot!
@ricardorosa5315
@ricardorosa5315 6 месяцев назад
GOLD!!!!
@Nowlala
@Nowlala 7 месяцев назад
may i know , what will i learn from learnig these ? like how will it impact my learning in linux basically
@deeplinux2248
@deeplinux2248 7 месяцев назад
Depends what your goal is in your Linux journey. A user or even a simple admin then probably not much. But if you debug kernel issues or write network software in the lower layers then you would not be asking this question😉
@danielzhu194
@danielzhu194 9 месяцев назад
This is one of the greatest RU-vid videos of all time. It was not only incredibly thorough, but also very easy to digest (assuming the viewer has a basic understanding of kernel concepts like interrupt handlers, etc). I also appreciate how you would periodically “zoom out” to review the forest after diving deep into the individual trees.
@aospware
@aospware 4 месяца назад
Tons of books and videos have never been able to do this ever. Keep on this great work. I wish to see more such stuff from you.
@abhinavjain9264
@abhinavjain9264 11 месяцев назад
I have no words to appreciate the deep respect you have earnestly earned in my heart. This is awesome, please keep it up, I love the tracing frameworks in Linux and such videos just makes learning kernel so much more fun.
@deeplinux2248
@deeplinux2248 11 месяцев назад
Wow that is truely flattering. Thanks!
@pneuma33
@pneuma33 10 месяцев назад
You pulling up the kernel was truly deep Linux.. subscribed
@martinh9099
@martinh9099 Месяц назад
Really good video thanks....will be a great help for my reserwach into Intrusion Detection. I assume the handling would have been rather different for a tcp port below 1024 as these are handled by the kernel?
@kimaegaii
@kimaegaii 4 месяца назад
Thank you. Is there any video that might prep us for this video. I've been working with Linux a long time , but I got lost with what the program you're using and sort of had more questions along the way of what's going on. Sorry and thanks.
@djtomoy
@djtomoy 3 месяца назад
Very inefficient, I would have done it much differently myself
@zalavadiaridham
@zalavadiaridham Год назад
Amazing video and great in-depth explanation. Thank you!
@deeplinux2248
@deeplinux2248 Год назад
I am happy that you have found this useful. Is there any other particular kernel area that you may be interested in?
@MorbusCQ
@MorbusCQ 10 месяцев назад
I learned more from watching this than my professor. I'm taking computer networks at the moment and this covers a lot of the course material, but in far more detail.
@deeplinux2248
@deeplinux2248 10 месяцев назад
Good to hear that. If you want to be able to produce this on your own then watch this video: ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-QmALYlJCAfg.html
@zelllers
@zelllers 10 месяцев назад
So cool. I'm coming at this from a networking background, familiar with packet captures but seeing the kernel traces, system calls, file descriptors, and all that it really gave me a much better picture of what's going on there. I loved it, subscribed and definitely will check out your other videos. Thank you
@bramgn
@bramgn 10 месяцев назад
Wow, this channel is a diamond in the rough! Glad to have stumbled upon it! Keep it up!
@ganeshkirshna
@ganeshkirshna 6 месяцев назад
This is really a great deep dive video i have ever seen, just wanted to know at timefram 21:56, you have mentioned that it will create a new socket for data transfer? but generally TCP relays on the same socket for listening and data transferring right? Can you please advice me on this?
@deeplinux2248
@deeplinux2248 6 месяцев назад
Very good question. In the tcp protocol we have two kinds of sockets, listen and data sockets. A listen socket is only applicable on the server side and is unique per server ip/port. The data socket is one per source dest ip port quadruple. The listen socket is only there to accept new connection requests. Once a connection request is received the kernel creates a new data socker per incoming ip port. From the application side you wont see these different sockets.
@jindiggs
@jindiggs Год назад
Please continue, you got my full support ! Thank you.
@Redgum-z3i
@Redgum-z3i 4 месяца назад
Wow! I now understand so many things taught in computer networks class. It was all imagination to me before. Thankyou
@vadiks20032
@vadiks20032 10 месяцев назад
wow thank you i didn't understand anything but i will still leave a like and comment
@thedanielspindler
@thedanielspindler 5 месяцев назад
Thank you, this is an amazing video. Very well presented and explained. Keep up the good work!
@Alain9-1
@Alain9-1 28 дней назад
subscribed
@hoodrobinson1159
@hoodrobinson1159 10 месяцев назад
Holy this channel is SO underrated, these real world examples helps me learning OS & network, big thanks.
@internet.security.analyst
@internet.security.analyst 10 месяцев назад
짱이다짱
@ashishratnawat2711
@ashishratnawat2711 11 месяцев назад
Thank you very much!
@OMGHADDSXO
@OMGHADDSXO 10 месяцев назад
Intro music is far too loud btw, but thanks for this!
@deeplinux2248
@deeplinux2248 10 месяцев назад
Yes that is so true😅
@nose05031980
@nose05031980 7 месяцев назад
Well done, mate! Thank you! Subscribed.
@suyashpurwar631
@suyashpurwar631 11 месяцев назад
Please keep making such videos! I wan this level of depth!
@deeplinux2248
@deeplinux2248 11 месяцев назад
Then take your time and watch this one as well: ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-NEFwr6lFJWA.html
@Corteum
@Corteum 4 месяца назад
How is it different to how Windows or MacOS handles it?
@maixicek
@maixicek 10 месяцев назад
very good video, thank you
@thapakazi_
@thapakazi_ 9 месяцев назад
woooooh, these are dope details. now I wanna learn more... thanks for sharing this resource 🙇‍♂
@candyboah
@candyboah 10 месяцев назад
Прикольно
@ratatui900
@ratatui900 10 месяцев назад
oh my god, this is what's called top level content, this vid delayed my sleep schedule for an hour yesterday
@AmolGautam
@AmolGautam 4 месяца назад
This was in really helpful. Thanks
@4skinntim420
@4skinntim420 8 месяцев назад
This is amazing content! I am amazed by the fact that I (a complete linux kernel newbie) can understand what is happening. The information presented here is very valuable to my research (I want to know how select/epoll works in regards to concurrency and multithreading). Keep up with the great work and can I ask a question - is 'softirq' some kind of lightweight kernel thread or what is it?
@deeplinux2248
@deeplinux2248 8 месяцев назад
Thanks for the encouraging feedback. Softirq is not a kernel thread, it is simply an interrupt handler which serves software interrupts. These are generally functions which are called by the kernel when an interrupt is raised. A softirq has the seconds highest priority after hardirq which serves actual hardware interrupts coming from net or disk, for example. If you require some cobtext of execution in the kernel then you can use simple threads but in kernel space, or if you require a kernel routine then go with tasklets.
@GudinVladimir
@GudinVladimir 10 месяцев назад
Wow! This is realy excellent tutorial! It was so interest to investigate syscall interconnections and time consumption of different parts. This live format is absolutly amazing! Thanks a lot for your work!
@XYZ56771
@XYZ56771 4 месяца назад
Indeed, this kind of teaching is what we need. Thank you!
@suscactus420
@suscactus420 11 месяцев назад
thank you so much for this. it's a great video
@abdurrahmanrafi7946
@abdurrahmanrafi7946 10 месяцев назад
You made my day... Thanks a lot.
@PhillipMaii
@PhillipMaii 7 месяцев назад
great content, thanks!
@QqQ-h5h
@QqQ-h5h Год назад
love it. Always wondered. Now I know.
@flintthuang
@flintthuang 6 месяцев назад
starting from 17:10, why readfds=0x8 means fd 3?
@flintthuang
@flintthuang 6 месяцев назад
i got it, 0x8 = 1000, 1 is at bitmap position 3. with the same logic 0x11 = 10001, it contains fd 4 and fd 0
@darkside3ng
@darkside3ng 4 месяца назад
Amazing!
@yb9737
@yb9737 9 месяцев назад
THANK YOU
@danielmoreno968
@danielmoreno968 11 месяцев назад
Thank you so much for this information!
@lxn7404
@lxn7404 9 месяцев назад
Finding your channel was my Christmas present 🤩
@deeplinux2248
@deeplinux2248 9 месяцев назад
Wow that is such a nice complement. Merry Christmas!
@Lircking
@Lircking 11 месяцев назад
it feels like I should watch another video before I can understand this one. Any recommendations?
@deeplinux2248
@deeplinux2248 11 месяцев назад
It depends what area you have issues with. If you want to get comfortable with the visualization and analysis tool then this is the official Tracecompass channel playlist: ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-8o2dar9tfLg.html
@BunuConstantin
@BunuConstantin 9 месяцев назад
@@deeplinux2248 Hi, i can suggest something that may can help you: 1. About tracing in linux kernel: ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-JRyrhsx-L5Y.html 2. Memory Management in linux Kernel : ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-7aONIVSXiJ8.html. 3: Networking fundamentals: ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-bj-Yfakjllc.html
@jindiggs
@jindiggs Год назад
Wow man, this is so much stuff going on !!!! I love it.
@deeplinux2248
@deeplinux2248 Год назад
Glad that you liked it. You may want to view this one which really drills down into the kernel code for tracing how a TCP connection is handled. ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-8UmPwVFswvY.html
@ideaparkcc
@ideaparkcc 2 месяца назад
absolutely brilliant deep dive the linux network
@pppkenken6610
@pppkenken6610 10 месяцев назад
tsuzuki computer club. Amigo