Changeset 04e6beb
- Timestamp:
- Jul 30, 2013 10:05:46 PM (8 years ago)
- Branches:
- master
- Children:
- 5941a52
- Parents:
- 1284c7a
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
core/java/src/net/i2p/crypto/SU3File.java
r1284c7a r04e6beb 359 359 360 360 private static final void showUsageCLI() { 361 System.err.println("Usage: SU3File showversion signedFile ");362 System.err.println(" SU3File sign inputFile signedFile privateKeyFile version signerName");363 System.err.println(" SU3File verifysig signedFile ");361 System.err.println("Usage: SU3File showversion signedFile.su3"); 362 System.err.println(" SU3File sign inputFile.zip signedFile.su3 privateKeyFile version signerName@mail.i2p"); 363 System.err.println(" SU3File verifysig signedFile.su3"); 364 364 } 365 365 -
core/java/src/net/i2p/data/Destination.java
r1284c7a r04e6beb 13 13 * Defines an end point in the I2P network. The Destination may move around 14 14 * in the network, but messages sent to the Destination will find it 15 * 16 * Note that the public (encryption) key is essentially unused, since 17 * "end-to-end" encryption was removed in 0.6. The public key in the 18 * LeaseSet is used instead. 19 * 20 * The first bytes of the public key are used for the IV for leaseset encryption, 21 * but that encryption is poorly designed and should be deprecated. 15 22 * 16 23 * @author jrandom -
core/java/src/net/i2p/data/LeaseSet.java
r1284c7a r04e6beb 31 31 * Only the gateways and tunnel IDs in the individual 32 32 * leases are encrypted. 33 * 34 * WARNING: 35 * Encryption is poorly designed and probably insecure. 36 * Not recommended. 33 37 * 34 38 * Encrypted leases are not indicated as such. -
core/java/src/net/i2p/util/RandomSource.java
r1284c7a r04e6beb 177 177 ok = true; 178 178 } catch (NoSuchAlgorithmException e) {} 179 // why urandom? because /dev/random blocks, and there are arguments 180 // suggesting such blockages are largely meaningless 179 // why urandom? because /dev/random blocks 181 180 ok = seedFromFile(new File("/dev/urandom"), buf) || ok; 182 181 // we merge (XOR) in the data from /dev/urandom with our own seedfile … … 187 186 188 187 /** 188 * XORs the seed into buf 189 * 189 190 * @param f absolute path 190 191 * @return success -
router/java/src/net/i2p/router/tunnel/OutboundTunnelEndpoint.java
r1284c7a r04e6beb 30 30 _outDistributor = new OutboundMessageDistributor(ctx, OutNetMessage.PRIORITY_PARTICIPATING); 31 31 } 32 32 33 public void dispatch(TunnelDataMessage msg, Hash recvFrom) { 33 34 _config.incrementProcessedMessages(); … … 67 68 } 68 69 } 70 71 /** @since 0.9.8 */ 72 @Override 73 public String toString() { 74 return "OBEP " + _config.getReceiveTunnel(); 75 } 69 76 } -
router/java/src/net/i2p/router/tunnel/ThrottledPumpedTunnelGateway.java
r1284c7a r04e6beb 45 45 add(new PendingGatewayMessage(msg, toRouter, toTunnel)); 46 46 } 47 48 /** @since 0.9.8 */ 49 @Override 50 public String toString() { 51 return "IBGW " + _config.getReceiveTunnel(); 52 } 47 53 } -
router/java/src/net/i2p/router/tunnel/TunnelDispatcher.java
r1284c7a r04e6beb 492 492 if (removed) { 493 493 if (_log.shouldLog(Log.DEBUG)) 494 _log.debug("removing " + cfg , new Exception());494 _log.debug("removing " + cfg /* , new Exception() */ ); 495 495 } else { 496 496 // this is normal, this can get called twice 497 497 if (_log.shouldLog(Log.DEBUG)) 498 _log.debug("Participating tunnel, but no longer listed in participatingConfig? " + cfg , new Exception());498 _log.debug("Participating tunnel, but no longer listed in participatingConfig? " + cfg /* , new Exception() */ ); 499 499 } 500 500
Note: See TracChangeset
for help on using the changeset viewer.