Changeset d2184f4


Ignore:
Timestamp:
Jun 22, 2013 1:51:50 PM (7 years ago)
Author:
zzz <zzz@…>
Branches:
master
Children:
7df52a1
Parents:
f91f8115
Message:
  • NetDB: Increase upper limit on ffs again
  • SSU: Pad session created message with random data instead of zeros
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • history.txt

    rf91f8115 rd2184f4  
     12013-06-22 zzz
     2 * SSU: Pad session created message with random data instead of zeros
     3
    142013-06-22 meeh
    25 * I2PTunnel: Change connect proxy default to outproxy-tor.meeh.i2p after h2ik's AWOL
     6
     72013-06-21 zzz
     8 * Crypto: AES decrypt speedups
     9 * NetDB, i2psnark: Speed up XORComparators
     10 * SSU: Ignore non-mod-16 padding
     11
     122013-06-20 zzz
     13 * i2psnark: Show start-all button even if tunnel is open,
     14   if at least one torrent is stopped (ticket #808)
    315
    4162013-06-17 zzz
  • router/java/src/net/i2p/router/RouterVersion.java

    rf91f8115 rd2184f4  
    1919    public final static String ID = "Monotone";
    2020    public final static String VERSION = CoreVersion.VERSION;
    21     public final static long BUILD = 10;
     21    public final static long BUILD = 11;
    2222
    2323    /** for example "-test" */
  • router/java/src/net/i2p/router/networkdb/kademlia/FloodfillMonitorJob.java

    rf91f8115 rd2184f4  
    1414/**
    1515 * Simple job to monitor the floodfill pool.
    16  * If we are class O, and meet some other criteria,
     16 * If we are class N or O, and meet some other criteria,
    1717 * we will automatically become floodfill if there aren't enough.
    1818 * But only change ff status every few hours to minimize ff churn.
     
    2727    private static final long MIN_UPTIME = 2*60*60*1000;
    2828    private static final long MIN_CHANGE_DELAY = 6*60*60*1000;
    29     private static final int MIN_FF = 1000;
     29    private static final int MIN_FF = 5000;
    3030    private static final int MAX_FF = 999999;
    3131    private static final String PROP_FLOODFILL_PARTICIPANT = "router.floodfillParticipant";
  • router/java/src/net/i2p/router/transport/udp/PacketBuilder.java

    rf91f8115 rd2184f4  
    615615       
    616616        // pad up so we're on the encryption boundary
    617         if ( (off % 16) != 0)
    618             off += 16 - (off % 16);
     617        int rem = off & 0x0f;
     618        if (rem != 0) {
     619            // typ. 12 for IPv4 and 0 for IPv6
     620            int pad = 16 - rem;
     621            //_log.debug("Adding padding: " + pad);
     622            _context.random().nextBytes(data, off, pad);
     623            off += pad;
     624        }
    619625        packet.getPacket().setLength(off);
    620626        authenticate(packet, ourIntroKey, ourIntroKey, iv);
Note: See TracChangeset for help on using the changeset viewer.