Commit Graph

138 Commits

Author SHA1 Message Date
orignal
bf47df46c9 allow DNS names for SSU 2015-12-03 15:45:01 -05:00
orignal
0ef42870e5 try SSU if NTCP address is not presented 2015-12-02 12:48:10 -05:00
orignal
e194854c6d replace GetSession to CreateSession 2015-11-25 12:51:35 -05:00
orignal
62cf83921b cumulative update from bitbucket 2015-11-03 09:15:49 -05:00
orignal
654357f5ce copy shared_ptr 2015-07-02 13:43:03 -04:00
orignal
a05a20440e deleted deprecated SendMessage 2015-06-24 10:25:05 -04:00
orignal
4ed7e29896 use shared_ptr for I2NP messages through tunnels 2015-06-19 14:38:31 -04:00
orignal
25a163cdeb send I2NP messages as shared_ptr 2015-06-17 11:41:07 -04:00
orignal
3a63f6775a pass I2NP message to transport session as shared_ptr 2015-06-17 10:47:26 -04:00
orignal
e461982a31 support multiple transport sessions to the same peer 2015-06-09 11:00:37 -04:00
orignal
2442d0e910 moved UPnP instance to Transports. Use actual port from RouterContext 2015-05-06 12:19:20 -04:00
orignal
d2b4a6fd50 select first hop from existing connections if applicable 2015-05-05 10:33:19 -04:00
orignal
c56ddce2f6 some cleanup 2015-04-14 10:46:44 -04:00
orignal
5d2f9f9f0b fixed potential memory leak 2015-04-14 10:40:46 -04:00
orignal
b8acce115f repeat peer test if previous was not successive 2015-03-28 14:57:39 -04:00
orignal
47c3d5ed23 don't accept tunnels if bandwidth is exceeded 2015-03-18 13:07:11 -04:00
orignal
60351f2677 send exporatory message directly if connected to a floodfill 2015-03-17 20:56:51 -04:00
orignal
1e2f038ef5 proper badnwidth calculation 2015-03-17 19:04:58 -04:00
orignal
60c60b4db1 calculate bandwidth 2015-03-17 15:19:38 -04:00
orignal
028e3a6c35 show total send/received bytes 2015-03-16 19:33:59 -04:00
orignal
3977cec408 fixed crash at startup 2015-02-27 17:58:01 -05:00
orignal
582daffd7f select peer test capable routers 2015-02-26 14:17:16 -05:00
orignal
30715c2512 firewall detection 2015-02-26 13:44:18 -05:00
orignal
e901307d8d fixed crash 2015-02-15 10:23:06 -05:00
orignal
93857b690a fixed hand at shutdown 2015-02-11 22:48:26 -05:00
orignal
53adf7a793 cleanup dead peers 2015-02-11 14:45:25 -05:00
orignal
0ed9dc4e93 complete session if presented 2015-02-10 17:36:39 -05:00
orignal
9eba7923a7 use insert instead [] 2015-02-10 16:51:47 -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
0518b08ca6 drop second incoming connection with same identity 2015-02-06 16:03:47 -05:00
orignal
bd035e1c3d fixed build for boost below 1.49 2015-02-04 09:40:00 -05:00
orignal
d7c5c24ce4 pass ident hash by value to transports thread 2015-02-02 12:01:21 -05:00
orignal
ea353ac3ba send batch of I2NP messages 2015-01-20 21:05:57 -05:00
orignal
284fb5458e fixed resolve bug 2015-01-17 08:22:43 -05:00
orignal
bf7b53a2a6 resolve address for NTCP 2015-01-16 23:01:40 -05:00
orignal
f3fbf6bd89 address resolver for NTCP address 2015-01-16 15:25:44 -05:00
orignal
e898e6bf82 use RouterInfo request callback instead timeout 2015-01-14 16:37:03 -05:00
orignal
3481161616 send messages through Peer 2015-01-13 21:31:39 -05:00
orignal
d971dff593 introduced Peer 2015-01-12 22:53:35 -05:00
orignal
6683a9cf76 moved NTCP to separate thread 2015-01-11 17:41:56 -05:00
orignal
d8942a3359 use TransportSession for sending messages 2015-01-10 23:00:27 -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
95524c8db3 shared pointer for SSU 2014-11-24 12:26:11 -05:00
orignal
1c3f70056a use shared pointer of RI for transports 2014-11-21 12:34:17 -05:00
orignal
d8b9968aed use shared pointer for RI in requested destination 2014-11-21 11:37:17 -05:00
orignal
0f4e4a7944 return shared_ptr to RI 2014-11-20 16:20:02 -05:00
orignal
8403c17c59 incoming SSU V6 sessions 2014-10-29 15:02:48 -04:00
orignal
7900e9b126 accept v6 only for v6 acceptor 2014-10-27 20:36:03 -04:00
orignal
f2434d66fc incoming ipv6 connections 2014-10-27 15:08:50 -04:00
orignal
7fb7341502 support ipv6 for outgoing NTCP connections 2014-10-26 21:32:06 -04:00
orignal
c9abb62988 set unreachable trough NetDb 2014-10-24 15:39:53 -04:00
orignal
8d75d51803 don't specify RI for inbound NTCP connections 2014-10-24 13:36:55 -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
a8871d9f98 moved DHKeysPair to Transport 2014-10-20 15:19:56 -04:00
orignal
11402708da proper termination 2014-09-22 14:44:10 -04:00
orignal
81a7253e0f fixed crash on termination 2014-09-22 13:28:46 -04:00
orignal
7019b6d68f reuse DH keys pairs from failed NTCP sessions 2014-09-17 11:13:25 -04:00
orignal
9557adf8c2 hold I2NP message for 5 seconds if router is not in netDb 2014-08-28 21:34:23 -04:00
orignal
8801a144a0 close connection to first hop of declined tunnel 2014-07-18 20:32:45 -04:00
orignal
e0291bb815 fixed memory leak 2014-07-07 12:34:19 -04:00
orignal
12fbc9cb86 increased I2NP max message size to 32K and check if fragmented message exceeds it 2014-07-04 12:35:02 -04:00
orignal
2e0e6fc6c4 fixed memory leak 2014-07-03 10:33:23 -04:00
orignal
bf2e833f26 separate thread for SSU server 2014-04-19 20:45:41 -04:00
orignal
6d42cccadc extract SSU caps 2014-04-08 21:56:34 -04:00
orignal
3c6793745b don't delete initial SSU sessions 2014-04-07 20:34:22 -04:00
orignal
03a5059617 peer test 2014-04-07 19:28:06 -04:00
orignal
1862896532 request RouterInfo if outdated 2014-04-05 21:25:54 -04:00
orignal
ff9f14d7a6 if NTCP failed, try to send through SSU 2014-04-05 15:44:12 -04:00
orignal
93ff88bcb8 DH keys supplier 2014-04-04 16:29:40 -04:00
orignal
7bdf52a774 generate DH keys pair per NTCP session 2014-04-04 13:30:13 -04:00
orignal
3ae225fb41 use existing SSU session if available 2014-03-25 21:17:03 -04:00
orignal
6732ba21f9 inbound tunnel where an I2NP messages has been received from 2014-03-12 20:13:49 -04:00
orignal
adb6f284e8 enable SSU 2014-02-24 19:25:26 -05:00
orignal
10c7e05ff4 fixed crash 2014-02-16 08:57:50 -05:00
orignal
4862b594e8 use SSU if NTCP is not available 2014-02-10 19:27:55 -05:00
orignal
c266575528 eliminate unnecessary const_cast 2014-02-09 08:52:56 -05:00
orignal
ec5eafafeb external IP detection 2014-02-08 21:06:40 -05:00
orignal
3cf3e69aef SSU added 2014-01-23 16:10:33 -05:00
orignal
2d428fd090 use boost::asio::address for address 2014-01-21 16:07:16 -05:00
orignal
5b025909b6 request router if not found 2014-01-19 10:05:54 -05: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
885e996a8a Inroduced IdentHash 2013-11-29 07:52:09 -05:00
orignal
595c745c90 Transport thread added 2013-10-27 11:26:39 -04:00