SChernykh
19cc044cab
Added UPnP port forwarding
2023-03-19 23:02:09 +01:00
SChernykh
de7bdba95f
TCPServer: don't spam logs with 127.0.0.1 bans
2023-03-17 16:59:01 +01:00
SChernykh
2807f9a51c
TCPServer: disabled debug check in release builds
2023-02-27 19:14:03 +01:00
SChernykh
12a011a9ff
TCPServer: removed unnecessary mutex
2023-02-27 15:59:42 +01:00
SChernykh
1c908c261d
TCPServer: refactored memory allocation
2023-02-17 08:47:52 +01:00
SChernykh
f5ac485ac8
TCPServer: optimized internal write buffers
2023-01-20 17:03:59 +01:00
SChernykh
5e8858c40e
Fixed warning level
2023-01-18 20:57:45 +01:00
SChernykh
f95d56d1eb
Fixed wrong type in uv_walk
2023-01-17 08:15:53 +01:00
SChernykh
d4329ae594
Show file:line where panic() was called from
2023-01-14 12:37:08 +01:00
SChernykh
b346b93285
Updated copyright
2023-01-04 13:07:55 +01:00
SChernykh
d081c8ea74
TCPServer: fixed data race during shutdown
2022-10-18 18:41:58 +02:00
SChernykh
2daa7f9fea
Fixed memory leak
2022-09-28 22:43:38 +02:00
SChernykh
7468af0779
TCPServer: fix incoming connection counting
2022-09-22 11:28:38 +02:00
SChernykh
d80a06bc8e
Added more error logging
2022-09-08 09:18:30 +02:00
SChernykh
e92cc7d50c
Fix: don't use proxy for incoming connections
2022-09-06 15:59:05 +02:00
SChernykh
989a28a8ca
TCPServer small fixes
2022-09-05 15:14:10 +02:00
SChernykh
86156f3fec
SOCKS5 proxy support
2022-09-03 22:35:38 +02:00
SChernykh
4733d42932
TCPServer: more informative error messages
2022-08-27 10:52:02 +02:00
SChernykh
2e4f7adee4
TCPServer: added more checks during disconnects
2022-07-06 14:17:09 +02:00
SChernykh
8f1fd55e2f
Fixed more memory leaks in TCPServer
2022-06-07 22:25:27 +02:00
SChernykh
8af9e9b27d
Fixed memory leaks
2022-06-07 19:40:13 +02:00
SChernykh
a35d4b2701
Change llhttp to libcurl
2022-06-06 15:08:37 +02:00
SChernykh
cb147773b5
Updated cppcheck workflow on Linux
2022-05-26 21:19:01 +02:00
SChernykh
0e222afd6a
Exit if server startup fails
2022-05-23 15:50:25 +02:00
SChernykh
a4d84e318d
TCPServer: refactored Client constructor
2022-05-09 19:13:34 +02:00
SChernykh
134f2d68a3
Fixed data races
2022-05-09 16:10:55 +02:00
SChernykh
d4e362cd76
TCPServer: optimized Client struct size
2022-05-07 12:35:31 +02:00
SChernykh
1a35177633
Fixed unsafe usage of log::Stream buffers
2022-05-05 14:38:56 +02:00
SChernykh
8f27d940e3
Don't ban localhost
2022-05-03 13:11:55 +02:00
SChernykh
7522111bb7
Fixed data races
2022-04-09 00:38:15 +02:00
SChernykh
a2afa29052
Updated copyright
2022-03-30 14:42:26 +02:00
SChernykh
7ab21c6afd
TCPServer: reduced memory usage
2022-02-23 17:07:50 +01:00
SChernykh
9593311332
Added bans
console command
2022-02-21 19:59:57 +01:00
SChernykh
f082488e4b
TCPServer: use steady_clock for bans
2022-02-21 18:41:36 +01:00
SChernykh
f9def6cb73
Added "calc_pow" RPC support
2021-11-21 09:12:21 +01:00
SChernykh
5dd8d11b72
TCPServer: removed unused field
2021-11-09 15:48:59 +01:00
SChernykh
dff2413cae
TCPServer: make write buffers global
...
Reduced memory usage per connection.
2021-10-31 20:29:35 +01:00
SChernykh
b45540ca08
TCPServer: clean up old IP bans
2021-10-29 14:54:36 +02:00
SChernykh
d26902468d
P2PServer: peer list tweaks
...
- Increase outgoing connections to 10
- Stricter handling of peer list responses
2021-10-21 15:55:00 +02:00
SChernykh
61ac90f1d5
Fixed typo
2021-10-13 14:56:27 +02:00
SChernykh
14e26f5c17
Fix: always check before closing TCP handles
2021-09-13 19:11:59 +02:00
SChernykh
25772abc0f
Show block share % in status
2021-09-07 09:53:38 +02:00
SChernykh
7b0cc256c5
P2PServer: ban peers that disconnect without finishing handshake
2021-09-06 16:17:20 +02:00
SChernykh
a36825424b
Fixed some Coverity reports
2021-09-06 09:02:35 +02:00
SChernykh
884d0f180a
TCP server: log IP addresses in more places
2021-09-05 20:21:33 +02:00
SChernykh
bab148fbad
Added cppcheck scripts
2021-09-02 12:35:36 +02:00
SChernykh
bb7720968f
Tweaked log levels
2021-08-29 19:20:36 +02:00
SChernykh
81a12158fc
P2PServer: don't add banned peers back to the peer list
2021-08-27 16:36:06 +02:00
SChernykh
f77e0434c6
Fixed TCPServer startup
2021-08-27 00:19:01 +02:00
SChernykh
3f1ee9ce4b
TCPServer fixes
...
- Proper shutdown sequence, uv_close() must be called from the event loop thread
- Moved start_listening() to child class constructor because it must be ready before it can listen on sockets
- Added simple memory leak detector for Windows. Linux users can enjoy the leak sanitizer
2021-08-26 23:57:59 +02:00