Author Archives: Coding Packets Blog
Author Archives: Coding Packets Blog
An array is a sequence of values, of the same type. A tuple is defined with square brackets []. Array Considerations Arrays live on the stack by default and have a fixed size. Traits are only implemented on an array with a size of 32 or less. Arrays with a size greater than 32 lose...continue reading
A tuple is a sequence of values, which can be of different types. A tuple is defined with circle brackets (). Tuple Considerations The number of elements in a tuple is known as its arity. Traits are only implemented on a tuple with an arity of 12 or less. Tuples with an arity...continue reading
A char in Rust represents a single unicode scalar value. A char is defined as a single character within single quotes eg: ('a'). Char Considerations A char is not the same as a single str character. Strings DO NOT use chars internally. A char is always 4-bytes in length. continue reading
The if conditional block in Rust behaves similarly to other languages. In Rust, if blocks act as an expression and the resulting branch can be assigned to a variable. The resulting expression of an if branch can be assigned to a variable with the let keyword. If...continue reading
The boolean type in Rust is defined with the bool type annotation and can be either a true or false literal. Boolean Considerations false has a bit battern of 0x00 true has a bit battern of 0x01 Booleans cannot be used in arithmatic unless they are cast to a u8 continue reading
Integers Integers represent whole numbers. Rust has both unsigned integers and signed integers. unsigned integers cannot be negative, and have a higher positive range than signed integers, that can be negative, but have a lower postive range. The following table lists the integer...continue reading
Rust is a functional language, it may or may not be shocking to discover that functions are a big part of the language. A function is defined with the fn keyword. fn is pronounced: fun 🥳 // Function with parameters that returns an i32 fn add(i: i32, j: i32) -> i32 // The `main`...continue reading
Variables in Rust are defined with the let keyword and values are assigned with the = operator. Constants have a similar syntax except they are defined with the const keyword. Considerations Variables are defined in snake_case by convention. Constants are defined in...continue reading
2022 Goals In 2021, the pandemic managed to get to me. It seemed like alot of curve balls came my way. But, myself and my family came out the other end healthy and in relatively good spirits. 2022 is going to be a bit of a do-over in terms of my goals for the year. Without further...continue reading
2022 Goals In 2021, the pandemic managed to get to me. It seemed like alot of curve balls came my way. But, myself and my family came out the other end healthy and in relatively good spirits. 2022 is going to be a bit of a do-over in terms of my goals for the year. Without further...continue reading
2021, another year, another year of the pandemic. I had lots of plans for 2021 and life decided to get in the way of most of them. At the start of the year I set my yearly goals outlined in this post. Someone really close to me was diagnosed with Cancer in January and helping them...continue reading
https://codingpackets.com/blog/2021-goals
This post has been in my drafts for a while, and its time to finish it off. Over the last couple of years I have been learning Go off and on. It was one of my goals for 2021 to learn Go well and I spent a fair amount of time digging into Go at the first half of this year. I have...continue reading
Recently, I had to replace one of the nodes in my 3 node Proxmox cluster. Once I replaced it, I found that I had certificate (both HTTP and SSH) errors between the hosts In this post, I will show you how to resolve that issue. The following software was used in this post. Proxmox -...continue reading
Recently, I have started using Proxmox as a hypervisor in my home lab. In this post I will show you how to provision Proxmox guest VMs using Terraform. I use this method to deploy about 20 VMs across 3 Proxmox hosts in my home lab. The following software was used in this post. Proxmox...continue reading
In a previous post I showed you how to configure a port mirror in Proxmox. In that post, I used a bit of a dirty hack (bash scripts and crontab) to ensure the port mirror is activated if the host or the VM reboots. Luckily for me, I have some really smart colleagues who mentioned ...continue reading
In a previous post I showed you how to configure a port mirror in Proxmox. In that post, I used a bit of a dirty hack (bash scripts and crontab) to ensure the port mirror is activated if the host or the VM reboots. Luckily for me, I have some really smart colleagues who mentioned ...continue reading
In a couple of previous posts I covered how to configure Open vSwitch and Import Extrahop Appliances on Proxmox. The Extrahop Discovery Appliance (EDA) can ingest network traffic on its capture port for analysis. In my lab, I am hosting the EDA as a VM on a Proxmox host...continue reading
In a couple of previous posts I covered how to configure Open vSwitch and Import Extrahop Appliances on Proxmox. The Extrahop Discovery Appliance (EDA) can ingest network traffic on its capture port for analysis. In my lab, I am hosting the EDA as a VM on a Proxmox host...continue reading
In this post I will show you how to import the Extrahop Discovery Appliance (EDA) and the Extrahop Explore Appliance (EXA) into Proxmox. The following software was used as part of this post. Proxmox - 7.0-11 Extrahop Discovery Appliance 1100v - 8.6.2.1446 Extrahop Explore Appliance...continue reading