moneromooo-monero
a7e3955772
portable_storage: add some sanity checks on data size
...
especially when allocated size is >> serialized data size
3 years ago
moneromooo-monero
0afd50384f
protocol: drop nodes if they claim new data but only give stale data
...
Some joker is spending time actually doing this
3 years ago
moneromooo-monero
9e4e28b25c
ban lists may now include subnets
3 years ago
moneromooo-monero
295d46a1fc
restrict public node checks a little
...
do not include blocked hosts in peer lists or public node lists by default,
warn about no https on clearnet and about untrusted peers likely being spies
3 years ago
xiphon
10f9008b9c
rpc: get_info - add 'synchronized' field
3 years ago
moneromooo-monero
b042506baa
protocol: reject claimed block hashes that already are in the chain
3 years ago
moneromooo-monero
879715610d
protocol: drop peers we can't download anything from in sync mode
...
instead of the (incorrect) check for whether we think we might have
a user for it at some point in the near future. We can reconnect.
3 years ago
moneromooo-monero
819d40fc7e
p2p: remove peers from grey and anchors lists when blocked
3 years ago
moneromooo-monero
a88448499b
Optional DNS based blocklist
...
If enabled, pulls IPs to block on blocklist.moneropulse.*, and
blocks then for 8 days (so IPs dropping from the list will
eventually get unblocked, and DNS failures don't result in
instant clearing of the blocklist).
Enable with --enable-dns-blocklist
3 years ago
moneromooo-monero
ffa987003a
daemon: the ban command can now load IPs from a file (ban @filename)
3 years ago
Lee Clagett
8088f8d894
Fix byte_stream::put_n
3 years ago
moneromooo-monero
8547473c83
p2p: ignore incoming peer list entries when we have them blocked
3 years ago
jwinterm
4b1d0f2340
Merge pull request 'update checkpoints, bump version' ( #353 ) from wowario/wownero:cp-version into master
...
Reviewed-on: #353
4 years ago
jwinterm
90fbc9b181
Merge pull request 'upstream' ( #351 ) from wowario/wownero:up into master
...
Reviewed-on: #351
4 years ago
moneromooo-monero
f2949f7cf4
rpc: add a busy_syncing field to get_info
...
true if and pretty much only if new blocks are being added
4 years ago
moneromooo-monero
c9b9251fd4
protocol: include first new block in chain entry response
4 years ago
moneromooo
cd580e0e3c
protocol: stricter checks on received chain hash list
4 years ago
moneromooo-monero
801ac3ce56
protocol: revert incoming chain height check against local chain
...
We can actually request a chain that's further away from what we
have as we buffer more and more
4 years ago
moneromooo-monero
23bf7c9813
cmake: fix "release" version string on tagged releases
...
It would not say "release" if we're on a previous tag
4 years ago
moneromooo-monero
97d3f9d408
protocol: one more sanity check on usable data from a peer
4 years ago
moneromooo-monero
f4fac80752
protocol: add a sanity check to the number of block hashes sent
4 years ago
moneromooo-monero
516555402d
protocol: fix asking for pruned blocks for v10
...
Old format is still alloewd there, this is a two fork update
4 years ago
moneromooo-monero
a42b6750b1
protocol: drop origin IP if a block fails to verify in sync mode
...
It would otherwise be possible for a peer to send bad blocks,
then disconnect and reconnect again, escaping bans
4 years ago
moneromooo-monero
09a2b6f2e8
protocol: more restrictive checks on chain entry response
4 years ago
Howard Chu
08b99c749d
depends: Update OpenSSL to 1.1.1i
...
Remove some obsolete patches (they were integrated upstream).
Tweak to work with Android support (they second-guess our CC definition, etc).
4 years ago
Lee Clagett
0b8bf308ce
Change epee binary output from std::stringstream to byte_stream
4 years ago
Lee Clagett
a3033e741b
Change to more efficient allocation strategy in byte_stream
4 years ago
mj-xmr
f37d960f75
Clang-tidy integrated into CMakeLists.txt
...
Can be called from the source directory with:
utils/health/clang-tidy-run.sh
4 years ago
mj-xmr
a76c6b9cae
Add ClangBuildAnalyzer under utils/health for analyzing build times
4 years ago
moneromooo-monero
eb6469b7a5
protocol: fix switchting to adding blocks if noone's adding the next span
4 years ago
wowario
c3137f7695
update checkpoints, bump version
4 years ago
wowario
f4285bf135
Update '.drone.yml'
4 years ago
moneromooo-monero
e608cea2a5
p2p: drop peers that spam peer lists
...
There's always some people who just want to abuse things
4 years ago
moneromooo-monero
117cdc4d50
p2p: fix race condition accessing a deleted context
4 years ago
moneromooo
27cfbe1a22
protocol: drop peers that don't reply to queries
4 years ago
moneromooo
f8ec114820
keep only the last seen node on a given host in the white list
4 years ago
moneromooo
0529d350ad
protocol: drop peers that decrease claimed height
4 years ago
moneromooo
868deaaf9e
protocol: add scoring system to drop peers that don't behave
4 years ago
moneromooo-monero
5ac11bb4d6
crypto: fix non zero scalar being 0 after reducing
4 years ago
xiphon
e0fc0ce7ad
rpc: get_info - add 'synchronized' field
4 years ago
Lee Clagett
a840b7e20c
Do not use peer_id tracking method over i2p/tor
4 years ago
Lee Clagett
3208d97f9c
Fix tx flush callback queueing
4 years ago
moneromooo-monero
1cc36a652b
util: fix escaping more than one ?* in glob_to_regex
4 years ago
xiphon
b353da51f9
wallet_api: TransactionHistory - fill unconfirmed out payments dests
4 years ago
Howard Chu
e49f87c8b3
Silence stupid warnings
4 years ago
moneromooo-monero
6815ddd270
epee: tighten the URL parsing regexp a little
...
fixes massive amounts of time spent on pathological inputs
Found by OSS-Fuzz
4 years ago
mj-xmr
5b43b61153
Add RELINK_TARGETS, monero_add_target_no_relink and use monero_add_executable/monero_add_library where possible (mj-xmr)
...
Add monero_add_minimal_executable and use in tests
This is done in order not to have to relink targets, when just an .so changed, but not its interface.
4 years ago
moneromooo-monero
7f8d14ecde
blockchain: remove some dead code
...
This is already done
4 years ago
SChernykh
67cc83a66c
Make Blockchain::get_fee_quantization_mask() compile time
...
This also removes potential thread safety bug in that function.
4 years ago
xiphon
b974ccde3a
core_rpc_server: on_send_raw_tx - fix bootstrap daemon mode check
4 years ago