Commit graph

122 commits

Author SHA1 Message Date
Jeff Becker 7018c381ee
Merge remote-tracking branch 'purple/openssl' 2016-08-24 11:42:35 -04:00
orignal b02677ee21 common termination timer for all SSU sessions 2016-08-24 11:21:49 -04:00
orignal 3d066ea1b8 common termination timer for all NTCP sessions 2016-08-17 10:58:57 -04:00
Jeff Becker 56254e728c
Merge tag 'tags/2.9.0' 2016-08-12 13:25:25 -04:00
brain5lug 8b53ded53a copy elimination for ranges #part2 2016-08-08 00:52:48 +03:00
Jeff Becker 03927b0a68
Merge branch 'upstream-openssl' 2016-08-06 20:27:57 -04:00
orignal 94b3bb2391 adjust termination timeout 2016-08-04 10:26:50 -04:00
Jeff Becker c8f5fb4d03
close duplicate ntcp sessions 2016-08-03 10:40:30 -04:00
Jeff Becker eaac21cda1
* check router info addresses for nullptr
* Request LS before expiration for smoother handover
2016-07-22 09:56:17 -04:00
orignal c664be52d7 limit outgoing queue size 2016-07-12 16:26:36 -04:00
Jeff Becker 50756eb94a
Merge branch 'restricted_routes' into meshnet 2016-06-28 13:28:57 -04:00
hagen 6350f5e6e8 * Base.cpp : extract gzip classes to separate file 2016-06-28 01:45:07 +00:00
hagen 646778227a * tune log messages 2016-06-27 13:11:10 +00:00
Jeff Becker fa68e392c8
don't abort when ntcp fails to bind 2016-06-13 11:34:44 -04:00
orignal 3907b4101a include openssl through OPENSSL macro 2016-05-11 15:12:38 -04:00
orignal 996f61efe1 use shared_ptr for Address 2016-03-21 13:02:51 -04:00
orignal 3dbab68f17 don't send own RouterInfo twice 2016-03-18 22:53:03 -04:00
orignal a5576ddbf3 don't acquire DH keys pair until connection is established 2016-03-06 09:57:38 -05:00
hagen 8949ebf041 * tune logging 2016-02-11 13:00:56 +00:00
hagen d51bf735c4 * fix mistype 2016-02-10 10:37:30 +00:00
Jeff Becker bf38bd5a1d
* Fill padding with random in NTCP phase3
* Fill padding with random in NTCPSession::CreateMsgBuffer

* Silence unused variable warnings in NTCPSession.cpp
2016-02-05 10:40:23 -05:00
orignal c053bebccd reduced numeber of error messages 2016-01-27 21:54:42 -05:00
orignal cfd7f1571b check clock skew 2016-01-26 19:02:06 -05:00
orignal 9611f80a39 check I2NP messages fro expiration 2016-01-18 21:13:43 -05:00
orignal 8d4fae24ea fixed misalignment 2016-01-11 19:03:04 -05:00
orignal 2ba314d9d9 count checksum and padding for buffer size 2016-01-01 15:41:18 -05:00
hagen c3958bf042 * sane log messages: NTCPSession.cpp 2015-12-21 03:00:11 +00:00
orignal d01d033209 eliminate session creation collision 2015-11-25 11:51:35 -05:00
orignal 06c4aca490 always use shared_ptr for I2NPMessage 2015-11-24 13:09:12 -05:00
orignal 62cf83921b cumulative update from bitbucket 2015-11-03 09:15:49 -05:00
orignal e03f1597a0 don't send DatabaseStore until time sync complete 2015-07-03 21:50:26 -04:00
orignal 0c8fb376db some cleanup 2015-07-03 10:11:55 -04:00
orignal 9c9401ce2f use shared_ptr for all incoming I2NP messages 2015-06-21 15:08:22 -04:00
orignal 3a63f6775a pass I2NP message to transport session as shared_ptr 2015-06-17 10:47:26 -04:00
orignal b48682012d verify adler checksum 2015-06-14 10:37:15 -04:00
orignal 028e3a6c35 show total send/received bytes 2015-03-16 19:33:59 -04:00
orignal a72d7652af moved num sent/received bytes to TransportSession 2015-03-16 18:57:22 -04:00
orignal ad649aba48 reduce memory usage 2015-03-12 22:38:22 -04:00
orignal 57d4ccfdfd reduced memory usage 2015-03-12 11:43:36 -04:00
orignal 10b733d215 don't throw exception 2015-02-14 17:20:21 -05:00
orignal 3263f6fefc ban abusing ipv6 addresses 2015-02-10 15:54:07 -05:00
orignal 52f9d5f0aa ban abusing IPs 2015-02-10 13:05:08 -05:00
orignal 6783b22ad0 terminate non-responding NTCP sessions by timeout 2015-02-10 10:54:04 -05:00
orignal 923b64eb48 delete messages sent to disconnected session 2015-02-09 16:33:52 -05:00
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