FireflyHacker's CCDC Experience
I love the competition and I am a firm believer in the open sharing of knowledge and education.
My philosophy was that if you throw 30 students in the deep end and 8 of them figure out how to swim you will have a good team ready to go. The time frame is extremely tight to learn an insane amount of new technologies, strategies and the “meta” of the competition. This is (roughly) how our weeks we structured throughout the year.
How to get started learning Infra with a Homelab
Here is my recommendation for quickly learning at least the basics of infrastructure:
Hardware:
-
If you can start with a cluster of at least 3 computers.
-
If not a single computer for a hypervisor will work
-
If not then VirtualBox or VMWorkstation will get you started with the absolute basics until you can get a hypervisor
-
-
If you have a couple old computers or laptops (at least 8gb ram each) then start with those.
Explaining The WRCCDC VyOS Script
Writeup of Wasabi’s VyOS script for WRCCDC. Writeup by Payton Erickson (UCI’s CCDC team)
The setup of the Script
#!/bin/vbash
function get_next_if() { excluded_interfaces=("$@") lowest_ifindex=-1 lowest_ifname for interface_path in /sys/class/net/*; do found=false interface=$(basename “$interface_path”) for excluded_interface in “${excluded_interfaces[@]}”; do if [ “$excluded_interface” == “$interface” ]; then found=true break fi done if [ “$found” == true ]; then continue fi ifindex=$(udevadm info -q property “$interface_path” | grep -E ‘^IFINDEX=’ | cut -d’=’ -f2) if [[ “$ifindex” =~ ^[0-9]+$ ]]; then if [ “$lowest_ifindex” -eq -1 ] || [ “$ifindex” -lt “$lowest_ifindex” ]; then lowest_ifindex="$ifindex" lowest_ifname="$interface" fi fi done if [ “$lowest_ifindex” -eq -1 ]; then echo "" else echo “$lowest_ifname” fi }