c9c29520b4
Consistently log authentication failures for all interfaces
2016-11-06 17:20:35 +00:00
08d1ea89bf
Build: Set Java 7 build target for all jars;
...
embedders (esp. Android) targetting 1.6 must
set javac.version=1.6 in override.properties and set
both bootclasspath variables.
2016-10-26 16:56:13 +00:00
534609e83a
unused import
2016-10-21 17:13:58 +00:00
cee3ebbb23
less wtf
2016-10-21 15:20:35 +00:00
f564d4dc22
Fixes for a bunch of old unused code to make it compile
2016-06-05 12:57:32 +00:00
efdb296468
SAM: Log tweaks (ticket #1778 )
2016-04-30 15:02:04 +00:00
7ae1483cb3
Fixes for building with libgetopt-java
2016-04-29 19:15:41 +00:00
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
071769679d
Javadoc fixes in imagegen, sam, crypto
...
package.html files for imagegen
2016-02-13 15:17:41 +00:00
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
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
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
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
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
ceb7791541
test tweaks
2016-02-06 15:08:23 +00:00
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
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
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
9b004bc61f
SAM v3.3 master sessions.
...
Compiles only. Untested, not regression tested, not complete.
2016-02-05 16:10:04 +00:00
ee1852f3a4
initialization cleanup and finals
2016-01-03 17:22:03 +00:00
a141d50902
Refactor Session classes out of SAMv3Handler to their own files
2016-01-03 16:56:44 +00:00
ab5d4b59fd
Cleanup to combine checking and removing a property
2016-01-03 15:48:43 +00:00
3dbc8408f1
propagate from branch 'i2p.i2p' (head 833ef88c125ba48423bc704701303ba55858336f)
...
to branch 'i2p.i2p.zzz.sam' (head 7814184e3e7cb4b819a0d7b4ceeda5befbe536c3)
2016-01-03 13:51:03 +00:00
08a9a01bfb
bump to 3.3
2016-01-03 13:50:37 +00:00
b6bd497e52
Replaces instances of getBytes() in apps classes
2015-12-20 02:11:42 +00:00
2c1b9c2d37
Javadoc fixes
...
Better OCMOSJ Javadocs
2015-12-12 14:31:52 +00:00
b53fe37a30
SAM:
...
- Don't map keys to upper case in parser, corrupts I2CP options
- Register SSL and UDP ports with PortMapper
2015-12-01 20:14:09 +00:00
f778c23f0b
SAM: Timeout for first command after HELLO
...
Better removal of command and opcode from properties
Send error message if no NAME key in LOOKUP
2015-11-30 21:57:55 +00:00
3c8cc16273
SAM: Use the Destination cache
...
Comment out some unused methods
SAM client: Add SSL forward support
Handle header line in forwarded stream
Name some threads, number some others
2015-11-30 20:20:55 +00:00
55f729986b
properly set protocol value
2015-11-29 16:23:22 +00:00
a5a702744f
Parser: Allow '=' in values
2015-11-28 23:21:20 +00:00
1db7613519
one more UTF8 fix
2015-11-28 22:51:00 +00:00
513e1b9ff8
SAM: Handle UTF-8 in ReadLine (ticket #1488 )
...
Allow forever timeout in ReadLine
Use ReadLine in v1 and v3 handlers
Fix send client closing too fast in v1 stream mode
UTF-8 test and fixes in clients
2015-11-28 21:25:44 +00:00
dffd441304
SAM: Allow backslash escapes in parser (tickets #1325 , #1488 )
...
remove unneeded escape char in other parsers
2015-11-28 18:53:40 +00:00
87fa1cb1ac
SAM: Fix parser to allow spaces in quoted values (tickets #1325 , #1488 )
...
Map keys to upper case
Catch some other parse errors
2015-11-28 18:28:15 +00:00
a03339b120
SAM:
...
- Use DataHelper to load/store sam.keys
- Move sam.keys file to config dir (ticket #677 )
2015-11-27 22:39:19 +00:00
9ce8fced02
propagate from branch 'i2p.i2p.zzz.sam' (head b328f0edb961263d7606ea964ecb3f7c319ca1cf)
...
to branch 'i2p.i2p' (head 7b4c0525be182722ef2cc7b564691f27d997da3b)
2015-11-27 20:58:18 +00:00
01d23713af
test javadoc
2015-11-27 20:49:34 +00:00
2849aec3c2
Add v3 FORWARD support to sink
2015-11-27 20:34:11 +00:00
cb979fb685
Allow multiple simultaneous ACCEPT sockets.
...
Add support for parallel accepts in sink client
2015-11-27 19:39:32 +00:00
bafec18093
stub out send-with-options
2015-11-27 18:51:59 +00:00
5adbf9050a
Forwarded raw datagrams will include a header line if HEADER=true
...
Add support for raw with headers to sink client
2015-11-27 18:23:06 +00:00
3a25a91c33
log tweak
2015-11-27 17:36:42 +00:00
0519ea476e
Add v3 datagram and raw to sink
2015-11-27 17:34:36 +00:00
48d7f4969c
Fix PROTOCOL parsing
...
Add PROTOCOL test for raw sessions to send client
2015-11-27 16:20:49 +00:00
9f625a03fb
Fix protocol for V3 datagram and raw sessions
...
Add V3 datagram and raw sessions to send client
minor cleanups
2015-11-27 15:59:42 +00:00
e77c5bd05c
add session options
2015-11-27 13:44:07 +00:00
31ace20256
auth and ssl support
2015-11-27 00:46:45 +00:00
4291450f37
make method private
...
fix timeout message
add client sink pinger
2015-11-26 23:30:18 +00:00
6373c8a9ed
v1 datagram and raw support for sink
2015-11-26 21:39:18 +00:00