| Commit message (Collapse) | Author | Age | Files | Lines |
| ... | |
| | |/ |
|
| |\ \
| |/
|/|
| |
| | |
b8b957d cmake: fix incorrect hint for OPENSSL_ROOT_DIR (moneromooo-monero)
367bb80 mlog: default to not showing SSL errors (moneromooo-monero)
|
| | | |
|
| |\ \
| | |
| | |
| | | |
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.
|
| |
|
|
|
|
|
| |
This allows "chain" certificates to be used with the fingerprint
whitelist option. A user can get a system-ca signature as backup while
clients explicitly whitelist the server certificate. The user specified
CA can also be combined with fingerprint whitelisting.
|
| |
|
|
|
|
| |
The former has the same behavior with single self signed certificates
while allowing the server to have separate short-term authentication
keys with long-term authorization keys.
|
| |
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
|
|
| |
Using `verify_peer` on server side requests a certificate from the
client. If no certificate is provided, the server silently accepts the
connection and rejects if the client sends an unexpected certificate.
Adding `verify_fail_if_no_cert` has no affect on client and for server
requires that the peer sends a certificate or fails the handshake. This
is the desired behavior when the user specifies a fingerprint or CA file.
|
| | |
|
| |
|
|
|
|
|
|
|
|
|
| |
Currently a client must provide a certificate, even if the server is
configured to allow all certificates. This drops that requirement from
the client - unless the server is configured to use a CA file or
fingerprint(s) for verification - which is the standard behavior for SSL
servers.
The "system-wide" CA is not being used as a "fallback" to verify clients
before or after this patch.
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
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)
|
| | | |
|
| |\ \
| | |
| | |
| | | |
dffdccdc No longer use deprecated RSA_generate_key in favor of RSA_generate_key_ex (Martijn Otto)
|
| | | |
| | |
| | |
| | | |
RSA_generate_key_ex
|
| |\ \ \
| | | |
| | | |
| | | | |
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)
|
| | |/ / |
|
| |\ \ \
| | | |
| | | |
| | | | |
9141a0a1 connection_basic: remove debug exception ^_^ (moneromooo-monero)
|
| | | | | |
|
| | |_|/
|/| |
| | |
| | | |
get_io_service was deprecated, and got removed
|
| |\ \ \
| |_|/
|/| |
| | | |
1f2930ce Update 2019 copyright (binaryFate)
|