Commit Graph
221 Commits
Author SHA1 Message Date
zzz b98b86bb6a Javadoc: More 0.9.61 2023-12-14 12:03:07 -05:00
eyedeekay ae1c939403 SAM/I2Ptunnel/I2PSnark: update Javadocs to reflect @since 0.9.61 2023-12-12 18:11:44 -05:00
zzz 6044d5425c SAM: Reset incoming socket if no subsession is matched (GItlab #456) 2023-10-21 08:42:50 -04:00
zzz 0ba97ed4cd SAM: Accept fixes (Gitlab #399) 2023-09-29 09:57:12 +00:00
zzz 841e277180 SAM: Abort tunnel build if control socket closes
Command error handling and message improvements
Implement simple HELP command
bump -1
2023-01-12 13:35:05 -05:00
zzz 6b2bbda02a SAM: Make enough space for dests with certs without realloc 2022-11-23 12:08:11 -05:00
zzz 114694434c SAM: Change default nickname for primary sessions 2022-11-12 17:00:11 -05:00
zzz 7b75ee5a0a SAM: Add warning at startup if not bound to localhost 2022-11-09 10:45:53 -05:00
idk ce0c84c5d9 make SAMException class public so that it can easily be used by SAM implementers/embedders. Looks like it should have been public, all the constructors are public but the public keyword is missing on the class itself. Make tabs and spacing consistent in that file. 2022-05-19 14:37:17 -04:00
idk 47e02f7930 Interactive SAM Authentication Interface 2022-05-07 16:36:38 +00:00
zzz 7ad7846f86 SAM: Remove subsessions when primary session closes 2021-04-03 15:25:20 -04:00
zzz 838295c014 SAM: Improve checks for unset tunnel nickname 2021-03-20 12:12:21 -04:00
idk fdb4ec7d7c Switch from 'host name' to 'hostname' 2021-02-01 23:12:49 -05:00
zzz d387448794 ;; -> ; 2020-10-17 14:41:13 +00:00
zzz 7dd7f021b0 Susimail, SAM: More defensive ByteBuffer casting to avoid runtime issues (ticket #2775) 2020-09-22 14:39:32 +00:00
zzz 075ac7ab43 SAM: Rename 3.3 control session 2020-07-09 17:05:06 +00:00
zzz d3170de74a SAM prep for b33 2019-03-31 12:20:13 +00:00
zzz d6a53cc3a6 Data: Consolidate offline key check
i2ptunnel: Prevent registration auth if key offline
2019-03-09 11:47:03 +00:00
zzz 3ba0fcf6da SAM: Support offline keys 2019-02-07 20:27:42 +00:00
zzz 7c5162e155 I2CP: Move the port 7654 definition 2018-12-03 16:17:30 +00:00
zzz 5e7a277e98 I2CP: Consolidate all the port 7654 definitions 2018-12-03 15:22:36 +00:00
zzz 1f92232253 Findbugs all over 2018-08-26 13:50:40 +00:00
zzz 3bc9053a86 KeyStore: Log expiration of self-signed certs 2018-03-04 12:14:05 +00:00
zzz ad4eef9757 i2ptunnel, I2CP, SAM: Change selfsigned cert cname to localhost (ticket #2160) 2018-02-19 22:14:50 +00:00
str4d a67ea4b2f2 Cleanups: Close resources via try-finally
We can't use try-with-resources until we bump the minimum-supported Android
version for the client library to API 19.
2017-12-09 01:02:17 +00:00
str4d ff911e37c4 Deduplicate the default Java Keystore password 2017-12-07 14:31:28 +00:00
zzz 3d385228f0 findbugs all over 2017-08-09 21:24:02 +00:00
zzz e7cfb2d6fe Streaming: Add reset() to I2PSocket API
i2ptunnel: Reset I2P socket on TCP socket errors, in standard servers
that don't have protocol responses
SAM: Reset I2P socket on handler errors
2017-03-13 14:09:27 +00:00
zzz 78da3b9785 javadoc fixes part 15 (ticket #1894) 2017-01-27 16:00:58 +00:00
zzz e0e06d73eb javadoc fixes part 14 (ticket #1894) 2017-01-27 03:14:34 +00:00
zzz 5be077e25d Clean up single char indexOf() 2016-12-02 18:52:37 +00:00
zzz c9c29520b4 Consistently log authentication failures for all interfaces 2016-11-06 17:20:35 +00:00
zzz 534609e83a unused import 2016-10-21 17:13:58 +00:00
zzz efdb296468 SAM: Log tweaks (ticket #1778) 2016-04-30 15:02:04 +00:00
zzz 455f32faa7 SAM: Don't log an error on datagram send success!
set i2cp.fastReceive=true
log tweaks
2016-02-17 14:11:18 +00:00
zzz 071769679d Javadoc fixes in imagegen, sam, crypto
package.html files for imagegen
2016-02-13 15:17:41 +00:00
zzz 55addfc739 Fix bug receiving datagrams on v3 sessions with UTF-8 IDs
Add test for tag options
2016-02-08 17:30:01 +00:00
zzz 8f667a0463 Use I2CP option names, not SAM option names, for setting tag options in SESSION CREATE/ADD 2016-02-07 20:53:09 +00:00
zzz d962be9d7e SAM v3.3:
- More master session option checks
- Add support for SEND_TAGS, TAG_THRESHOLD, EXPIRES, and SEND_LEASESET
  (untested)
- Consolidate dup code in SAMv1Handler
- Change Session to extend SAMMessageSess
- Pass options down to v1 handlers in case we need it later
2016-02-07 18:45:26 +00:00
zzz b6deae9b23 SAM v3.3: Tests and fixes for REMOVE; don't close underlying I2PSession
- Don't remove a non-subsession with REMOVE
2016-02-06 17:51:23 +00:00
zzz edde533e1b SAM v3.3: Fixes after testing
- More error checking
- Better error responses
- Fix listen port and protocol for DATAGRAM and RAW
- Fix adding sessions with duplicate dests to DB
- Add more sessions in SAMStreamSink
2016-02-06 16:56:37 +00:00
zzz ceb7791541 test tweaks 2016-02-06 15:08:23 +00:00
zzz 68c617950c SAM v3.3: Fixes after testing
- Fix master acceptor
- Clean up error message generation
- Add basic master session test for SAMStreamSink
2016-02-06 13:44:08 +00:00
zzz 62ad7996f1 SAM v3.3: Fixes after testing
- Set Master properties in handler, not in session, so they take
- Create subhandlers for the subsessions
- Create socket manager with preferred createDisconectedManager()
  so we get exceptions
- Fix check for master session
- Enhance error messages
- Add basic master session test for SAMStreamSend
- Add check for DESTINATION in SESSION ADD
- Don't return DESTINATION in an I2P_ERROR response
Next to do: master support in SAMStreamSink
2016-02-06 00:21:37 +00:00
zzz 270bc24b62 SAM: Add start() to session interface,
don't start threads in constructors.
Start master acceptor thread.
Javadocs, SAMv2StreamSession cleanup
2016-02-05 18:44:35 +00:00
zzz 9b004bc61f SAM v3.3 master sessions.
Compiles only. Untested, not regression tested, not complete.
2016-02-05 16:10:04 +00:00
zzz ee1852f3a4 initialization cleanup and finals 2016-01-03 17:22:03 +00:00
zzz a141d50902 Refactor Session classes out of SAMv3Handler to their own files 2016-01-03 16:56:44 +00:00
zzz ab5d4b59fd Cleanup to combine checking and removing a property 2016-01-03 15:48:43 +00:00
zzz 3dbc8408f1 propagate from branch 'i2p.i2p' (head 833ef88c125ba48423bc704701303ba55858336f)
to branch 'i2p.i2p.zzz.sam' (head 7814184e3e7cb4b819a0d7b4ceeda5befbe536c3)
2016-01-03 13:51:03 +00:00