I2P Address: [http://git.idk.i2p]

Skip to content
Snippets Groups Projects
  1. Oct 20, 2014
    • zzz's avatar
      Console and Eepsite Jetty: · 44d6e117
      zzz authored
      Switch back to QueuedThreadPool (ticket #1395)
      In Jetty 5/6, the default QTP was not concurrent, so we switched to
      ThreadPoolExecutor with a fixed-size queue, a set maxThreads,
      and a RejectedExecutionPolicy of CallerRuns.
      Unfortunately, CallerRuns causes lockups in Jetty NIO.
      In addition, no flavor of TPE gives us what QTP does:
      - TPE direct handoff (which we were using) never queues.
        This doesn't provide any burst management when maxThreads is reached.
        CallerRuns was an attempt to work around that.
      - TPE unbounded queue does not adjust the number of threads.
        This doesn't provide automatic resource management.
      - TPE bounded queue does not add threads until the queue is full.
        This doesn't provide good responsiveness to even small bursts.
      QTP adds threads as soon as the queue is non-empty.
      QTP as of Jetty 7 uses concurrent.
      QTP unbounded queue is the default in Jetty.
      So switch back to QTP with a bounded queue, which does what we want,
      which is first expand the thread pool, then start queueing, then reject.
      
      ref:
      http://docs.oracle.com/javase/6/docs/api/java/util/concurrent/ThreadPoolExecutor.html
      https://wiki.eclipse.org/Jetty/Howto/High_Load
      44d6e117
  2. Oct 15, 2014
  3. Oct 07, 2014
  4. Oct 03, 2014
  5. Sep 15, 2014
    • zzz's avatar
      RoutingKeyGenerator: · c1e8ea0e
      zzz authored
        - Move from core to RouterKeyGenerator in router.jar
        - Leave RoutingKeyGenerator as a simple abstract class
        - DatabaseEntry now uses timestamp instead of mod data
          to determine if mod data has changed. Don't expose
          mod data to DatabaseEntry any more.
        - I2PAppContext.routingKeyGenerator() now returns null;
          you must be in RouterContext to get a generator.
      c1e8ea0e
  6. Aug 31, 2014
  7. Aug 30, 2014
    • zzz's avatar
      * Console: Show unavailable crypto on /logs · fa1c077f
      zzz authored
       * Router: Log warnings for unavailable crypto at startup
      fa1c077f
    • zzz's avatar
      /configclients: · 8a7c3390
      zzz authored
       - Re-enable plugin installation by default
       - Don't show configuration section or update-all button if no plugins installed
      8a7c3390
  8. Aug 23, 2014
    • zzz's avatar
      Router: Prep for RI sig types: · 593779b5
      zzz authored
       - New router.sigType config
       - Generate / regenerate router keys based on config
       - New router.keys2 file format for sig types and padding
       - Fix RouterInfo.readBytes() signature verification with sig types
       - Catch unset padding in KeysAndCert.writeBytes()
       - Catch key errors in ReadRouterJob
       - Show RI sig type on /netdb in console
       - Move some things from Router to startup classes
       - Startup classes package private
       - Buffer readin of key files
       - Remove configurability of router.info and router.keys file locations
      593779b5
    • zzz's avatar
      console escape fixes and cleanups · 819504f0
      zzz authored
      819504f0
  9. Aug 21, 2014
  10. Aug 15, 2014
  11. Aug 13, 2014
  12. Aug 10, 2014
  13. Aug 09, 2014
  14. Aug 07, 2014
  15. Aug 06, 2014
  16. Aug 05, 2014
  17. Aug 03, 2014
    • zzz's avatar
      * Console: · b28eb708
      zzz authored
         - Fix update buttons
         - Don't filter parameter names starting with "nofilter_"
         - Re-allow configadvanced, news URL, and unsigned update URL if routerconsole.advanced=true
         - Re-allow plugin install if routerconsole.advanced=true or routerconsole.enablePluginInstall=true
         - Only allow whitelisted plugin signers, unless routerconsole.allowUntrustedPlugins=true
         - Re-allow clients.config changes if routerconsole.advanced=true or routerconsole.enableClientChange=true
         - More escaping
       * i2psnark: Fix add torrent form
      b28eb708
  18. Jul 31, 2014
  19. Jul 26, 2014
    • zzz's avatar
      refresh tweaks · d6b0b1b9
      zzz authored
      another escape html
      d6b0b1b9
    • zzz's avatar
      updates after review: · db9f49c7
      zzz authored
      Disable clients.config editing in UI
      Strip single quotes too
      Fix double-escaping in susimail folder page
      db9f49c7
    • zzz's avatar
      * Console: · af575d6c
      zzz authored
        - Fix several XSS issues (thx Aaron Portnoy of Exodus Intel)
        - Add Content-Security-Policy and X-XSS-Protection headers
        - Disable changing news feed URL from UI
        - Disable plugin install from UI
        - Disable setting unsigned update URL from UI
        - Disable /configadvanced
      * DataHelper: Disallow \r in storeProps() (thx joernchen of Phenoelit)
      * ExecNamingService: Disable (thx joernchen of Phenoelit)
      * Startup: Add susimail.config to migrated files
      af575d6c
  20. Jul 19, 2014
  21. Jul 03, 2014
  22. Jun 26, 2014
  23. Jun 23, 2014
  24. Jun 15, 2014
    • zzz's avatar
      Findbugs all over: · 8845ce6e
      zzz authored
       - Serializable
       - hashCode()
       - Make DataStructureImpl Serializable (removed from DataStructure in 2005)
      8845ce6e
  25. Jun 13, 2014
  26. Jun 10, 2014
  27. Jun 07, 2014
  28. May 28, 2014
  29. May 18, 2014
  30. May 15, 2014
Loading