aboutsummaryrefslogtreecommitdiff
path: root/contrib/epee/include/net/connection_basic.hpp (follow)
AgeCommit message (Collapse)AuthorFilesLines
2022-04-06Merge pull request #8223luigi11111-1/+1
17772ef Eliminate dependence on boost::interprocess #8223 (Jeffrey)
2022-03-30Eliminate dependence on boost::interprocess #8223Jeffrey1-1/+1
In this repo, `boost::interprocess` was being used soley to make `uint32_t` operations atomic. So I replaced each instance of `boost::interprocess::ipcdetail::atomic(...)32` with `std::atomic` methods. I replaced member declarations as applicable. For example, when I needed to change a `volatile uint32_t` into a `std::atomic<uint32_t>`. Sometimes, a member was being used a boolean flag, so I replaced it with `std::atomic<bool>`. You may notice that I didn't touch `levin_client_async.h`. That is because this file is entirely unused and will be deleted in PR monero-project#8211. Additional changes from review: * Make some local variables const * Change postfix operators to prefix operators where value was not need
2022-03-04Copyright: Update to 2022mj-xmr1-1/+1
2020-12-28ssl: buffered handshake detectionanon1-2/+2
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/+141
These even had the epee namespace. This fixes some ugly circular dependencies.