Commit Graph

51 Commits

Author SHA1 Message Date
Ludovic Chenut afce5cad17
expose local address 2023-10-19 14:20:48 +02:00
Ludovic Chenut 0504d86340
add dtlsLocalCertificate 2023-10-18 14:05:50 +02:00
Ludovic Chenut 2309d9718e
move the creation of the certificate from the connection to the transport 2023-10-18 13:33:54 +02:00
Tanguy 3ec464dfe3
fixes 2023-10-13 18:08:21 +02:00
Ludovic Chenut 713b1c9996
Fix remoteCert 2023-10-13 17:17:15 +02:00
Tanguy 25fe6f3b5d
Merge branch 'datachannel' of github.com:status-im/nim-webrtc into datachannel 2023-10-13 16:48:41 +02:00
Tanguy b26e0c17d6
fix compile stmt 2023-10-13 16:45:56 +02:00
Ludovic Chenut 3b41beca59
Merge remote-tracking branch 'origin/datachannel' into datachannel 2023-10-13 15:34:58 +02:00
Ludovic Chenut a3f68f1745
Add getter for local and remote dtls certificate 2023-10-13 15:34:30 +02:00
Tanguy 0c96e8db2d
fix 2023-10-13 15:12:18 +02:00
Ludovic Chenut ba11da6f20
Merge remote-tracking branch 'origin/datachannel' into datachannel 2023-10-13 15:07:08 +02:00
Ludovic Chenut 64d374d837
Add read loop for sctp connexion 2023-10-13 15:06:06 +02:00
Tanguy d3b52cdac3
webrtc 2023-10-13 15:04:02 +02:00
Ludovic Chenut 95c4805ab6
Multiple fixes on sctp 2023-10-13 13:58:30 +02:00
Ludovic Chenut 4e576e0bb9
Last dtls fixes 2023-10-11 13:17:53 +02:00
Ludovic Chenut 2a9b8298eb
Multiple fixes on stun / udp / dtls 2023-10-10 17:38:31 +02:00
Ludovic Chenut 397c84238a
add asyncqueue & minor fixes 2023-10-06 17:56:15 +02:00
Ludovic Chenut d4b5b420a2
rework udp and stun connection after removing webrtc connection 2023-10-06 17:33:41 +02:00
Tanguy 9394c065ac
Start of SCTP integration 2023-10-06 10:09:21 +02:00
Tanguy a1aeafc3a3
DataChannel: decoding / encoding 2023-10-05 13:44:10 +02:00
Ludovic Chenut ca2b411f97
Finalize dtls server 2023-10-05 13:14:42 +02:00
Ludovic Chenut bf8ea1bbaa
Clear DTLS Server 2023-10-03 16:36:38 +02:00
Ludovic Chenut 12debd98a9
Fix a lot of bugs in mbedtls, udp_connection and dtls 2023-08-29 17:27:44 +02:00
Ludovic Chenut 11031a4706
few fixes on udp & try to fix dtls read and write 2023-08-22 17:03:14 +02:00
Ludovic Chenut c28ae5ca31
dtls fixes 1 2023-08-18 17:13:34 +02:00
Ludovic Chenut 8a33c17c38
Some fixes in dtls 2023-08-18 14:45:25 +02:00
Ludovic Chenut f8909ff73c
Fix in case of double connections with sctp 2023-08-18 13:37:08 +02:00
Ludovic Chenut 237d723374
Multiple fixes 2023-08-18 11:47:20 +02:00
Ludovic Chenut d875ba1ad8
dtls with templates from mbedtls + read & write 2023-07-03 12:33:19 +02:00
Ludovic Chenut 70531d4117
Certificate & Keys generated using mbedtls 2023-06-16 17:34:24 +02:00
Ludovic Chenut cd6aba3b66
Removed mbedtls wrapper 2023-05-30 11:24:54 +02:00
Ludovic Chenut e69b25bbf1
mbedtls wrapper done 2023-05-16 16:12:15 +02:00
Ludovic Chenut d4aab29d74
mbedtls nearly wrapped 2023-05-12 16:50:59 +02:00
Ludovic Chenut 7783254592
First draft of the mbedtls wrapper 2023-05-09 15:26:38 +02:00
Ludovic Chenut 34dd277bc9
Creation of the webrtc connection object 2023-04-28 17:06:33 +02:00
Ludovic Chenut d1ba2ee0bc
Stun done 2023-04-25 11:56:30 +02:00
Ludovic Chenut 472306f5ce
Added Xor-Mapped-Address attribute 2023-04-21 17:41:42 +02:00
Ludovic Chenut 5bc19f3e03
Added Fingerprint attribute 2023-04-21 12:01:14 +02:00
Ludovic Chenut 2521ed9f84
Stun attributes 2023-04-20 16:58:52 +02:00
Ludovic Chenut 2e26deb377
Stun protocol encoding / decoding 2023-04-11 14:31:30 +02:00
Tanguy ab4b045d77
Add cookie 2023-01-12 11:06:45 +01:00
Tanguy ca02de251a
handle timeout 2023-01-12 10:34:06 +01:00
Tanguy b33af62270
DTLS support 2023-01-11 18:58:18 +01:00
Ludovic Chenut d5db29a8b7
Refacto & add a ping/pong example 2022-11-25 17:22:51 +01:00
Ludovic Chenut 41eda8a9e4
Fix a lot of bugs & finish read / write 2022-11-24 16:30:38 +01:00
Ludovic Chenut a22b7c4b03
Fix server init_ack / cookie_ack & fix accept / connect & starting read / write 2022-11-21 17:22:40 +01:00
Ludovic Chenut e81e7be7c0
Fix some bugs & rebuild accept 2022-11-08 13:08:19 +01:00
Ludovic Chenut 472c1923ca
Beginning of client/server example 2022-11-04 17:28:46 +01:00
Ludovic Chenut aa547badfd
Handle accept / write & fix multiple errors 2022-11-03 17:27:01 +01:00
Ludovic Chenut a9b8e2faa1
Start SCTP 2022-11-02 11:19:52 +01:00