aboutsummaryrefslogtreecommitdiff
path: root/contrib/epee/include/net/connection_basic.hpp (unfollow)
AgeCommit message (Collapse)AuthorFilesLines
2020-05-06Update copyright year to 2020SomaticFanatic1-1/+1
Update copyright year to 2020
2019-07-17Added support for "noise" over I1P/Tor to mask Tx transmission.Lee Clagett1-3/+3
2019-07-16Add ref-counted buffer byte_slice. Currently used for sending TCP data.Lee Clagett1-1/+2
2019-05-10remove obsolete save_graph skeleton codemoneromooo-monero1-2/+0
2019-04-07Pass SSL arguments via one class and use shared_ptr instead of referenceLee Clagett1-19/+35
2019-03-05Update 2019 copyrightbinaryFate1-1/+1
2019-02-02epee: add SSL supportmoneromooo-monero1-2/+44
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.
2019-01-28Adding initial support for broadcasting transactions over TorLee Clagett1-2/+15
- 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).
2018-11-15Removed a lot of unnecessary includesMartijn Otto1-12/+1
2018-10-02connection_basic: remove unused floating time start timemoneromooo-monero1-3/+0
2018-01-26Update 2018 copyrightxmr-eric1-1/+1
2017-12-16move connection_basic and network_throttle from src/p2p to epeemoneromooo-monero1-0/+0
These even had the epee namespace. This fixes some ugly circular dependencies.
2017-07-31some include cleanupmoneromooo-monero1-2/+2
2017-02-21update copyright year, fix occasional lack of newline at line endRiccardo Spagni1-1/+1
2016-05-18src: p2p: add exception spec to throwing destructorsredfish1-1/+1
The destructors get a noexcept(true) spec by default, but these destructors in fact throw exceptions. An alternative fix might be to not throw (most if not all of these throws are non-essential error-reporting/logging).
2015-12-31updated copyright yearRiccardo Spagni1-1/+1
2015-05-31cleaning up, removing redundant files, renaming, fixing incorrect licensesRiccardo Spagni1-2/+1
2015-05-17print limits when running limit commands with no argumentsmoneromooo-monero1-0/+2
It's more user friendly that an error message saying the command does not exist.
2015-04-08[fix] Network 1.8: unlimited the RPC connectionsrfree2monero1-0/+8
works for unit tests build, too
2015-02-202014 network limit 1.1 +utils +toc -doc -drmonerorfree2monero1-9/+2
Update of the PR with network limits works very well for all speeds (but remember that low download speed can stop upload because we then slow down downloading of blockchain requests too) more debug options fixed pedantic warnings in our code should work again on Mac OS X and FreeBSD fixed warning about size_t tested on Debian, Ubuntu, Windows(testing now) TCP options and ToS (QoS) flag FIXED peer number limit FIXED some spikes in ingress/download FIXED problems when other up and down limit
2015-02-202014 network limit 1.0a +utils +toc -doc -drmonerorfree2monero1-0/+139
commands and options for network limiting works very well e.g. for 50 KiB/sec up and down ToS (QoS) flag peer number limit TODO some spikes in ingress/download TODO problems when other up and down limit added "otshell utils" - simple logging (with colors, text files channels)