Commit Graph

23 Commits

Author SHA1 Message Date
34e3ba7147
Correct the condition for publishing onion peer 2024-06-26 00:06:53 +03:00
b9865b35f3
A rough implementation of onion service based on pybitmessage plugin 2024-06-26 00:06:50 +03:00
8105453861
Implement decoding and connection to onion peer:
make a separate a bit controversial class structure.OnionPeer(),
having .from_object() and .to_object() instead of .from_bytes() etc.
2024-06-26 00:03:34 +03:00
d589ce3bec
A minimal implementation of proxy for outgoing connections using PySocks,
special arg --tor currently just sets host and port for the socks_proxy.
2024-06-25 23:58:01 +03:00
740654b563
Make tuples from sets before taking random samples 2024-05-07 19:15:36 +03:00
9bcaea12cf
Specifically skip B311 in manager by bandit 2023-10-14 01:06:31 +03:00
e4c2c1be16
Make load_data a static method in manager,
use ascii while loading nodes csv.
2023-10-14 01:06:31 +03:00
7812e4bbc2
Use shared.stream when assembling i2p_dest object instead of hardcoded 1 2023-10-12 19:49:32 +03:00
8755e56167
Replace Manager.clean_objects() by the extended version from main
and call it upon the Manager start.
2023-08-20 01:14:17 +03:00
e95f2b522a
Add basic docstrings 2023-07-30 03:45:59 +03:00
30a8a32c92
Lower the level of most log messages, but add exc_info for some
- log info on disconnect, debug on disconnected locally
  - don't log connections failed because of obvious resons
2022-09-10 19:30:39 +03:00
a93c0f8417
Rename pow module to proofofwork 2021-08-02 20:06:50 +03:00
23d305bf15
Mark random.uniform() in manager for skipping by bandit 2021-08-02 19:48:15 +03:00
3fa84d1f4b
Formatted the code with flake8 2021-03-09 18:35:03 +02:00
83c2e48fe5
Use dotted imports 2021-03-09 18:31:20 +02:00
TheKysek
f74cb829fc
Reject duplicate I2P connections and do not connect to ourselves 2017-07-30 09:26:16 +02:00
TheKysek
7ff7a16470
Do not publish transient I2P destinations 2017-07-23 20:58:00 +02:00
TheKysek
2085f01281
Code cleanup 2017-07-20 18:22:59 +02:00
TheKysek
974568164f
Destination sharing tweaks 2017-07-03 09:23:02 +02:00
TheKysek
47fd7a4c44
First publish I2P destination earlier after start 2017-07-01 16:00:35 +02:00
TheKysek
057b25a812
I2P improvements
- local destination publishing

- destination gathering
2017-07-01 15:05:06 +02:00
TheKysek
918a926c88
I2P tweaks 2017-06-11 07:55:53 +02:00
TheKysek
1a3e340537
Experimental I2P support 2017-06-09 20:41:33 +02:00