Transports: Enable 4/6 caps

Set i2np.transportCaps=false to disable
Fix NTCP2 address with host and caps after state transition
Bump -7
This commit is contained in:
zzz
2021-03-16 08:59:22 -04:00
parent e81df54bba
commit bd724d1e1f
4 changed files with 23 additions and 2 deletions

View File

@@ -1,4 +1,24 @@
2021-03-16 zzz
* Console: Fix netdb SSU caps search
* Transports: Enable 4/6 caps
2021-03-15 zzz
* SSU: Fix IPv6 addresses not being removed on some state transitions
* Util: Don't call out to InetAddress for IP parsing
2021-03-13 zzz
* Console: Limit share to 90% max
2021-03-11 zzz
* NetDB: Queue RI file deletion and delete in a single thread
* SSU: Limit port changes
2021-03-09 zzz
* Throttle: Don't do exponential calculation unless necessary
* Util: Consolidate dup BandwidthEstimator interfaces
2021-03-08 zzz
* NTCP: Remove NTCP 1 suppport
* SSU: Increase CoDel drop threshold at UDPSender queue
2021-03-06 zzz

View File

@@ -18,7 +18,7 @@ public class RouterVersion {
/** deprecated */
public final static String ID = "Git";
public final static String VERSION = CoreVersion.VERSION;
public final static long BUILD = 6;
public final static long BUILD = 7;
/** for example "-test" */
public final static String EXTRA = "";

View File

@@ -74,7 +74,7 @@ public abstract class TransportImpl implements Transport {
/** @since 0.9.50 */
protected static final String PROP_TRANSPORT_CAPS = "i2np.transportCaps";
/** @since 0.9.50 */
protected static final boolean ENABLE_TRANSPORT_CAPS = false;
protected static final boolean ENABLE_TRANSPORT_CAPS = true;
/** @since 0.9.50 */
public static final String CAP_IPV4 = "4";
/** @since 0.9.50 */

View File

@@ -1240,6 +1240,7 @@ public class NTCPTransport extends TransportImpl {
// only set i if we are not firewalled
if (props.containsKey("host")) {
props.setProperty("i", _b64Ntcp2StaticIV);
props.remove("caps");
} else if (_context.getProperty(PROP_TRANSPORT_CAPS, ENABLE_TRANSPORT_CAPS)) {
String caps;
TransportUtil.IPv6Config config = getIPv6Config();