Commit graph

416 commits

Author SHA1 Message Date
8f19f65e85 Add feature to create single hop circuits 2019-09-04 16:40:02 +02:00
87c561574e WIP evaluation Tor 2019-09-04 11:06:47 +02:00
01f8e83148 Jitter at 100ms 2019-08-30 12:16:34 +02:00
73c09bc4e9 Comment debug logs 2019-08-30 11:12:20 +02:00
f61148345e Fix out of order 2019-08-30 10:48:23 +02:00
3f40d205c9 Better classification 2019-08-30 10:39:00 +02:00
f4fa63fcef Remove logs 2019-08-29 18:44:27 +02:00
2f73ea96e1 Fix scheduler 2019-08-29 18:25:37 +02:00
124c0375c0 Better handle timeouts 2019-08-29 18:11:50 +02:00
5ed70a0848 Fix bug 2019-08-29 17:53:49 +02:00
f28674a79d Remove log 2019-08-29 11:31:59 +02:00
e99c8a8e5a First packets exchanged 2019-08-29 11:27:34 +02:00
33b45583a2 Fix an unsigned int bug 2019-08-28 18:27:06 +02:00
f898521f15 Fix timeout and append bug 2019-08-28 18:05:56 +02:00
7fdd43658c Initialize timer 2019-08-28 17:49:01 +02:00
eb7b3a4712 Fix another stupid bug 2019-08-28 17:42:15 +02:00
a9e5267495 WIP debug algo thunder 2019-08-28 16:33:43 +02:00
a1d58c1203 Fix a first set of bugs 2019-08-28 14:57:20 +02:00
4d5dd554c5 Add unpad function 2019-08-28 11:35:43 +02:00
298d0f7f26 Add timeout for the classifier 2019-08-28 10:50:34 +02:00
6e3eb95778 WIP receive 2019-08-27 17:28:14 +02:00
55f7bb3eef Implement pad 2019-08-27 14:31:27 +02:00
9c1971af34 Refactor delta in a function 2019-08-27 10:10:17 +02:00
4cb27b1420 Add application duplication 2019-08-26 17:48:22 +02:00
a9b25c43db Write scheduler 2019-08-26 17:35:23 +02:00
82e1359f28 [algo_thunder] add lid update 2019-08-26 12:18:05 +02:00
0b43f944a8 WIP thunder 2019-08-26 12:08:31 +02:00
e95a4caabe WIP thunder algo 2019-08-13 17:07:52 +02:00
5fdfd9aa9a Clean code 2019-08-13 10:58:20 +02:00
0c50ca5a42 Fix another bug! 2019-08-13 10:53:11 +02:00
d515cbf912 Fixed one bug 2019-08-13 10:47:50 +02:00
bc202c07eb Learn to count! 2019-08-12 16:38:19 +02:00
cf027261c8 Fix packet handling bug 2019-08-12 16:24:20 +02:00
b985e0041a Introduce a new packet format 2019-08-12 15:28:22 +02:00
577408a050 WIP algo 2019-08-09 18:09:15 +02:00
a603a5762c Refactor core 2019-08-09 17:01:28 +02:00
502880061b Remove broken scripts 2019-07-31 10:40:58 +02:00
bef129da85 Fix bind ip 2019-06-21 17:05:13 +02:00
a3d2b4a4b0 Add bound IP 2019-06-21 16:50:49 +02:00
f05477cd56 WIP cap replay 2019-06-18 17:01:37 +02:00
a822707158 Don't acknowledge 0 bytes read 2019-06-11 18:14:38 +02:00
4a110d9697 Greatly improve capdiff 2019-06-04 17:44:55 +02:00
5bfc545f23 Better code 2019-06-04 16:46:10 +02:00
4643aa7a42 Update capture traffic with better extensions 2019-06-04 16:09:20 +02:00
611feaa03b Better stats with capdiff 2019-06-04 15:01:33 +02:00
62f296914e Better stats 2019-06-03 18:11:25 +02:00
2408f6ba75 Working capdiff 2019-06-03 17:09:40 +02:00
1ee6727a98 Don't garbage collect UDP 2019-06-03 15:14:12 +02:00
5c7f949507 Do nothing if buffer has not been found 2019-06-03 15:00:31 +02:00
e7746b6922 Improving algo_utils 2019-06-03 14:58:19 +02:00
e93b237e79 WIP capture / replay tools 2019-06-03 14:32:52 +02:00
8f62e3ec44 Avoid looking at headers 2019-05-28 17:40:49 +02:00
a6ef0c26d5 Fix capdiff bug 2019-05-28 17:35:21 +02:00
d53f58f568 Add capdiff to see differences between captures 2019-05-28 17:15:37 +02:00
c937c72b8a Fix not found bug 2019-05-28 16:13:42 +02:00
4582d4a9d2 Fix capture + send data 2019-05-28 15:47:31 +02:00
6b4a784171 Write packets to files 2019-05-28 14:21:06 +02:00
5be3a951af Gathering code should work 2019-05-28 11:45:20 +02:00
7e2a7449c6 WIP capture traffic 2019-05-27 18:14:21 +02:00
b592754973 WIP refactor to capture traffic 2019-05-27 17:32:00 +02:00
fc494f4c9e Add some debug 2019-05-24 17:32:20 +02:00
c4d4288b45 Better handle errors 2019-05-24 17:15:35 +02:00
d55ceca275 Try with a bigger buffer 2019-05-24 16:16:39 +02:00
2066db1650 Better debug 2019-05-24 16:08:04 +02:00
81040b16b9 Avoid queue that are not empty 2019-05-24 15:51:49 +02:00
1f7256ef5e Fix count logic 2019-05-24 15:23:21 +02:00
0395746c28 Fix math 2019-05-24 15:13:20 +02:00
aa1884ff41 Set correct size in log 2019-05-24 15:07:21 +02:00
5d8bd6b435 Exit if too big 2019-05-24 14:48:16 +02:00
504fa7f2df Better handling of buffers 2019-05-24 14:05:42 +02:00
bf37e61e50 Don't fail when we free + memset to reset buffer 2019-05-24 13:51:56 +02:00
fd241b08f0 Better indent 2019-05-24 11:49:00 +02:00
6034def186 Dump packets 2019-05-24 11:46:23 +02:00
fc9ec0e213 Drop unknown packets 2019-05-24 11:25:31 +02:00
1739f7a1ab Add a log for unrecognized packet commands 2019-05-24 11:15:52 +02:00
516b2707b5 Improve debug 2019-05-24 11:04:37 +02:00
33ba4b2d55 Some debug + reset buffers 2019-05-24 10:52:49 +02:00
2d0f285bc2 Better buffer reset 2019-05-23 23:13:09 +02:00
7d7b40724c Fix a stupid bug 2019-05-23 22:53:00 +02:00
ccd5fe14a2 Improve 2019-05-23 22:36:26 +02:00
5fe711dc77 Fix stupid bug 2019-05-21 14:14:59 +02:00
2b989f15d8 Fix algo 2019-05-15 09:38:02 +02:00
ff1b94e3ef Change packet order reception 2019-05-15 09:29:56 +02:00
e98fb6d8d4 Try to debug donar.
Should swap packet order instead...
2019-05-15 08:54:00 +02:00
f5303b09bb Fix asserts 2019-05-14 14:54:10 +02:00
10cde520c9 Fix bug and RTT abbr 2019-05-14 14:48:40 +02:00
a3712bac77 Must start with id=1 2019-05-14 14:08:58 +02:00
f94d2109d9 Register packet only if not already delivered! 2019-05-14 13:56:19 +02:00
05384a424a Add missing information 2019-05-14 12:02:56 +02:00
46f54fd145 Remove bugs 2019-05-14 11:25:33 +02:00
36a6dbaad2 We want to use an union 2019-05-14 11:23:23 +02:00
3e07b012e2 Better comments 2019-05-13 18:41:10 +02:00
9fb2396e54 Add current link just in case 2019-05-13 18:38:48 +02:00
dafd69e649 New round robin is compiling! 2019-05-13 18:37:49 +02:00
9cc27e9613 Fix receive logic 2019-05-13 17:26:31 +02:00
67a3c2a610 Add missing features to health packet 2019-05-13 16:46:04 +02:00
5bcab96393 Add buffer release for control packets (health) 2019-05-13 16:34:22 +02:00
5d38679dbb Reimplement timeout RR 2019-05-13 16:14:23 +02:00
778181a153 Fix simple algorithms 2019-05-13 10:21:11 +02:00
77b6027feb Rework packet format 2019-05-13 10:02:43 +02:00
ed042b1d82 Comment too verbose log 2019-05-10 10:39:15 +02:00
47e47dceef Many buffers - stopping link broken 2019-05-09 19:53:47 +02:00
a16fb465f8 Set link number 2019-05-09 15:33:27 +02:00
9685885afe Tracking memory leaks is improving 2019-05-09 11:39:03 +02:00
163110c814 Now handle signals 2019-05-09 11:24:05 +02:00
8b6f5c63f6 Work but leak 2019-05-07 19:18:27 +02:00
a0ca207975 Fix algo dup2 and algo naive potential bug 2019-05-06 17:17:45 +02:00
9c606c2162 Also speed up naive algorithm! 2019-05-06 15:03:53 +02:00
df4e56775d Let be a bit more clever :D 2019-05-06 15:01:42 +02:00
79929eb5c8 Working dup2 algo 2019-05-06 14:52:57 +02:00
260e1810ba Link dup2 to proxy 2019-05-06 14:23:14 +02:00
093face009 Non tested algo_dup2 2019-05-06 12:02:25 +02:00
Quentin Dufour
7e25f35042 Refactor my code 2019-04-24 16:23:41 +02:00
Quentin Dufour
e176314057 Better debug options 2019-04-18 14:34:38 +02:00
Quentin Dufour
2ced09ceba Measlat add measurement date 2019-04-17 16:24:56 +02:00
Quentin Dufour
1dd7119094 Clean code 2019-04-04 11:32:11 +02:00
Quentin Dufour
f72d528bef Try to fix invalid free 2 2019-04-04 10:44:20 +02:00
Quentin Dufour
0d62fca3d4 Try to fix invalid free() 2019-04-04 10:19:55 +02:00
Quentin Dufour
cd4769e30b Switch naive to debug and try to track the free error 2019-04-03 17:20:24 +02:00
Quentin Dufour
aa3d235bd6 Debug free() error on rrh 2019-04-03 09:54:52 +02:00
Quentin Dufour
e1084026b0 Add missing categories 2019-04-02 16:54:50 +02:00
Quentin Dufour
5c797b253d Try to init ticks 2019-04-02 11:38:02 +02:00
Quentin Dufour
52758f0e61 Timing event loop precisely 2019-04-01 19:27:40 +02:00
Quentin Dufour
dd16d6db03 Zeroing donar params 2019-04-01 16:05:36 +02:00
Quentin Dufour
484934f5bc Add valgrind to scripts 2019-04-01 15:53:47 +02:00
Quentin Dufour
a5bf434b57 Try to add more useful information 2019-04-01 15:48:11 +02:00
Quentin Dufour
1e86671fa4 Log on stderr
g
2019-04-01 14:40:27 +02:00
Quentin Dufour
5a0e746e30 Add a verbose switch 2019-04-01 14:16:41 +02:00
Quentin Dufour
689b99cc25 We can't afford any sleep 2019-04-01 11:15:48 +02:00
Quentin Dufour
fe435539b0 Remove valgrind 2019-04-01 11:12:38 +02:00
Quentin Dufour
5f0b22b4f0 Prevent deactivation + increase lggging 2019-04-01 10:38:59 +02:00
Quentin Dufour
347ea4f6cd Inform users that circuit is up on naive 2019-03-28 15:58:18 +01:00
Quentin Dufour
044989b8d5 Fix option parsing 2019-03-28 15:35:48 +01:00
Quentin Dufour
12c057e651 Improve links logging 2019-03-28 15:29:34 +01:00
Quentin Dufour
5e326563b1 Effectively support -h and -b 2019-03-28 15:26:33 +01:00
Quentin Dufour
b9d7ec48a2 Update algo structure to support parameters 2019-03-28 11:54:01 +01:00
Quentin Dufour
c12715e39e Add a donar parameters structure 2019-03-28 11:47:14 +01:00
Quentin Dufour
1b0954ecca It works better when you write correct code 2019-03-27 18:46:48 +01:00
Quentin Dufour
6c276ae3c7 Fix stupid bug 2019-03-27 18:29:19 +01:00
Quentin Dufour
ca8eddc0ad Some improvement on RR algo 2019-03-27 18:27:44 +01:00
Quentin Dufour
e15e15325c Better logging 2019-03-27 18:11:05 +01:00
Quentin Dufour
c6f7199bf6 Fix timer bug + comment some logs 2019-03-27 17:46:10 +01:00
Quentin Dufour
283dfd82e1 Fix another memory leak 2019-03-27 17:41:03 +01:00
Quentin Dufour
da6815ec62 Fix memleak 2019-03-27 17:37:34 +01:00
Quentin Dufour
b6258759f0 Something that might work 2019-03-27 17:31:46 +01:00
Quentin Dufour
acae81b91c WIP link healing 2019-03-27 16:24:39 +01:00
Quentin Dufour
83b205e2c8 improve readability 2019-03-27 14:17:41 +01:00
Quentin Dufour
6a22df4ac1 Improve algorithm logging 2019-03-27 11:48:09 +01:00
Quentin Dufour
bb60aeaef3 Fix another bug 2019-03-27 11:21:18 +01:00
Quentin Dufour
627523e1c7 Allow link ban 2019-03-27 11:19:05 +01:00
Quentin Dufour
d06da2faa2 Fix a stupid bug (double ptr instead of one ptr) 2019-03-27 09:59:25 +01:00
Quentin Dufour
9f4882eb67 Better log cat move and free 2019-03-25 18:26:00 +01:00
Quentin Dufour
e720930412 Fix timer 2019-03-25 17:38:05 +01:00
Quentin Dufour
f7c9b9bcd6 Fix accept connection logic 2019-03-25 17:33:08 +01:00
Quentin Dufour
4f1c1b3c1b Compiling but not tested project 2019-03-25 17:20:47 +01:00
Quentin Dufour
9d4aae315e WIP socks5 - refactor socks5 2019-03-25 15:26:30 +01:00
Quentin Dufour
1437f48042 WIP interface socks5 rework 2019-03-22 18:19:28 +01:00
Quentin Dufour
b105e25c38 Callbacks are called to flush past events 2019-03-22 18:05:40 +01:00
Quentin Dufour
a579f0de61 Make sure that information is read 2019-03-22 18:01:50 +01:00
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