Commit Graph

128 Commits

Author SHA1 Message Date
orignal
7dd159add2 use 'available' method 2015-02-08 20:27:17 -05:00
orignal
1ad04bf8bf read more data from socket if available 2015-02-08 11:52:03 -05:00
orignal
5730b15f01 fixed race condition 2015-02-06 20:53:48 -05:00
orignal
8305fd5f82 check if connection to peer exists already 2015-02-06 18:37:37 -05:00
orignal
8e75d8c39a check accepted socket for error 2015-02-06 13:49:00 -05:00
orignal
6beb527058 teminate non-connected NTCP session 2015-02-06 11:14:41 -05:00
orignal
763547f465 fixed corrupted NTCP messages 2015-01-27 19:12:27 -05:00
orignal
0c73aff0a2 I2NPMessagesHandler 2015-01-22 22:00:41 -05:00
orignal
276d5097c1 fixed 'bad descriptor' exception 2015-01-21 15:59:05 -05:00
orignal
e7f849184c some cleanup 2015-01-21 12:08:15 -05:00
orignal
c61cd350ee send multiple messages though single write call 2015-01-20 22:35:27 -05:00
orignal
ea353ac3ba send batch of I2NP messages 2015-01-20 21:05:57 -05:00
orignal
f36229bd95 make sure DatabaseStore message is first 2015-01-18 18:46:22 -05:00
orignal
98e930bd46 moved delayed queue to Peer 2015-01-13 22:19:13 -05:00
orignal
d971dff593 introduced Peer 2015-01-12 22:53:35 -05:00
orignal
ff856d2f20 fixed race condition 2015-01-12 12:15:54 -05:00
orignal
a85cc6aa77 fixed race condition 2015-01-11 21:00:38 -05:00
orignal
6683a9cf76 moved NTCP to separate thread 2015-01-11 17:41:56 -05:00
Francisco Blas (klondike) Izquierdo Riera
700c53e60a Fix any remaning aliasing rules with propper memcpy wrappers 2014-12-30 15:37:24 +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
5221e09b67 use VerifyDigest for verification 2014-12-21 21:32:21 -05:00
orignal
6153d799bc use shared pointer for NTCPSession 2014-11-25 16:30:15 -05:00
orignal
0ccb66476e moved NTCP client code to Transports 2014-11-25 15:16:03 -05:00
orignal
6c13ad78a5 eliminated NTCPServerConnection 2014-11-25 14:29:06 -05:00
orignal
de14f8dcd7 handle Phase3 in two steps 2014-11-25 12:33:51 -05:00
orignal
1e81652a62 send Phase3 with proper identity 2014-11-25 10:59:29 -05:00
orignal
f7ce86e0c4 pass tsA to SendPhase4 2014-11-25 10:35:35 -05:00
orignal
9eb5982ea3 use generic receive buffer for phase 4 2014-11-25 10:14:18 -05:00
orignal
e0635548e9 handle EcDSA signatures 2014-11-24 15:26:57 -05:00
orignal
1c3f70056a use shared pointer of RI for transports 2014-11-21 12:34:17 -05:00
orignal
faf1fe7a7c aligned AES keys 2014-11-01 21:53:45 -04:00
orignal
a8acb8ebb4 fixed double deletion 2014-11-01 17:15:59 -04:00
orignal
a3fd338fab pass our address as boost's address 2014-10-29 13:49:21 -04:00
orignal
7f93c680fd added missing line 2014-10-28 11:47:28 -04:00
orignal
659edf2590 common code for signing and verifing exchanged data 2014-10-28 11:34:50 -04:00
orignal
f2434d66fc incoming ipv6 connections 2014-10-27 15:08:50 -04:00
orignal
6281fa625a moved remote RI and identity to TransportSession 2014-10-24 15:50:48 -04:00
orignal
c9abb62988 set unreachable trough NetDb 2014-10-24 15:39:53 -04:00
orignal
a96d70a94c initialize router identity 2014-10-24 14:24:48 -04:00
orignal
8d75d51803 don't specify RI for inbound NTCP connections 2014-10-24 13:36:55 -04:00
orignal
f81a122223 use remote router indentity 2014-10-24 13:04:14 -04:00
orignal
ab843b6552 cleaned up from duplicated methods 2014-10-21 15:44:28 -04:00
orignal
7b768ccb26 moved transports to 'transport' namespace 2014-10-21 12:25:53 -04:00
orignal
c4dda06cde TransportSession added 2014-10-20 16:09:59 -04:00
orignal
4fc3b8026a terminate NTCP session by timeout 2014-09-22 17:38:21 -04:00
orignal
81a7253e0f fixed crash on termination 2014-09-22 13:28:46 -04:00
orignal
5e179c166b aquire DH keys if demanded only 2014-09-20 20:10:34 -04:00
orignal
b46b15cce4 avoid double delete 2014-09-18 11:11:51 -04:00
orignal
7019b6d68f reuse DH keys pairs from failed NTCP sessions 2014-09-17 11:13:25 -04:00
orignal
06f9e68169 make sure we receive phases of exact size 2014-09-17 09:46:24 -04:00
orignal
6069055c9e reduced memory usage 2014-09-11 22:15:20 -04:00
orignal
8c87a0fc38 check for buffer overflow 2014-08-27 10:02:23 -04:00
orignal
756a920c1a show number sent/received bytes through the status page 2014-07-20 17:12:36 -04:00
orignal
e0291bb815 fixed memory leak 2014-07-07 12:34:19 -04:00
orignal
0a53555ac7 one block CBC encryption 2014-05-14 14:54:01 -04:00
orignal
6bf5d98c4d use new aes implementation for NTCP 2014-05-06 22:30:09 -04:00
orignal
607f2d29f2 check for 16 bytes boundary before encryption 2014-04-18 14:38:32 -04:00
orignal
4341d285aa fxied crash 2014-04-15 17:44:44 -04:00
orignal
efab8106c6 implement session key if shared key is shorter than 64 bytes 2014-04-15 12:21:18 -04:00
orignal
c30dd2639a SSU timeout 2014-04-07 21:40:28 -04:00
orignal
ff9f14d7a6 if NTCP failed, try to send through SSU 2014-04-05 15:44:12 -04:00
orignal
7bdf52a774 generate DH keys pair per NTCP session 2014-04-04 13:30:13 -04:00
orignal
6732ba21f9 inbound tunnel where an I2NP messages has been received from 2014-03-12 20:13:49 -04:00
orignal
0171d3040a fixed crash 2014-02-03 10:51:01 -05:00
orignal
ddb9a6b477 check if IP address is valid 2014-01-21 18:01:11 -05:00
orignal
2d428fd090 use boost::asio::address for address 2014-01-21 16:07:16 -05:00
orignal
991a80428d fixed few small issues 2014-01-09 22:26:30 -05:00
orignal
fd84226bd2 Merge pull request #6 from mikhail4021/master
adding Windows support
2014-01-09 12:22:15 -08:00
mikhail4021
55392ce783 ms visual studio 2013 support
not full support
2014-01-09 23:56:07 +04:00
orignal
5997cb80bd differentiate garlic message received from tunnel and directly 2014-01-03 22:25:22 -05:00
orignal
808d6d1fbf improved stability 2013-12-29 10:48:57 -05:00
orignal
5d9f292506 remove dead routers 2013-12-22 11:29:57 -05:00
orignal
cee2d171f4 cumulative update 2013-12-10 08:10:49 -05:00
orignal
885e996a8a Inroduced IdentHash 2013-11-29 07:52:09 -05:00
orignal
18ec2e9ce8 don't create temporary NTCP send buffer 2013-10-27 16:48:45 -04:00
orignal
2893ec5a83 send I2NP message instead plain buffer 2013-10-27 11:23:15 -04:00
orignal
66eccc287d fixed race condition 2013-10-22 22:43:29 -04:00
orignal
24f44dc528 NTCP implementation added 2013-09-09 21:35:46 -04:00