Собрал i2pd,
закинул ему ~/.i2pd/subscriptions.txt вида:
inr.i2p/export/alive-hosts.txt
stats.i2p/cgi-bin/newhosts.txt
i2p-projekt.i2p/hosts.txt
i2host.i2p/cgi-bin/i2hostetag
no.i2p/export/alive-hosts.txt
rus.i2p/hosts.txt
Пытаюсь зайти на eepsite:
curl -vL http://echelon.i2p/ -x 127.0.0.1:4444
В ответ получаю хуй:
HTTP/1.0 500 Internal Server Error
В логах нихуя интересного.
22:00:20/info - --- HTTP Proxy requested: http://echelon.i2p/
22:00:20/warn - Remote destination echelon.i2p not found
22:00:20/error - --- HTTP Proxy Issue when creating the stream, check the previous warnings for more info.
Куда копать?
@anonymous спросил
@l29ah да
@l29ah сеймшит нихуя не работает
@l29ah Tunnel creation success rate: 16%
охуительно
https://github.com/PurpleI2P/i2pd/issues/345
@l29ah
заработало с этим говном
```
% git diff
diff --git a/Destination.h b/Destination.h
index c45a20e..08a7a0c 100644
--- a/Destination.h
+++ b/Destination.h
@@ -25,8 +25,8 @@ namespace client
const uint8_t PROTOCOL_TYPE_STREAMING = 6;
const uint8_t PROTOCOL_TYPE_DATAGRAM = 17;
const uint8_t PROTOCOL_TYPE_RAW = 18;
- const int PUBLISH_CONFIRMATION_TIMEOUT = 5; // in seconds
- const int LEASESET_REQUEST_TIMEOUT = 5; // in seconds
+ const int PUBLISH_CONFIRMATION_TIMEOUT = 20; // in seconds
+ const int LEASESET_REQUEST_TIMEOUT = 30; // in seconds
const int MAX_LEASESET_REQUEST_TIMEOUT = 40; // in seconds
const int DESTINATION_CLEANUP_TIMEOUT = 3; // in minutes
const unsigned int MAX_NUM_FLOODFILLS_PER_REQUEST = 7;
@@ -41,7 +41,7 @@ namespace client
const char I2CP_PARAM_OUTBOUND_TUNNELS_QUANTITY[] = "outbound.quantity";
const int DEFAULT_OUTBOUND_TUNNELS_QUANTITY = 5;
const char I2CP_PARAM_EXPLICIT_PEERS[] = "explicitPeers";
- const int STREAM_REQUEST_TIMEOUT = 60; //in seconds
+ const int STREAM_REQUEST_TIMEOUT = 140; //in seconds
const char I2CP_PARAM_TAGS_TO_SEND[] = "crypto.tagsToSend";
const int DEFAULT_TAGS_TO_SEND = 40;
diff --git a/Streaming.h b/Streaming.h
index 519bda3..f160ca5 100644
--- a/Streaming.h
+++ b/Streaming.h
@@ -42,13 +42,13 @@ namespace stream
const size_t STREAMING_MTU = 1730;
const size_t MAX_PACKET_SIZE = 4096;
const size_t COMPRESSION_THRESHOLD_SIZE = 66;
- const int ACK_SEND_TIMEOUT = 200; // in milliseconds
- const int MAX_NUM_RESEND_ATTEMPTS = 6;
+ const int ACK_SEND_TIMEOUT = 1200; // in milliseconds
+ const int MAX_NUM_RESEND_ATTEMPTS = 8;
const int WINDOW_SIZE = 6; // in messages
const int MIN_WINDOW_SIZE = 1;
const int MAX_WINDOW_SIZE = 128;
- const int INITIAL_RTT = 8000; // in milliseconds
- const int INITIAL_RTO = 9000; // in milliseconds
+ const int INITIAL_RTT = 18000; // in milliseconds
+ const int INITIAL_RTO = 19000; // in milliseconds
const size_t MAX_PENDING_INCOMING_BACKLOG = 128;
const int PENDING_INCOMING_TIMEOUT = 10; // in seconds
```
@nebeda нет, в ишшуезах на гитхубе нашел