summaryrefslogtreecommitdiffstats
path: root/content/posts
diff options
context:
space:
mode:
authorDante Catalfamo2020-09-06 23:11:52 -0400
committerDante Catalfamo2020-09-06 23:11:52 -0400
commit558da8c36a5984e9fb5bde2cc11894550da365b5 (patch)
tree0b926d90a65bd9a4d1f2f90699ab5bce0a6b51d4 /content/posts
parent6fb74a48f4162666b6f60bfc09ecfed1bf958402 (diff)
downloadblog-558da8c36a5984e9fb5bde2cc11894550da365b5.tar.gz
blog-558da8c36a5984e9fb5bde2cc11894550da365b5.tar.bz2
blog-558da8c36a5984e9fb5bde2cc11894550da365b5.zip
alpine-cloudc2: write more of article
Diffstat (limited to 'content/posts')
-rw-r--r--content/posts/alpine-hak5-cloudc2/index.org24
1 files changed, 23 insertions, 1 deletions
diff --git a/content/posts/alpine-hak5-cloudc2/index.org b/content/posts/alpine-hak5-cloudc2/index.org
index f30db76..f59baf2 100644
--- a/content/posts/alpine-hak5-cloudc2/index.org
+++ b/content/posts/alpine-hak5-cloudc2/index.org
@@ -3,6 +3,28 @@
#+DRAFT: true
#+DESCRIPTION:
#+TAGS[]: alpine linux hak5
-#+KEYWORDS[]:
+#+KEYWORDS[]: alpine linux hak5
#+SLUG:
#+SUMMARY:
+
+I recently purchased some products from [[https://hak5.org][Hak5]], some of which integrate
+with their self-hosted service for monitoring your equipment called
+the [[https://shop.hak5.org/products/c2][Cloud C2]]. The binaries for it are distributed as (mostly)
+statically linked go binaries for several platforms all bundled
+together in a zip folder. I decided to run it on one of my servers
+which runs one of my favourite Linux distributions, Alpine Linux.
+
+Their website provides a small tutorial for installing C2 on a
+systemd-based system, unfortunately it doesn't help me since Alpine
+uses the OpenRC init system.
+
+You have the option to purchase the community edition for free from
+their shop, after which you'll receive a product registration code via
+email. This email will also contain a link to the aforementioned zip
+file containing the binaries.
+
+One of the interesting thing I found was that despite my server being
+64-bit x86, =c2_community-linux-64= wouldn't work on Alpine
+Linux. It's dynamically linked to =/lib64/ld-linux-x86-64.so.2=, which
+doesn't exist on musl libc machines. The =c2_community-linux-32=
+binary is completely statically linked however.