remote-desktop-rdp-mstsc-icon

Slow initial RDP connection

For me, this was a pain in the ass for a long time. When I connect to a Windows server through RDP/RDS it sometimes takes more than 2 minutes to connect to a server. Today after some waiting, and waiting and some more waiting I did a deep dive with Wireshark to figure out why it was so slow. Azure domain joined Windows 10 device (Laptop) Connection over a Cisco Anyconnect VPN Remote Desktop Manager (Devolutions) Native RDP client MremoteNG I know for sure the issue should be in my setup. Because when I connect first to a jump host (RDP) and then connect to other domain-joined servers everything was connected almost immediately after I put in my user credentials. ...

November 4, 2021 · 3 min · thomasf
pexels-marta-branco-1194713

OWASP ZAP Proxy with Android on Genymotion

It can be fun to reverse engineer some android applications. I think it’s better to do this on your workstation instead of your phone because it’s way more flexible and you don’t ruin your phone when you break things ;) In my case, I use Debian 11. But of course, you can do this with any OS. An app you want to debug OWASP ZAP Proxy Genymotion NPM APK Export (Android App) I use the snap package for ZAP because it’s easy to install and you’ve always the latest version. ...

October 26, 2021 · 3 min · thomasf

Create a local TCP port for a remote server on a ubuntu/debian server

You can do this stuff with netcat and inetd apt-get install openbsd-inetd (netcat is installed by default) nano /etc/inetd.conf LOCALIP:443 stream tcp nowait root /bin/nc nc REMOTEIP 443 /etc/init.d/openbsd-inetd restart Have fun!

February 1, 2020 · 1 min · thomasf
image-1

Papercut: Simple Desktop SMTP Server

Sometimes you want to test a mail application without spamming the internet with your garbage. Use can user Papercut to local test your mail application. URL: https://github.com/ChangemakerStudios/Papercut/releases

November 22, 2019 · 1 min · thomasf
cloudflare-logo

Howto: Configure cloudflare for wordpress

My web hosting company don’t support subdomain SSL certificates. And because Google’s Chrome in July is required HTTPS on all websites (otherwise you get an error your website isn’t safe) I had some deadline to make my blog HTTPS. Cloudflare is a nice reverse proxy solution and the basic plan is free to use also. So what I did was create a cloudflare account and put my website behind it. After I did that I forced the HTTPS and voila my website was HTTPS. The steps you must take. ...

February 25, 2018 · 2 min · thomasf
certificate_icon

Create a strong self-signed certificate for multiple years

If you follow these steps you can create a self signed certificate with the following specifications: Wildcard certificate SHA256 hash 10 years 2048 bits public key Client and server verification Sha1 fingerprint Please use windows 10 powershell in admin mode. Otherwise you will get errors New-SelfSignedCertificate -certstorelocation cert:\localmachine\my -dnsname *.domain.local -NotBefore $([datetime]::now.AddDays(-15)) -NotAfter $([datetime]::now.AddDays(3560)) Now export the certificates. Before you copy/paste change the thumbprint with the thumbprint you get from the above command. ...

November 12, 2016 · 1 min · thomasf
SSL-Certificate-how-to-secure-your-web-site

Convert PFX to PEM and upload the certificate to Plesk

Export the Private Key: ` Remove the password from the SSL certificate (unencrypted is needed for plesk): Export the certificate: ` Now upload the certificate: And bind the certificate in your hosting settings:

December 21, 2015 · 1 min · thomasf
namebench

Find your fastest DNS server

There is a nice cross-platform open source tool to find out what the best DNS server is for your internet connection. Go to https://code.google.com/p/namebench/downloads/list Download the namebench tool Extract and start the tool Click on “Start Benchmark This benchmark takes some time. About +/- 15 minutes. Then you get the results in your browser: 201% faster name query performance!!! WOW! When everything is setup you can check your DNS settings with a nice website: https://www.dnsleaktest.com/ ...

August 19, 2015 · 1 min · thomasf
network slow

Build your own speedtest with iperf

When you have network performance issue’s you often use speed test websites to check the network bandwidth. But mostly of the time you want to monitor the network bandwidth between two specific servers. There is a cross platform speed test utility you can use to monitor the bandwidth. The name of the tool is iperf How it works: Download the tool: http://iperf.fr/ Extract the tool in a folder and jump to the folder with the command line start the tool on the server with this command: iperf -s ...

May 8, 2014 · 1 min · thomasf

Windows 2012 R2 unstable internet connection

I had 2x HP DL 380 G6 servers with Windows 2012 R2 whit the same problem. When I start a download (I try a lot of different sites) the download drops and fluctuate. When I connect my laptop or another server on the same cable the download is stable. So my conclusion was the onboard nic. What I tried: Update latest HP SSP (2014_2) Update firmware NIC Update driver NIC Update Windows (patches) change all the default nic settings like disable tcp offload for example Try another switch Bandwidth during download: ...

April 24, 2014 · 2 min · thomasf