ripple / ripple-client

A UI for the Ripple payment network built using web technologies
ISC License
1.34k stars 494 forks source link

DDOS XRP 1.0E-6 Low value payments #953

Closed adaptive closed 10 years ago

adaptive commented 11 years ago

Detection of attempt of DDOS by address rbvFfuUysurzPHq5kgs53A16j5svbFxgv Ledgers 1203846-1203898 Several payments of XRP 1.0E-6 were made.

Any safety mechanism?

JoelKatz commented 11 years ago

The mechanism is to raise the transaction fee until the source account runs out of XRP. We're tracking down why it's not working as intended.

adaptive commented 11 years ago

@JoelKatz how should we call an address that attacks the ripple network? Spammer, Attacker

ghost commented 11 years ago
adaptive commented 11 years ago

@oantoine "Only ~87000 TX were sent" That is about 8% of all ripple transaction history! Personally, I believe you should plan and discuss the attacks first, let others monitor.

To mitigate these attacks, servers need to block IP addresses, that generate abnormal patterns of transactions.

adaptive commented 11 years ago

@oantoine Now the attack is different.

Transaction 7E32B6F6F204B3F7E8F40B33781B540B2ACB9B664CFDFDA3A15FF14C4A2D3DFA Ledger 1380912 Type Offer Creation Time 2013-07-21 11:44:00 UTC By rbvFfuUysurzPHq5kgs53A16j5svbFxgv Buys USD 0.00000001 (rvYAfWj5gh67oV6fW32ZzP3Aw4Eubs59B) For XRP 1.0E-6 (100 per USD)

ghost commented 11 years ago

It's not an attack. An abusive use of the network, maybe. Since the offer is unfunded, it shouldn't have any impact on anyone on the network.

adaptive commented 11 years ago

@oantoine Is there a point to this? What are you trying to achieve?

ghost commented 11 years ago
"ledger_current_index": 1387557,
      "Balance": "69677000",
      "Sequence": 759839,
    "ledger_current_index": 1387560,
      "Balance": "69681120",
      "Sequence": 759427,
    "ledger_current_index": 1387557,
      "Balance": "69676640",
      "Sequence": 759875,
    "ledger_current_index": 1387561,
      "Balance": "69676500",
      "Sequence": 759889,
    "ledger_current_index": 1387561,
    "error_message": "Network not available.",
      "Balance": "69676500",
      "Sequence": 759889,
    "ledger_current_index": 1387561,
    "error_message": "Network not available.",
      "Balance": "69676500",
      "Sequence": 759889,
    "ledger_current_index": 1387561,
    "error_message": "Network not available.",
      "Balance": "69676290",
      "Sequence": 759910,
    "ledger_current_index": 1387561,
    "error_message": "Network not available.",

The network seems to split seeing two version of the account before one node become unavailable. I try to explore that little field.

* Trying to rise the TX/s. The Sequence Field is a contention (more websocket doesn't mean more TX/s, it slow down the network, produce lot's of « sequence already seen »).
Bonface commented 11 years ago

One effect I notice is that trade offers do not cancel... which is a pretty crucial side effect.