Commit Graph

160 Commits

Author SHA1 Message Date
Carla Kirk-Cohen ac4b6b31a5
scripts: use warnet main rather than personal branch 2024-04-16 13:13:21 -04:00
Carla Kirk-Cohen 7ccaa82885
Merge pull request #37 from carlaKC/flagship-arch
multi: install bitcoin/lnd for arch
2024-04-16 11:16:53 -04:00
Carla Kirk-Cohen f567664a37
multi: install correct bitcoin/lnd for arch 2024-04-16 11:12:41 -04:00
Carla Kirk-Cohen 6b27c2aa5b
Merge pull request #36 from carlaKC/exclude-target
scripts: exclude target node from simln payment activity
2024-04-16 10:10:48 -04:00
Carla Kirk-Cohen 00ae7b65a4
scripts: exclude target node from simln payment activity
We're aiming to test a routing node for this attackathon, so we
exclude it from our simln export - this means that it won't
send/receive payments, but will forward on behalf of other nodes.
2024-04-16 09:47:20 -04:00
Carla Kirk-Cohen 027a63aeba
scripts: update start_attacker to pull target from data dir 2024-04-16 09:47:19 -04:00
Carla Kirk-Cohen 82da1eb870
data: hardcode target alias for ln_10 and ln_100
Manually store our target node in target.txt for each node. We should
add this to our create_network script, but manual will have to do for
now.
2024-04-16 09:39:10 -04:00
Carla Kirk-Cohen 5310f3b382
Merge pull request #27 from carlaKC/template-golang
templates: add template golang repo
2024-04-16 09:09:59 -04:00
Carla Kirk-Cohen 06342f1ce4
main: add template to write jamming program 2024-04-15 15:45:31 -04:00
Carla Kirk-Cohen 8534c55cb3
graph: add wait wait for channel utility
We need to wait till the channels that we've opened are in the
graph before we can use them.
2024-04-15 15:45:30 -04:00
Carla Kirk-Cohen f543a06d60
graph: add close all channels utils 2024-04-15 15:45:29 -04:00
Carla Kirk-Cohen e3d06ebd64
multi: add open channel utility 2024-04-15 15:45:28 -04:00
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 1e07f6f297
Merge pull request #34 from carlaKC/set-target
multi: set target node by alias in start_attacker
2024-04-15 14:58:38 -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