Migration from Wordpress to Hugo - Why

Wordpress is a nice blogging software but it has a couple of disadvantages from a security perspective: It requires a database and that makes SQL injection attacks possible It is using PHP what is known for its vulnerabilities It has a web interface for administration which is usually accessible from internet and open for brute force attacks It is very popular so there is a huge hacker community around It needs frequent updates for Wordpress itself, installed themes and plugins When your site has become known by attackers for whatever reason they permanently run different types of attacks and try to exploit security vulnerabilities in the software, database, webserver, configuration or in the operating system itself. [Read More]

Compiling Hugo Extended on CentOS 8 Stream

--- Compile hugo extended on CentOS 8 Stream --- Requieres new git version. git 1.8.3.1 as on CentOS 7.6.1810 doesn't work. CentOS Stream release 8 comes with git version 2.27.0 which is working ok. [root@bacon hugo-master]# git --version git version 2.27.0 [root@bacon hugo-master]# To make it easier for others, to do so, just: - install golang + gcc-c++ on your CentOS 7 - download https://github.com/gohugoio/hugo/archive/v0.54.0.tar.gz - execute in the source directory go install -tags extended - grab the result binary in your ~/go directory # go install -tags extended go: downloading github. [Read More]
CentOS  hugo  linux 

Moving a virtual machine from VMWare Workstation to VMware ESXi 6.5

In this example a F5 LTM Virtual Edition will be moved from Workstation to ESXi. My first expectation was that moving a VM from Workstation to ESXi works out of the box and is quickly done… So I simply copied an existing VM (the .vmx file and the corresponding vmdk disk images) to the datasore of the ESXi host. Copying the files can be done using the Web UI file browser or by enabling ssh access on the ESXi host and using scp to move the file to the host. [Read More]
esxi  f5  ltm  vmware 

Disable VMWare Workstation time sync

In der VM Konfigurationsdatei (*.vmx) folgende Einträge einfügen:

tools.syncTime = "FALSE"
time.synchronize.continue = "FALSE"
time.synchronize.restore = "FALSE"
time.synchronize.resume.disk = "FALSE"
time.synchronize.shrink = "FALSE"
time.synchronize.tools.startup = "FALSE"
time.synchronize.tools.enable = "FALSE"
time.synchronize.resume.host = "FALSE"

Knowledge Base ID 1189

F5 LTM vs Cisco ACE timeouts

Configuring a Timeout for IP Address Stickiness http://www.cisco.com/c/en/us/td/docs/app_ntwk_services/data_center_app_services/ace_appliances/vA3_1_0/configuration/slb/guide/slbgd/sticky.html#wp999676 The sticky timeout specifies the period of time that the ACE keeps (if possible) the IP address sticky information for a client connection in the sticky table after the latest client connection terminates. The ACE resets the sticky timer for a specific sticky-table entry each time that the appliance opens a new connection or receives a new HTTP GET on an existing connection that matches that entry. [Read More]

Windows MTU Size and Path MTU discovery

C:WindowsSystem32> netsh.exe interface ipv4 show interface

Idx Met MTU State Name


1 50 4294967295 connected Loopback Pseudo-Interface 1 12 50 1500 disconnected Drahtlosnetzwerkverbindung 15 5 1500 disconnected Mobile Breitbandverbindung 11 10 1500 connected LAN-Verbindung 14 50 1477 disconnected Bluetooth-Netzwerkverbindung 16 10 1350 disconnected LAN-Verbindung* 3

C:WindowsSystem32>

C:WindowsSystem32> netsh interface ipv4 set subinterface mtu=1400 store=persistent

How to enable PMTU: https://technet.microsoft.com/en-us/library/cc957539.aspx

http://www.duckware.com/blog/how-windows-is-killing-internet-download-speeds/index.html

http://blog.schaefer-it.net/2009/11/25/windows-7-mtu-fur-netzwerkadapter-einstellenig/

netsh interface tcp show global netsh interface tcp show heuristics netsh interface tcp set global autotuningl=normal netsh interface tcp set global autotuning=disabled netsh int tcp set heuristics disabled

mtu  pmtu  tcp  windows 

Traceroute with TCP SYN for probes

Check the path to a webserver running on port 80 [root@s15809293 ~]# traceroute -T -p 80 www.regelleistung.net traceroute to www.regelleistung.net (91.192.14.79), 30 hops max, 60 byte packets 1 172.29.173.186 (172.29.173.186) 0.046 ms 0.040 ms 0.021 ms 2 vl-1995.gw-distp-a.bap.rhr.de.oneandone.net (195.20.247.34) 0.406 ms 0.518 ms 0.622 ms 3 ae-0-0.bb-a.bap.rhr.de.oneandone.net (212.227.121.164) 0.279 ms 0.265 ms 0.245 ms 4 ae-2-0.bb-a.tp.kae.de.oneandone.net (212.227.120.44) 0.854 ms 0.856 ms 0.821 ms 5 xe-1-0-3.bb-a.fra3.fra.de.oneandone.net (212.227.120.182) 3.049 ms 3.090 ms 3. [Read More]

Hide NAT on multiple WAN Interfaces

During some tests I came across an issue with dual hide NAT on one Cisco device. The device is configured with two Internet access lines. The first one is a Ethernet Link (fa0/0) with static IP addressing, the second one is a dial-up PPPoE connection (Dialer1) with dynamically assigned IP. For the LAN side I configured a Loopback1 for testing. ip nat inside is configured on Loopback1, ip nat outside on fa0/0 and Dialer1. [Read More]

Cloning a Centos 6.3 VirtualBox VM

Cloning an existing CentOS 6.3 virtual machine in VirtualBox seems to be quite easy. Right click on the machine, select clone, reinitialize the MAC addresses and create a full clone… The clone is beeing created and after starting it up – oops, no network interfaces present? Some error messages appear when trying to restart network services: To solve the issue two things must be done: 1. Delete the 70-persistent-net.rules 2. Check the MAC addresses in the interface scripts within network-scripts folder [Read More]

VMWare to Virtual Box conversion with OVF Tool

To transfer a virtual machine from VMWare Workstation 6.5.1 to Oracle Virtual Box 4.2.6 the virtual machine must be converted to the Open Virtualization Format. To do this VMWare offers a tool called OVF Tool. It’s available for download from the VMWare homepage. Converting a virtual machine is quite simple: In my case I used the command without any options. After that is done go to Virtual Box and import it through “Import appliance”. [Read More]