Commit Graph

174 Commits

Author SHA1 Message Date
orignal
a26c5f85c3 ignore LeaseSets coming from transit tunnels 2016-01-04 19:56:46 -05:00
hagen
3156f7dacd * sane log messages: Tunnel.cpp 2015-12-21 03:00:11 +00:00
orignal
4599f6919c shared_ptr for local destination in TunnelPool 2015-12-16 14:52:48 -05:00
orignal
badcd64b62 print full tunnel path 2015-12-09 19:07:12 -05:00
orignal
a7b8b52dbd fixed crash 2015-12-09 18:01:42 -05:00
orignal
d89f0f51df show full tunnel path 2015-12-09 10:35:04 -05:00
orignal
06c4aca490 always use shared_ptr for I2NPMessage 2015-11-24 13:09:12 -05:00
orignal
73037b86ac fixed build for gcc 4.6 and boost 1.46 2015-11-06 09:01:02 -05:00
orignal
62cf83921b cumulative update from bitbucket 2015-11-03 09:15:49 -05:00
orignal
bf14b7da9a move FillI2NPMessageHeader into I2NPMessage 2015-07-03 11:11:07 -04:00
orignal
047c6a93a3 don't copy transit DatabaseStore 2015-06-27 22:02:00 -04:00
orignal
be1a4548e6 pass const I2NP message to HandleTunnelDataMsg 2015-06-25 21:49:16 -04:00
orignal
d8cd2afd12 different input anf output I2NP message for tunnel encryption 2015-06-24 22:19:56 -04:00
orignal
2cbd6e85c6 use shared_ptr for garlic messages 2015-06-21 22:29:50 -04:00
orignal
1fc50a59f5 different in and out buffers for tunnel encryption 2015-06-21 17:05:01 -04:00
orignal
4ed7e29896 use shared_ptr for I2NP messages through tunnels 2015-06-19 14:38:31 -04:00
orignal
98c91a01e3 use shared_ptr for outbound tunnel build messages 2015-06-17 12:26:07 -04:00
orignal
d65257c7b0 pass I2NP as shared_ptr to netDB 2015-06-16 13:32:42 -04:00
orignal
4c91d08cea pass TunnelConfig as shared_ptr 2015-05-06 16:17:48 -04:00
orignal
42d49bde86 handle tunnels quantity params 2015-05-05 12:32:13 -04:00
orignal
3987d5e5a0 recreate tunnel after 9.5 minutes 2015-04-17 11:36:42 -04:00
orignal
27bd193708 re-create tunnel before expiration 2015-04-14 21:37:21 -04:00
orignal
321dd252ea fixed crash if no routers available 2015-04-03 10:02:45 -04:00
orignal
1a440e3a83 count non-replied tunnel build requests 2015-03-28 16:09:34 -04:00
orignal
fd3dab35cc collect and save participation agreed/declined stats 2015-03-24 18:48:16 -04:00
orignal
d51b87e80a reduced memory usage 2015-03-10 21:54:25 -04:00
orignal
6f9d8ed01b show tunlel creation success ratio 2015-02-28 07:59:34 -05:00
orignal
a3c1c314d0 don't insert same transit tunnel twice 2015-02-10 09:39:49 -05:00
orignal
b9e3931e80 use shared_ptr for inbound tunnels 2015-02-05 18:53:43 -05:00
orignal
feffbc9330 fixed typo 2015-01-31 10:39:29 -05:00
orignal
b3e08b2cf4 shared_ptr for tunnels 2015-01-27 14:55:46 -05:00
orignal
4b094b2156 handle tunnel build messages in tunnels thread 2015-01-26 20:49:16 -05:00
orignal
562cdc12d1 check message type of follow on message 2015-01-26 14:48:24 -05:00
orignal
8f562215b0 separate inbound and outbound pending tunnels 2015-01-26 11:56:10 -05:00
orignal
82103e6a39 process TunnelGateway message in tunnel thread 2015-01-23 16:26:39 -05:00
orignal
0c73aff0a2 I2NPMessagesHandler 2015-01-22 22:00:41 -05:00
orignal
2ab0ff8aea TransitTunnelParticipant 2015-01-21 21:50:46 -05:00
orignal
ec980edf56 don't look for tunnel again if tunnelID is the same as for previous message 2015-01-21 15:13:46 -05:00
orignal
89dead79c4 common HandleTunnelData for own and transit tunnels 2015-01-21 14:40:48 -05:00
orignal
74c89ce06e proper cleanup of pending tunnels 2015-01-20 18:06:42 -05:00
orignal
42354ee5d5 removed useless mutex lock 2015-01-20 07:50:25 -05:00
orignal
ebb5c53c3a use shared_ptr for TunnelPool 2015-01-19 22:28:13 -05:00
orignal
912146b1c9 shutdown and graceful shutdown through I2PControl 2015-01-09 22:27:52 -05:00
orignal
37a374000c elimimated cast to ClearText 2015-01-04 09:33:19 -05:00
orignal
ecf709cbba fill clear text buffer of BuildRequestRecord 2015-01-03 23:13:07 -05:00
orignal
3c5e9ddd4e eliminated cast to ecnryptted build record 2015-01-03 16:31:44 -05:00
orignal
8a293f45fa eliminated cast to BuildResponse Record 2015-01-03 09:47:24 -05:00
Francisco Blas (klondike) Izquierdo Riera
84f7966a0b Fix even more alignment problems 2014-12-31 19:48:46 +01:00
Francisco Blas (klondike) Izquierdo Riera
1636187e26 Avoid aliasing problems by using special buf endian handling functions wrapping memcpy 2014-12-29 23:04:02 +01:00
orignal
f357a5864c pass local destination by pointer 2014-12-15 21:24:01 -05:00
orignal
c8e34052a7 some cleanup 2014-12-09 21:07:54 -05:00
orignal
3ca560b895 different tunnel length for IB and OB 2014-11-29 22:00:52 -05:00
orignal
8a357ac46c store shared pointer to RI in tunnel config 2014-11-21 10:46:11 -05:00
orignal
0f4e4a7944 return shared_ptr to RI 2014-11-20 16:20:02 -05:00
orignal
7b768ccb26 moved transports to 'transport' namespace 2014-10-21 12:25:53 -04:00
orignal
a0f43d9772 resuse instance of local destination upon restart 2014-10-13 11:21:57 -04:00
orignal
2ab597be20 detach tunnles from poll 2014-10-11 09:47:24 -04:00
orignal
f34680134a fixed race condition 2014-10-11 09:01:08 -04:00
orignal
22773bd678 fixed race condition 2014-10-10 16:48:42 -04:00
orignal
3de29143bc moved current outbound tunnel to destination 2014-10-07 10:33:17 -04:00
orignal
93c1a0760d AES/ElGamal tags per local destination 2014-10-06 20:18:18 -04:00
orignal
7fb93ca853 fixed race condition 2014-10-06 12:50:36 -04:00
orignal
b1316dee7c fixed race condition 2014-10-05 16:18:24 -04:00
orignal
f528eeae10 fixed race condition 2014-10-05 11:01:12 -04:00
orignal
255c5c1459 fixed race condition 2014-10-02 12:44:11 -04:00
orignal
c047544cdb don't block tunnel list for a long time 2014-10-01 14:32:57 -04:00
orignal
c30dc4f877 don't process pending tunnel twice 2014-09-28 15:06:07 -04:00
orignal
05c297cb0b generate reandom tunnelMsgID 2014-09-27 17:51:55 -04:00
orignal
9cd62d8873 fixed tunnel build race condition 2014-09-26 10:15:34 -04:00
orignal
0c3949ef7a fixed crash 2014-09-20 16:26:36 -04:00
orignal
92eb048adb fixed race condition 2014-09-14 07:50:01 -04:00
orignal
5c2785cfca send HolePunch if unreachable 2014-09-13 19:43:25 -04:00
orignal
168e20053a fixed race consition 2014-08-31 08:56:03 -04:00
orignal
b6a3f64ee9 don't miss active tunnel 2014-08-29 07:44:12 -04:00
orignal
2640dff22a improved exploratory 2014-08-28 19:41:02 -04:00
orignal
e50377e557 random pick tunnels 2014-08-27 22:21:29 -04:00
orignal
c025bcfdfc pick established tunnels only 2014-08-27 21:53:44 -04:00
orignal
72d52d61bc expiring status for tunnels 2014-08-26 10:31:32 -04:00
orignal
fb15c72be2 wait for 10 seconds before delete a pending tunnel 2014-08-18 14:37:19 -04:00
orignal
e7cf0b0f79 shuffle records for VariableTunnelBuild message 2014-08-16 14:35:35 -04:00
orignal
72e689791c tunnel state 2014-07-26 20:56:42 -04:00
orignal
8801a144a0 close connection to first hop of declined tunnel 2014-07-18 20:32:45 -04:00
orignal
ab5576c744 delete expired tunnels 2014-07-09 21:43:33 -04:00
orignal
0d8b3910ef delete expired transit tunnels 2014-07-03 19:53:11 -04:00
orignal
ec21138bd2 specify number of hops for a tunnel pool 2014-06-25 19:28:33 -04:00
orignal
92dc9b3542 set replyIV for each hop decryption 2014-06-24 19:33:30 -04:00
orignal
53be08e239 fake tunnel build ecord 2014-06-18 21:24:24 -04:00
orignal
59439ebf26 don't rely on order in tunnel build message. assign index to hop instead 2014-06-18 19:38:21 -04:00
orignal
0d51f240d0 TunnelDecryption for tunnels 2014-05-15 18:58:26 -04:00
orignal
cc302847a8 replace tunnel encryption to AES-NI 2014-05-09 19:34:12 -04:00
orignal
92b96d9b15 fixed race condition 2014-04-03 12:19:12 -04:00
orignal
70bf83f127 move exploratory tunnels to separate pool 2014-04-02 20:42:02 -04:00
orignal
489266e7fc exploratory pool added 2014-04-02 13:14:21 -04:00
orignal
a10edb4cc5 pools per ident hash 2014-04-01 15:08:53 -04:00
orignal
81e06769dc pass LocalDestination by reference 2014-04-01 13:55:09 -04:00
orignal
d7a584f48f some cleanup 2014-04-01 12:50:29 -04:00
orignal
0a0f61b940 some cleanup 2014-04-01 12:46:08 -04:00
orignal
38cb57a4c4 request LeaseSet from 3 floodfills 2014-03-22 16:05:58 -04:00
orignal
20369cf6d5 mark failed tunnels 2014-03-21 15:54:55 -04:00
orignal
014e1c54eb tunnel test 2014-03-17 16:50:03 -04:00