aboutsummaryrefslogtreecommitdiff
path: root/src/p2p/net_node.inl (unfollow)
AgeCommit message (Expand)AuthorFilesLines
2021-03-18Fixed issues found by static analysisSChernykh1-4/+4
2021-01-21p2p: allow CIDR notation in DNS blocklistmoneromooo-monero1-5/+14
2021-01-08p2p: only log to global when a blocked IP is not already blockedmoneromooo-monero1-1/+8
2021-01-03add a max levin packet size by command typemoneromooo-monero1-0/+1
2020-12-31p2p: fix deadlock banning while updating peer listsmoneromooo1-0/+1
2020-12-23Command max_bytes moved from dynamic map to static switchLee Clagett1-1/+0
2020-12-22ban lists may now include subnetsmoneromooo-monero1-3/+9
2020-12-20Optional DNS based blocklistmoneromooo-monero1-2/+56
2020-12-13p2p: remove peers from grey and anchors lists when blockedmoneromooo-monero1-0/+2
2020-12-13p2p: ignore incoming peer list entries when we have them blockedmoneromooo-monero1-1/+3
2020-12-06p2p: fix race condition accessing a deleted contextmoneromooo-monero1-7/+9
2020-12-05p2p: drop peers that spam peer listsmoneromooo-monero1-0/+5
2020-11-16Better log message for unusable anon networksHoward Chu1-2/+2
2020-11-07Fix i2p/tor seed nodesLee Clagett1-5/+18
2020-11-07p2p: fix accessing non existent element of mapmoneromooo-monero1-1/+4
2020-11-06p2p: add a tor seedmoneromooo-monero1-0/+1
2020-11-05net_node: add tor / i2p seed nodesselsta1-0/+4
2020-11-05p2p: fix endianness when checking IPv6 addresses mapping to IPv4moneromooo-monero1-5/+3
2020-11-04p2p: make this work with boost <= 1.65 (pffff)moneromooo-monero1-0/+4
2020-11-04p2p: rewrite boost's make_address_v4 to cater for < 1.66moneromooo1-9/+14
2020-11-03p2p: use /16 filtering on IPv4-within-IPv6 addressesmoneromooo-monero1-2/+30
2020-11-02p2p: remove banned peers from the white listmoneromooo1-0/+4
2020-11-02p2p: give all hosts the same chance of being picked for connectingmoneromooo1-1/+26
2020-11-02net_node: add --ban-list optionselsta1-0/+31
2020-10-12Dandelion++: skip desynced peers in stem phasexiphon1-5/+5
2020-10-11Do not use peer_id tracking method over i2p/torLee Clagett1-39/+50
2020-10-09Add support for i2p and tor seed nodesLee Clagett1-46/+68
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 2020SomaticFanatic1-1/+1
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()'xiphon1-110/+135
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 Clagett1-8/+3
2020-03-20p2p: remove old debug commandsAaron Hook1-95/+0
2020-03-20p2p: do not add recently failed addresses to the peerlistmoneromooo-monero1-2/+12
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-monero1-3/+0
2020-01-29p2p: avoid sending the same peer list over and overmoneromooo-monero1-1/+13
2020-01-26p2p: remove obsolete local time from TIMED_SYNCmoneromooo-monero1-5/+3
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 Clagett1-6/+8
2019-11-02Adding support for hidden (anonymity) txpoolLee Clagett1-3/+8
2019-10-29always print peer IDs in the same formatmoneromooo-monero1-6/+6
2019-10-25daemon, wallet: new pay for RPC use systemmoneromooo-monero1-3/+8
2019-10-24Change monerod --proxy to --tx-proxyLee Clagett1-4/+4
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 defaultxiphon1-2/+2
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-monero1-2/+2
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-monero1-4/+4
2019-08-22p2p: reject incoming connections to selfmoneromooo-monero1-1/+10
2019-08-21p2p: sanitize peer listsmoneromooo-monero1-15/+25
2019-08-21p2p: move log away from globalmoneromooo-monero1-1/+1
2019-08-19daemon: fix print_pl only printing public zone peersmoneromooo-monero1-0/+9
2019-07-31Add IPv6 supportThomas Winget1-31/+161
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 Clagett1-1/+82
2019-07-16allow blocking whole subnetsmoneromooo-monero1-8/+96
2019-07-16p2p: store network address directly in blocked host listmoneromooo-monero1-3/+3
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-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-06p2p: delay IGP probing on startupmoneromooo-monero1-5/+43
2019-05-30rpc: in/out peers can now return the setting's valuemoneromooo-monero1-0/+18
2019-05-10remove obsolete save_graph skeleton codemoneromooo-monero1-6/+0
2019-04-24p2p: do not send last_seen timestamp to peersmoneromooo-monero1-2/+2
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)stoffu1-2/+2
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 copyrightbinaryFate1-1/+1
2019-03-05p2p: avoid busy loop when we have nothing to connect tomoneromooo-monero1-1/+9
2019-02-25daemon: add '--no-sync' arg to optionally disable blockchain syncxiphon1-0/+4
2019-02-25daemon: add --public-node mode, RPC port propagation over P2Pxiphon1-3/+8
2019-02-02epee: add SSL supportmoneromooo-monero1-7/+8
2019-01-28Adding initial support for broadcasting transactions over TorLee Clagett1-432/+693
2019-01-22Pruningmoneromooo-monero1-49/+149
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-monero1-4/+4
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-monero1-5/+5
2018-11-01p2p: tone down "no incoming connections" warning to info if in peers is 0moneromooo-monero1-3/+10
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-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-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-monero1-0/+14
2018-04-29p2p: fix fallback seed node usagemoneromooo-monero1-3/+10
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-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-05Stagenetstoffu1-11/+25
2018-02-18p2p: restore m_testnet assignment lost during rebasewhythat1-0/+1
2018-02-16options: remove testnet-* optionswhythat1-8/+2
2018-02-02pass large parameters by const ref, not valuemoneromooo-monero1-1/+1
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 Lopo1-3/+54
2018-01-29Rename delete_connections to delete_out_connectionsErik de Castro Lopo1-1/+1
2018-01-29Rename connections_count to max_out_connection_countErik de Castro Lopo1-10/+10
2018-01-28p2p: fix testnet/mainnet port mixupmoneromooo-monero1-1/+2
2018-01-26Update 2018 copyrightxmr-eric1-1/+1
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
2017-12-18p2p: use size_t for arbitrary counters instead of uint8_tmoneromooo-monero1-2/+2
2017-12-16cryptonote_core does not depend on p2p anymoremoneromooo-monero1-36/+1
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' directionrbrunner71-12/+10
2017-11-14move cryptonote command line options to cryptonote_coremoneromooo-monero1-2/+3
2017-10-09Fix an object lifetime bug in net load testsmoneromooo-monero1-1/+1
2017-10-05Upgrades to epee::net_utils::network_addressLee Clagett1-4/+4
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_portMaxXor1-5/+5
2017-08-29Delete UPnP port mapping on exitMaxXor1-43/+95
2017-08-23print peer id in 0 padded hex for consistencymoneromooo-monero1-6/+6
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-09p2p: fallback on seed nodes if we can't make a connectionmoneromooo-monero1-6/+25
2017-08-08net_node: fix m_in_timedsync initializationmoneromooo-monero1-0/+1
2017-08-07cryptonote_protocol_handler: sync speedupmoneromooo-monero1-0/+8
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-monero1-1/+1
2017-06-28Remove typeid use in network_addressmoneromooo-monero1-8/+8
2017-06-15Don't issue a new timedsync while one is already in progressHoward Chu1-2/+6
2017-05-27abstracted nework addressesmoneromooo-monero1-108/+107
2017-03-18p2p: use the fallback seed IPs when not enough seeds are foundmoneromooo-monero1-26/+61
2017-02-28Make gray peer selection uniformMiguel Herranz1-1/+8
2017-02-21updated fallback nodesRiccardo Spagni1-6/+12
2017-02-21update copyright year, fix occasional lack of newline at line endRiccardo Spagni1-1/+1
2017-02-21core: add p2p bind port options from net_nodemoneromooo-monero1-2/+2
2017-02-10Add anchor connectionsMiguel Herranz1-12/+105
2017-01-28Separate data per P2P portMiguel Herranz1-0/+5
2017-01-22Replace BOOST_FOREACH with C++11 ranged forMiguel Herranz1-2/+2
2017-01-22p2p: always recreate a new peer id on startupmoneromooo-monero1-1/+10
2017-01-21p2p: show ban/unban logs by default againmoneromooo-monero1-3/+3
2017-01-21Rename method to get_random_gray_peerMiguel Herranz1-1/+1
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 Herranz1-0/+71
2017-01-16Reduce to one connection per IPMiguel Herranz1-1/+1
2017-01-16Change logging to easylogging++moneromooo-monero1-83/+80
2017-01-15Limit incoming connections from the same IPMiguel Herranz1-0/+30
2016-12-20also use portable serializer for boost_serialization_helper.h and net_node.in...kenshi841-6/+26
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-monero1-6/+11
2016-11-23Fix DNS failures in offline mode preventing daemon startupmoneromooo-monero1-1/+1
2016-11-09add lightweight block propagation ("fluffy blocks")Dion Ahmetaj1-3/+49
2016-10-02p2p: drop any existing connection to a banned IPmoneromooo-monero1-0/+12
2016-09-18remove dead backup seed nodes, add new onesRiccardo Spagni1-24/+6
2016-07-03allow peers without portmoneromooo-monero1-0/+5
2016-04-17net_node: fix connection leak when ping fails with bad responsemoneromooo-monero1-0/+1
2016-03-11Use boost::thread instead of std::threadHoward Chu1-1/+1
2016-02-18Use boost::thread instead of std::threadHoward Chu1-1/+1
2016-01-14'max limit of...' is redundant wording, rephrasebinaryFate1-1/+1
2015-12-31updated copyright yearRiccardo Spagni1-1/+1
2015-12-22net_node: fix a hang on exitmoneromooo-monero1-1/+1
2015-12-19Add missing semicolons after log statementsmoneromooo-monero1-1/+1
2015-12-17p2p: minor log formatting fixmoneromooo-monero1-1/+1
2015-12-15Replace tabs with two spaces for consistency with rest of codebasewarptangent1-203/+203
2015-12-08Register daemon command line arguments to core if they're used in coremoneromooo-monero1-2/+1
2015-12-07net_node: add a --offline argumentmoneromooo-monero1-0/+10
2015-12-07p2p: failure to load p2pstate.bin is not fatal anymoremoneromooo-monero1-2/+11
2015-11-26add RPC calls and commands to get/set bansmoneromooo-monero1-1/+13
2015-11-25net_node: allow bans for custom amounts of timemoneromooo-monero1-3/+3
2015-11-23Add IP blocking for misbehaving nodes (adapted from Boolberry)Javier Smooth1-0/+68
2015-11-23quiet down p2p logging a bitJavier Smooth1-1/+1
2015-10-05Update to compile with latest miniupnpcwarptangent1-0/+6
2015-08-14net_node: Use DNS resolver singletonwarptangent1-1/+1
2015-08-11net_node: skimplify rate limit code, and log as appropriatemoneromooo-monero1-8/+5
2015-07-15** CHANGES ARE EXPERIMENTAL (FOR TESTING ONLY)NoodleDoodleNoodleDoodleNoodleDoodleNoo1-9/+23
2015-05-25Fix compile for GCC 5.1.0warptangent1-1/+5
2015-05-25Build seed node list without duplicateswarptangent1-31/+36
2015-04-20Fix missing virtual destructorSergey Kazenyuk1-2/+2
2015-04-02update hardcoded fallback seedsRiccardo Spagni1-12/+25
2015-04-01remerged; commands JSON. logging upgrade. doxygenrfree2monero1-25/+35
2015-02-24fix locking in count-peers thread (2)rfree2monero1-9/+10
2015-02-24Daemonize changes pulled in -- daemon buildsThomas Winget1-1/+6