mirror of
https://github.com/PurpleI2P/i2pd
synced 2024-11-09 15:50:26 +03:00
fix typo
This commit is contained in:
parent
00c71dc26a
commit
52f3081a40
@ -68,7 +68,7 @@
|
|||||||
- NTCP soft and hard descriptors limits
|
- NTCP soft and hard descriptors limits
|
||||||
- Support full timestamps in logs
|
- Support full timestamps in logs
|
||||||
### Changed
|
### Changed
|
||||||
- Faster implmentation of GOST R 34.11 hash
|
- Faster implementation of GOST R 34.11 hash
|
||||||
- Reject routers with RSA signtures
|
- Reject routers with RSA signtures
|
||||||
- Reload config and shudown from Windows GUI
|
- Reload config and shudown from Windows GUI
|
||||||
- Update tunnels address(destination) without restart
|
- Update tunnels address(destination) without restart
|
||||||
@ -168,7 +168,7 @@
|
|||||||
- Initial iOS support
|
- Initial iOS support
|
||||||
|
|
||||||
### Changed
|
### Changed
|
||||||
- Reduced file descriptiors usage
|
- Reduced file descriptors usage
|
||||||
- Strict reseed checks enabled by default
|
- Strict reseed checks enabled by default
|
||||||
|
|
||||||
## Fixed
|
## Fixed
|
||||||
|
@ -190,7 +190,7 @@ if (CXX11_SUPPORTED)
|
|||||||
elseif (CXX0X_SUPPORTED) # gcc 4.6
|
elseif (CXX0X_SUPPORTED) # gcc 4.6
|
||||||
set( CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++0x" )
|
set( CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++0x" )
|
||||||
elseif (NOT MSVC)
|
elseif (NOT MSVC)
|
||||||
message(SEND_ERROR "C++11 standart not seems to be supported by compiler. Too old version?")
|
message(SEND_ERROR "C++11 standard not seems to be supported by compiler. Too old version?")
|
||||||
endif ()
|
endif ()
|
||||||
|
|
||||||
if (CMAKE_CXX_COMPILER_ID STREQUAL "GNU")
|
if (CMAKE_CXX_COMPILER_ID STREQUAL "GNU")
|
||||||
@ -340,7 +340,7 @@ target_link_libraries(libi2pdclient libi2pd)
|
|||||||
|
|
||||||
find_package ( Boost COMPONENTS system filesystem program_options date_time REQUIRED )
|
find_package ( Boost COMPONENTS system filesystem program_options date_time REQUIRED )
|
||||||
if(NOT DEFINED Boost_INCLUDE_DIRS)
|
if(NOT DEFINED Boost_INCLUDE_DIRS)
|
||||||
message(SEND_ERROR "Boost is not found, or your boost version was bellow 1.46. Please download Boost!")
|
message(SEND_ERROR "Boost is not found, or your boost version was below 1.46. Please download Boost!")
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
find_package ( OpenSSL REQUIRED )
|
find_package ( OpenSSL REQUIRED )
|
||||||
|
@ -862,7 +862,7 @@ namespace http {
|
|||||||
{
|
{
|
||||||
/* deny request as it's from a non whitelisted hostname */
|
/* deny request as it's from a non whitelisted hostname */
|
||||||
res.code = 403;
|
res.code = 403;
|
||||||
content = "host missmatch";
|
content = "host mismatch";
|
||||||
SendReply(res, content);
|
SendReply(res, content);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
2
debian/i2pd.1
vendored
2
debian/i2pd.1
vendored
@ -96,7 +96,7 @@ Router will use system folders like \fI/var/lib/i2pd\fR (\fIdisabled\fR by defau
|
|||||||
\fB\-\-family=\fR
|
\fB\-\-family=\fR
|
||||||
Name of a family, router belongs to.
|
Name of a family, router belongs to.
|
||||||
.PP
|
.PP
|
||||||
Switchs, which enabled by default (like \fB\-\-ssu\fR, \fB\-\-ntcp\fR, etc.), can be disabled in config file.
|
Switches, which enabled by default (like \fB\-\-ssu\fR, \fB\-\-ntcp\fR, etc.), can be disabled in config file.
|
||||||
.RE
|
.RE
|
||||||
See service-specific parameters in example config file \fI/usr/share/doc/i2pd/i2pd.conf.gz\fR
|
See service-specific parameters in example config file \fI/usr/share/doc/i2pd/i2pd.conf.gz\fR
|
||||||
.SH "FILES"
|
.SH "FILES"
|
||||||
|
2
debian/rules
vendored
2
debian/rules
vendored
@ -17,6 +17,6 @@ DEB_BUILD_MAINT_OPTIONS=hardening=+bindnow
|
|||||||
override_dh_strip:
|
override_dh_strip:
|
||||||
dh_strip --dbg-package=i2pd-dbg
|
dh_strip --dbg-package=i2pd-dbg
|
||||||
|
|
||||||
## uncoment this if you have "missing info" problem when building package
|
## uncomment this if you have "missing info" problem when building package
|
||||||
#override_dh_shlibdeps:
|
#override_dh_shlibdeps:
|
||||||
# dh_shlibdeps --dpkg-shlibdeps-params=--ignore-missing-info
|
# dh_shlibdeps --dpkg-shlibdeps-params=--ignore-missing-info
|
||||||
|
@ -1094,7 +1094,7 @@ HTML_STYLESHEET =
|
|||||||
# cascading style sheets that are included after the standard style sheets
|
# cascading style sheets that are included after the standard style sheets
|
||||||
# created by doxygen. Using this option one can overrule certain style aspects.
|
# created by doxygen. Using this option one can overrule certain style aspects.
|
||||||
# This is preferred over using HTML_STYLESHEET since it does not replace the
|
# This is preferred over using HTML_STYLESHEET since it does not replace the
|
||||||
# standard style sheet and is therefor more robust against future updates.
|
# standard style sheet and is therefore more robust against future updates.
|
||||||
# Doxygen will copy the style sheet files to the output directory.
|
# Doxygen will copy the style sheet files to the output directory.
|
||||||
# Note: The order of the extra stylesheet files is of importance (e.g. the last
|
# Note: The order of the extra stylesheet files is of importance (e.g. the last
|
||||||
# stylesheet in the list overrules the setting of the previous ones in the
|
# stylesheet in the list overrules the setting of the previous ones in the
|
||||||
@ -1637,7 +1637,7 @@ EXTRA_PACKAGES =
|
|||||||
# Note: Only use a user-defined header if you know what you are doing! The
|
# Note: Only use a user-defined header if you know what you are doing! The
|
||||||
# following commands have a special meaning inside the header: $title,
|
# following commands have a special meaning inside the header: $title,
|
||||||
# $datetime, $date, $doxygenversion, $projectname, $projectnumber,
|
# $datetime, $date, $doxygenversion, $projectname, $projectnumber,
|
||||||
# $projectbrief, $projectlogo. Doxygen will replace $title with the empy string,
|
# $projectbrief, $projectlogo. Doxygen will replace $title with the empty string,
|
||||||
# for the replacement values of the other commands the user is referred to
|
# for the replacement values of the other commands the user is referred to
|
||||||
# HTML_HEADER.
|
# HTML_HEADER.
|
||||||
# This tag requires that the tag GENERATE_LATEX is set to YES.
|
# This tag requires that the tag GENERATE_LATEX is set to YES.
|
||||||
|
@ -64,7 +64,7 @@ namespace client
|
|||||||
{
|
{
|
||||||
it = params->find (I2CP_PARAM_OUTBOUND_NICKNAME);
|
it = params->find (I2CP_PARAM_OUTBOUND_NICKNAME);
|
||||||
if (it != params->end ()) m_Nickname = it->second;
|
if (it != params->end ()) m_Nickname = it->second;
|
||||||
// otherwise we set deafult nickname in Start when we know local address
|
// otherwise we set default nickname in Start when we know local address
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -734,7 +734,7 @@ namespace data
|
|||||||
m_Requests.RequestComplete (ident, nullptr);
|
m_Requests.RequestComplete (ident, nullptr);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
// no more requests for detination possible. delete it
|
// no more requests for destination possible. delete it
|
||||||
m_Requests.RequestComplete (ident, nullptr);
|
m_Requests.RequestComplete (ident, nullptr);
|
||||||
}
|
}
|
||||||
else if(!m_FloodfillBootstrap)
|
else if(!m_FloodfillBootstrap)
|
||||||
|
@ -300,7 +300,7 @@ namespace data
|
|||||||
s.read (localFileName, fileNameLength);
|
s.read (localFileName, fileNameLength);
|
||||||
localFileName[fileNameLength] = 0;
|
localFileName[fileNameLength] = 0;
|
||||||
s.seekg (extraFieldLength, std::ios::cur);
|
s.seekg (extraFieldLength, std::ios::cur);
|
||||||
// take care about data desriptor if presented
|
// take care about data descriptor if presented
|
||||||
if (bitFlag & ZIP_BIT_FLAG_DATA_DESCRIPTOR)
|
if (bitFlag & ZIP_BIT_FLAG_DATA_DESCRIPTOR)
|
||||||
{
|
{
|
||||||
size_t pos = s.tellg ();
|
size_t pos = s.tellg ();
|
||||||
|
@ -511,7 +511,7 @@ namespace tunnel
|
|||||||
HandleI2NPMessage (msg->GetBuffer (), msg->GetLength ());
|
HandleI2NPMessage (msg->GetBuffer (), msg->GetLength ());
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
LogPrint (eLogWarning, "Tunnel: unexpected messsage type ", (int) typeID);
|
LogPrint (eLogWarning, "Tunnel: unexpected message type ", (int) typeID);
|
||||||
}
|
}
|
||||||
|
|
||||||
msg = m_Queue.Get ();
|
msg = m_Queue.Get ();
|
||||||
|
@ -377,7 +377,7 @@ namespace client
|
|||||||
}
|
}
|
||||||
numAddresses++;
|
numAddresses++;
|
||||||
auto it = m_Addresses.find (name);
|
auto it = m_Addresses.find (name);
|
||||||
if (it != m_Addresses.end ()) // aleady exists ?
|
if (it != m_Addresses.end ()) // already exists ?
|
||||||
{
|
{
|
||||||
if (it->second != ident->GetIdentHash ()) // address changed?
|
if (it->second != ident->GetIdentHash ()) // address changed?
|
||||||
{
|
{
|
||||||
|
@ -387,7 +387,7 @@ namespace proxy {
|
|||||||
LogPrint(eLogDebug, "HTTPProxy: ", m_ClientRequestURL.host);
|
LogPrint(eLogDebug, "HTTPProxy: ", m_ClientRequestURL.host);
|
||||||
m_ClientRequestURL.schema = "";
|
m_ClientRequestURL.schema = "";
|
||||||
m_ClientRequestURL.host = "";
|
m_ClientRequestURL.host = "";
|
||||||
std::string origURI = m_ClientRequest.uri; // TODO: what do we need to chage uri for?
|
std::string origURI = m_ClientRequest.uri; // TODO: what do we need to change uri for?
|
||||||
m_ClientRequest.uri = m_ClientRequestURL.to_string();
|
m_ClientRequest.uri = m_ClientRequestURL.to_string();
|
||||||
|
|
||||||
m_ClientRequest.write(m_ClientRequestBuffer);
|
m_ClientRequest.write(m_ClientRequestBuffer);
|
||||||
|
@ -250,7 +250,7 @@ namespace client
|
|||||||
if (handler)
|
if (handler)
|
||||||
(this->*handler)(m_Payload, m_PayloadLen);
|
(this->*handler)(m_Payload, m_PayloadLen);
|
||||||
else
|
else
|
||||||
LogPrint (eLogError, "I2CP: Unknown I2CP messsage ", (int)m_Header[I2CP_HEADER_TYPE_OFFSET]);
|
LogPrint (eLogError, "I2CP: Unknown I2CP message ", (int)m_Header[I2CP_HEADER_TYPE_OFFSET]);
|
||||||
}
|
}
|
||||||
|
|
||||||
void I2CPSession::Terminate ()
|
void I2CPSession::Terminate ()
|
||||||
@ -398,7 +398,7 @@ namespace client
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
LogPrint (eLogError, "I2CP: create session signature verification falied");
|
LogPrint (eLogError, "I2CP: create session signature verification failed");
|
||||||
SendSessionStatusMessage (3); // invalid
|
SendSessionStatusMessage (3); // invalid
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -455,16 +455,16 @@ namespace client
|
|||||||
LogPrint(eLogError, "I2CP: invalid reconfigure message signature");
|
LogPrint(eLogError, "I2CP: invalid reconfigure message signature");
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
LogPrint(eLogError, "I2CP: mapping size missmatch");
|
LogPrint(eLogError, "I2CP: mapping size mismatch");
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
LogPrint(eLogError, "I2CP: destination missmatch");
|
LogPrint(eLogError, "I2CP: destination mismatch");
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
LogPrint(eLogError, "I2CP: malfromed destination");
|
LogPrint(eLogError, "I2CP: malfromed destination");
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
LogPrint(eLogError, "I2CP: session missmatch");
|
LogPrint(eLogError, "I2CP: session mismatch");
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
LogPrint(eLogError, "I2CP: short message");
|
LogPrint(eLogError, "I2CP: short message");
|
||||||
|
@ -84,8 +84,8 @@ namespace proxy
|
|||||||
SOCKS5_HOST_UNREACH = 4, // Host unreachable
|
SOCKS5_HOST_UNREACH = 4, // Host unreachable
|
||||||
SOCKS5_CONN_REFUSED = 5, // Connection refused by the peer
|
SOCKS5_CONN_REFUSED = 5, // Connection refused by the peer
|
||||||
SOCKS5_TTL_EXPIRED = 6, // TTL Expired
|
SOCKS5_TTL_EXPIRED = 6, // TTL Expired
|
||||||
SOCKS5_CMD_UNSUP = 7, // Command unsuported
|
SOCKS5_CMD_UNSUP = 7, // Command unsupported
|
||||||
SOCKS5_ADDR_UNSUP = 8, // Address type unsuported
|
SOCKS5_ADDR_UNSUP = 8, // Address type unsupported
|
||||||
SOCKS4_OK = 90, // No error for SOCKS4
|
SOCKS4_OK = 90, // No error for SOCKS4
|
||||||
SOCKS4_FAIL = 91, // Failed establishing connecting or not allowed
|
SOCKS4_FAIL = 91, // Failed establishing connecting or not allowed
|
||||||
SOCKS4_IDENTD_MISSING = 92, // Couldn't connect to the identd server
|
SOCKS4_IDENTD_MISSING = 92, // Couldn't connect to the identd server
|
||||||
|
@ -51,7 +51,7 @@ interface IMinistro
|
|||||||
* "sources" StringArray Sources list from where Ministro will download the libs. Make sure you are using ONLY secure locations.
|
* "sources" StringArray Sources list from where Ministro will download the libs. Make sure you are using ONLY secure locations.
|
||||||
* "repository" String Overwrites the default Ministro repository. Possible values: default, stable, testing and unstable
|
* "repository" String Overwrites the default Ministro repository. Possible values: default, stable, testing and unstable
|
||||||
* "required.modules" StringArray Required modules by your application
|
* "required.modules" StringArray Required modules by your application
|
||||||
* "application.title" String Application name, used to show more informations to user
|
* "application.title" String Application name, used to show more information to user
|
||||||
* "qt.provider" String Qt libs provider, currently only "necessitas" is supported.
|
* "qt.provider" String Qt libs provider, currently only "necessitas" is supported.
|
||||||
* "minimum.ministro.api" Integer Minimum Ministro API level, used to check if Ministro service compatible with your application. Current API Level is 3 !
|
* "minimum.ministro.api" Integer Minimum Ministro API level, used to check if Ministro service compatible with your application. Current API Level is 3 !
|
||||||
* "minimum.qt.version" Integer Minimim Qt version (e.g. 0x040800, which means Qt 4.8.0, check http://qt-project.org/doc/qt-4.8/qtglobal.html#QT_VERSION)!
|
* "minimum.qt.version" Integer Minimim Qt version (e.g. 0x040800, which means Qt 4.8.0, check http://qt-project.org/doc/qt-4.8/qtglobal.html#QT_VERSION)!
|
||||||
|
@ -97,7 +97,7 @@ import android.view.ActionMode.Callback;
|
|||||||
|
|
||||||
public class QtActivity extends Activity
|
public class QtActivity extends Activity
|
||||||
{
|
{
|
||||||
private final static int MINISTRO_INSTALL_REQUEST_CODE = 0xf3ee; // request code used to know when Ministro instalation is finished
|
private final static int MINISTRO_INSTALL_REQUEST_CODE = 0xf3ee; // request code used to know when Ministro installation is finished
|
||||||
private static final int MINISTRO_API_LEVEL = 5; // Ministro api level (check IMinistro.aidl file)
|
private static final int MINISTRO_API_LEVEL = 5; // Ministro api level (check IMinistro.aidl file)
|
||||||
private static final int NECESSITAS_API_LEVEL = 2; // Necessitas api level used by platform plugin
|
private static final int NECESSITAS_API_LEVEL = 2; // Necessitas api level used by platform plugin
|
||||||
private static final int QT_VERSION = 0x050100; // This app requires at least Qt version 5.1.0
|
private static final int QT_VERSION = 0x050100; // This app requires at least Qt version 5.1.0
|
||||||
|
Loading…
Reference in New Issue
Block a user