Libvrit, KVM, and Open vSwitch

Mar 8, 2019 - 2 minutes
Lab notes for configuring Libvrt, KVM, and Open vSwitch, along with a SPAN port, which mirrors all traffic on the switch to a specific port. Though keep in mind that you might not want a SPAN port, but might want to use some of the more fancy features such as ERSPAN. I’m writing this because I had a few hiccups when getting libvirt and OVS to play nice. This was due to me not reading OVS documentation enough, along with my stubborn desire to configure it all using Virt-Manager. Read more ...

Compiling Sway on Fedora 29

Feb 27, 2019 - 2 minutes
Steps needed to install sawy and wlroots on Fedora 29. Wayland-protocols needed to be installed from rawhide, since wlroots requires a newer version that what is currently in Fedora 29. If you find a bug in sway, update all the pacakges to their latest version before you report. This post is how to get a working install without running on rawhide. WLROOTS Current stable packages are installed: dnf install git meson wlc-devel mesa-libEGL-devel mesa-libGLES-devel libdrm-devel mesa-libgbm-devel libinput-devel libxkbcommon-devel libevdev-devel pixman-devel Installing wayland-protocols from rawhide: Read more ...

Model Q running on Linux

Feb 12, 2019 - 1 minutes
Steps to install and run Visual Model Q on a GNU/Linux machine using wine, windows emulator. Assuming you are using Debian, or one of its derivatives, install wine and winetricks: sudo apt install wine winetricks Winetricks is needed for the Windows .Net library, and is installed like this: winetricks dotnet40 All that is left is to install Visual Model Q, which can be downloaded from its website: wine start VisualModelQVersion72Setup. Read more ...

Network Audio and sndio

Nov 18, 2018 - 2 minutes
sndio is a small audio framework, part of the OpenBSD project, it has been ported to FreeBSD and Linux. Its available from most distributions’ packaging systems. Sndio was created circa 2010, and is actively maintained (as of end 2018). You might consider some alternatives as PulseAudio, ALSA, JACK and OSS. My use case for sndio is to play media (videos), and watch the action on a local machine, while the audio is being outputted on another. Read more ...

Homeserver at Home

Nov 14, 2018 - 5 minutes
What is a Homerserver and why should it be at home? Matrix is a federated messaging network. In other words, matrix is an alternative to IRC (slack, Facebook messenger or WhatsApp if you like), which allows everyone to run their own server. The benefits of running your own server, are your messages are stored on your hardware, this prevents administrators and hosting providers from reading your messages and checking out your contacts. Read more ...

Passmenu and i3

Jan 8, 2018 - 1 minutes
I always forget how to install a dmenu script. They’re simple bash scripts that are only limited by imagination. To ‘install’ them, dump it into your global path. Not sure why I can never remember, but because its such a simple system I can never find much documentation, plenty of scripts, but no docs. Locate the passmenu script, then symlink it to somewhere in $PATH, in my case I use /usr/bin. Read more ...

Syncthing

Jan 7, 2018 - 1 minutes
Happy New Year! - First post of the year. This is a post I had written back in October/2017, but since messing up the move from jekyll to hugo I had not gotten round to posting it. Install syncthing as suggested by their documentation. I like to use their apt repo over my distribution’s. Create directories for your user, so systemd will run it as that user: mkdir -p ~/. Read more ...

Notes from Belfast BSides 2017

Sep 7, 2017 - 2 minutes
Ain’t Nobody Got Time For That: Dynamic Malware Analysis for the Overworked Analyst Presenter: Edmund Brumaghin Software for lab Setting up a malware lab? Here are some tools. IPFire REMnux INETSim (Simulate services) FakeDNS - Might not be the one he was referring to. But you get the idea. RegShot (Registry Snapshot, and Directory contents) Able to identify some IOCs ProcessHacker (Real-time PID monitoring with colours) Read more ...

Zotero Standalone Linux

Jul 25, 2017 - 1 minutes
Download Zotero standalone, unzip to /opt/ Place the following in ~/.local/share/applications/zotero.desktop #!/usr/bin/env xdg-open [Desktop Entry] Type=Application Name=Zotero GenericName=Bibliography Manager Icon=/opt/Zotero_linux-x86_64/chrome/icons/default/default48.png Exec= /opt/Zotero_linux-x86_64/zotero %f Categories=Office Terminal=false By default zotero will place all its data in ~/.zotero. Knowing this you can save any highlighting and comments into the PDF document as long as its in the same location and name, zotero will sync it up. Updates This was written for zotero version 4, they have since updated to version 5. Read more ...

Encrypted Alpine Linux

Jan 28, 2017 - 2 minutes
Setting up basic LUKS encrypted alpine install. Create two partitions One for Boot and one for the rest. Make the boot partition bootable. /dev/sda1 - Boot /dev/sda2 - LUKS Setup Luks Create the encrypted block. cryptsetup -y -v luksFormat /dev/sda2 cryptsetup open /dev/sda2 cryptroot mkfs.ext4 /dev/mapper/cryptroot mount /dev/mapper/cryptroot /mnt Confirm its working as expected. umount /mnt cryptsetup close cryptroot cryptsetup open /dev/sda2 cryptroot mount /dev/mapper/cryptroot /mnt Setup Boot Format the boot partition. Read more ...