I’m stil lreceiving huge spam/unwanted traffic from russia.
I want to ban with iptables
I already tried to stop it using fail2ban but they continuosly change their IP Address so there is no repetitive behavior wich fail2ban can trace.
This means that even if i setup rules for fail2ban they can do the first connection anyway wasting a little of my server resources.
I want to stop it now, so i decided to do it the bad way:using iptables. Continue reading “How to Ban a country with iptables”
Suppose i just mirrored my vps machine (starting from a clone and then rsync-ing all needed files) with rsync. Obviously i need to change the IP Address value contained into all the config files, but I’m lazy.
So, let’s use “SED” to do it at once, with a single line command.
I need to replace the IP Address “192.168.100.5” with “192.168.100.4” in all files contained in /etc/apache2/* Continue reading “Replacing IP Address in Apache2 config files with SED”
Incoming search terms:
sed replace ip and port (1)
Using sed to replace an ip address in a config file line (1)
A.K.A. Public (and probably static) IP address for residential UPC customers.
I have a huge bandwidth internet connection, so why don’t let my friends download or upload files to my house, it makes feel us closer, it’s funny to share things, it can be actually useful in some cases.
I live in the Netherlands and here are several companies which offer different internet connections, but the common element is that houses are built with fiber channel in mind, differently from Italy, that’s why we have actually 50Mbit in download and 4Mbit in upload. For this reason I want to try to discover, for example, whether the ip address is a static one (still the same in two months) and other funny things.
So the first thing to do is to check if the router distributed by UPC can actually act as a bridge so I can manage myself all incoming connections having a public ip address. Also I have a spare Cisco E2000 with dd-wrt that eventually can assume the public ip while the cisco turns in a simple bridge. Continue reading “How to Enable real Bridge mode for UPC Cisco EPC-3925 with HTML Injection”
Shineisp is an italian open sourceWHM (Web Hosing Management) and we are going to give it a try. I recall i alredy installed it last year, but the machine had a poor hardware and shineisp is a greedy MVCphp–mysql program. For this “instalfiguration” we assume we are on Debian Squeeze and we will cover the steps needed to get shineisp up and running in 10 minutes.