lnd.xprv/watchtower/wtdb
Conner Fromknecht 37052f1561
watchtower/wtdb: only accept properly sized blobs
Modifies the bbolt and mock tower databases to only accept blobs that
are the expected size of the session's blob type. This prevents resource
exhaustion attacks where a client may provide disproportionately large
encrypted blob, even though all supported blob types are of fixed-size.
2019-06-13 19:54:22 -07:00
..
client_chan_summary.go watchtower/wtdb: add ClientDB 2019-05-24 18:24:41 -07:00
client_db_test.go watchtower/multi: move BreachHint to blob pkg 2019-06-13 17:40:04 -07:00
client_db.go watchtower/wtdb: add ClientDB 2019-05-24 18:24:41 -07:00
client_session.go watchtower/wtclient/session_queue: unify logging 2019-06-13 19:54:17 -07:00
codec_test.go watchtower/wtdb/client_chan_summary: add ClientChanSummary 2019-05-23 20:48:36 -07:00
codec.go watchtower/multi: move BreachHint to blob pkg 2019-06-13 17:40:04 -07:00
db_common.go watchtower/wtdb: prepare for addition of client db 2019-05-23 20:47:08 -07:00
log.go watchtower/wtdb/log: add WTDB logs 2019-04-26 17:21:20 -07:00
session_id.go watchtower/wtdb/session_id: adds SessoinID, client pubkey 2018-10-24 20:18:21 -07:00
session_info.go watchtower/multi: move BreachHint to blob pkg 2019-06-13 17:40:04 -07:00
session_state_update.go watchtower/multi: move BreachHint to blob pkg 2019-06-13 17:40:04 -07:00
tower_db_test.go watchtower/wtdb: only accept properly sized blobs 2019-06-13 19:54:22 -07:00
tower_db.go watchtower/wtdb: only accept properly sized blobs 2019-06-13 19:54:22 -07:00
tower.go watchtower/wtdb: add ClientDB 2019-05-24 18:24:41 -07:00
version.go watchtower/wtdb: add ClientDB 2019-05-24 18:24:41 -07:00