Backport of #17762, currently only backported to 0.19.
This seems like something we should opportunistically plug in case wiseguys decide it's a vector to exploit to try and fill people's disks.
Backport of #17762, currently only backported to 0.19.
This seems like something we should opportunistically plug in case wiseguys decide it's a vector to exploit to try and fill people's disks.
ACK 314ba6c9360e8ff1c630a9bdc422c73fe2cc0666
Please use the backport script or include the backport metatdata manually. Otherwise it is hard to verify this and see where it came from without any references to the original commit/pull.
@MarcoFalke is there a TLDR for the script with deps etc or the metadata required to be included where? This should probably be a CONTIRBUTION.md thing?
I think if you cherry-pick the commit from 0.19, it should include all metadata.
There is a python helper script: https://github.com/bitcoin-core/bitcoin-maintainer-tools#backport
Not sure if this should be generally made available for any contributor. Asking for a "needs backport" tag should be sufficient
@instagibbs You can take a look at https://github.com/bitcoin/bitcoin/pull/17858/commits/1a6a534665be410988785b0f2e09ef001a612d5c for an example of the metadata required.
Remove the forest of special exceptions, and simply log a short
message to the NET logging category when an exception happens during
packet processing. It is not good to panick end users with errors
that any peer can generate (let alone writing to stderr).
Github-Pull: #17762
Rebased-From: 4d88c3dcb61e7c075ed3dd442044e0eff4e3c8de
cherry-picked from 0.19
ACK c89611ebd33a86c0fe14adecc100065f16ea16da
Reviewers of this PR might want to review the somewhat related PR #17828 ("net: Use log categories when logging events that P2P peers can trigger arbitrarily").
ACK c89611ebd33a86c0fe14adecc100065f16ea16d, checked that this is a cherry-pick from 0.19 💐
<details><summary>Show signature and timestamp</summary>
Signature:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
ACK c89611ebd33a86c0fe14adecc100065f16ea16d, checked that this is a cherry-pick from 0.19 💐
-----BEGIN PGP SIGNATURE-----
iQGzBAEBCgAdFiEE+rVPoUahrI9sLGYTzit1aX5ppUgFAlwqrYAACgkQzit1aX5p
pUhbXgwAndLCk84m8EK4oVBy9To8XcTNlaKwHHkb7ZG1f5FvFOwCbNhBh8yabG9E
Cs7TRlNtgbqkxuSDrINXbJUJCwpX7VAZYnvM4wO8kaEwp36KdZH4MxuvsYEYgIxD
7QeNltUlOz3lKZxGAzWHht4NSC+FKLZa/MdmqLRbEiOsQnQHup/dww472bQsfXcD
fd7ymEt6MCvu7wuqRuj7QSMsuRvOcCjKr94cE2zPbpUCdkcfLRCurroCAK3hIVyQ
ZRM+Su+JtvJ6qKp7ncbI4beQcWrAXMxUjUCCC9+4gXsvvoFcnPmEq2EncLT8mD4Z
pJZzXBpda3Ob2aG7qDTYyKHJ0WSHg6Sq2NuYNpagbAE8xu2jTwxE3ObkWkzOnqZh
gmqnB5jHngLfRYLWqN4P7AnoGtqwmoxlsDrhUA1rwS68fP0Ky9B1NEo8cJL+l7zC
JyV/uyvFJkE8m/KLcExm9YzKMwYvZoSngdZgQzEBpT+IojerWhS5uJJ/Or6V5no3
yoMJTIRe
=Ms73
-----END PGP SIGNATURE-----
Timestamp of file with hash 06c44dd31613f3547029de3f00dec7998591efe3347b67cf28d33ccd930136f9 -
</details>
Milestone
0.18.2