Commit graph

271 commits

Author SHA1 Message Date
Quentin Dufour
c54304134b Fix buffer here too 2019-03-06 17:12:58 +01:00
Quentin Dufour
b6e31d7bdc Rework code. Buffering was not a good idea 2019-03-06 16:39:39 +01:00
a84560c76b Remove debug 2019-03-05 20:57:58 +01:00
Quentin Dufour
99c06ccc8d Harden code 2019-03-05 16:57:14 +01:00
Quentin Dufour
ba8dcc53ab Quick fixes 2019-03-05 16:32:01 +01:00
Quentin Dufour
c322c9acff Handle faults with meas_lat 2019-03-05 16:21:25 +01:00
Quentin Dufour
4add03efa2 Improve free and error handling 2019-03-05 16:13:08 +01:00
Quentin Dufour
ed42636739 Add echo server 2019-02-22 16:01:22 +01:00
Quentin Dufour
167f55ba13 Refactor measuring latency program 2019-02-22 15:22:06 +01:00
Quentin Dufour
4b5534b213 Finalize loop update 2019-02-20 17:50:01 +01:00
Quentin Dufour
20706800ee Rework loop 2019-02-20 17:46:58 +01:00
Quentin Dufour
5e042d57ce Fix a bug in donar CLI 2019-02-20 16:58:31 +01:00
Quentin Dufour
c5dfffe08d Latency measurement tool 2019-02-20 16:50:44 +01:00
cb075c8ea1 Less log, fix buffer packet management 2019-02-20 09:34:10 +01:00
Quentin Dufour
6e083d2db2 Fix add onion logic to handle 127.13.3.7 binding 2019-02-20 09:06:08 +01:00
879f87fd7f Try to bind to 127.13.3.7 to brain Linphone 2019-02-20 08:40:15 +01:00
131c12dc9c More logs 2019-02-19 21:51:43 +01:00
Quentin Dufour
2eb30b48ed Add packet log 2019-02-19 19:44:15 +01:00
Quentin Dufour
7914c4fc13 Drop packet instead of crashing 2019-02-19 19:31:26 +01:00
603c67b1d9 Refactor how UDP ports are handled 2019-02-19 19:15:37 +01:00
Quentin Dufour
c64aa99593 Show error 2019-02-19 16:40:20 +01:00
Quentin Dufour
e5ee229ed8 Removing logs 2019-02-19 15:28:12 +01:00
Quentin Dufour
40dbd44da5 Structure must be shared 2019-02-19 15:17:47 +01:00
Quentin Dufour
a4c3018c79 Fix udp again 2019-02-19 14:54:42 +01:00
Quentin Dufour
e346230c60 Review UDP management 2019-02-19 14:49:44 +01:00
Quentin Dufour
837633e15e More debug 2019-02-19 11:00:18 +01:00
Quentin Dufour
e7b1b0b3c0 Set UDP dest port and not src port 2019-02-19 10:48:44 +01:00
Quentin Dufour
bc8973b7e9 Fix bug and debug algo naive 2019-02-19 10:44:22 +01:00
Quentin Dufour
349909ff47 Add missing files 2019-02-19 10:38:01 +01:00
Quentin Dufour
fc039b6045 Reimplement UDP client + fix cb signature 2019-02-19 10:32:33 +01:00
5e291f21a7 Compiling solution 2019-02-18 21:55:53 +01:00
Quentin Dufour
09d4c24857 WIP buffer management 2019-02-18 17:51:13 +01:00
Quentin Dufour
78fbac88d3 Try to remove sendto/recvfrom 2019-02-18 15:11:12 +01:00
Quentin Dufour
0f7167ee84 Introduce url concept 2019-02-18 14:35:09 +01:00
Quentin Dufour
a03d90ca84 WIP multiple port support 2019-02-15 18:09:51 +01:00
Quentin Dufour
fb6a9dfab0 Better if you write correct code 2019-02-15 15:50:17 +01:00
Quentin Dufour
449c661cb3 Faster bootstrap 2019-02-15 15:45:56 +01:00
Quentin Dufour
0598bf8533 WIP Measuring latency 2019-02-14 18:08:20 +01:00
Quentin Dufour
afbb41fa2e WIP measure latency + remove wrong comment 2019-02-14 17:41:52 +01:00
Quentin Dufour
8165b4a907 Fix a UDP bug 2019-02-14 17:15:13 +01:00
Quentin Dufour
ab568befcf Fix comaprison bug 2019-02-14 15:40:05 +01:00
Quentin Dufour
b42170d6a5 Non tested but complete refactor of algo niave 2019-02-14 13:50:43 +01:00
Quentin Dufour
3b3c5b6dbd Huge refactor work in progress 2019-02-14 11:16:38 +01:00
Quentin Dufour
8fee2b43e8 Refactor to support multi algo 2019-02-13 15:32:38 +01:00
Quentin Dufour
670b64e56c Clean code 2019-02-13 14:17:06 +01:00
a9c2ae3fb9 Debugged software! 2019-02-12 22:38:42 +01:00
d0386fb948 Seems to work, need to migrate to the UDP api however 2019-02-12 22:07:47 +01:00
0e6be80fcb Working socks5 creation 2019-02-12 21:45:15 +01:00
47f6a12d41 Fix listing bug in Donar Client 2019-02-12 20:36:21 +01:00
d1bfdf520f Fixed non initialized bug + WIP Donar Client 2019-02-12 20:33:12 +01:00
3bfafabd44 Working server part + rename binary 2019-02-12 19:40:12 +01:00
9ea76e9144 Working UDP and socket cleaning 2019-02-12 19:29:00 +01:00
Quentin Dufour
08a73180d4 First fix for the ring buffer 2019-02-12 17:57:51 +01:00
Quentin Dufour
8fc0d16e85 Fix naive ctx allocation 2019-02-12 17:47:14 +01:00
Quentin Dufour
d322a00a5d Improve debug and error handling 2019-02-12 17:38:11 +01:00
Quentin Dufour
0d41b47ff9 Fix file descriptor bug 2019-02-12 17:12:20 +01:00
Quentin Dufour
debe0feb56 Introduce a ring buffer 2019-02-12 11:17:37 +01:00
f93853f974 WIP UDP Server implementation 2019-02-11 23:40:37 +01:00
a786b69856 Snapshot that doesn't compile 2019-02-11 22:40:00 +01:00
Quentin Dufour
a9428e932f Event core definition add 2019-02-11 19:14:07 +01:00
Quentin Dufour
30c1c1b9c8 WIP event core + GLib 2019-02-11 18:56:52 +01:00
Quentin Dufour
9a6fadd558 Fix listen and remove debug 2019-02-11 17:04:12 +01:00
Quentin Dufour
90671b80ba Listen all 2019-02-11 17:01:18 +01:00
Quentin Dufour
1aa9236240 Working epoll implementation 2019-02-11 16:23:20 +01:00
Quentin Dufour
7432371fc0 Fix a fscanf bug 2019-02-11 10:25:27 +01:00
Quentin Dufour
13064c5ad7 Rework files, add getopt 2019-02-11 10:23:38 +01:00
Quentin Dufour
81aac5259f Generate a pub file 2019-02-11 09:53:00 +01:00
Quentin Dufour
3dde9d5344 Onion Services should perfectly work now 2019-02-08 18:17:42 +01:00
Quentin Dufour
1eb247d925 Successfully write onion services in a file 2019-02-08 18:04:48 +01:00
Quentin Dufour
848263bc24 Debugging tor controller 2019-02-08 17:37:02 +01:00
Quentin Dufour
8319d782d1 Migrate to cmake 2019-02-08 14:28:39 +01:00