aboutsummaryrefslogtreecommitdiff
path: root/src/p2p (unfollow)
AgeCommit message (Expand)AuthorFilesLines
2020-11-29p2p: give all hosts the same chance of being picked for connectingmoneromooo1-1/+26
2020-11-16Better log message for unusable anon networksHoward Chu1-2/+2
2020-11-11Silence stupid warningsHoward Chu1-1/+1
2020-11-03p2p: use /16 filtering on IPv4-within-IPv6 addressesmoneromooo-monero1-2/+30
2020-10-27p2p: remove banned peers from the white listmoneromooo1-0/+4
2020-10-20net_node: add --ban-list optionselsta3-0/+33
2020-10-19Add support for i2p and tor seed nodesLee Clagett2-54/+83
2020-10-12Dandelion++: skip desynced peers in stem phasexiphon3-8/+8
2020-08-17replace most boost serialization with existing monero serializationmoneromooo-monero1-0/+22
2020-05-31Fix boost <1.60 compilation and fix boost 1.73+ warningsLee Clagett1-1/+1
2020-05-20net_node: remove dead seed nodesselsta1-10/+0
2020-05-06Update copyright year to 2020SomaticFanatic9-9/+9
2020-04-22add another seed nodeGingeropolous1-0/+2
2020-04-22Add erciccione's seed nodeerciccione1-0/+1
2020-04-21p2p: startup speedup, init seed nodes on first 'connect_to_seed()'xiphon2-111/+139
2020-04-21p2p: add seed node.guy1-0/+1
2020-03-31p2p: fix frequent weak_ptr exception on connectionmoneromooo-monero1-4/+6
2020-03-27p2p: add another seed nodemoneromooo-monero1-0/+1
2020-03-26Adding Dandelion++ support to public networks:Lee Clagett3-11/+6
2020-03-20p2p: remove old debug commandsAaron Hook4-238/+1
2020-03-20p2p: do not add recently failed addresses to the peerlistmoneromooo-monero3-7/+17
2020-03-07p2p: plug tor to clearnet association vectorAaron Hook1-8/+6
2020-01-31p2p: fix spurious warning when we're connected to at last one seedmoneromooo-monero1-2/+8
2020-01-29p2p: remove obsolete local time in handshakemoneromooo-monero2-5/+0
2020-01-29p2p: avoid sending the same peer list over and overmoneromooo-monero3-4/+17
2020-01-26p2p: remove backward compatible peer listmoneromooo-monero1-58/+2
2020-01-26p2p: simplify last_seen serialization now we have optional storesmoneromooo-monero1-2/+1
2020-01-26p2p: remove obsolete local time from TIMED_SYNCmoneromooo-monero3-8/+4
2020-01-26network: log traffic and add a simple traffic analysis scriptmoneromooo-monero1-4/+4
2020-01-07p2p: fix off by one adding fallback peersmoneromooo-monero1-2/+2
2020-01-03p2p: fix adding wrong indices to the filtered peer listmoneromooo-monero1-1/+1
2019-12-17p2p: drop the peerlist dump to TRACEmoneromooo-monero1-1/+1
2019-11-19p2p: don't request flags after closing connectionmoneromooo-monero1-1/+1
2019-11-11p2p: zero last seen timestamp when inserting a new peermoneromooo-monero1-0/+1
2019-11-04Change to Tx diffusion (Dandelion++ fluff) instead of floodingLee Clagett4-10/+26
2019-11-02Adding support for hidden (anonymity) txpoolLee Clagett3-6/+14
2019-10-29always print peer IDs in the same formatmoneromooo-monero2-7/+7
2019-10-25daemon, wallet: new pay for RPC use systemmoneromooo-monero5-8/+33
2019-10-24Change monerod --proxy to --tx-proxyLee Clagett3-14/+14
2019-10-13node.inl, add xmrchain.net IP to hardcoded peersGingeropolous1-0/+3
2019-10-13p2p+rpc: don't skip p2p or rpc port bind failure by defaultxiphon3-4/+4
2019-10-02p2p: reject invalid pruning seeds in peer listsmoneromooo-monero1-0/+2
2019-10-02p2p: reject invalid rpc_port in peer listsxiphon1-0/+2
2019-09-25ban peers sending bad pow outrightmoneromooo-monero3-5/+5
2019-09-25Request a thread stack size that is large enough for unboundMartijn Otto1-1/+8
2019-09-16p2p: fix bans taking port into accountmoneromooo-monero3-10/+10
2019-09-04Fix IP address serialization on big endianmoneromooo-monero1-0/+2
2019-08-22p2p: reject incoming connections to selfmoneromooo-monero1-1/+10
2019-08-21p2p: sanitize peer listsmoneromooo-monero2-17/+26
2019-08-21p2p: move log away from globalmoneromooo-monero1-1/+1
2019-08-19daemon: fix print_pl only printing public zone peersmoneromooo-monero2-0/+10
2019-08-15Replace std::random_shuffle with std::shuffleTom Smeding1-1/+1
2019-07-31Add IPv6 supportThomas Winget4-34/+231
2019-07-29Fixed i2p/tor tx flooding bug (white noise disabled)Lee Clagett1-2/+2
2019-07-17Added support for "noise" over I1P/Tor to mask Tx transmission.Lee Clagett4-16/+115
2019-07-16allow blocking whole subnetsmoneromooo-monero3-10/+108
2019-07-16p2p: store network address directly in blocked host listmoneromooo-monero3-8/+8
2019-07-05p2p: don't connect to more than one IP per class B if we canmoneromooo-monero1-11/+45
2019-07-04p2p: add a few missing connection close callsmoneromooo-monero1-2/+6
2019-06-26p2p: don't forget pruning seed or public RPC port when updating peersmoneromooo-monero1-4/+16
2019-06-21p2p: add a reference to Cao, Tong et al. for the last_seen changesmoneromooo-monero1-0/+3
2019-06-19p2p: close the right number of connections on setting max in/out peersmoneromooo-monero1-2/+2
2019-06-19p2p: propagate out peers limit to payload handlermoneromooo-monero1-0/+1
2019-06-08p2p: fix GCC 9.1 crashmoneromooo-monero1-4/+6
2019-06-06p2p: delay IGP probing on startupmoneromooo-monero3-7/+54
2019-05-30rpc: in/out peers can now return the setting's valuemoneromooo-monero2-0/+20
2019-05-10remove obsolete save_graph skeleton codemoneromooo-monero3-18/+0
2019-04-24p2p: do not send last_seen timestamp to peersmoneromooo-monero3-12/+30
2019-04-11p2p: fix integer overflow in host bansmoneromooo-monero1-1/+8
2019-04-04crypto: replace rand<T>()%N idiom with unbiased rand_idx(N)stoffu2-3/+3
2019-03-22p2p: don't lookup seed nodes when offlinemoneromooo-monero1-1/+1
2019-03-20Fix daemon startup parameter '--limit-rate' processing after parameter defaultsrbrunner71-4/+2
2019-03-05Update 2019 copyrightbinaryFate9-9/+9
2019-03-05p2p: avoid busy loop when we have nothing to connect tomoneromooo-monero1-1/+9
2019-03-04default initialize rpc structuresmoneromooo-monero2-17/+32
2019-02-25daemon: add '--no-sync' arg to optionally disable blockchain syncxiphon3-0/+6
2019-02-25daemon: add --public-node mode, RPC port propagation over P2Pxiphon5-12/+39
2019-02-02epee: add SSL supportmoneromooo-monero2-10/+13
2019-01-30i2p: initial supportJethro Grassie3-3/+60
2019-01-28Adding initial support for broadcasting transactions over TorLee Clagett9-649/+1570
2019-01-22Pruningmoneromooo-monero6-54/+234
2018-12-30p2p: don't stop the idle thread when no gray peers are foundmoneromooo-monero1-1/+1
2018-12-23epee: better network buffer data structuremoneromooo-monero3-16/+16
2018-12-23Remove boost::lexical_cast for uuid and unused uuid functionLee Clagett1-3/+4
2018-12-07p2p: use vector instead of list for peer listsmoneromooo-monero4-24/+27
2018-11-15Removed a lot of unnecessary includesMartijn Otto1-1/+3
2018-11-01p2p: less frequent incoming connections checkmoneromooo-monero1-1/+1
2018-11-01p2p: tone down "no incoming connections" warning to info if in peers is 0moneromooo-monero1-3/+10
2018-10-31Expose limit-rate defaults from command line helpRaskaRuby2-4/+4
2018-10-16p2p: only deinitialize what's been initialized in offline modemoneromooo-monero1-4/+8
2018-10-15p2p: a negative result from UPNP_GetValidIGD is an errormoneromooo-monero1-2/+2
2018-10-13Revert "p2p: connect via the bound ip, if any"moneromooo-monero1-3/+3
2018-10-12Remove epee header dependency on cryptonote_coremoneromooo-monero1-0/+1
2018-07-02p2p: connect via the bound ip, if anymoneromooo-monero1-3/+3
2018-06-29add --regtest and --fixed-difficulty for regression testingvictorsintnicolaas1-0/+3
2018-06-28remove epee from link lines where it's redundantmoneromooo-monero1-1/+0
2018-06-11net_node: resolve host for node addresses given via command line flagsstoffu1-13/+43
2018-06-11cryptonote_config: add get_config to refactor x = testnet ? config::testnet::...stoffu1-3/+3
2018-05-26p2p: warn when no incoming connections are seen for a whilemoneromooo-monero2-0/+16
2018-04-29p2p: fix fallback seed node usagemoneromooo-monero2-3/+11
2018-04-25Fix broken interactive daemon 'limit' commands plus RPC callsrbrunner71-2/+2
2018-04-21Build: update CMake and p2p for in-tree miniupnpanonimal1-10/+3
2018-04-19CMake: update new location of in-tree miniupnpcanonimal1-3/+3
2018-03-27fix lambda compile error on openbsdmoneromooo-monero1-1/+1
2018-03-22p2p: correct port number for seed nodesstoffu1-3/+3
2018-03-13p2p: fix network ID being uninitialised when using exclusive peersmoneromooo-monero1-1/+4
2018-03-05Stagenetstoffu3-18/+34
2018-02-18p2p: restore m_testnet assignment lost during rebasewhythat1-0/+1
2018-02-18p2p: need libcryptonote_core due to arg_testnet_on being usedstoffu1-0/+1
2018-02-16options: add testnet option dependencieswhythat1-2/+6
2018-02-16options: remove testnet-* optionswhythat3-16/+6
2018-02-02pass large parameters by const ref, not valuemoneromooo-monero2-2/+2
2018-02-01p2p: do not try to connect to peers in offline modemoneromooo-monero1-0/+2
2018-01-29Allow the number of incoming connections to be limitedErik de Castro Lopo4-3/+63
2018-01-29Rename delete_connections to delete_out_connectionsErik de Castro Lopo2-2/+2
2018-01-29Rename connections_count to max_out_connection_countErik de Castro Lopo2-12/+12
2018-01-28p2p: fix testnet/mainnet port mixupmoneromooo-monero1-1/+2
2018-01-26Update 2018 copyrightxmr-eric9-9/+9
2018-01-18p2p: fix picking peers off an empty gray listmoneromooo-monero1-1/+4
2018-01-17p2p: don't lookup seed IPs if using an exclusive peermoneromooo-monero1-5/+5
2018-01-17p2p: don't connect to seeds if using an exclusive peermoneromooo-monero1-1/+1
2018-01-10fix some link errors in debug mode for macosstoffu1-0/+1
2017-12-18p2p: use size_t for arbitrary counters instead of uint8_tmoneromooo-monero1-2/+2
2017-12-16move connection_basic and network_throttle from src/p2p to epeemoneromooo-monero6-1214/+0
2017-12-16cryptonote_core does not depend on p2p anymoremoneromooo-monero4-47/+90
2017-12-16move includes around to lessen overall loadmoneromooo-monero1-0/+2
2017-12-15p2p: stop net server before closing starting connectionsmoneromooo-monero1-2/+5
2017-11-30core: make --offline also disable DNS lookupsmoneromooo-monero1-4/+2
2017-11-28Corrections in rate limiting / trottle code, especially in 'out' directionrbrunner75-33/+18
2017-11-14move cryptonote command line options to cryptonote_coremoneromooo-monero1-2/+3
2017-11-14remove "using namespace std" from headersmoneromooo-monero1-2/+2
2017-10-09Fix an object lifetime bug in net load testsmoneromooo-monero1-1/+1
2017-10-05Upgrades to epee::net_utils::network_addressLee Clagett3-15/+22
2017-09-25version: fix link to new version stringsmoneromooo-monero1-0/+1
2017-09-25net_peerlist: remove dead codemoneromooo-monero1-20/+1
2017-09-21build: auto update version info without manually deleting version.hstoffu1-2/+0
2017-09-10p2p: disable gray list housekeeping when an exclusive node is givenmoneromooo-monero1-0/+2
2017-09-01Rename m_listenning_port to m_listening_portMaxXor2-7/+7
2017-08-29Delete UPnP port mapping on exitMaxXor2-43/+97
2017-08-23print peer id in 0 padded hex for consistencymoneromooo-monero2-6/+13
2017-08-23p2p: init hashes after deserializing a network addressmoneromooo-monero1-0/+2
2017-08-21cryptonote_protocol: misc fixes to the new sync algorithmmoneromooo-monero1-0/+2
2017-08-16p2p: add a couple early outs when the stop signal is receivedmoneromooo-monero1-0/+5
2017-08-15Tweak net logs so we get more info on why networking can't startmoneromooo-monero1-22/+22
2017-08-11p2p: fix random peer index being too largemoneromooo-monero1-0/+2
2017-08-10p2p: get net log spam down a bitmoneromooo-monero1-4/+3
2017-08-09p2p: fallback on seed nodes if we can't make a connectionmoneromooo-monero2-6/+26
2017-08-08net_node: fix m_in_timedsync initializationmoneromooo-monero2-1/+2
2017-08-07cryptonote_protocol_handler: sync speedupmoneromooo-monero3-0/+14
2017-08-01network_throttle: remove unneeded heap allocationsmoneromooo-monero2-19/+6
2017-08-01p2p: move m_in_timedsync from connection_context to p2p_connection_contextmoneromooo-monero1-0/+3
2017-07-31some include cleanupmoneromooo-monero7-15/+17
2017-07-29p2p: close connections when exitingmoneromooo-monero1-0/+8
2017-07-28p2p: fix thread leakmoneromooo-monero1-6/+6
2017-07-27move get_proof_of_trust_hash from util.h to p2p_protocol_defs.hmoneromooo-monero2-1/+9
2017-06-28Remove typeid use in network_addressmoneromooo-monero3-20/+12
2017-06-15Don't issue a new timedsync while one is already in progressHoward Chu1-2/+6
2017-05-27abstracted nework addressesmoneromooo-monero6-189/+320
2017-03-18p2p: use the fallback seed IPs when not enough seeds are foundmoneromooo-monero2-27/+64
2017-02-28Make gray peer selection uniformMiguel Herranz1-1/+8
2017-02-27Make get_random_gray_peer distribution uniformMiguel Herranz1-5/+2
2017-02-21updated fallback nodesRiccardo Spagni1-6/+12
2017-02-21update copyright year, fix occasional lack of newline at line endRiccardo Spagni14-14/+14
2017-02-21core: add p2p bind port options from net_nodemoneromooo-monero1-2/+2
2017-02-13network_throttle: demote spammy logs to TRACEmoneromooo-monero1-2/+2
2017-02-12net_node: fix spurious warning about using uninitialized datamoneromooo-monero1-1/+1
2017-02-10Add anchor connectionsMiguel Herranz5-18/+207
2017-02-08extract some basic code from libcryptonote_core into libcryptonote_basickenshi841-0/+1
2017-01-28Separate data per P2P portMiguel Herranz1-0/+5
2017-01-23Remove unreachable returnsMiguel Herranz1-3/+0
2017-01-22Remove boost/foreach.cpp includesMiguel Herranz5-5/+0
2017-01-22Replace BOOST_REVERSE_FOREACH with ranged forMiguel Herranz1-3/+4
2017-01-22Replace BOOST_FOREACH with C++11 ranged forMiguel Herranz3-4/+4
2017-01-22p2p: always recreate a new peer id on startupmoneromooo-monero2-2/+17
2017-01-21p2p: show ban/unban logs by default againmoneromooo-monero1-3/+3
2017-01-21Rename method to get_random_gray_peerMiguel Herranz2-4/+4
2017-01-21Fix logging that broke after rebasingMiguel Herranz1-1/+1
2017-01-21Use set_peer_just_seen to keep last_seen updatedMiguel Herranz1-1/+1
2017-01-21Add gray peer list housekeeping systemMiguel Herranz3-0/+121
2017-01-18Honor depth in get_peerlist_head methodMiguel Herranz1-2/+4
2017-01-16Reduce to one connection per IPMiguel Herranz1-1/+1
2017-01-16Change logging to easylogging++moneromooo-monero5-427/+91
2017-01-15Limit incoming connections from the same IPMiguel Herranz2-0/+32
2017-01-14remove unused fields from network_throttle (unused-private-field warning)Chris Vickio1-3/+0
2016-12-20also use portable serializer for boost_serialization_helper.h and net_node.in...kenshi842-7/+28
2016-12-04Fix a few minor typosPierre Boyer1-4/+4
2016-12-04Fix delayed exit when syncingmoneromooo-monero1-0/+1
2016-12-03net_node: drop connections from banned IPs after looping through connectionsmoneromooo-monero1-4/+6
2016-12-01p2p: possibly fix crash in relay_blocksmoneromooo-monero3-6/+17
2016-11-23Fix DNS failures in offline mode preventing daemon startupmoneromooo-monero1-1/+1
2016-11-09add lightweight block propagation ("fluffy blocks")Dion Ahmetaj4-6/+81
2016-10-02p2p: drop any existing connection to a banned IPmoneromooo-monero1-0/+12
2016-09-26Cleanup. Dropped "bit" from bitmonero.Randi Joseph1-2/+2
2016-09-26Cleanup. Dropped "bit" from bitmonero.Randi Joseph1-1/+1
2016-09-26Cleanup. Dropped "bit" from bitmonero.Randi Joseph1-1/+1
2016-09-26Dropped "bit" from bitmonero.Randi Joseph1-2/+2
2016-09-18remove dead backup seed nodes, add new onesRiccardo Spagni1-24/+6
2016-09-18cmake: transitive deps and remove deprecated LINK_*redfish1-7/+10
2016-07-03allow peers without portmoneromooo-monero1-0/+5
2016-05-18src: p2p: add exception spec to throwing destructorsredfish4-4/+4