Commit Graph

253 Commits

Author SHA1 Message Date
orignal
f75de6af82 window 2015-01-25 17:43:34 -05:00
orignal
a061f3339e use send buffer for a stream 2015-01-25 16:18:26 -05:00
orignal
3ed1fee7ce remove stream on close 2015-01-22 19:02:28 -05:00
orignal
b269bda52b shared_ptr for GarlicRouting Session 2015-01-22 15:31:34 -05:00
orignal
79e1096eca process follow-on packets with zero send stream id 2015-01-02 10:04:57 -05:00
orignal
df21a067ff print out number of NACKs 2015-01-01 09:53:30 -05:00
orignal
cbfe8b8232 invoke accepter after receiving remote identity 2014-12-30 22:37:14 -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
e3f077ee9a create io_service together with destination 2014-12-15 22:50:11 -05:00
orignal
cfcec8229c delete non-responding streams 2014-12-02 08:07:31 -05:00
orignal
4e54fbec08 delete stream from inside 2014-12-01 21:26:51 -05:00
orignal
38ee813e41 wait for all messages acked before termination of a stream 2014-12-01 18:29:46 -05:00
orignal
5e83d950f5 count NACKs in plain ack message size 2014-11-29 19:15:41 -05:00
orignal
95027930f2 send NACKs 2014-11-29 16:21:19 -05:00
orignal
eb6b04d6c2 send packets of a longer message at the that time 2014-11-26 19:25:12 -05:00
orignal
aca87b5fd1 remember last outgoing tunnel per stream rather than per client destination 2014-11-26 13:20:35 -05:00
orignal
0262a8b057 replaced boost::bind to std::bind 2014-11-23 17:00:45 -05:00
orignal
4bd8b44ab2 shared pointers for streams 2014-11-23 11:33:58 -05:00
orignal
65719ae645 send destination port for streaming 2014-10-22 21:36:11 -04:00
orignal
3da35c592f moved Data payload processing to StreamingDestination 2014-10-22 15:01:30 -04:00
orignal
b11877d002 create streams through ClientDestination 2014-10-22 14:01:23 -04:00
orignal
4d97b0e206 moved StreamingDestination inside ClientDestination 2014-10-22 11:46:54 -04:00
orignal
9b3ac19b58 show queue size 2014-10-18 15:50:34 -04:00
orignal
667c309b68 re-request expired lesaseset 2014-10-16 21:09:59 -04:00
orignal
c92d99718b delete stream in destination's thread 2014-10-15 10:34:28 -04:00
orignal
96e8cab8fb added some statistics 2014-10-13 17:03:27 -04:00
orignal
eff0e13f31 remote LeaseSets per local destination 2014-10-12 16:22:14 -04:00
orignal
a7421739bc don't send plain ACK if outgoing message has been sent 2014-10-10 15:58:17 -04:00
orignal
70c3bf77a9 send Ack with 200 ms delay 2014-10-10 11:53:27 -04:00
orignal
0e6b7712a9 connection reset event from stream 2014-10-09 13:03:59 -04:00
orignal
911ad52989 moved local LeaseSet update from Stream to RoutingSession 2014-10-08 12:11:39 -04:00
orignal
fccadb752f take LeaseSet from GarlicDestination 2014-10-07 21:08:00 -04:00
orignal
49d67bada0 AES/ElGamal session tags per local destination 2014-10-07 16:18:13 -04:00
orignal
9f1e496fa4 create data message inside detination 2014-10-07 14:06:50 -04:00
orignal
d5c26316df pass destination by reference 2014-10-07 10:44:42 -04:00
orignal
3de29143bc moved current outbound tunnel to destination 2014-10-07 10:33:17 -04:00
orignal
482fc0e8b1 split Streaming to stream and destination 2014-10-05 08:54:59 -04:00
orignal
6da55d10ab fixed race condition 2014-10-04 16:57:45 -04:00
orignal
9750fb73b5 fixed race condition 2014-10-04 16:27:21 -04:00
orignal
1acce0cc80 fixed race condition 2014-10-03 20:23:55 -04:00
orignal
ef2932a234 some cleanup 2014-10-01 21:18:41 -04:00
orignal
30233bed77 don't create SAM session is local destination exists 2014-10-01 14:52:32 -04:00
orignal
3cb4588904 don't publish local destination of client I2PTunnel 2014-10-01 11:52:30 -04:00
orignal
ba96288438 handle DEST GENERATE 2014-09-30 11:08:38 -04:00
orignal
b13c9d924f show local destinations 2014-09-28 19:15:04 -04:00
orignal
d04957bd15 publish local destinations created by SAM session 2014-09-27 08:11:00 -04:00
orignal
6af5fa3d27 handle STREAM ACCEPT 2014-09-26 15:40:57 -04:00
orignal
ec624c89b2 delete all streams upon deletion of a local destination 2014-09-24 17:51:21 -04:00
orignal
393d4bc231 create SAM session 2014-09-24 16:39:31 -04:00
orignal
17725acda2 assign GarlicRoutingSession to stream 2014-08-29 22:10:00 -04:00
orignal
b3e389a67c server tunnel parameters 2014-08-26 14:56:00 -04:00
orignal
7aacae30eb moved common code to LocalDestination 2014-08-25 22:47:12 -04:00
orignal
0e230fdd05 ECDSA for local destinations 2014-08-24 10:36:59 -04:00
orignal
e45ee83746 use Signer for local destination 2014-08-23 22:54:08 -04:00
orignal
009af2eeae create random keys for different signature type 2014-08-23 22:06:53 -04:00
orignal
a6c308f2f5 PrivateKeys with extended identity 2014-08-23 16:06:56 -04:00
orignal
2bc1ba1a9c extended identity for local destination 2014-08-22 23:02:48 -04:00
orignal
9b8460cffa verify streaming packet signature 2014-08-22 19:47:29 -04:00
orignal
6c510fadf4 server I2PTunnel 2014-08-20 15:03:10 -04:00
orignal
7e0a2ae5ab publish local LeaseSet 2014-08-20 11:12:53 -04:00
orignal
dda80703d2 use same outbound tunnel for streaming as long as possible 2014-08-17 14:42:49 -04:00
orignal
29243fcb47 notify inbound tunnels update 2014-08-15 19:21:30 -04:00
orignal
2b5382ce9b pass actual LeaseSet instead of I2NP message 2014-08-15 14:34:58 -04:00
orignal
b8b953a7db notify client if a stream got disconnected 2014-08-15 13:28:07 -04:00
orignal
049f022d3f pick another lease for resend 2014-08-14 21:38:46 -04:00
orignal
a405a3a89a fixed infinite loop 2014-08-13 21:27:12 -04:00
orignal
7002d263ab initial connect of I2PTunnel 2014-08-13 21:04:23 -04:00
orignal
377d390dff fixed crash 2014-08-12 18:42:53 -04:00
orignal
2e1a8552bf delete deprecated SendPacket 2014-08-12 16:52:04 -04:00
orignal
e09e3980c9 resend non-Acked packets together 2014-08-12 16:35:35 -04:00
orignal
053d1d22ac handle NACKs 2014-08-12 15:57:23 -04:00
orignal
921ba9a9d6 limit max number of resends 2014-08-11 19:32:07 -04:00
orignal
e866243097 send buffer offset 2014-08-11 18:33:01 -04:00
orignal
297afeb07b split stream to packets 2014-08-11 11:31:01 -04:00
orignal
f8ced20d1c acks and resends 2014-08-10 18:27:23 -04:00
orignal
49c57db6b7 compression threshold 2014-08-09 14:47:00 -04:00
orignal
20aa516121 fill option data for SYN packet 2014-08-07 22:03:25 -04:00
orignal
1e61cb04be reply SYN back 2014-08-06 22:08:57 -04:00
orignal
e0e27047f9 increase max packet size 2014-08-06 19:19:59 -04:00
orignal
1ea26a113a send FIN in streaming thread 2014-08-06 16:00:34 -04:00
orignal
15b4dfbecb don't futher process plain Ack 2014-08-06 15:44:00 -04:00
orignal
f811b19cf1 store and check remote Identity 2014-08-06 11:09:06 -04:00
orignal
57a94946d5 fixed bug with FIN message 2014-08-05 19:55:35 -04:00
orignal
462436acba handle options in proper sequence 2014-08-04 18:22:54 -04:00
orignal
4cb98757ce incoming connection to eepSite 2014-08-04 16:30:37 -04:00
orignal
ed0af7b937 incoming streams support 2014-08-01 14:54:14 -04:00
orignal
2f5967537a re-create local LeaseSet only if expired 2014-07-29 21:56:03 -04:00
orignal
2200133ce3 moved LeaseSet creation away from StreamingDestination 2014-07-29 14:56:36 -04:00
orignal
ee2297c851 create LeaseSet from local tunnel pool 2014-07-29 13:44:54 -04:00
orignal
8dc06ec391 load local destinations 2014-07-13 08:25:30 -04:00
orignal
e50454d92e multiple local destinations 2014-07-11 15:39:38 -04:00
orignal
30b25e9eeb always pick outbound tunnel before sending packet 2014-07-08 22:09:58 -04:00
orignal
ec21138bd2 specify number of hops for a tunnel pool 2014-06-25 19:28:33 -04:00
orignal
4f429b3e06 copy constructor for PrivateKeys 2014-05-03 15:29:00 -04:00
orignal
5e1f3a4939 rolled back 2014-04-23 15:09:01 -04:00
cpubug
087e61dbca fix crash 2014-04-23 22:47:17 +04:00
orignal
31295a663b common Send method 2014-04-18 19:27:39 -04:00
orignal
002b023b29 increment outgoing sequence number 2014-04-14 16:24:57 -04:00
orignal
e1027ffb7b replace ReceiveQueue to std::queue 2014-04-11 21:13:52 -04:00
orignal
3cf256b769 removed sync Receive operation 2014-04-10 15:34:51 -04:00
cpubug
b3ee41bd91 replace CalcuateIdentHash to identity.Hash to avoid duplication 2014-04-08 11:11:48 +04:00
orignal
c600be59b1 moved encryption keys from TunnelPool to StreamingDestination 2014-04-01 18:58:47 -04:00
orignal
81e06769dc pass LocalDestination by reference 2014-04-01 13:55:09 -04:00
orignal
5ed34cc52a fixed race condition 2014-03-30 09:02:43 -04:00
orignal
086b0d5418 switch to AsyncReceive 2014-03-29 08:11:00 -04:00
orignal
06b2500347 async receive 2014-03-26 15:06:27 -04:00
orignal
129052c330 send ack after last message only 2014-03-25 17:43:36 -04:00
orignal
1bbc12b36a AsyncReceive added 2014-03-25 14:26:39 -04:00
orignal
88214a0c58 send SYN in streaming thread 2014-03-24 19:27:20 -04:00
orignal
12d40e9023 handle streaming packet in streaming thread 2014-03-23 19:48:09 -04:00
orignal
4bd42625fd separate thread for streaming 2014-03-23 16:00:05 -04:00
orignal
74a7f8c869 pick random tunnel from LeaseSet 2014-03-23 09:25:16 -04:00
orignal
38cb57a4c4 request LeaseSet from 3 floodfills 2014-03-22 16:05:58 -04:00
orignal
ac48e3b355 renew LeaseSet's I2NP message ID and timestamp before sending 2014-03-20 12:48:03 -04:00
orignal
eeacc3e0f3 pass local LeaseSet as const 2014-03-20 12:13:06 -04:00
orignal
25f2f932b0 pass local LeaseSet as const 2014-03-20 09:47:02 -04:00
orignal
a34d1de10e use PrivateKeys for local destination 2014-03-19 22:03:50 -04:00
orignal
c855d8b413 load eepsite keys 2014-03-19 16:38:55 -04:00
orignal
4b90e8112e re-send loacl LeaseSet if updated 2014-03-17 22:55:02 -04:00
orignal
c9ba7da0b0 outbound tunnel pool 2014-03-16 16:03:20 -04:00
orignal
d7084e379f create LeaseSet encryption key per tunnel pool 2014-03-15 22:02:33 -04:00
orignal
3313a5af5c generate LeaseSet from tunnel pool 2014-03-15 09:16:55 -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
8d6c08ec78 use ElGamalEcryption for garlic encryption 2014-02-20 18:42:55 -05:00
orignal
f5fa953458 process b32 address with path 2014-02-17 17:47:21 -05:00
chertov
728c1a9226 fix LittleEndian, change endian.h version 2014-02-05 09:14:07 +04:00
orignal
e24795dd41 pick most recent tunnel from LeaseSet 2014-02-03 21:57:53 -05:00
chertov
dbd9c5c105 fix windows build, add windows GetDefaultDataDir, add files to project 2014-02-03 14:13:40 +04:00
orignal
04cf2031ef handle received packets in right order 2014-02-01 22:20:41 -05:00
orignal
c4065a702e extract streaming packet fields 2014-01-29 23:13:59 -05:00
orignal
27426a6023 save out-of-seq messages and process them later 2014-01-26 18:22:30 -05:00
orignal
c762e41b05 check received sequence number for gaps and duplicates 2014-01-19 12:01:12 -05:00
orignal
b437bd8cf4 recreate session tags 2014-01-18 10:34:57 -05:00
orignal
bc9b355d5d check garlic message payload hash 2014-01-16 08:08:28 -05:00
orignal
659177e2fd check expiration of lease 2014-01-14 20:57:33 -05:00
orignal
5856310cd6 multi-tunnels LeaseSet 2014-01-14 19:00:12 -05:00
orignal
dd679c261c set minimum comression level 2014-01-13 21:18:32 -05:00
orignal
9b92641112 request b32-coded I2P address from HTTP server 2014-01-12 21:41:25 -05:00
orignal
07eb5baac0 implemented connect and close 2014-01-12 15:57:10 -05:00
orignal
9363547205 send quick ack 2014-01-10 22:23:17 -05:00
orignal
41ef22cf09 stream recieve queue 2014-01-10 20:21:38 -05:00
orignal
991a80428d fixed few small issues 2014-01-09 22:26:30 -05:00
orignal
fcddf9843d fixed Linux build 2014-01-09 17:55:53 -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
57c97208f9 include DeliveryStatus to Garlic 2014-01-08 22:47:22 -05:00
orignal
cbe58c8bb1 fixed out of range bug 2014-01-06 20:56:44 -05:00
orignal
1130287d28 send streaming protocol data 2014-01-01 18:19:03 -05:00