Commit Graph

161 Commits (d75f15104ea43fd28aad98f89978562be31edc01)

Author SHA1 Message Date
orignal 016222463d don't run peer test for SSU2 through proxy 2 years ago
orignal 2a703e0844 SSU2 through a socks5 proxy 2 years ago
R4SAS 1d9d89b115
[transports] get addresses on interfaeces before initializing RouterContext
Signed-off-by: R4SAS <r4sas@i2pmail.org>
2 years ago
R4SAS 96c4463d39
clean code
Signed-off-by: R4SAS <r4sas@i2pmail.org>
2 years ago
orignal 549dcbee32 don't set port=1 2 years ago
orignal 0a0c2350f2 random seelection between NTCP2 and SSU2 priority 2 years ago
orignal cef2263a7f Transports priority for peer 2 years ago
orignal 638c376e5b enable SSU2 and disable SSU by default 2 years ago
orignal 8eade86624 moved InitTransports code from Daemon to Transports 2 years ago
orignal f378119889 5 SSU2 peer tests if no SSU 2 years ago
R4SAS 991e37d0bf
[peertest] fixed ssu2 router exclusion
Signed-off-by: R4SAS <r4sas@i2pmail.org>
2 years ago
orignal 8feac310af start initial peer test if SSU2 only 2 years ago
orignal 83f43ab166 pick 3 routers for SSU2 peer test 2 years ago
orignal a2f4e08b00 set testing status for SSU2 peer test 2 years ago
orignal 3ed625f949 don't try SSU peer test if SSU is disabled 2 years ago
orignal a1e414c3b7 make SSU2 server eligible for peer test 2 years ago
orignal 28db337166 give priority to SSU2 over SSU 2 years ago
orignal c348736058 send updated local RouterInfo for long sessions 2 years ago
orignal 2cc106b43e bind SSU2 socket to specified interface 2 years ago
orignal 593b9bb6c5 start SSU2 server before peer test 2 years ago
orignal 87a434c377 start peer test for SSU2 2 years ago
R4SAS 6b4ffcff5a cleanup code (spaces, tabs)
Signed-off-by: R4SAS <r4sas@i2pmail.org>
2 years ago
orignal e970deb92b check presense of introducers in SSU2 address 2 years ago
orignal ee1c4f4fdc internal numeric id for families 3 years ago
orignal 3c5c375f71 connect to SSU2 address 3 years ago
orignal 21c1ec9c8c enable SSU2 server 3 years ago
orignal 68d015763e recognize SSU2 addresses 3 years ago
orignal 7bdeaa9611 don't pick own router for peer test 3 years ago
R4SAS edc0162163
clean line trailing spaces and tabs
Signed-off-by: R4SAS <r4sas@i2pmail.org>
3 years ago
R4SAS 94661f697b
[log] update log messages (closes #1693)
Signed-off-by: R4SAS <r4sas@i2pmail.org>
3 years ago
orignal d310efcb5c pass I2NPMessage by move 3 years ago
orignal fed04c1a19 requsted router to send to if not in netdb 3 years ago
orignal 2185019b59 check if router is reachable by transport before obtaining address 3 years ago
orignal 08a82a0bcd don't try to connect to a router not reachable from us 3 years ago
orignal 1285e30b3e more pre-calculated x25519 3 years ago
orignal 5ad4c2a65e run ipv6 peer test again if still testing 3 years ago
orignal d5b61ed544 select different routers for peer test 3 years ago
orignal 2cc9791bf2 exclude already expired introducers 4 years ago
orignal 3695aa924b doesn't send peer test to a reserved address 4 years ago
orignal 9e050d1a23 peer test for ipv6 4 years ago
orignal 1d5d06f731 find actual router for peer 4 years ago
orignal 880d1a7ccd NTCP2 proxy with authorization 4 years ago
orignal 744b25190a don't set proxy if ntcp2 is disabled 4 years ago
orignal f38920c338 Status: Proxy 4 years ago
orignal 8f90b21a5d fixed typo 4 years ago
orignal f70ee480ba check connectivity between peers for tunnel 4 years ago
orignal bef9a54f4a bind SSU socket to specified address 4 years ago
orignal 288b19c3f7 bind NTCP2 ipv4 acceptor to specified local address 4 years ago
orignal fab53dda66 fixed typo 4 years ago
orignal a4e8bf9857 bind NTCP2 connections to specified address 4 years ago
orignal fbe83f729d don't try to send to unreachable router 4 years ago
orignal 1d7639b3f4 caps per address 4 years ago
orignal b1fcd4d27b show actual IP addresses for proxy connections 4 years ago
orignal dc64d1738a try both ipv4 and ipv6 SSU addresses if presented 4 years ago
orignal 89e8d99294 check availability of particular address 4 years ago
orignal 33b82b5669 check transport compatibility with peer before connecting 4 years ago
orignal aad2d68edb NTCP2 transports through the Yggdrasil 4 years ago
orignal 2d998aba43 fixed typo 4 years ago
orignal 2e0019c8c8 check if NTCP2 address is valid before connection attempt 4 years ago
orignal e0cec79ad6 try both ipv4 and ipv6 NTCP2 addresses if presented 4 years ago
orignal 1235d18d67 pass address to NTCP2 session 4 years ago
R4SAS 3100d4f902 move thread naming to util
Signed-off-by: R4SAS <r4sas@i2pmail.org>
4 years ago
R4SAS 36473e3889 add naming to threads
Signed-off-by: R4SAS <r4sas@i2pmail.org>
4 years ago
orignal 417b5ed6cc handle SSU v4 and v6 messages in one thread 4 years ago
orignal acc5592f59 create DH keys for SSU session directly 4 years ago
R4SAS 18bb4a71c2
fix incorrect chars in variable
Signed-off-by: R4SAS <r4sas@i2pmail.org>
4 years ago
R4SAS 85e9da82b0 [transports] validate IP when trying connect to remote peer for being in reserved IP range
Signed-off-by: R4SAS <r4sas@i2pmail.org>
4 years ago
orignal ffa0f0afd9 check network status 4 years ago
orignal faae2709d9 removed NTCP 4 years ago
orignal a8d23b5439 disable NTCP for good 4 years ago
orignal 1f31fdc257 pre-calculate ephemeral keys for x25519 4 years ago
orignal 61e9c31f0d don't hold RouterInfo after successive connect 4 years ago
orignal a0b35ebd3e mark NTCP2 unreachable routers 4 years ago
orignal 1975adc48f print remote peer for queues 4 years ago
R4SAS 8bae4975fb add copyright headers
Signed-off-by: R4SAS <r4sas@i2pmail.org>
4 years ago
R4SAS 7a5146ea74 fix code syle(spaces->tabs, tabulations)
Signed-off-by: R4SAS <r4sas@i2pmail.org>
4 years ago
R4SAS 1aa0da3382 [NTCP2] fix socks proxy support
Signed-off-by: R4SAS <r4sas@i2pmail.org>
4 years ago
R4SAS b6b25dc9f3 update log messages
Signed-off-by: R4SAS <r4sas@i2pmail.org>
5 years ago
R4SAS 2f56547d5f
Merge pull request #1477 from PurpleI2P/drop-websockets
drop websockets support
5 years ago
orignal e969d58689 handle ntcp2.proxy parameter 5 years ago
unlnown542a 4f0da87a7a add ntcp2proxy support 5 years ago
R4SAS 00db527377
drop websockets support
Signed-off-by: R4SAS <r4sas@i2pmail.org>
5 years ago
orignal 651240113c mark RI as unreachable if all connections failed 5 years ago
orignal 77189bf8e9 start over if an active session got disconnected 5 years ago
orignal 60fd3a4542 fixed #1434 use memset inster bzero 5 years ago
orignal c66f9c8d6d reset connection attempts before reconnect 5 years ago
orignal 03a861745b removed CloseSession 5 years ago
orignal 13732ac333 fix #1363 try connect in SSU's thread 5 years ago
orignal 354c9187db detect our ipv6 address 5 years ago
orignal 846eac29dc filter out unspecified addresses. Check floodfill status change 6 years ago
orignal 979ea9c252 removed address resolvers as discontinued 6 years ago
R4SAS 79c0c11e80 configure persist of peer profiles
* If persist.profiles = false, peer profiles not stored on disk
* remove inet_pton for windows
* update configs
6 years ago
orignal 0e9074aaba reduce start and stop time 6 years ago
orignal 86782aeb1b don't send RouterInfo twice 6 years ago
orignal f407022fe6 connect to NTCP2 address if presented 6 years ago
orignal 5001592fb4 replace ntcp2 by ntcp2.enabled 6 years ago
orignal e0790700cd don't connect to unpublished NTCP2 addresses 6 years ago
orignal 5575b981c8 enable NTCP2 as transport 6 years ago
Jeff Becker b469080cd7
make ntcp worker threads configurable in number 7 years ago
yangfl 50ba52756f fix mixing tabs and spaces 7 years ago