Commit Graph

998 Commits

Author SHA1 Message Date
Matthias Seitz
00a4555b7d chore: downgrade dns debug! to trace (#7384) 2024-03-29 15:22:50 +00:00
Matthias Seitz
d6e4eab527 fix: err if no incoming capacity and no trusted nodes (#7361) 2024-03-27 22:53:09 +00:00
Emilia Hane
415efc82af feat(discv5): open dns for discv5 (#7328)
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
2024-03-27 19:58:03 +00:00
0xAtreides
4d798c7b65 feature: Add timeouts for handshake functions (#7295) 2024-03-26 21:34:32 +00:00
Justin Traglia
d9ce894fa3 feat: enable nursery lints without findings (#7334) 2024-03-26 12:53:51 +00:00
Justin Traglia
d2fb8f245a fix: some minor nits in txpool code (#7330) 2024-03-25 19:34:00 +00:00
Abner Zheng
074af7b901 Check RequestPair payload length during decoding (#7292) 2024-03-25 17:19:31 +00:00
Krishang
61801b98b6 fix: Returns an error if multiplex message is empty (#7314) 2024-03-25 11:29:41 +00:00
Matthias Seitz
b58cca7f91 fix: race condition concurrent in and out from same peer (#7317) 2024-03-25 11:19:19 +00:00
Matthias Seitz
a31202670b chore: apply some style suggestions (#7307) 2024-03-24 22:52:33 +00:00
Dan Cline
88186a257c chore: make Session established log debug (#7301) 2024-03-22 19:56:08 +00:00
Abner Zheng
a3d2e903a9 Safe rlpx capability id masking (#7297) 2024-03-22 17:51:20 +00:00
Nil Medvedev
f96d790661 fix: validate empty item in p2p start_send (#7294) 2024-03-22 17:09:29 +00:00
jn
ea5535cc28 fix: DisconnectReason::decode should return error on zero length list (#7284) 2024-03-21 19:52:59 +00:00
Alexey Shekhirin
0da7b7c314 chore: fix typos (#7264) 2024-03-21 12:10:09 +00:00
Matthias Seitz
28b983403e chore: move op types; less op cfgs (#7255) 2024-03-20 18:17:23 +00:00
Matthias Seitz
1c6ea1e30a feat: support any node format in admin API (#7247) 2024-03-20 17:37:06 +00:00
Thomas Coratger
0a803c49a9 Integrate Config into admin_nodeInfo response (#7206) 2024-03-20 11:21:31 +00:00
DaniPopes
9d039a233c chore(deps): use tikv-jemallocator instead of jemallocator (#7232) 2024-03-19 17:13:23 +00:00
Matthias Seitz
d86d4d2380 fix: enforce max inbound == 0 (#7229) 2024-03-19 16:57:28 +00:00
Justin Traglia
11bedc1884 Enable clippy's or_fun_call linter (#7222)
Co-authored-by: Alexey Shekhirin <a.shekhirin@gmail.com>
2024-03-19 15:52:41 +00:00
Justin Traglia
553a271533 Decode with EMPTY_STRING_CODE and buf.advance() (#7227) 2024-03-19 15:12:10 +00:00
Matthias Seitz
1ad50d148a fix: enforce timeouts for pending sessions (#7219) 2024-03-19 15:05:50 +00:00
Matthias Seitz
a8c692c5b5 feat: add metrics for pending connections (#7225) 2024-03-19 14:45:22 +00:00
Justin Traglia
c108a2476c Enable clippy's equatable_if_let linter (#7221) 2024-03-19 14:32:43 +00:00
int88
170306d3bd support IPv6 for NetworkArgs.addr and DiscoveryArgs.addr (#7210) 2024-03-19 14:28:30 +00:00
Justin Traglia
d91274eaa2 Enable clippy's redundant_clone linter (#7202)
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
2024-03-19 01:35:04 +00:00
Justin Traglia
b7ef60b899 Enable clippy's uninlined_format_args linter (#7204)
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
2024-03-18 23:29:19 +00:00
Håvard Anda Estensen
5b94dbb697 perf: replace BytesMut with alloy_rlp::encode (#7170) 2024-03-18 23:20:39 +00:00
Justin Traglia
f7d3cc5a09 Enable clippy's trait_duplication_in_bounds linter (#7201)
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
2024-03-18 22:53:17 +00:00
Justin Traglia
3861bc05fa Enable clippy's derive_partial_eq_without_eq linter (#7203)
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
2024-03-18 22:33:53 +00:00
Abner Zheng
89b188e9ae fix bug: synchronized local node record with discv4 (#7181) 2024-03-18 22:13:44 +00:00
Matthias Seitz
804c54a3e7 feat: autoscale session event capacity (#7149) 2024-03-18 22:07:18 +00:00
Justin Traglia
80c5fcbd36 Enable clippy's empty_line_after_outer_attr linter (#7200) 2024-03-18 21:59:03 +00:00
Matthias Seitz
038a633599 fix: decrease pending out on already connected (#7197) 2024-03-18 19:45:03 +00:00
Matthias Seitz
de9fb89556 chore: remove txpool optimism feature (#7199) 2024-03-18 19:44:11 +00:00
Matthias Seitz
cee35a0afa docs: fix metric doc (#7198) 2024-03-18 18:32:41 +00:00
Delweng
7b3e418950 feat(net/manager): apply trust-nodes-only for incoming nodes (#7177)
Signed-off-by: jsvisa <delweng@gmail.com>
2024-03-18 10:51:14 +00:00
Emilia Hane
4e49aa9df6 Comment pool import error is not nonce gap (#7145)
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
2024-03-16 15:39:05 +00:00
Matthias Seitz
11dc546d10 feat: support trusted peer ids without address (#7155) 2024-03-16 15:06:53 +00:00
Abner Zheng
3b4726a714 fix: use tempdir when testing static files (#6962) 2024-03-16 12:57:18 +00:00
Dan Cline
82ec589dee fix: panic conditions for concat kdf in ecies (#7171) 2024-03-16 07:33:26 +00:00
Matthias Seitz
26f290eb71 fix: decrease connection info based on current state (#7165) 2024-03-15 20:03:22 +00:00
Abner Zheng
4e1c56f8d0 Track PendingIn state separately (#7163) 2024-03-15 18:30:53 +00:00
Abner Zheng
9312424db0 Always accept incoming connections from trusted peers (#7140) 2024-03-15 11:16:17 +00:00
Matthias Seitz
baa45c6a76 fix: enforce soft response limit accurately (#7142) 2024-03-14 17:28:17 +00:00
Håvard Anda Estensen
d2c8b77e64 perf: replace BytesMut with alloy_rlp::encode (#7087) 2024-03-14 12:11:20 +00:00
Dan Cline
eb6828350d fix: check that data is large enough to fit header and mac (#7118) 2024-03-12 16:09:15 +00:00
Dan Cline
f75bebd8d5 fix: use checked math for read_body (#7117) 2024-03-12 16:01:36 +00:00
Dan Cline
074747a419 fix: refactor ecies message parsing to check bounds (#7108) 2024-03-12 15:00:18 +00:00