Commit Graph

159 Commits

Author SHA1 Message Date
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
orignal
c9ba7da0b0 outbound tunnel pool 2014-03-16 16:03:20 -04:00
orignal
26c5f6cd77 3-hops tunnels for tunnel pool 2014-03-14 21:22:59 -04:00
orignal
b47d7aceaa manage tunnel pools 2014-03-14 20:51:51 -04:00
orignal
ab23327da6 manage tunnel pools 2014-03-14 20:24:12 -04:00
orignal
cba18faa87 create inbound tunnels per local destination 2014-03-14 15:13:34 -04:00
orignal
7caa46b381 TunnelPool added 2014-03-14 12:35:02 -04:00
orignal
6732ba21f9 inbound tunnel where an I2NP messages has been received from 2014-03-12 20:13:49 -04:00
orignal
567816e6a5 create tunnel through any type of transports 2014-02-26 22:53:19 -05:00
orignal
345be142ae always pass delivery instructions to tunnel gateway 2014-02-19 22:08:57 -05:00
orignal
154105a059 pass delivery intructions to tunnel gateway 2014-02-19 21:24:55 -05:00
orignal
a4c25e773c check for transport protocols compatibility between routers 2014-01-25 21:47:01 -05:00
orignal
bd8ea0bac0 use any router for second hop of tunnel 2014-01-24 20:53:15 -05:00
orignal
30ecf1ef8c send multiple messages 2014-01-20 18:37:51 -05:00
orignal
5856310cd6 multi-tunnels LeaseSet 2014-01-14 19:00:12 -05:00
orignal
fcddf9843d fixed Linux build 2014-01-09 17:55:53 -05:00