ffc4520382
Transport: Remove mtn port from invalid list
2022-06-10 16:03:48 -04:00
386b259666
SSU: Reduce level of SSU 1 relay logging
...
to make it easier to debug SSU2 relay
2022-06-10 15:09:23 -04:00
ee5e3a97ed
Merge branch 'master' of i2pgit.org:i2p-hackers/i2p.i2p
2022-06-10 13:39:54 -04:00
a70c988a07
Automatically configure clients and client tunnels to listen on the container network address instead of the localhost. Closes #358
2022-06-10 13:39:27 -04:00
788babeaa0
SSU2: Relay WIP part 11
...
prevent dup SSU2 introducers take 2
2022-06-10 13:29:42 -04:00
3befe90007
i2ptunnel: Add tunnel name to offline expiration log messages
2022-06-10 09:53:55 -04:00
bfdf75f45b
SSU2: Fix test/relay response code for banned IP
2022-06-10 09:08:08 -04:00
9de618d644
SSU2: Catch errors on bad ack blocks
...
so rest of payload can be processed
Improve debug output on errors
2022-06-10 07:50:43 -04:00
cdf778514c
SSU2: Don't attempt SSU1 fallback validation on a SSU2 peer
...
This should actually fix the HMAC NPE
2022-06-10 07:35:53 -04:00
03f315fc1c
SSU2: Relay WIP part 10
...
Fix OES2 initial state when pending intro
Handle relay response as Alice
Check relay request and relay response sigs as Bob
Remove unused method OES2.reset()
Fix javadoc for one OES state
2022-06-10 07:32:54 -04:00
379227592c
hosts.txt update
2022-06-09 15:08:01 -04:00
3d9ded4ab1
SSU2: Relay WIP part 9
...
Alice side:
check for valid v2 introducers,
fetch Bob RIs if not found,
connect if not connected,
then send relay request
2022-06-09 12:24:29 -04:00
29c827c076
SSU2: Ignore dup session confirmed
2022-06-09 11:54:52 -04:00
5582814d7c
Noise: Add state info to debug output
2022-06-09 09:49:06 -04:00
43a5998cfd
SSU2: Set timer to remove peer test state
...
Reduce SSU 1/2 max test time as Bob
2022-06-08 11:31:42 -04:00
d1633938db
NetDb: Bypass checks on lookups of our router hash
2022-06-08 11:04:33 -04:00
5129665256
SSU: Request RI from introducer if we don't have it
2022-06-08 10:58:16 -04:00
0d51b2d25f
Transport: Don't requeue message after multiple failures
...
Change failed transports from a Set to a List for efficiency
Check fail count before getting bids
Don't remove from netdb after a failure
Other minor tweaks
2022-06-07 14:22:27 -04:00
ba7b154a09
SSU: Ban IP on bad handshake signature
2022-06-07 14:15:00 -04:00
52bb2aea94
SSU2: Peer test fixes
...
per spec, Alice hash not included in msg 1/2 sig
Add sig checks of msgs 1/3 at Bob
Fix checking of 'B' cap in peer selection
2022-06-07 14:08:53 -04:00
265804a750
Console: Add deadlock detector
2022-06-06 17:01:15 -04:00
74795a83d6
SSU2: Relay WIP part 8
...
prevent dup SSU2 introducers
2022-06-06 16:25:30 -04:00
0fe437f649
SSU2: Check for missing address block in peer test msg 7
2022-06-06 16:24:19 -04:00
a2ec81eaec
Util: Cache new SSU2 properties
2022-06-06 16:21:44 -04:00
df4be26878
SSU: Don't allow android to be introducers
2022-06-06 16:20:44 -04:00
06456fb318
SSU2: Peer test fix message 7
...
Put source address of msg 6 into address block for msg 7
Use msg 7 address block for received address
2022-06-06 11:41:31 -04:00
d9c932ac2e
Compile fix previous checkin
2022-06-06 11:40:24 -04:00
d680cfd80c
SSU2: Relay WIP part 7
...
Add SSU2 parameter support to UDPAddress
Count SSU2 introducers in UDPAddress
Fix reuse of SSU2 introducers
Don't immediately remove introducer for idle time
2022-06-06 11:07:45 -04:00
4a9f8240db
SSU2: Relay WIP part 6
...
Fix saving relay tag as Bob
Select introducers by newest connection instead of random
Ping introducers more often
Check and set ping time when pinging introducers
Remove unused nextCipherKey
Debug: Prefer selecting SSU2 introducers
Log tweaks
2022-06-05 11:21:04 -04:00
266dc09384
Transports: Periodically send RI to connected peers (Gitlab ticket #356 )
2022-06-03 08:15:01 -04:00
4dd5e7737b
SSU: Make cipher/MAC keys final
...
Possible fix for HMAC NPE
2022-06-03 08:07:29 -04:00
af6722c57b
SSU2: Relay WIP part 5
...
Publish SSU2 introducers
2022-06-02 11:39:30 -04:00
2ff0a13990
SSU2: Relay WIP part 4
...
Decrypt and handle hole punch as alice
2022-06-02 10:14:37 -04:00
cfdc2203fb
SSU2: Relay WIP part 3
...
Put alice hash in relay intro as Bob
Fix relay intro/response generation and signing
Add token to relay response as Charlie
Store relay nonce as Bob
Handle relay response as Bob and forward to Alice
Stub out handling relay response as Alice
2022-06-02 08:43:50 -04:00
2c53424210
SSU2: Relay WIP part 2
...
Handle relay request as bob
Send relay intro as bob
Send relay response rejection as bob
Check for valid time in relay request and relay intro
2022-06-01 13:59:15 -04:00
8b0edde290
SSU2: Relay WIP part 1
...
Pass relay data from PS2 to Intro manager
Handle relay intro as charlie
Send hole punch as charlie
Send relay response as charlie
Update hole punch format to match spec
2022-06-01 13:12:35 -04:00
a4d3bf285d
SSU2: Enable peer test
2022-06-01 09:01:50 -04:00
3acc4b754a
SSLEepGet: Send Host header to HTTPS proxy
...
ref: RFC 2617 sec. 5.2
2022-05-30 10:39:38 -04:00
ef08dfad55
SSU2: Remove role field from peer test block
...
to match spec change
2022-05-29 10:18:19 -04:00
b9099fbd99
i2psnark: Fix scrollbar hiding X box on Firefox 100
2022-05-28 15:54:02 -04:00
c9a6950550
Crypto: Handle conversion from Java JCA 15+ EdEC keys
...
Change from unchecked to checked exception on unknown keys
2022-05-28 15:14:29 -04:00
80f76e38b4
i2psnark: Fix DHT not restarting after router restart
...
cancel DHT cleaner and explorer on stop
2022-05-28 13:00:32 -04:00
7ea3c430aa
Util: FileLogWriter minor optimization
2022-05-28 12:32:39 -04:00
d467dc28b9
I2CP: Only send one notification to each session listener
...
for reportAbuse(), disconnected(), and errorOccurred(),
because a single listener may be registered for multiple ports/protocols
2022-05-28 12:02:52 -04:00
8ac78af293
Console: Require full restart on transport enable/disable
...
Don't do soft restart if full restart required
2022-05-28 11:58:02 -04:00
e44eeaf5ae
Router: Don't fail to start up on unchecked family key errors
2022-05-28 10:53:25 -04:00
17cc514bb1
Console: Add TODOs for country variants of readme files
...
Clean up language selection code in ResourceHelper
2022-05-27 11:59:49 -04:00
86996dde28
UPnP: Don't bind HTTP listen sockets to all addresses at startup
...
The lib was binding to all addresses, and then our
UPnP.updateInterfaces() was closing most of them on first run.
Fix the lib to only bind to the non-public and non-deprecated ones,
using the same getLocalAddresses() method as in our code.
2022-05-27 11:18:48 -04:00
34789fdb30
Streaming: Improve error message on unsupported sig type
...
Fallback to Ed25519 on error
2022-05-27 09:29:49 -04:00
a74f36358f
i2psnark standalone: Skip browser launch if so configured
2022-05-26 12:29:35 -04:00