Commit Graph

147 Commits

Author SHA1 Message Date
Carla Kirk-Cohen 35fa9fa540
multi: add jamming harness with payment utility to send and hold htlcs 2024-04-15 15:45:27 -04:00
Carla Kirk-Cohen b618b15b9b
golang: add getnode for lndnodes struct for easy access 2024-04-15 15:45:26 -04:00
Carla Kirk-Cohen d98c6c5078
multi: add main and connect to LND using env vars 2024-04-15 15:45:25 -04:00
Carla Kirk-Cohen f54a2c931a
templates: add script to copy and run golang program 2024-04-15 15:45:24 -04:00
Carla Kirk-Cohen 2b313e2eab
multi: set target node by alias in start_attacker 2024-04-15 14:57:15 -04:00
Carla Kirk-Cohen bf5880c3b8
setup: speed up gossip for armada 2024-04-15 11:55:38 -04:00
Carla Kirk-Cohen 87b711a884
scripts: update docker logging 2024-04-15 11:50:44 -04:00
Carla Kirk-Cohen b3830216a2
setup: create bitcoin wallet for mining 2024-04-15 11:49:47 -04:00
Carla Kirk-Cohen b2a1876856
flagship: add golang and rust to container by default 2024-04-12 15:08:13 -04:00
Carla Kirk-Cohen bc58e8d832
Merge pull request #32 from carlaKC/target-pk
setup: add target pubkey to run script and use environment vars
2024-04-12 14:58:12 -04:00
Carla Kirk-Cohen d871225d4c
setup: get target pubkey and set env var in run script
Our target pubkey will change every time we boot warnet up, so grab
it right before we spin up our attacker containers and include as an
env var so people don't need to worry about fetching it.
2024-04-12 14:55:30 -04:00
Carla Kirk-Cohen 62a2bf485d
setup: use environment vars for creds 2024-04-12 14:54:35 -04:00
Carla Kirk-Cohen ccacd0486b
Merge pull request #30 from carlaKC/elle-feedback
scripts: Improve docker desktop confirmation and add manual okay
2024-04-12 12:16:42 -04:00
Carla Kirk-Cohen a0920ffe31
setup: install warnet outside of venv so that warcli works everywhere 2024-04-12 11:03:59 -04:00
Carla Kirk-Cohen 5f6497d817
scripts: add confirmation for docker setup
It can really bork things up if you run with the wrong start command,
so get manual confirmation that we've detected the right env.
2024-04-12 11:03:58 -04:00
Carla Kirk-Cohen a039064019
scripts: use operating system docker info rather than context
Elle reported that her Context is default, so the script tried to
run minikube instructions instead.
2024-04-12 10:59:24 -04:00
Carla Kirk-Cohen 8afbbbda6c
readme: add warning about client libraires 2024-04-11 16:45:55 -04:00
Carla Kirk-Cohen 5c789b74f9
readme: generalize abuse of mitigation to jam 2024-04-11 16:38:57 -04:00
Carla Kirk-Cohen 99bdb2584b
Merge pull request #28 from carlaKC/18-temp-addwarnetbranch
scripts: add temporary checkout of custom warnet branch
2024-04-11 16:11:44 -04:00
Carla Kirk-Cohen 350012cc5d
readme: add link for enabling k8s for docker desktop 2024-04-11 16:10:17 -04:00
Carla Kirk-Cohen b96a44d16c
scripts: add temporary checkout of custom warnet branch 2024-04-11 16:06:54 -04:00
Carla Kirk-Cohen b0aa27c9b4
Merge pull request #22 from carlaKC/connect-armarda
Connect armarda LND nodes to network
2024-04-11 13:30:53 -04:00
Carla Kirk-Cohen 6d3487fc22
Merge pull request #25 from carlaKC/17-custom-lnimg
setup/graph: add custom LND image to import graph
2024-04-11 13:30:02 -04:00
Carla Kirk-Cohen 94eb984016
data: update graph files to contain custom LND image 2024-04-11 10:24:59 -04:00
Carla Kirk-Cohen d2fa975c24
setup: include custom LND image in graph creation 2024-04-11 10:24:58 -04:00
Carla Kirk-Cohen 4a889f0e74
gitignore: ignore all CSV files
Now that we're copying data into our CB images, we don't need this
data checked in. It also requires git LFS, so we don't bother (will
also make the repo very slow to pull).
2024-04-11 10:24:49 -04:00
Carla Kirk-Cohen 9fa4582015
Merge pull request #24 from carlaKC/multiplatform-cbimage
setup: build multi-platform circuitbreaker images
2024-04-11 09:03:42 -04:00
Carla Kirk-Cohen 4fc4efb51a
setup: build multi-platform circuitbreaker images 2024-04-11 08:51:30 -04:00
Carla Kirk-Cohen d750de876c
multi: add script to connect to nodes in flagship dockerfile 2024-04-10 17:14:02 -04:00
Carla Kirk-Cohen 2f49b06152
scripts: include list of node pubkeys in credentials export
This is information that we can only get with warcli, so we copy it
across while we're working externally with our credentials copying.
2024-04-10 17:10:58 -04:00
Carla Kirk-Cohen 6fbf1f2683
Merge pull request #16 from carlaKC/scripts-run
multi: add custom flagship container and helper scripts
2024-04-10 16:19:51 -04:00
Carla Kirk-Cohen e4e704be51
readme: add information about flagship pod 2024-04-10 16:18:40 -04:00
Carla Kirk-Cohen 73ffae2c95
readme: switch local development and network information sections 2024-04-10 16:15:19 -04:00
Carla Kirk-Cohen 1b6acf391c
setup: add script to once-off fund LND nodes 2024-04-10 16:15:18 -04:00
Carla Kirk-Cohen 06da6ab4b3
setup: add aliases for lnd nodes in docker container 2024-04-10 16:15:17 -04:00
Carla Kirk-Cohen 8e16b65eb3
setup: add run script to dockerfile as placeholder for attacker code 2024-04-10 16:15:16 -04:00
Carla Kirk-Cohen aa43c88f63
setup: add dockerfile for flagship with utilities 2024-04-10 16:15:14 -04:00
Carla Kirk-Cohen c58db1fd0f
scripts: fix docker detection in warnet stop 2024-04-10 15:52:22 -04:00
Carla Kirk-Cohen 3eaf793407
setup: use LND container that has endorsement signaling present 2024-04-10 15:46:54 -04:00
Carla Kirk-Cohen aede4949b8
data/ln_10: generate graphml from script 2024-04-10 15:45:31 -04:00
Carla Kirk-Cohen 45729b098b
Merge pull request #15 from carlaKC/createnetwork-restart
scripts: add stop script for network
2024-04-10 15:43:34 -04:00
Carla Kirk-Cohen b952cfc0a6
scripts: add stop network script to pull down existing containers 2024-04-10 15:37:25 -04:00
Carla Kirk-Cohen a3b0da7c43
data: updated graphs for ln_10 (manually fixed cltv_delta = 10)
LND requires a minimum cltv delta of 18, but one of the nodes that
we've scraped has a delta of 10 - update our graph manually to just
use 18 to keep things simple.
2024-04-10 15:26:25 -04:00
Carla Kirk-Cohen c8875388e5
Merge pull request #14 from carlaKC/armarda-tlsextracert
armarda: change extra host and domain for lightning 1/2
2024-04-10 12:07:59 -04:00
Carla Kirk-Cohen 130cfe8191
setup: update aliases for lnd1/2 2024-04-10 12:06:17 -04:00
Carla Kirk-Cohen 975c919124
armarda: change extra host and domain for lightning 1/2 2024-04-10 11:02:11 -04:00
Carla Kirk-Cohen d20e38c6c2
Merge pull request #13 from carlaKC/graph-ln10
Graph ln10
2024-04-10 08:37:37 -04:00
Carla Kirk-Cohen cbc2f84f46
data: update circuitbreaker image for ln_10 2024-04-10 08:36:45 -04:00
Carla Kirk-Cohen 6e4ea427e5
setup: provide docker tag even if new data is not generated 2024-04-10 08:36:19 -04:00
Carla Kirk-Cohen 1362d4d452
Merge pull request #12 from carlaKC/ln10-graph
data: use uniform graph for ln_10
2024-04-10 08:32:20 -04:00