Ban An Entire Country
Jun 30, 2008im using apf firewall and wonder if someone could provide me a list of turkish ips.
View 13 Repliesim using apf firewall and wonder if someone could provide me a list of turkish ips.
View 13 Replieswhy a client orders a dedicated server from Russia but then they inform us they have transferred the money from Hong Kong bank Telegraphic transfer, different person?
We really do our best to be reasonable but what is the logic behind that?
I figure while I am twiddling my thumbs here waiting for my host to tell me what the heck happened for the second time in two or three months why they have to do an entire VPS hard restart, which of course causes another hour of fck delays, that I'd ask some of the more skilled and experience folks here, how?
Just before it happened, as I was watching, the load shotup over 1, 2, 4, 20, 30 boom. (I opened a ticket at 4)
Shouldn't virtuozzo always guarantee a certain amount of cpu and bandwidth to the node root? Why do they have to hard reboot and not access it directly and stop the badly behaving vps? Better yet, why isn't the badly behaving vps stopped automatically by virtuozzo?
(oh and am I an idiot for putting up with over two hours of downtime?)
I've just finally got fed up with all the people from Israel trying to hack into my servers. Of course they're always auto-banned, but getting several attempts per day emailed to me it gets old...so I banned the entire country.
Anyone else ban entire countries from their servers?
I always use Apache and it's easy to redidrect an entire domain in the htaccess.
Code:
RewriteCond %{HTTP_HOST} ^www.domain1.com$
RewriteRule ^(.*)$ [url]$1 [R=301,L]
For a site I'm working on I need to achieve the same thing with IIS but have no idea how to and the technician claims it can't be done. Surely, that's not the case. Any ideas?
By the way I want the exact same effect as the above not just a generic redirect that sends everthing to the home page of the new domain.
I have come across an issue where traffic from India is hurting my business. What I have is a number of job boards. Realistically, the only issue I am having is with IT and Engineering positions being applied for heavily by people in India. Since my customer base is all in the USA, I would like to just block India.
While I know this is easy with Apache using a .htaccess file, I am using IIS on server 2007. Does anyone have any idea on how to do this easily with the large number of IPs that India uses?
how to ban an entire top-level domain? For example ban everyone from Russia by coming from the .ru domain? Or everyone from Lithuania by somehow banning everyone coming from .It ip address.
I've had some people from those places try to hack my site and am fed up with it. So I want to ban those two entire countries for the time being using cPanel X's "IP Deny Manager".
By the way I am not a technical person. Just your every day person running a site.
we dont host our own website, but recenty our server crashed, and our hosting provider was supposed to be backing things up. They told us that the entire server crashed and the backups were on the same server so we lost everthing. we actually did end up getting evertying back but it took nearly a week to get back online. they said they are now backing up everthing in a remote location so this wont happen again, but we dont want to put this in their hands anymore, we didnt even get everything back .htaccess, hidden files, subdomains were not backup up and lost. So we want to do our own backing up.
Is there some thing I can set up as a cron task to weekly automatically backup every single file on the server, and the database?
We think this would be very beinificial to us as we lost alot of money from this ordeal and we do not want it to happen again.
Just got off the phone with tech support and they noticed that someone was trying to gain brute force entry to our VPS. We want to view our logs but can only see the last 250 lines or so when using this command inside putty:
tail -9000 /var/log/messages
How do we see / copy the entire 9000 entries to view in a text editor? Any tips would be great. I am a newbie at this.
Can an SSL certificate be issued to any tld. Does country matter etc?
View 2 Replies View RelatedJust joined sitepoint forums so Hi everybody
I am very new to web design and have been messing around making mock sites and would like to get some of them live so I can get experience with using host's and get some reviews on my basic designs.
I have just relocated to New Zealand and it seems pretty steep on pricing for hosting companies so can I use hosting companies outside of NZ.
What would be the disadvantages if any?
I am not after anything special like loads of bandwidth or storage.
I had a few sites hacked today. I'm using phpbb (all updates) and, apparently, the only thing they did was to drop the database and replace it with one featuring a single post "advertising" their hacker group. I tried bringing everything back on-line, but they would just attack again and take it down quickly... I'm thinking it's probably just some script kiddies.
They announce themselves as "turkish hackers". Browsing around for their message, I found they attacked quite a few sites. What I was thinking, to help preventing this from happening again, is to ban all visitors from Turkey (none of these sites has a need for them, as they're aimed at a local audience).
Can I do this simply by using "deny from .tr" in htaccess? Or are there any more steps to be taken?
What are the bad effects of hosting a website outside the country?
View 3 Replies View Relatedrsync -avz -e ssh --delete --exclude=/home/server/logs/
I want to exclude the logs directory from being transferred, that doesn't work.
The backup program (cpbackup) that comes with WHM/Cpanel is not ideal for our current situation. We have lots of third party applications installed on our server along with many customized configuration files. We need a solution that will backup everything and allow for fairly simple restoration.
How viable is rsync for full server backups? Can it handle 100 GB of data?
More importantly, how would you restore the backup to a new server? If the new server already has an OS the restored files would break the system, right?
Yet another question for you all. As part of my remit I need to work out power usage across the DC. It's not huge. Approx 300 servers across 50 physical servers (BL7000c with BL46x series blades) as well as several sans/disk arrays (DotHill, HDC, HP MSA) and appliances, Ciscos, POE 8xxx series procurves etc)
All these are racked up and being fed from 32Amp APC PDUs (without monitoring). It's three phase in, single phase out. We can't really run 3 phase because I am not allowed to run it due to the 6 foot rule.
Our UPS is rated at 30KVA but we are running it at the max at around 24KVA.
What I need to do, is work out on an individual basis how much power each one draws, ideally without a power down. The reason, as well as identifying the power hogs (such as several SUN V series servers), is to reduce the overall carbon footprint and energy costs.
am hosting with servage most such hosts dont provide backup for ur files in case ur moving to other host so i was wondering if i can manually through FTP download my enitre directory including all files (html, jpg, PHP SCRIPTS) and manually reupload them onto the other host i will move to soon will that actually work
and for MySql databases i have created a PROPER backups via their auto backup system
they only lack backup for the files itself only, MySql is fine
will restoring the MySql databases but via a different control panel (CPanel) will it possible?
Also does anyone have a good resource site with ssh commands and stuff?
View 3 Replies View Relatedto get a copy of their entire site onto our servers.
The problem is that they have no backups, and their current host has denied them access to their account. (It's a long story.)
Rather then try and fight with their old host, I wonder if it's easier to just run some kind of "website copy" program and grab a copy of all pages and images, linked files, etc..
Their current website pages are served using an ASP database application, but the copy they need only has to work. It doesn't need to be dynamic, etc... as long as all the pages are there it's good.
I'm contemplating creating a website that could store extremely sensitivity information. It's more than likely that a MySQL database would house this information.
My question is. Does anybody have any experience when it comes to encrypting an entire server disk?
I've searched online with disappointing results.
I renamed a folder. How I can write a 301 redirect in .htaccess to redirect every file in that folder to the new folder?
View 14 Replies View RelatedI have a system that need to be formated, before i do that i want to backup everything (etc,bin,tmp...) to new hard drive (external hard drive) which connected to system by firewire. Is there any command that i can copy entire the hdd to new hdd ? I used to use this "cp -R folder folder " but it takes too long. Any suggestion?
View 4 Replies View Relatedproduction looking to use latest version of apache from apache lounge:
Apache 2.4.7 Win64
Which version of PHP is recommend?
Which version of WinCache is recommended?
Which version of mysql is recommended?
I've looked into WinCache how to install it and hook it up to php, but i'm guessing you add the extensions in the php.ini?
A single website is returning 503 to every request - it's a wordpress site - and we have a lot of those, none of the others are returning the same errors, so this is quite odd to me:
141.101.70.247 - - [03/Sep/2014:08:29:36 -0600] "GET /apple-touch-icon.png HTTP/1.1" 503 1330 "-"
"MobileSafari/9537.53 CFNetwork/672.1.15 Darwin/14.0.0"
173.245.50.138 - - [03/Sep/2014:08:36:18 -0600] "GET /tag/rohloff/ HTTP/1.1" 503 1330 "-"
"Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)"
108.162.216.158 - - [03/Sep/2014:08:50:05 -0600] "GET / HTTP/1.1" 503 1330 "-"
"Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Firefox/31.0"
I do see some ModSecurity warnings from last night:
[Tue Sep 02 23:07:58 2014] [error] [client 141.101.98.8] ModSecurity: XML parser error: XML: Failed parsing document. [hostname "WEBSITE.co.uk"] [uri "/xmlrpc.php"] [unique_id "VAaiLrhfKCIAAAvNboMAAAAP"]
[Tue Sep 02 23:07:58 2014] [error] [client 141.101.98.8] ModSecurity: Access denied with code 400 (phase 2).
[Code] .....
but no errors in the site error_log since that last one - all I see now is 503 errors.
How to proceed with debugging the cause of this?
Are there hosters that do that?
Best would be European.
i know that i.e. Hetzner gives you PA Space with your own Netname ("netname:" field) (maybe also own Adress) but they dont allow to change the "country:" field, and it stays "DE"
I would like to have a block of 8/16/32 IPs with own "Netname:" field, and own "Country:" field (or as Countrycode "CN", "HK", "AG", "BS" or "KY")
Could Provide P.O. Boxes in all that countrys if needed.
The Server behind it does not really matter, location should be not Germany and not USA (cant comply with some Laws in this 2 Countrys) - something like 1Ghz CPU, 80Gb HDD, 512Mb Ram is enough - 100Mbit (or 10Mbit Burstable) with ~350Gb Traffic.
how this new feature works in csf with blocking by country code.
I'm trying to put a block on Indonesia.
Is it possible to buy an IP from a different datacenter location in the same country and use it on a server/vps. where can I buy IP's from?
or can I get an IP of for example UK and use it on a US server?
Will it show as a UK Server?
I've seen sites that use only 1 domain name, and when I ping it from one country the IP is different from when I ping it from another country.
View 4 Replies View RelatedI am in the process of setting up a VPN server for a client who lives in a Middle Eastern country.
He will be using the VPN for all his internet surfing, email access, etc. (So the VPN will be his internet gateway. His local ISP connection will only be used to make the VPN connection.)
The majority of his internet surfing through the VPN will be to US websites.
Where is the best place to locate the VPN server? I have two datacenters available to choose from: USA or UK
I have experianced a number of attacks all from a specific country.
I would like to completely block access to all users from that country.
I realize that this is not fool proof because people from that country could still use a proxy.
I also realize that people in that country that are not hackers would not be able to access my web site but for the time being I still want to put this in place.
I use Linux / Cpanel / Apache. I have iptables installed.
Is there any way I can block all access to people from the problem country?
setting up another website which will have hopefully both a uk and us audience. I am looking at going with godaddy as they offer a domain extension I want, which no uk service seems to offer. Is there any disadvantages to this, will it operate slower?
View 8 Replies View Related