tobtoht and such-gitea
859aabe2df
depends: unbound: update to 1.26.1
...
(cherry picked from commit 0c29b3ce3b15a410d5e1dc10ebfb8d83d1bc0c04)
2026-10-04 18:50:24 -04:00
Guoqiang Liu and such-gitea
6d9aca92f1
net: detect half-closed sockets before connection reuse
...
Detect peer EOF and TLS closure before reusing idle connections. Make
disconnect idempotent while preserving buffered data and pending operation
lifetimes.
Keep the release branch's multi-byte recv_n behavior, and cover partial EOF,
socket modes, and TLS shutdown with loopback regression tests. Use fixed
test certificates and retain compatibility with the release branch's
Google Test version.
Co-authored-by: woodser <13068859+woodser@users.noreply.github.com >
(cherry picked from commit 096abdaa22b71ade9ca673ed8012c500cecb58d3)
2026-10-04 18:50:24 -04:00
selsta and such-gitea
7e797d062a
epee: remove obsolete MyMonero conversion
...
Also initialize the temp var used when loading scalar arrays.
(cherry picked from commit 7ba5e2cca91497155bd0a72a5e00059a27fa7e38)
2026-10-04 18:50:24 -04:00
j-berman and such-gitea
16d9fb5336
p2p: don't reset timeout timer for handshakes
...
The handshake timeout should just be an absolute timeout, we don't
care about partial messages received during the handshake.
(cherry picked from commit c7c43686878166cd0b93bed0cc712c8dd9845c89)
2026-10-04 18:50:24 -04:00
selsta and such-gitea
01a7c14a82
epee: prevent log injection from malformed HTTP headers
...
(cherry picked from commit 281c1d41aae7b579fa1307d82622e18abcd038ff)
2026-10-04 18:50:23 -04:00
tobtoht and such-gitea
129ee71995
depends: openssl: update to 3.0.22
...
(cherry picked from commit 91c32b55c27e2a2202639c50d60c55d7472efaef)
2026-10-04 18:50:23 -04:00
woodser and such-gitea
5fe3caa4d9
wallet2: abort in-flight daemon request on shutdown
...
(cherry picked from commit 3c0980f5991a3cc27f7b3890cb68251c971a4b07)
2026-10-04 18:50:23 -04:00
selsta and such-gitea
16f7dfef75
epee: prevent JSON parser log injection
...
(cherry picked from commit 1b82d32a2f18efde834531a1be28b0f711a495e6)
2026-10-04 18:50:23 -04:00
j-berman and such-gitea
f2a8c47410
p2p: use a bool for send()
...
Identified by @selsta
Callers can otherwise misinterpret int -1 as truthy success,
e.g. see make_payload_send_txs
(cherry picked from commit 9bf193728bb11beb9c40e06a0d48d1c697fe7a84)
2026-10-04 18:50:22 -04:00
selsta and such-gitea
f26ac02df9
p2p, rpc: group public IPv6 connection limits by /64
...
(cherry picked from commit f277d328cf1f7e64423b5eb7dc0e21649f71e47a)
2026-10-04 18:50:22 -04:00
Lee Clagett and such-gitea
e4d52af5c7
Fix stall issues with p2p
...
(cherry picked from commit f618ee1136fa11d0611229a81d9c2838cc9db737)
2026-10-04 18:50:22 -04:00
selsta and such-gitea
af216147b0
p2p: stop buffered dispatch after fatal notifications
...
(cherry picked from commit f397f3920998aa8f57f86c9539fd720d288c7e18)
2026-10-04 18:50:22 -04:00
tobtoht and such-gitea
27b67006cd
depends: unbound: update to 1.25.2
...
(cherry picked from commit 2a10eceae0f34c350107876e1d4c9a6314e69d27)
2026-10-04 18:50:22 -04:00
weifanglab and such-gitea
16ad3eaea8
epee: fix build with openssl 4.0
...
(cherry picked from commit 0b67da411a5c0baf2f0631b311a3ec71467da1bc)
2026-10-04 18:50:22 -04:00
selsta and such-gitea
7d1d93d168
epee: avoid bad_weak_ptr during connection teardown
...
foreach_connection() can race with connection destruction while the
protocol handler remains in the raw-pointer map. Use the non-throwing
weak_from_this().lock() in add_ref() and treat expired connections as
unavailable.
This is an interim mitigation pending the broader connection lifetime
fix in PR 7345.
(cherry picked from commit 146f801063b85e23b635c235100cc241e4ab626a)
2026-10-04 18:50:21 -04:00
selsta and such-gitea
bcdb7c1075
http: share deterministic header field parser
...
(cherry picked from commit d2e4cbcda578152d9640a1aafa97a527f48a1380)
2026-10-04 18:50:20 -04:00
tobtoht and such-gitea
b57c4884d7
depends: openssl: update to 3.0.21
...
(cherry picked from commit 8d0b73e509fa60538eb86e8af1e970faa91a88a6)
2026-10-04 18:50:20 -04:00
vdo and such-gitea
d98b92858f
gitian: optional APT cacher for docker builds
...
(cherry picked from commit 874b7eb0b3a8b753f5488c0b004f121ff08a5eb3)
2026-10-04 18:50:20 -04:00
selsta and such-gitea
d171742ed6
p2p: close zone connections before stopping net servers
...
(cherry picked from commit b7ca9e73f23cfb0ce1e795b2074ad12af56b04e3)
2026-10-04 18:50:20 -04:00
selsta and such-gitea
1e17dc299a
p2p: make stop signal idempotent
...
(cherry picked from commit ec60113e09d9fc985b1c35fe1c579ef73c067d91)
2026-10-04 18:50:20 -04:00
alhudz and such-gitea
692066eb88
fix off-by-one over-read in match_string2 unicode escape parsing
...
(cherry picked from commit dedae5272d9d311464e8b25a5c57701591ac4eb1)
2026-10-04 18:50:20 -04:00
tobtoht and such-gitea
ca0fa050d3
depends: explicitely enable cross-compile mode for autoconf
...
(cherry picked from commit 0d49006c9d1740b2909d5173157e621e6a38ede1)
2026-10-04 18:50:20 -04:00
tobtoht and such-gitea
f73d9fcd2b
depends: unbound: update to 1.25.1
...
(cherry picked from commit 98bc2ec5e6896bfa210eafc42f8849431c9eb5d2)
2026-10-04 18:50:20 -04:00
tobtoht and such-gitea
bca9766c4d
depends: libusb: update to 1.0.30
...
(cherry picked from commit 22a69e588e60bdd0a8c84f8e834446eaf185fbe7)
2026-10-04 18:50:20 -04:00
jeffro256 and such-gitea
35a6aabcee
contrib: fix unaligned&aliased levin buffer reads
...
Co-authored-by: selsta <selsta@users.noreply.github.com >
(cherry picked from commit 98b350f7a15997f5866c413c16b07e2ee6348922)
2026-10-04 18:50:20 -04:00
iuyua9 and such-gitea
a99f104fc0
epee: skip IPv4 TOS option for non-IPv4 peers
...
(cherry picked from commit 2a6f64d8faad464c9cecc9c317b06f00f96f4578)
2026-10-04 18:50:19 -04:00
ComputeryPony and such-gitea
db60cbb939
epee: fix memory leak with readline
...
(cherry picked from commit e92f9bd2d609b2823c841a4e857fe46f9b7f0ec6)
2026-10-04 18:50:19 -04:00
j-berman and such-gitea
b56c56d807
p2p: cleaner connection close()
...
(cherry picked from commit c5c9420d8cc9b5b44fd6dc177b3cac773e5e1674)
2026-10-04 18:50:19 -04:00
jwinterm
bcf3973d3e
build: C++17 + -fno-aligned-allocation for macOS (C++17 aligned new needs 10.14; keep older deployment target)
2026-06-18 07:50:09 -04:00
j-berman and jwinterm
bc0b6d8c4a
p2p: wait_for on shutdown instead of indefinite wait
...
(cherry picked from commit bf314b7ab1611c98476265a938163f2966150483)
2026-05-06 10:52:36 -04:00
tobtoht and jwinterm
620ff4c515
daemon: remove miniupnp
...
(cherry picked from commit 987e6d29133a493914a19b660051ca634fbed1d6)
2026-05-06 10:52:36 -04:00
j-berman and jwinterm
ef41a9677c
connection: try-catch handles
...
(cherry picked from commit 14e333217e968416a521568ed2ef4868bb162b26)
2026-05-05 18:20:53 -04:00
j-berman and jwinterm
e69533337b
p2p: fix hanging shutdown
...
(cherry picked from commit 7bc2d5a42e8462f2a04f71bd59111a863fa9a6d8)
2026-05-05 18:20:52 -04:00
YalingFang and jwinterm
5528bc3f3a
Add support for Loongarch
...
(cherry picked from commit 0e45918b2b15e1e836ca986fbebb179ce18e7654)
2026-05-05 18:20:52 -04:00
Lee *!* Clagett and jwinterm
e16f0a2c28
Cleanup some of the fragmented levin handling
...
(cherry picked from commit 017c9022d7bbc03484191177228657b14fb09f53)
2026-05-05 18:20:52 -04:00
selsta and jwinterm
a3a824d288
abstract_tcp_server2: add missing return
...
(cherry picked from commit f60b400917a6d2fecc6c03524c70fbd9e033f436)
2026-05-05 18:19:54 -04:00
Lee *!* Clagett and jwinterm
93381db29c
Harden HTTP client auth
...
(cherry picked from commit f355f85e6f7bea4a4f68c7880b2b995a3c225882)
2026-05-05 18:19:53 -04:00
j-berman and jwinterm
0544146ff3
p2p: connection patches
...
- Make sure the server sends a complete response when the client
includes the "Connection: close" header.
- Make sure the server terminates in `m_strand` to avoid
concurrent socket closure and ops processing.
(cherry picked from commit ee9e4a49baae0319f6cab543979e221f251339a3)
2026-05-05 18:19:53 -04:00
tobtoht and jwinterm
b714190fae
depends: openssl: update to 3.0.19
...
(cherry picked from commit c4e54fe5e0bdb9cd8b460dd7836ad61855d54ad1)
2026-05-05 18:19:53 -04:00
tobtoht and jwinterm
e9fde467bd
epee: add missing cstdint include
...
(cherry picked from commit 7baf2bde6ecad1e13848fdbd9d4db026ca0ff8fc)
2026-05-05 18:19:53 -04:00
tobtoht and jwinterm
dd2b66fdbc
depends: hidapi: update to 0.15.0
...
(cherry picked from commit c14a0ba43210ca029bbc240c9f093f6ec5f8f8c8)
2026-05-05 18:19:53 -04:00
j-berman and jwinterm
7551a0dc04
Fix logging deadlock
...
(cherry picked from commit a83a46d60059a063ec953ba15f4cdcc2b3874440)
2026-05-05 18:19:53 -04:00
wowario
17cdf02cae
update gitian
2025-09-19 21:01:39 +03:00
selsta
7e3edc29c6
epee: only parse valid port
...
Reported by hacksandhops and Ada Logic.
2025-08-31 00:13:55 +02:00
tobtoht
22fc8f9a09
Merge pull request #10048
...
e6f43df epee: include math header for upcoming Boost 1.89 (Michael Cho)
2025-08-21 16:28:02 +00:00
Michael Cho and selsta
e6f43df56a
epee: include math header for upcoming Boost 1.89
2025-08-20 18:06:18 +02:00
Lee *!* Clagett
e23b759b37
Skip ping connections in outgoing count
2025-08-19 17:16:05 -04:00
selsta
32f701b0cd
build: prepare v0.18.4.2
2025-08-01 17:25:46 +02:00
tobtoht
0b739fdf58
Merge pull request #9946
...
b96af8e build: prepare v0.18.4.1 (selsta)
2025-07-10 12:28:33 +00:00
selsta
b96af8e17a
build: prepare v0.18.4.1
2025-07-09 16:12:16 +02:00