Browsed by
Category: Security

A WordPress site secured with SSL and running on an nginx as a reverse proxy to an Apache

A WordPress site secured with SSL and running on an nginx as a reverse proxy to an Apache

Today I needed to transfer a WordPress site from one server to another. This proved more difficult then I tough. The new server is running an Nginx that serves as a reverse proxy to an Apache. The latter does, for example all the php stuff. It also serves only SSL pages and redirects all traffic on port 80 to 443. After a lot of “google’ing” and trial and error, this was what I needed to configure in the wp-config.php file….

Read More Read More

Sudo !! Tips and tricks

Sudo !! Tips and tricks

I recently discovered some cool sudo tricks. First of sudo is a way to get elevated privileges but not get full root access. As root you can do system administration tasks, that you are not allowed to as a normal user. The things you can “sudo” are defined in the so called sudoers file and can be edited by the following command: visudo It will look for a program to open the sudoers file with in the EDITOR variable. Now…

Read More Read More

SSH config file

SSH config file

I learned a neat trick lately that has to do with SSH. If you are like me and use secure shell to connect to a remote box or for git push/pulls then you most likely be interested in this next little configuration file. As you probably know, all your ssh configurations and keys probably reside in the .ssh folder of your home directory. Go to this directory and use vim to create a file named config. vim ~/.ssh/config Lets add…

Read More Read More

Netgear WNDR4300 with DD-WRT

Netgear WNDR4300 with DD-WRT

Yesterday I decided to update my netgear router with dd-wrt software/firmware. The main reason I wanted to experiment with dd-wrt is that it has so much more options and controls then the stock firmware netgear offers. While the original firmware is very good, using something as syslogging to an external device and wallwatcher is not possible. So I headed to the dd-wrt site: http://www.dd-wrt.com/site/index And search for my router: http://www.dd-wrt.com/site/support/router-database> wndr4300 and found it was supported. I downloaded the img…

Read More Read More

SNI not working in IE

SNI not working in IE

We have a setup of an Nginx + Apache based web server, that uses SNI (Server Name Indication) to determine the website certificate to use. Now I knew that SNI doesn’t work on windows XP, but today it failed on Windows 7 using IE 10. Turns out that anti virus software such as McAffee can turn off some settings in IE. The settings in question to tackle this problem are under Internet options >> Advanced >> Scroll down to security…

Read More Read More

Coolblue sites and LastPass

Coolblue sites and LastPass

If you are familiar with the password manager LastPass and if you are a customer of the electronics store coolblue, then you will have probably noticed that while shopping around on this site you get send to a bunch of different domains, depending on what you want to buy. Last I counted they had 161 domain names for their different stores. While LastPass will save the credentials for the site coolblue.be, it won’t fill in those credentials at ssdcenter.be for…

Read More Read More