Skip to content

Instantly share code, notes, and snippets.

View FlorianHeigl's full-sized avatar

Florian Heigl FlorianHeigl

View GitHub Profile
@FlorianHeigl
FlorianHeigl / docker-compose.yml
Last active April 1, 2026 13:46
docker compose verinice
services:
webapp:
image: tomcat:9-jdk17-temurin-noble
volumes:
# deploymenttarget
- verinice_webapp:/usr/local/tomcat/webapps
- ./target/veriniceserver-plain.properties.local:/usr/local/tomcat/conf/veriniceserver-plain.properties.local
# deploymentfile
# evtl muss das noch per startscript angepasst werden
@FlorianHeigl
FlorianHeigl / gist:de72c603b1579dd94dc9ecbeb290a36c
Created March 31, 2026 06:42
cn7322 / cn2360 loading firmware just like its nothing
[ 765.142769] LiquidIO 0000:01:00.0: Initializing device 177d:9702.
[ 765.142946] LiquidIO 0000:01:00.0: trs:64 max_vfs:52 rings_per_vf:1 pf_srn:52 num_pf_rings:12
[ 776.352906] LiquidIO 0000:01:00.0: Firmware version: 1.7.2
[ 776.352911] LiquidIO 0000:01:00.0: octeon_download_firmware: Loading 1 images
[ 776.352915] LiquidIO 0000:01:00.0: Loading firmware 1285952 at 21000000
[ 776.375532] LiquidIO 0000:01:00.0: Writing boot command: bootoct 0x21000000 numcores=$(numcores) time_sec=1774939247 time_nsec=539216810
[ 776.403319] LiquidIO 0000:01:00.1: Initializing device 177d:9702.
[ 776.403448] LiquidIO 0000:01:00.1: trs:64 max_vfs:52 rings_per_vf:1 pf_srn:52 num_pf_rings:12
[ 779.282224] LiquidIO 0000:01:00.1: Running NIC (1500000000 Hz)
[ 779.282237] LiquidIO 0000:01:00.0: Running NIC (1500000000 Hz)
@FlorianHeigl
FlorianHeigl / dmesg.txt
Last active March 31, 2026 04:08
gigabyte mc12-le0 ast2500 boot messages
# leaving this here to see how many errors are in a 'stable' gigabyte firmware boot process.
# I like the board, but people should be aware how large the gap to Dell etc actually is.
# Was it worth the price I paid? absolutely.
# Was it worth the MSRP? I would say no. There's dozens of man-hours they skipped out on.
# Footnote: Look at the U-Boot prompt. That's still saying EVB, they don't even modified that after
# building the software for the AMI eval board.
# It makes me itch to get an EVB and the sources and fix this. If you wanna send one over... ;-)
@FlorianHeigl
FlorianHeigl / .gitlab-ci.yml
Last active March 28, 2026 16:55
verinice 1.28 gitlab-ci config
stages:
- .pre
- build
- test
- install
- .post
default:
image: maven:3.9.14-amazoncorretto-21
cache:
paths: &ref_0
@FlorianHeigl
FlorianHeigl / mips
Created March 11, 2026 00:02
was war das
(reverse-i-search)`P': mips64-octeon-linux-gnu-objcopy spi-boot-1.5.elf -R .MIPS.options -R .MI^C.abiflags -O binary spi-boot-1.5.bin ../u-boot/tools/update_octeon_header --stage1 spi-boot-1.5.bin NIC225E --text_base=0x81000000
In a feature list in the git repo I found a bit, these are mentioned with regard to the streaming
Faster jpeg compression (via statically linked libjpeg-turbo)
Webp image compression for better bandwidth usage
Lossless QOI Image format for Local LAN
DRI3 GPU acceleration with open source drivers (AMDGPU,Intel,ATI,ARM)
the last line is interesting. open source drivers. no nvidia... and amdgpu is mentioned. isn't there some way to tell if it's being used... But noveaux2 is supported, so nvidia is fine.
will QOI also use it?
per codec/image type infos
there's a bit more in the wiki
WEBP is a modern image standard with higher compression and fidelity than JPEG. The client will report if the browser supports WEBP and the server will mix JPEG and WEBP based on compute availability. Because WEBP takes longer to encode, the server may not be able to use WEBP for all screen updates. The quality of WEBP can be better than JPEG and therefore they have separate settings. It seems WEBP usage of avx2 (SIMD) can be investi
@FlorianHeigl
FlorianHeigl / zimbra-upgrade-breakage-notes.txt
Last active February 19, 2026 18:04
for others who suffer zimbra upgrade breaking because of zimbra-jetty-distribution, zmbackup wiping ldap, zimbra upgrade deleting all backups, and other trivialities in software
all
Logbuch Findings etc ELOG logo
Erster Eintrag, Strg-Pos1 Vorheriger Eintrag, Strg-BildHoch Nächster Eintrag, Strg-BildRunter Letzter Eintrag, Strg-Ende Liste | Neu | Ändern | Löschen | Antworten | Duplizieren | Finden | Konfigurieren | Hilfe
Eintrag Wed Feb 18 22:00:04 2026, Offen, intern, Update, Software, Zimbra Upgrade Clusterfuck, zmail
Antworten Thu Feb 19 02:19:29 2026, Offen, intern, Update, Software, Zimbra Upgrade Clusterfuck, zmail
Eintrag-ID: 974 Eingabezeit: Wed Feb 18 22:00:04 2026 Antwort hierzu: 975
State: Offen
Context: intern
Type: Update
@FlorianHeigl
FlorianHeigl / xinitrd
Created January 4, 2026 21:23
readonly vnc on x display
# need a windowmanager to allow xclient fullscreen mode
fluxbox &
x11vnc -viewonly -noclipboard -nosetclipboard -speeds dsl -noremote -shared -mdns -forever -display :0 &
# killing nagstamon ends session
exec flatpak run de.ifw_dresden.nagstamon
@FlorianHeigl
FlorianHeigl / dnsmasq-d-lio.conf
Last active December 29, 2025 00:30
mass boot octeon nics from dhcp/tftp
# add one entry per port per card
dhcp-host=00:0f:mac1,192.168.236.100,lios1octeth0,12h
dhcp-host=00:0f:mac2,192.168.236.101,lios1octeth1,12h
# match the vendor pattern to a tag
# everything later matches to this tag
dhcp-mac=set:lio,00:0f:b7:*:*:*
# doku zu options: https://blog.abysm.org/2020/06/human-readable-dhcp-options-for-dnsmasq/
@FlorianHeigl
FlorianHeigl / pcicrawl-aer-tree.txt
Created December 27, 2025 23:06
lion pcicrawl - testing facebook pcicrawler
00:01.1 root_port, slot 0, device present, speed 5GT/s, width x1
└─01:00.0 pci_bridge
└─02:00.0 PCI, ASPEED Technology, Inc. (1a03) ASPEED Graphics Family (2000)
00:01.4 root_port, slot 0, device present, speed 2.5GT/s, width x1
└─03:00.0 endpoint, Intel Corporation (8086) I210 Gigabit Network Connection (1533)
00:01.5 root_port, slot 0, device present, speed 2.5GT/s, width x1
└─04:00.0 endpoint, Intel Corporation (8086) I210 Gigabit Network Connection (1533)
00:03.1 root_port, slot 1, device present, speed 8GT/s, width x8
└─05:00.0 upstream_port, ASMedia Technology Inc. (1b21) ASM2824 PCIe Gen3 Packet Switch (2824)
├─06:00.0 downstream_port, slot 0, device present, speed 2.5GT/s, width x1