Skip to content

Instantly share code, notes, and snippets.

View malt3's full-sized avatar
🔒

Malte Poll malt3

🔒
View GitHub Profile
@malt3
malt3 / envoy-bazel-nixpklgs-undefined-references.log
Created April 24, 2024 13:06
Undefined references when linking envoy v1.30.1 in nixpkgs
# Configuration: a8a8b6099c116b1f572d2c809d6830d61d9f1e0c15994e6e79c20f2956410095
# Execution platform: @local_config_platform//:host
/nix/store/vj57s3h2za2qrfccrvc9b6i7s8mw3ndn-binutils-2.41/bin/ld.gold: warning: bazel-out/k8-opt/bin/external/envoy_api/envoy/extensions/access_loggers/fluentd/v3/_objs/pkg_cc_proto/fluentd.pb.validate.o: top level DIE is not DW_TAG_compile_unit or DW_TAG_type_unit
/nix/store/vj57s3h2za2qrfccrvc9b6i7s8mw3ndn-binutils-2.41/bin/ld.gold: warning: bazel-out/k8-opt/bin/external/envoy_api/envoy/extensions/filters/http/ext_proc/v3/_objs/pkg_cc_proto/processing_mode.pb.validate.o: top level DIE is not DW_TAG_compile_unit or DW_TAG_type_unit
/nix/store/vj57s3h2za2qrfccrvc9b6i7s8mw3ndn-binutils-2.41/bin/ld.gold: warning: bazel-out/k8-opt/bin/external/envoy_api/envoy/extensions/filters/network/connection_limit/v3/_objs/pkg_cc_proto/connection_limit.pb.validate.o: top level DIE is not DW_TAG_compile_unit or DW_TAG_type_unit
/nix/store/vj57s3h2za2qrfccrvc9b6i7s8mw3ndn-binutils-2.41/bin/ld.g
@malt3
malt3 / repart-strace.txt
Created October 18, 2023 14:28
repart-hardlink-store-btrfs-repro-strace-log
195346 execve("/nix/store/1zmmnm0r0bdga398rl7fc7s4hkyqxjk4-systemd-254.3/bin/systemd-repart", ["systemd-repart", "--empty=allow", "--empty=create", "--size=auto", "--dry-run=no", "--offline=yes", "--definitions", "repart.d", "--root", "sysroot", "system.raw"], 0x7ffef3a850a8 /* 33 vars */) = 0
195346 brk(NULL) = 0x5619c72d2000
195346 arch_prctl(0x3001 /* ARCH_??? */, 0x7fff13cf1260) = -1 EINVAL (Invalid argument)
195346 mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fed4f280000
195346 access("/etc/ld-nix.so.preload", R_OK) = -1 ENOENT (No such file or directory)
195346 openat(AT_FDCWD, "/nix/store/1zmmnm0r0bdga398rl7fc7s4hkyqxjk4-systemd-254.3/lib/systemd/glibc-hwcaps/x86-64-v3/libsystemd-shared-254.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
195346 newfstatat(AT_FDCWD, "/nix/store/1zmmnm0r0bdga398rl7fc7s4hkyqxjk4-systemd-254.3/lib/systemd/glibc-hwcaps/x86-64-v3", 0x7fff13cf0490, 0) = -1 ENOENT (No such file or directory)
195346 openat
@malt3
malt3 / gist:3c665a85cdb21a8af294234035e0a265
Created April 25, 2023 08:15
verbose systemd-networkd in initrd
[ 4.966406] systemd[1]: Starting systemd-networkd.service - Network Configuration...
[ 5.008444] systemd-networkd[344]: SELinux enabled state cached to: disabled
[ 5.262745] systemd-networkd[344]: Bus bus-api-network: changing state UNSET → OPENING
[ 5.262941] systemd-networkd[344]: sd-bus: starting bus bus-api-network by connecting to /run/dbus/system_bus_socket...
[ 5.262993] systemd-networkd[344]: Added inotify watch for /run on bus bus-api-network: 2
[ 5.263025] systemd-networkd[344]: Added inotify watch for /run/dbus on bus bus-api-network: -1
[ 5.263064] systemd-networkd[344]: sd-bus: starting bus bus-api-network by connecting to /run/dbus/system_bus_socket...
[ 5.263093] systemd-networkd[344]: Bus bus-api-network: changing state OPENING → WATCH_BIND
[ 5.263120] systemd-networkd[344]: Registering bus object implementation for path=/org/freedesktop/network1 iface=org.freedesktop.network1.Manager
[ 5.263150] systemd-networkd[344]: Registering bus object implementation for pat
cd /volume1/Nebula/
curl -L https://github.com/malt3/synology-nebula/archive/refs/tags/v1.0.0.tar.gz | tar xz --strip-components=1
@malt3
malt3 / config.yml
Created August 13, 2021 14:29
Nebula VPN config with inlined keys
# [SNIP]
pki:
ca: |
-----BEGIN NEBULA CERTIFICATE-----
VGhpcyBpcyBqdXN0IGEgdmVyeSBsb25nIGJhc2U2NCBlbmNvZGVkIHN0cmluZyBm
b3IgdGhlIENBIGNlcnRpZmljYXRlCg==
-----END NEBULA CERTIFICATE-----
cert: |
-----BEGIN NEBULA CERTIFICATE-----
@malt3
malt3 / dhclient.conf
Created December 8, 2020 23:12
Changes to the isc-dhcp-client to request the AFTR name for DS-Lite configuration.
# add the following to your dhclient.conf (maybe more options are required e.g. to request a prefix)
option dhcp6.aftr-name code 64 = domain-list;
also request dhcp6.aftr-name;
#!/bin/sh
# Install dependencies
sudo yum groupinstall -y "Development Tools"
sudo yum install -y \
fop \
ncurses-devel \
openssl-devel \
*openjdk-devel \
unixODBC \
@malt3
malt3 / edu.md
Last active December 13, 2023 19:57
Edu Vorteile RUB

Studentenvorteile (Vor allem für Informatikstudenten)

Software Pakete

Keybase proof

I hereby claim:

  • I am malt3 on github.
  • I am malt3 (https://keybase.io/malt3) on keybase.
  • I have a public key whose fingerprint is 3C24 DBF5 574D 2C93 B666 8DDB A596 C48B FEA9 40D8

To claim this, I am signing this object: