| Commit message (Collapse) | Author | Age | Files | Lines |
| ... | |
| | |/
|/|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
new cli options (RPC ones also apply to wallet):
--p2p-bind-ipv6-address (default = "::")
--p2p-bind-port-ipv6 (default same as ipv4 port for given nettype)
--rpc-bind-ipv6-address (default = "::1")
--p2p-use-ipv6 (default false)
--rpc-use-ipv6 (default false)
--p2p-require-ipv4 (default true, if ipv4 bind fails and this is
true, will not continue even if ipv6 bind
successful)
--rpc-require-ipv4 (default true, description as above)
ipv6 addresses are to be specified as "[xx:xx:xx::xx:xx]:port" except
in the cases of the cli args for bind address. For those the square
braces can be omitted.
|
| |\ \
| | |
| | |
| | | |
9a6006b abstract_tcp_server2: move some things out of a lock (moneromooo-monero)
|
| | | |
| | |
| | |
| | |
| | | |
The lock is meant for the network throttle object only,
and this should help coverity get unconfused
|
| |\ \ \
| | | |
| | | |
| | | | |
6abaaaa remove obsolete save_graph skeleton code (moneromooo-monero)
|
| | |/ / |
|
| |\ \ \
| | | |
| | | |
| | | | |
f61a315 net_utils: fix m_ssl type from time_t to bool (moneromooo-monero)
|
| | |/ / |
|
| | |/
|/| |
|
| | | |
|
| | |
| |
| |
| | |
Reported by guidov
|
| |\ \
| | |
| | |
| | | |
b0a04f7 epee: fix SSL autodetect on reconnection (xiphon)
|
| | |/ |
|
| | |
| |
| |
| | |
GCC wants operator= aand copy ctor to be both defined, or neither
|
| |/ |
|
| |\
| |
| |
| | |
a62e0725 net_ssl: SSL config tweaks for compatibility and security (moneromooo-monero)
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
add two RSA based ciphers for Windows/depends compatibility
also enforce server cipher ordering
also set ECDH to auto because vtnerd says it is good :)
When built with the depends system, openssl does not include any
cipher on the current whitelist, so add this one, which fixes the
problem, and does seem sensible.
|
| |\ \
| |/
|/|
| | |
a4c4a2d8 blockchain: keep a rolling long term block weight median (moneromooo-monero)
|
| | | |
|
| |/
|
|
| |
SHA1 is too close to bruteforceable
|
| |\
| |
| |
| | |
9956500d net_helper: clear recv buffer on eof (moneromooo-monero)
|
| | | |
|
| |\ \
| | |
| | |
| | | |
edbae2d0 levin_protocol_handler_async: tune down preallocation a fair bit (moneromooo-monero)
|
| | |/
| |
| |
| |
| |
| | |
It can allocate a lot when getting a lot of connections
(in particular, the stress test on windows apparently pushes
that memory to actual use, rather than just allocated)
|
| |/ |
|
| | |
|
| |\
| |
| |
| | |
b18f0b10 wallet: new --offline option (moneromooo-monero)
|
| | |
| |
| |
| |
| | |
It will avoid connecting to a daemon (so useful for cold signing
using a RPC wallet), and not perform DNS queries.
|
| |\ \
| | |
| | |
| | | |
61d63900 net_helper: avoid unnecessary memcpy (moneromooo-monero)
|
| | |/ |
|
| |/
|
|
|
|
| |
When closing connections due to exiting, the IO service is
already gone, so the data exchange needed for a gracious SSL
shutdown cannot happen. We just close the socket in that case.
|
| | |
|
| |
|
|
| |
displays total sent and received bytes
|
| |
|
|
|
| |
If `--daemon-ssl enabled` is set in the wallet, then a user certificate,
fingerprint, or onion/i2p address must be provided.
|
| |
|
|
|
|
|
| |
An override for the wallet to daemon connection is provided, but not for
other SSL contexts. The intent is to prevent users from supplying a
system CA as the "user" whitelisted certificate, which is less secure
since the key is controlled by a third party.
|
| |
|
|
|
|
|
|
|
|
|
|
| |
If the verification mode is `system_ca`, clients will now do hostname
verification. Thus, only certificates from expected hostnames are
allowed when SSL is enabled. This can be overridden by forcible setting
the SSL mode to autodetect.
Clients will also send the hostname even when `system_ca` is not being
performed. This leaks possible metadata, but allows servers providing
multiple hostnames to respond with the correct certificate. One example
is cloudflare, which getmonero.org is currently using.
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
If SSL is "enabled" via command line without specifying a fingerprint or
certificate, the system CA list is checked for server verification and
_now_ fails the handshake if that check fails. This change was made to
remain consistent with standard SSL/TLS client behavior. This can still
be overridden by using the allow any certificate flag.
If the SSL behavior is autodetect, the system CA list is still checked
but a warning is logged if this fails. The stream is not rejected
because a re-connect will be attempted - its better to have an
unverified encrypted stream than an unverified + unencrypted stream.
|
| | |
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
Specifying SSL certificates for peer verification does an exact match,
making it a not-so-obvious alias for the fingerprints option. This
changes the checks to OpenSSL which loads concatenated certificate(s)
from a single file and does a certificate-authority (chain of trust)
check instead. There is no drop in security - a compromised exact match
fingerprint has the same worse case failure. There is increased security
in allowing separate long-term CA key and short-term SSL server keys.
This also removes loading of the system-default CA files if a custom
CA file or certificate fingerprint is specified.
|
| |\
| |
| |
| | |
1569776a Add missing include (Leon Klingele)
|
| | | |
|
| |\ \
| | |
| | |
| | | |
59776a64 epee: some more minor JSON parsing speedup (moneromooo-monero)
|
| | | | |
|
| |\ \ \
| | | |
| | | |
| | | | |
c23ea796 New interactive daemon command 'print_net_stats': Global traffic stats (rbrunner7)
|
| | | | | |
|
| |\ \ \ \
| |_|_|/
|/| | |
| | | | |
43042a28 Implement array_entry_t copy constructor (Guido Vranken)
|
| | |/ /
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Manually initialize the array_entry_t iterator to ensure it points
to the correct m_array, thereby preventing a potential use-after-free
situation.
Signed-off-by: Guido Vranken <guidovranken@gmail.com>
|
| | |/
|/| |
|
| |\ \
| | |
| | |
| | | |
6ef816de console_handler: print newline on EOF (moneromooo-monero)
|
| | | |
| | |
| | |
| | |
| | |
| | | |
This avoids the annoying case where the shell prints its prompt
after the last line from Monero output, causing line editing to
sometimes go wonky, for lack of a better term
|
| |\ \ \
| | | |
| | | |
| | | | |
16590294 abstract_tcp_server2: fix crashy race on socket shutdown (moneromooo-monero)
|