You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I'd like to start contributing to this project and take a crack at this. I've read your docs and have a high level understanding of the architecture but now I'm going to dive deep in the code ;). Would it be possible to get a high-level overview of what will need to be updated? Any guidance would be appreciated. Also, are draft/wip PRs ok to open? Thanks in advance.
We first receive individual datagrams here and put them into the associated connection/session/flow/"DNS layer stack". You need to extend this to detect DTLS, then make up a matching connection id (the usual host/port 4-tuple should be good enough).
After that, the main part is writing your own DTLS layer ("draw the rest of the fucking owl"). For a first proof-of-concept, I would recommend you just use the logging mechanism to print raw message contents and forward messages as-is. Three existing layers that would be worth looking at are:
The most tricky part will probably be dealing with (py)OpenSSL to do DTLS. I'm not quite sure what the current state there is. DTLS support python-trio/trio#2010 has some pointers (we can ignore potential MTU and retransmit issues as the client should be doing that), other than that it's pretty much unchartered territory. 😃
Looks like pyOpenSSL supports some DTLS features pyca/pyopenssl#1026. I started working on this and I will have bandwidth next week. I'm hoping to have a draft soon.
Activity
mhils commentedon May 20, 2022
Absolutely possible, there should not be any major blockers. We only need someone who wants to give the implementation a stab. :)
kckeiks commentedon May 20, 2022
Hi, I'd like to start contributing to this project and take a crack at this. I've read your docs and have a high level understanding of the architecture but now I'm going to dive deep in the code ;). Would it be possible to get a high-level overview of what will need to be updated? Any guidance would be appreciated. Also, are draft/wip PRs ok to open? Thanks in advance.
mhils commentedon May 21, 2022
HI @kckeiks! Sure thing:
Draft PRs are of course more than welcome! 🍰
kckeiks commentedon May 27, 2022
Looks like pyOpenSSL supports some DTLS features pyca/pyopenssl#1026. I started working on this and I will have bandwidth next week. I'm hoping to have a draft soon.
kckeiks commentedon Jul 29, 2022
This is good to close now.
mhils commentedon Jul 29, 2022
🎉