The Superpower of Unix Sockets
Simon Racz
0:00 / 0:00
The Superpower of Unix Sockets
9 344 просмотра · 3 года назад
Simon Racz
2,12 тыс. подписчиков
9 344 просмотра · 3 года назад
Let's do some magic with Unix Sockets in Python and C.
In case you are busy, I tell the main idea in the first 12 minutes.
0:00 Unix Sockets - Setting up Our Goal
12:00 Design Our Clients in Python
28:00 Design Our First Server in C with Epoll
47:00 Server in Python
55:18 Add the Unix Socket Backdoor to Our Servers
1:09:20 Where the Magic Happens
1:15:15 Closing Thoughts - Python, Go, Rust, Java and C
Code: https://github.com/simonracz/unix-soc...
man 2 socket
man 2 sendmsg
man 3 CMSG
New syscall to send filedescriptors: https://man7.org/linux/man-pages/man2...