| Commit message (Collapse) | Author | Age | Files | Lines |
| ... | |
| | |/ / |
|
| | |/
|/|
| |
| | |
get_io_service was deprecated, and got removed
|
| |\ \
| |/
|/|
| | |
1f2930ce Update 2019 copyright (binaryFate)
|
| | | |
|
| |/
|
|
| |
Use SSL API directly, skip boost layer
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
RPC connections now have optional tranparent SSL.
An optional private key and certificate file can be passed,
using the --{rpc,daemon}-ssl-private-key and
--{rpc,daemon}-ssl-certificate options. Those have as
argument a path to a PEM format private private key and
certificate, respectively.
If not given, a temporary self signed certificate will be used.
SSL can be enabled or disabled using --{rpc}-ssl, which
accepts autodetect (default), disabled or enabled.
Access can be restricted to particular certificates using the
--rpc-ssl-allowed-certificates, which takes a list of
paths to PEM encoded certificates. This can allow a wallet to
connect to only the daemon they think they're connected to,
by forcing SSL and listing the paths to the known good
certificates.
To generate long term certificates:
openssl genrsa -out /tmp/KEY 4096
openssl req -new -key /tmp/KEY -out /tmp/REQ
openssl x509 -req -days 999999 -sha256 -in /tmp/REQ -signkey /tmp/KEY -out /tmp/CERT
/tmp/KEY is the private key, and /tmp/CERT is the certificate,
both in PEM format. /tmp/REQ can be removed. Adjust the last
command to set expiration date, etc, as needed. It doesn't
make a whole lot of sense for monero anyway, since most servers
will run with one time temporary self signed certificates anyway.
SSL support is transparent, so all communication is done on the
existing ports, with SSL autodetection. This means you can start
using an SSL daemon now, but you should not enforce SSL yet or
nothing will talk to you.
|
| | |
|
| |\
| |
| |
| | |
4d3b61a3 Use io_service::work in epee tcp server (Lee Clagett)
|
| | | |
|
| |\ \
| | |
| | |
| | | |
7af4fbd4 epee: Add space after ':' in additional http response headers (Tom Smeding)
|
| | |/ |
|
| |\ \
| | |
| | |
| | | |
c0e9e805 Fixed missing return value in once_a_time class on windows (Markus Behm)
|
| | |/ |
|
| |\ \
| | |
| | |
| | | |
1eef0565 performance_tests: better stats, and keep track of timing history (moneromooo-monero)
|
| | | | |
|
| |\ \ \
| | | |
| | | |
| | | | |
7c3ade44 network_throttle: use circular_buffer where appropriate (moneromooo-monero)
|
| | | | | |
|
| |\ \ \ \
| | | | |
| | | | |
| | | | | |
123fc2a2 i2p: initial support (Jethro Grassie)
|
| | | |_|/
| |/| | |
|
| |/ / /
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
RPC connections now have optional tranparent SSL.
An optional private key and certificate file can be passed,
using the --{rpc,daemon}-ssl-private-key and
--{rpc,daemon}-ssl-certificate options. Those have as
argument a path to a PEM format private private key and
certificate, respectively.
If not given, a temporary self signed certificate will be used.
SSL can be enabled or disabled using --{rpc}-ssl, which
accepts autodetect (default), disabled or enabled.
Access can be restricted to particular certificates using the
--rpc-ssl-allowed-certificates, which takes a list of
paths to PEM encoded certificates. This can allow a wallet to
connect to only the daemon they think they're connected to,
by forcing SSL and listing the paths to the known good
certificates.
To generate long term certificates:
openssl genrsa -out /tmp/KEY 4096
openssl req -new -key /tmp/KEY -out /tmp/REQ
openssl x509 -req -days 999999 -sha256 -in /tmp/REQ -signkey /tmp/KEY -out /tmp/CERT
/tmp/KEY is the private key, and /tmp/CERT is the certificate,
both in PEM format. /tmp/REQ can be removed. Adjust the last
command to set expiration date, etc, as needed. It doesn't
make a whole lot of sense for monero anyway, since most servers
will run with one time temporary self signed certificates anyway.
SSL support is transparent, so all communication is done on the
existing ports, with SSL autodetection. This means you can start
using an SSL daemon now, but you should not enforce SSL yet or
nothing will talk to you.
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
- Support for ".onion" in --add-exclusive-node and --add-peer
- Add --anonymizing-proxy for outbound Tor connections
- Add --anonymous-inbounds for inbound Tor connections
- Support for sharing ".onion" addresses over Tor connections
- Support for broadcasting transactions received over RPC exclusively
over Tor (else broadcast over public IP when Tor not enabled).
|
| | |/
|/| |
|
| |/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The blockchain prunes seven eighths of prunable tx data.
This saves about two thirds of the blockchain size, while
keeping the node useful as a sync source for an eighth
of the blockchain.
No other data is currently pruned.
There are three ways to prune a blockchain:
- run monerod with --prune-blockchain
- run "prune_blockchain" in the monerod console
- run the monero-blockchain-prune utility
The first two will prune in place. Due to how LMDB works, this
will not reduce the blockchain size on disk. Instead, it will
mark parts of the file as free, so that future data will use
that free space, causing the file to not grow until free space
grows scarce.
The third way will create a second database, a pruned copy of
the original one. Since this is a new file, this one will be
smaller than the original one.
Once the database is pruned, it will stay pruned as it syncs.
That is, there is no need to use --prune-blockchain again, etc.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Number matching semantics are slightly changed: since this is used
as a filter to check whether a number is signed and/or floating
point, we can speed this up further. strto* functions are called
afterwards and will error out where necessary. We now also accept
numbers like .4 which were not accepted before.
The strto* calls on a boost::string_ref will not access unallocated
memory since the parsers always stop at the first bad character,
and the original string is zero terminated.
in arbitrary time measurement units for some arbitrary test case:
match_number2: 235 -> 70
match_word2: 330 -> 108
|
| |\
| |
| |
| | |
b82efa32 epee: speed up json parsing (moneromooo-monero)
|
| | | |
|
| |\ \
| | |
| | |
| | | |
a5ffc2d5 Remove boost::lexical_cast for uuid and unused uuid function (Lee Clagett)
|
| | |/ |
|
| |\ \
| | |
| | |
| | | |
85665003 epee: better network buffer data structure (moneromooo-monero)
|
| | |/
| |
| |
| | |
avoids pointless allocs and memcpy
|
| |\ \
| | |
| | |
| | | |
68f045de easylogging++: check allowed categories before logging (moneromooo-monero)
|
| | |/ |
|
| |\ \
| | |
| | |
| | |
| | | |
5464725a protocol: change standby mode to not wait sleeping (moneromooo-monero)
85807dfb add a once_a_time_milliseconds class (moneromooo-monero)
|
| | | | |
|
| |\ \ \
| | | |
| | | |
| | | |
| | | | |
a13eb0a1 epee: speed up string matching a bit (moneromooo-monero)
3a3858dc epee: avoid string allocation when parsing a pod from string (moneromooo-monero)
|
| | | | | |
|
| | |/ / |
|
| |\ \ \
| |_|/
|/| |
| | | |
3cf85f0 Changed RECIEVED to RECEIVED in log messages. (normoes)
|
| | | | |
|
| |\ \ \
| | | |
| | | |
| | | |
| | | | |
9c923bad epee: fix network packet header field endianness (moneromooo-monero)
ec1a62b5 move int-util.h to epee (moneromooo-monero)
|
| | | | | |
|
| | | |/
| |/| |
|
| |\ \ \
| |/ /
|/| |
| | | |
96e6b439 blockchain_stats: don't use gmtime_r on Windows (moneromooo-monero)
|
| | | |
| | |
| | |
| | |
| | |
| | | |
In some cases, it doesn't like it (I don't know the details).
Factor into a new epee function
|
| |\ \ \
| | | |
| | | |
| | | | |
bd98e99c Removed a lot of unnecessary includes (Martijn Otto)
|
| | | | | |
|
| |\ \ \ \
| | | | |
| | | | |
| | | | | |
2b3595d0 various: do not propagate exception through dtor (moneromooo-monero)
|
| | |/ / /
| | | |
| | | |
| | | | |
Coverity 189689, 189690, 189692, 189695
|
| |\ \ \ \
| |_|_|/
|/| | |
| | | |
| | | |
| | | | |
b36353e2 unit_tests: add some hex parsing test for non hex input (xiphon)
6671110c unit_tests: add a test for parse_hexstr_to_binbuff (moneromooo-monero)
f6187cd8 epee: speed up parse_hexstr_to_binbuff a little (Howard Chu)
|
| | |/ / |
|