Commit Graph

133 Commits

Author SHA1 Message Date
orignal
634976cdde pass LeaseSet to callback of RequestDestination 2015-04-07 12:02:25 -04:00
orignal
5f199432f0 proper size of remaining data 2015-03-27 16:31:53 -04:00
orignal
8b10fc497d pass correct datagram size 2015-03-27 16:09:43 -04:00
orignal
e80d09aa17 fixed typo 2015-03-27 15:50:24 -04:00
orignal
4c1e12921a restore imcomplete string back 2015-03-27 15:29:46 -04:00
orignal
1824a9a38e try to receive remanining message 2015-03-27 15:22:56 -04:00
orignal
3e59535a53 try to receive remanining message 2015-03-27 14:58:26 -04:00
orignal
8c174cd548 merge incomplete DATAGRAM SEND message 2015-03-27 14:36:54 -04:00
orignal
2a4d1c978e process multiple DATAGRAM SEND message 2015-03-27 14:02:27 -04:00
orignal
f07d29bc8a handle DATAGRAM SEND 2015-03-26 21:23:59 -04:00
orignal
39641f05b9 create datagram destination for DATAGRAM session 2015-03-26 11:15:29 -04:00
orignal
ca3b9f253d pass data for streams only 2015-03-25 22:23:41 -04:00
orignal
1a0abfbc06 create keys only by DEST GENERATE 2015-03-25 19:13:30 -04:00
orignal
d9218134e2 pass source and destination ports to datagram receiver 2015-03-03 15:31:49 -05:00
orignal
52f806ff94 use shared_ptr for ClientDestination 2015-02-24 15:40:50 -05:00
orignal
621bfde961 handle incoming connection failure 2015-02-22 17:04:42 -05:00
orignal
05e49bbeab show SAM sessions through web interface 2015-02-20 22:47:36 -05:00
orignal
2c2acae50d invoke acceptor on reset 2015-02-01 09:34:32 -05:00
orignal
ac438fbd7d use stream buffer for sending identity 2015-01-31 21:49:54 -05:00
orignal
974a7ff3f5 shared_ptr for RoutingDestination 2015-01-28 21:37:08 -05:00
orignal
d1d6797d3e store LeaseSet as shared_ptr 2015-01-27 11:27:58 -05:00
orignal
b8740c008b fixed crash 2015-01-25 10:05:19 -05:00
orignal
588c613043 naming lookup of .b32 address through LeaseSet request 2015-01-24 15:34:46 -05:00
orignal
350e942b6a fixed windows build 2014-12-30 10:30:45 -05:00
orignal
59aa40e2b0 wait until LeaseSet request complete instead timeout 2014-12-26 21:06:24 -05:00
orignal
bbe403fb40 main netdb can request router info only 2014-12-25 21:13:51 -05:00
orignal
3547a4042c request and handle LeaseSets through local destination only 2014-12-25 16:47:15 -05:00
orignal
84e5f30c70 delete local destination on session close 2014-12-18 18:48:36 -05:00
orignal
b007b66b15 store SAMSession by pointer 2014-12-17 19:02:16 -05:00
orignal
a44ca91409 terminate acceptor and sessions on stop 2014-12-17 15:21:50 -05:00
orignal
ec8e3574f9 delete local destination on session close 2014-12-16 21:26:29 -05:00
orignal
7da694825d fixed handshake 2014-12-16 19:04:13 -05:00
orignal
9606883b78 handle signature type for SAM 3.1 2014-12-16 16:23:42 -05:00
orignal
54cffb583f check max version 2014-12-16 15:54:02 -05:00
orignal
4e54fbec08 delete stream from inside 2014-12-01 21:26:51 -05:00
orignal
9acf80e563 from/to base64 2014-12-01 14:50:10 -05:00
orignal
32a767dc91 pass I2CP options to local destination. Process tunnel length 2014-11-30 10:51:22 -05:00
orignal
8350f16b20 store SAM destinations if address book 2014-11-28 15:08:23 -05:00
orignal
68c321609d naming lookup through addressbook 2014-11-26 16:51:36 -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
4dc33a6f45 fixed crash 2014-11-22 21:56:59 -05:00
orignal
81c63b0c30 shared pointers for SAM sockets 2014-11-22 16:35:58 -05:00
orignal
f28376bf71 DATAGRAM RECEIVED message 2014-10-31 16:44:44 -04:00
Meeh
af0bdc2a5e Merge branch 'master' of github-meeh420:PrivacySolutions/i2pd
Note; we use _MSC_VER instead of _WIN32 for MSVC spesific code.

* 'master' of github-meeh420:PrivacySolutions/i2pd: (35 commits)
  handle incoming datagramms
  send datagram through destination's thread
  incoming ipv6 connections
  support ipv6 for outgoing NTCP connections
  some cleanup
  Update Daemon.cpp
  Add Upstart job to debian packaging
  Implement reload in init script
  Rename init.d to i2pd.init
  Decouple logging and daemonization
  verify signature through remore identity
  moved remote RI and identity to TransportSession
  set unreachable trough NetDb
  moved AddressBook to ClientContext
  initialize router identity
  don't specify RI for inbound NTCP connections
  use remote router indentity
  take identity of local RI from private keys
  send datagram from SAM
  fixed windows build
  ...

Conflicts:
	SAM.cpp
2014-10-27 22:56:31 +01:00
Meeh
88fb8a217d Fix for build error in msvc12 2014-10-27 22:53:01 +01:00
orignal
af997473b2 moved AddressBook to ClientContext 2014-10-24 15:22:36 -04:00
orignal
47fb6f6e04 send datagram from SAM 2014-10-23 21:14:17 -04:00
orignal
336fa8eed7 fixed windows build 2014-10-23 19:04:46 -04:00
orignal
4ae8c3c62c create datagram destination through SAM 2014-10-22 16:42:26 -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
c8bca65b97 don't send session create reply until destination is ready 2014-10-16 16:36:12 -04:00
orignal
14f4bb8656 use local destination function through ClientContext 2014-10-16 10:28:44 -04:00
orignal
89e5b56a19 introduced ClientContext 2014-10-15 20:52:17 -04:00
orignal
18d6a2c70e create/delete stream per destination only 2014-10-15 18:24:40 -04:00
orignal
341e860caa fixed race condition 2014-10-15 17:45:30 -04:00
orignal
a0f43d9772 resuse instance of local destination upon restart 2014-10-13 11:21:57 -04:00
orignal
eff0e13f31 remote LeaseSets per local destination 2014-10-12 16:22:14 -04:00
orignal
a0a0234d29 fixed race condition 2014-10-09 21:40:45 -04:00
orignal
df518ac5fd find SAM session only once 2014-10-07 12:07:10 -04:00
orignal
0f3a68cd8e fixed race condition 2014-10-05 21:59:05 -04:00
orignal
78fc3876e6 pritnout incomign SAM connection 2014-10-05 16:19:25 -04:00
orignal
482fc0e8b1 split Streaming to stream and destination 2014-10-05 08:54:59 -04:00
orignal
9a617297f2 operation_aborted error code for stream 2014-10-03 22:46:20 -04:00
orignal
e954d06edf NAMING LOOKUP for .b32 addresses 2014-10-03 15:08:41 -04:00
orignal
39bd641b39 extract last parameter 2014-10-03 09:43:18 -04:00
orignal
6e905c8f5c handle NAMING LOOKUP 2014-10-02 21:40:15 -04:00
orignal
18f177ee19 handle NAMING LOOKUP 2014-10-02 16:55:01 -04:00
orignal
9b0e8f6a71 request destination LeaseSet and wait for 5 seconds if not found 2014-10-02 12:42:28 -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
ba96288438 handle DEST GENERATE 2014-09-30 11:08:38 -04:00
orignal
8feabe8a6e handle SILENT flag 2014-09-29 14:18:06 -04:00
orignal
f7325f6c4f parse SAM commands 2014-09-28 09:05:37 -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
959fda341a implementation of STREAM CONNECT 2014-09-25 13:58:09 -04:00
orignal
eb83b6e9a6 implementation of SESSION CREATE 2014-09-25 13:22:25 -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
2914bb67f1 handle through traffic 2014-09-24 14:59:03 -04:00
orignal
a7fa896b3e SAM added 2014-09-24 12:01:26 -04:00