233cce8311
remove _args field
2015-06-16 13:59:27 +00:00
b5455cee6e
SAM: Set keepalive on sockets (ticket #1573 )
...
Also on both sides of I2CP.
BOB already does it.
2015-05-12 20:13:17 +00:00
40130a8a61
SAM:
...
- Close sockets and stop tunnels when router-side SAM stops (ticket #1572 )
- Better checks for quoting status message strings (ticket #1488 )
- Set encoding for sam.keys file
- Don't throw NPE on rare stream errors
- Comment out unused dumpProperties()
- Cleanups, log tweaks, thread name tweaks
2015-05-12 19:07:42 +00:00
c1e70ac7d2
SAM: Close datagram or raw session when underlying
...
I2P session closes (ticket #1563 )
2015-05-07 16:04:08 +00:00
dcffde6eeb
Javadoc: missing package.html files in applications (ticket #1109 )
2015-03-22 18:37:40 +00:00
d4bbdc28f3
FloodfillMonitorJob: use the 60 min rate avg instead of lifetime avg, but fallback to the lifetime.
...
SAMStreamSend: fix tabbing from earlier commit.
2015-02-16 17:27:17 +00:00
9163d41228
* I2PSnark, Jetty, SAM, crypto: findbugs resource leaks.
2015-02-10 21:57:27 +00:00
3ef89f49e7
SAM: Fix v3 bug accepting incoming connections
...
It was starting both the v3 and v1 acceptors.
2014-11-22 17:19:40 +00:00
a50afeb5d5
SAM: Fix v3 LS publish, broken in -4 (ticket #1390 )
...
- code cleanup in direction handling
2014-09-30 12:17:56 +00:00
4b074b8dcf
I meant CREATE
...
SAM:
- Don't publish LS for DIRECTION=RECEIVE
- Set default tunnel name
2014-09-26 20:24:53 +00:00
328d7d0008
SAM:
...
- Don't spawn a thread for each transmitted datagram
- Set protocol field for raw and signed datagrams
- Enforce a 60s timeout for HELLO
- Use naming service cache to reduce Destination object churn
- Get Log object from the log manager
- Log spelling fixes
2014-07-22 14:52:08 +00:00
4b0019c732
* SAM: Add support for RAW on the bridge socket in v3 (ticket #1334 )
...
log fixes
2014-07-19 15:43:51 +00:00
fef591412e
SAM: Cherrypick from patch in ticket #1318 :
...
- Add SIGNATURE_TYPE support to GENERATE and CREATE
- Don't NPE checking dest+privkeys
- Simplify HELLO checking
- Don't require two params in HELLO message
- Make MIN parameter optional too
- Version checking fixes
- Bump version to 3.1, only visible if requested
- Cleanups, javadocs
2014-06-28 14:14:39 +00:00
3379432e5f
SAM: Cherrypick from patch in ticket #1318 :
...
- Check for extra bytes in private key string
- checkPrivateDestination() returns boolean instead of throws
2014-06-27 21:05:54 +00:00
bb9129b61b
SAM: Cherrypick from patch in ticket #1318 :
...
- Fix empty properties check
- Overrides
- Statics
2014-06-27 20:53:01 +00:00
0fc3029aaa
SAM:
...
Version handling (ticket #1318 )
- MAX param now optional
- 1-digit versions now accepted for MIN and MAX
- Use VersionComparator for version tests
- Don't require a minor version of 0
- Fix empty properties check
- Overrides
- Prep for version 3.1
Throw exception on null option key (ticket #1325 )
2014-06-27 20:36:34 +00:00
d8c8586ccf
SAM: No synch needed for finals;
...
Move fields to top
2014-06-27 16:53:05 +00:00
38a4728283
SAM: Use SAMHandler.writeString() where possible,
...
Use DataHelper.getASCII() for byte conversion
2014-06-27 16:46:57 +00:00
7888705b01
final
2014-06-27 16:31:24 +00:00
31938f49d6
SAM: Fix checkPrivateDestination() for key certs (ticket #1318 )
2014-06-27 16:19:07 +00:00
c95ed2ea96
SAM: Rename exceptions, make serialVersionUID private,
...
add new SAMException constructor
2014-06-27 16:15:22 +00:00
b5ed247a53
SAM: more Log conditionals, javadocs
2014-06-27 15:55:12 +00:00
22aff49747
SAM: Log conditionals, javadocs
2014-06-27 15:53:16 +00:00
e4430f05e4
2 more pkg private
2014-06-27 15:32:56 +00:00
1047691c64
SAM: Make all classes package private except the SAMBridge entry point
2014-06-27 15:26:44 +00:00
f3180b3f6f
SAM client logging cleanup
2014-06-27 15:14:21 +00:00
8480a204ea
* BOB, SAM, i2psnark: Fix datagram NPE (ticket #1275 )
...
This could only happen on an extremely overloaded router.
2014-05-13 18:45:54 +00:00
b84682fdc9
* findbugs: mostly stream closure fixes in router, apps, core
2014-04-21 10:54:52 +00:00
c73f0eeeb5
more Jetty classpath cleanup
2014-03-13 13:58:50 +00:00
3e639a319d
SAM:
...
- Classes static/private
- Fields private/final
- Remove unused fields
- Remove shadowing fields
- Remove dup method overrides
- Remove static Logs
- Remove unnecessary field initialization
- Atomics
- Findbugs
2014-03-13 12:22:04 +00:00
96b4c6b219
findbugs sam/bob
2014-03-12 12:27:23 +00:00
c679091afd
target build property
2014-02-21 13:59:27 +00:00
fe391ff29f
Convert all jars and wars to compile to 1.6 target,
...
except for the following which are used by android,
to maintain compatibility with very old phones, for now:
addressbook.war
BOB.jar
i2p.jar
i2ptunnel.jar
mstreaming.jar
router.jar
streaming.jar
2014-02-03 23:59:48 +00:00
efe3bd2c05
Use for each when Iterator not needed
2013-11-28 11:56:54 +00:00
e77409e57a
Close resources
2013-11-25 23:14:09 +00:00
f9f0e6d0a2
SAM: for each
2013-11-22 11:36:26 +00:00
5fa0376f58
SAM: type arguments, unused imports
2013-11-22 04:22:14 +00:00
57144f3e6a
Added Eclipse projects for SAM and streaming
2013-11-22 03:58:02 +00:00
5bcfe025d5
fix build
2013-11-20 15:40:21 +00:00
eabcc96a99
remove useless string
2013-11-20 14:52:44 +00:00
28b6675979
findbugs BOB/SAM. more to do.
2013-11-20 12:02:44 +00:00
9d52ef5fbe
Explicit check for empty values
2013-06-11 13:21:49 +00:00
5ea2832ae0
* AppManager: Register jetty, console, and SAM with manager
2013-04-19 11:41:35 +00:00
c61f2af8b3
* SAM: Implement ClientApp interface (ticket #347 )
2013-04-16 21:07:00 +00:00
832c0ff683
* SAM: Force i2cp.messageReliability=None (ticket #819 )
2013-01-12 18:13:59 +00:00
452d1d01b8
* SAM: Synchronize dissector
2013-01-02 13:21:45 +00:00
fb5d0cd760
Boolean.valueOf(x).booleanValue() -> Boolean.parseBoolean(x)
2012-09-28 17:50:41 +00:00
39d9d3f5b6
* SAM: Don't use direct byte buffers for streams (ticket #679 )
...
DatagramServer one stays as it is a singleton.
2012-08-09 15:12:17 +00:00
d8dd76c6e0
* SAM: Volatiles and finals
2012-08-08 17:01:59 +00:00
1ab8200c7f
* Clone System properties before iterating to avoid
...
ConcurrentModificationException (ticket #680 )
2012-08-06 14:45:37 +00:00