This repository has been archived on 2024-12-16. You can view files and clone it, but cannot push or open issues or pull requests.
PyBitmessage-2024-12-16/src/network
Peter Surda 2a165380bb
Restrict outbound connections on network groups
Logic borrowed from bitcoin, see CNetAddr::GetGroup() in src/netaddress.cpp
Simplified, so may not work fully identically but for our purposes it's good
enough. Won't connect to more than one host from a /16 subnet on IPv4 and a /32
subnet on IPv6.
2019-11-18 12:20:29 +01:00
..
__init__.py Reduced imports: 2019-11-11 12:03:03 +02:00
addrthread.py New logging approach in order to reduce imports from submodules 2019-10-18 09:35:24 +03:00
advanceddispatcher.py New logging approach in order to reduce imports from submodules 2019-10-18 09:35:24 +03:00
announcethread.py Moved Peer from state to network.node 2019-11-11 17:13:12 +02:00
asyncore_pollchoose.py Changes based on style and lint checks. (final_code_quality_5) 2018-10-31 14:04:35 +00:00
bmobject.py New logging approach in order to reduce imports from submodules 2019-10-18 09:35:24 +03:00
bmproto.py Restrict outbound connections on network groups 2019-11-18 12:20:29 +01:00
connectionchooser.py Moved Peer from state to network.node 2019-11-11 17:13:12 +02:00
connectionpool.py Restrict outbound connections on network groups 2019-11-18 12:20:29 +01:00
dandelion.py Used logger.isEnabledFor() to prevent unneeded calculations 2019-10-18 09:35:31 +03:00
downloadthread.py network.BMConnectionPool: added shortcuts connections() 2019-11-11 12:03:04 +02:00
http_old.py Renamed invalid python module http-old 2019-10-18 01:06:02 +03:00
http.py http pylint fixes 2019-09-10 15:34:19 +05:30
httpd.py proxy flake8 fixes 2019-09-10 16:08:18 +05:30
https.py https flake8 fixes 2019-09-10 15:34:20 +05:30
invthread.py network.BMConnectionPool: added shortcuts connections() 2019-11-11 12:03:04 +02:00
networkthread.py New logging approach in order to reduce imports from submodules 2019-10-18 09:35:24 +03:00
node.py Moved Peer from state to network.node 2019-11-11 17:13:12 +02:00
objectracker.py network.BMConnectionPool: added shortcuts connections() 2019-11-11 12:03:04 +02:00
proxy.py Moved Peer from state to network.node 2019-11-11 17:13:12 +02:00
randomtrackingdict.py Moved randomtrackingdict to network, it's used only there 2019-08-18 17:34:58 +03:00
receivequeuethread.py Reduced imports: 2019-11-11 12:03:03 +02:00
socks4a.py socks4a pylint fixes 2019-09-16 19:13:53 +05:30
socks5.py Moved Peer from state to network.node 2019-11-11 17:13:12 +02:00
stats.py network.BMConnectionPool: added shortcuts connections() 2019-11-11 12:03:04 +02:00
tcp.py Restrict outbound connections on network groups 2019-11-18 12:20:29 +01:00
threads.py New logging approach in order to reduce imports from submodules 2019-10-18 09:35:24 +03:00
tls.py Used logger.isEnabledFor() to prevent unneeded calculations 2019-10-18 09:35:31 +03:00
udp.py Moved Peer from state to network.node 2019-11-11 17:13:12 +02:00
uploadthread.py network.BMConnectionPool: added shortcuts connections() 2019-11-11 12:03:04 +02:00