monero/src/p2p
moneromooo-monero 7175dcb107
replace most boost serialization with existing monero serialization
This reduces the attack surface for data that can come from
malicious sources (exported output and key images, multisig
transactions...) since the monero serialization is already
exposed to the outside, and the boost lib we were using had
a few known crashers.

For interoperability, a new load-deprecated-formats wallet
setting is added (off by default). This allows loading boost
format data if there is no alternative. It will likely go
at some point, along with the ability to load those.

Notably, the peer lists file still uses the boost serialization
code, as the data it stores is define in epee, while the new
serialization code is in monero, and migrating it was fairly
hairy. Since this file is local and not obtained from anyone
else, the marginal risk is minimal, but it could be migrated
later if needed.

Some tests and tools also do, this will stay as is for now.
2020-08-17 16:23:58 +00:00
..
CMakeLists.txt Update copyright year to 2020 2020-05-06 22:36:54 -04:00
net_node_common.h Update copyright year to 2020 2020-05-06 22:36:54 -04:00
net_node.cpp Update copyright year to 2020 2020-05-06 22:36:54 -04:00
net_node.h Update copyright year to 2020 2020-05-06 22:36:54 -04:00
net_node.inl Merge pull request #6571 2020-08-05 07:57:54 -07:00
net_peerlist_boost_serialization.h Update copyright year to 2020 2020-05-06 22:36:54 -04:00
net_peerlist.cpp Adding initial support for broadcasting transactions over Tor 2019-01-28 23:56:33 +00:00
net_peerlist.h Update copyright year to 2020 2020-05-06 22:36:54 -04:00
p2p_protocol_defs.h replace most boost serialization with existing monero serialization 2020-08-17 16:23:58 +00:00
stdafx.h Update copyright year to 2020 2020-05-06 22:36:54 -04:00