-
FIX: OpenVPN Client can’t connect with server log: TLS Error: cannot locate HMAC in incoming packet from [AF_INET]IP_ADDR:57442
Simptomatic ( symptoms ): Jul 19 03:52:51 HOSTNAME ovpn-HOSTNAME.DOMAIN_NAME.com[737]: Outgoing Control Channel Authentication: Using 512 bit message hash ‘SHA512’ for HMAC authenticationJul 19 03:52:51 HOSTNAME ovpn-HOSTNAME.DOMAIN_NAME.com[737]: Incoming Control Channel Authentication: Using 512 bit message hash ‘SHA512’ for HMAC authenticationJul 19 03:52:51 HOSTNAME ovpn-HOSTNAME.DOMAIN_NAME.com[737]: TCP connection established with [AF_INET]IP_ADDR:57442Jul 19 03:52:51 HOSTNAME ovpn-HOSTNAME.DOMAIN_NAME.com[737]: IP_ADDR:57442 TLS: Initial…
-
FIX: Unable to negotiate with X.X.X.X port 22: no matching key exchange method found. Their offer: diffie-hellman-group1-sha1,diffie-hellman-group14-sha1,kexguess2@matt.ucc.asn.au
When trying to ssh to an old box, with only sha1 support, you most probably will end up in this: … or something like it. So.. it’s not a bug or error, you just need to force using sha1 by the client, like that: .. and that’s all… but… wait for it… what? there’s more?…
-
HowTo: Ubuntu 20.04 LTS configure LACP(Bonding) permanently (the old-school way)
echo ‘bonding’ >> /etc/modules #apt install ifenslave……..#apt remove netplan.io…….. #cat /etc/network/interfaces : #systemctl restart networking The CISCO Switch side:
-
CheatSheet: ip route command reference by example !
Linux ip route command reference by example Original Date and Source: Mon 19 December 2016 in Linux #Linux NOTE: All the commands below take effect immediately after you hit Enter, and do NOT survive reboot. ip address ip address show #show all IP addresses (also ip ad sh) ip address show ens36 #show IP…
-
HOWTO: Generate and Send FlowControl MAC Pause frames :: from linux
To generate a flow control MAC pause frame , run the following: echo 0000 01 80 C2 00 00 01 00 00 00 00 00 00 88 08 00 01 FF FF 00 00 | text2pcap – /tmp/flow-control.pcap Once you have that you should be able to simply broadcast MAC pause frame using tcpreplay and…
-
HOWTO: Linux iproute2 vlan configuration a.k.a. Using ip command for managing vlans on linux
Create new VLAN with id 100 and interface name eth0.100 , configure it over eth0 physical link and add INET settings on it: # ip link add link eth0 name eth0.100 type vlan id 100 # ip link set dev eth0.100 up # ip addr add a.b.c.1/24 brd 1.b.c.255 dev eth0.100 Bringing Down the vlan interface…
-
QUICK HowTo: Linux Policy Routing by ip-src
Show and/or Listing the routing tables: # ip rule show # ip rule list # ip route list table local # cat /etc/iproute2/rt_tables Add (append) route table with index number 100 to match before table: main and table: default # echo 100 AS207172 >> /etc/iproute2/rt_tables # cat /etc/iproute2/rt_tables # ip rule add from A.B.C.0/25 table…
-
FIX: Centos 6.6 on X8SIE-F, nics links down, all packet counters rise and goes crazy , no networking or: NETDEV WATCHDOG: eth0 (e1000e): transmit queue 0 timed out
Bug: new Centos 6.6 install on SuperMicro X8SIE-F, After some time nics links down, all packet counters rise and goes crazy , no networking If you succeed to install centos 6.6 via network 🙂 Cause: It’s ALL about the ASPM Logs: Jul 10 23:01:41 localhost kernel: Hardware name: X8SIE Jul 10 23:01:41 localhost kernel: NETDEV WATCHDOG:…
-
HOWTO: FreeBSD 9 trigger event and execute script on carp interface link change
When carp interface makes an action, the kernel sends notifies that can be used as triggers to run custom scripts. This is howto trigger on link_up and link_down on the carp interface and start custom bash script: 1. Check included directories in /etc/devd.conf: # grep directory /etc/devd.conf # Each “directory” directive adds a directory to…
-
HOWTO: Configure VE and VEnode in one subnet with linux bridge interface on OpenVZ .. from remote
..continued from HOWTO: Install and configure bonding interface (active-backup) on Debian linux Assuming: installed Debian system, and OpenVZ with vztools, and installed bridge-utils (apt-get install bridge-utils) 1. Create bridge setuping shell script to be used: root@streamer:~/scripts# cat bridges.sh |grep . #!/bin/sh brctl=`which brctl` ifconfig=`which ifconfig` ip=`which ip` $brctl addbr vzbr0 $ifconfig vzbr0 up $brctl addif vzbr0 bond0…
-
HOWTO: Install and configure bonding interface (active-backup) on Debian linux
Pre-work: Fresh Debian Linux install 1. Install bonding tools, configure adapter bond0, set master and slave interface and bond0 ip configuration root@streamer:~# apt-get install ifenslave ………. Reading package lists… Done Building dependency tree Reading state information… Done ……….. root@streamer:~# cat >/etc/modprobe.d/alias-bonding alias bond0 bonding options bonding mode=1 miimon=100 downdelay=200 updelay=200 ^C root@streamer:~# grep -v ^#…
-
HOWTO: add alias ip or vlan interface on FreeBSD ( ifconfig create.. )
—create alias interface and assign ip — vodka# ifconfig bge1 alias YOUR_IP2 netmask 255.255.255.224 ( can be in different subnet – no problemo ) ifconfig_bge1=”inet YOUR_IP1 netmask 255.255.255.224″ ifconfig_bge1_alias0=”inet YOUR_IP2 netmask 255.255.255.224″ — create vlan interface and assign ip — root@monitoring:~ # ifconfig vlan3 create root@monitoring:~ # ifconfig vlan3 1.2.3.4 netmask 255.255.255.0 vlan 3 vlandev…