Commit graph

307 commits

Author SHA1 Message Date
Quentin Dufour
d94f935327 Global pipeline has been rewritten (broken+untested) 2019-03-22 17:58:48 +01:00
Quentin Dufour
a2bf7ddec1 WIP rewrite socks5 file (broken) 2019-03-22 17:14:35 +01:00
Quentin Dufour
f5c4669b7c WIP eventing socks5 2019-03-21 18:43:38 +01:00
Quentin Dufour
f43437978c WIP refactor socks5 2019-03-21 13:01:48 +01:00
Quentin Dufour
429e66cbc8 Don't crash on socks5 2019-03-20 17:02:23 +01:00
Quentin Dufour
6216935084 Rewrite buffer management, not tested 2019-03-20 15:13:16 +01:00
Quentin Dufour
e543c44674 Show buffer states 2019-03-20 10:28:52 +01:00
Quentin Dufour
cbf7e0883a Fix timer logic 2019-03-20 09:08:32 +01:00
Quentin Dufour
1530209b22 Fix another bug of comparison 2019-03-20 08:51:40 +01:00
cd7f12aee0 Try to fix timers 2019-03-19 21:21:00 +01:00
aed1bea991 Fix a bug in identifier waited 2019-03-19 21:15:51 +01:00
94e3ae872f Add a check 2019-03-19 21:06:01 +01:00
f312b5fe18 Fix a ring comparison bug 2019-03-19 20:48:07 +01:00
5a6685e7c2 WIP debugging prog 2019-03-19 18:50:56 +01:00
c58112f0b7 Fix a free bug 2019-03-19 18:27:14 +01:00
372aae6f61 We fixed the comparison operation 2019-03-19 18:22:23 +01:00
d028638c95 Fix small bug + debug 2019-03-19 17:54:28 +01:00
Quentin Dufour
9a0c78ebbc Some log on algo rr 2019-03-19 17:16:49 +01:00
Quentin Dufour
3293197860 Fix init error 2019-03-19 17:09:42 +01:00
Quentin Dufour
ef49d07dd9 Better loop to choose links 2019-03-19 16:42:54 +01:00
Quentin Dufour
d48c5753fb All the pieces should be here 2019-03-19 16:35:11 +01:00
Quentin Dufour
298e385dae Handle timeout 2019-03-19 15:54:31 +01:00
Quentin Dufour
5853e99e7b Rework algorithm 2019-03-19 15:39:05 +01:00
Quentin Dufour
d89b7151c9 We do not use LINK_COUNT anymore 2019-03-19 13:50:38 +01:00
Quentin Dufour
a43be46cb7 WIP timer 2019-03-19 10:00:03 +01:00
Quentin Dufour
588219f0f0 WIP algo rr, TCP read logic 2019-03-18 17:58:40 +01:00
Quentin Dufour
02a3507ef5 Global structures for RR algo 2019-03-18 10:26:02 +01:00
Quentin Dufour
b04283b59c Huge WIP 2019-03-15 16:44:47 +01:00
Quentin Dufour
621b0bfeab WIP rr 2019-03-13 17:53:46 +01:00
Quentin Dufour
cdf2562f04 Fix measurement 2019-03-11 15:48:57 +01:00
Quentin Dufour
5a3a367704 Working meas lat via tor 2019-03-11 15:17:15 +01:00
Quentin Dufour
76f11a2def Working TCP echo 2019-03-11 11:25:34 +01:00
Quentin Dufour
ca140c675e Merge branch 'master' of gitlab.inria.fr:qdufour/donar 2019-03-11 10:45:27 +01:00
Quentin Dufour
ee35752a87 WIP tor echo 2019-03-11 10:45:21 +01:00
e807c5f176 Extract some logic from algo naive 2019-03-07 16:57:02 +01:00
Quentin Dufour
ba0d4fd1b7 Hot fix for now 2019-03-06 17:46:12 +01:00
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