For all the Network Techs out there. I have a Interesting one, on reddit there was a post about a L2 switch killing the port when ArtNet was sent over it. Using my Network experience, I pulled the devices manual, a the Device in question is a GSD-1002M L2/L4 switch. I wrote up how I would configure it. Long story short it was the DOS protection on this switch. I dug in deeper, made this nice RCA for this issue,
I used Wireshark and checked some of the default settings in the GSD-1002M Manual
The Highlighted data of the Source and Destination ports. are the same!
The highlighted settings are the items of interest the UDP and TCP BLAT settings.
What is a Blat Attack – These switch result from sending a specially crafted packet to a machine where the source host port is the same as the destination host port. The system attempts to reply to itself, resulting in system lockup.
This attack could be compared to setting up a mic IN FRONT of your Main PA 1″ Away from the speaker. Then Turning it on full blast.
Recommendations for Transport-Protocol Port Randomization
These attacks rely on the attacker’s ability to guess or know the five-tuple (Protocol, Source Address, Destination Address, Source Port, Destination Port) that identifies the transport protocol instance to be attacked.
Says this needs to happen on the Source port. so the source port is random but the destination is set
I am working on making my python 3 script better. I am also adding a mode to control the venue lights. I am getting used to
which is the more accepted way of calling other programs. I am using it to call shell scripts to implement different things. I know I could call ssh directly…. or whatnot. I feel the shell scripts are the best way to go.
Today I am going to write up a project I am working on.
Problem: I have a USB headphones with cat ears. The Mixers only output analog. Also Needs to be headless.
Solution: Use a ADC and pulseaudio to convert it to a signal that the USB headphones can use.
I used a Raspberry pi, a LCD board and a Behringer UCA222
The UCA222 converts the analog signal to digital. then I am using pacat from pulseaudio to receive it then a pipe to send it to the headphones via pacat.
Now for the headless part I am using the Adafruit 16×2 and button board to control the system. The system is controlled through a python3 program, that reads the buttons and does what is needed based off input.
Currently I am having a issue of getting the script to start on boot. when it is called via crontab the system calls do not work, Looks like I get to deep dive that call.
To get the script to work, I had to start up pulseaudio daemon. It appears that the daemon is started on login. since I am starting my program via crontab…. I had to build a quick bash script to spawn it and then kick off my python program.
Posted inUncategorized|Comments Off on I2C Adafruit 16×2 LCD Pi Plate