Dreamhost VPS defence against network attacks

August 2nd, 2013 3 comments

I recently moved to my brand new DreamHost VPS just to find out how much better is than my shared hosting. I get a bit over 180000 hits for 24 hours, but it happened that my server was rebooting due to heavy load and excessive memory usage. Right now I’m using the VPS with 400MB of ram. It was rebooting like every 20-30 minutes, but it seemed that not all of the traffic was legit. Large amount was web page scrappers, regular search engine bots, hacker attacks (brute force, sql injections), etc and my server was benching against the heavy load. I tried installing iptables, but due to the ancient VM technology that dreamhost is using is not possible šŸ™

So i had two options, to get my server back from the dead without paying tons of money for feeding all the automated traffic and dreamhost:

  1. iptables alternative (e.g. shorewall)
  2. htaccess ip blocking

For the faster and immediately efficient option I chose the second one, so I compiled a list with all the httpd.ip-filter.conf

In order to block China and Russia I’d recommend to create separate file that is included in your httpd.conf. Apache (if apache is used) is C language based program and once it loads the long IPs list in the memory will react super fast to any calls from IPs in the list. Unless you don’t have access to edit the httpd.conf I wouldn’t recommend adding this line in .htaccess file.

The list contains 8864 Russian networks and 5073 Chineese.

1. Download httpd.ip-filter.conf

2. Save the file in the folder where httpd.conf is and name it the way you want. I used httpd.ip-filter.conf

3. Open the httpd.conf and include the line ” include /path/to/the/httpd.ip-filter.conf ” (without the quotes).

4. Save the conf and restart the apache

If you don’t get any errors you should be all set!

After doing so, my server is now relieved! I get far less traffic and my VPS don’t die from excessive memory that is not used by legit traffic.

1 Star2 Stars3 Stars4 Stars5 Stars (5 votes, average: 5.00 out of 5)
Loading...

Categories: Security, Servers Tags: , , , ,  

Matrix – Tiny Workstation (Somewhat SuperComputer)

April 23rd, 2013 1 comment

Finally I found some time to post my new custom build. I’m building my workstation designed for 3D rendering, graphic and video design, gaming and high resource intensive math and cryptology calculations and benchmarks. Uh-oh I’m so excited to perform some of my planned OpenCL and ImageMagick tests…

Build Details:Ā I was looking for motherboard with a lot of PCI-E slots, because I need to run 6 x Sapphire 7970 Vapor-X 3GB version. I found excellent deal for used P6T7 on eBay with set of memory, memory fan, cpu and CPU fan.

Here’s what’s planned:
Motherboard: P6T7 WS SuperComputer 7 x PCI-E x16 (4-way CrossFireX x16 or 7 x PCI-E x8).
CPU:Ā IntelĀ® Coreā„¢ i7-920 Processor (8M Cache, 2.66 GHz, 4.80 GT/s IntelĀ® QPI)
Memory: CORSAIR DOMINATOR 8GB (4 x 2GB) 240-Pin DDR3 SDRAM DDR3 1600 + Memory fan
CPU FAN: ZALMAN CNPS9900MAX-B 135mm Long life bearing CPU Cooler
GPU: 6 x SAPPHIRE Vapor-X VXSR Radeon HD 7970 GHz Edition 3GB 384-bit GDDR5
PSU: 2 x ZALMAN 1250 Platinum 1250W ATX12V v2.3 SLI Certified CrossFire Certified 80 PLUS PLATINUM Certified Modular Active

This is going to be no case build (no case for now) until I decide how much space I’ll need with all the 6 GPUs and dual PSU, and then I’m planning to build custom rack.
I’m very creative and I love to generate new ideas every single minute. So here we go, yeah I’m getting excited too! Let’s build some funny legs…
For now I’ve got some basic parts to build custom motherboard legs/stands to put some clearance between the motherboard and the table: 4 x Push-on F-connectors for coaxial cable (Ideal RG-6) for motherboard feet. Machine screws 6 x M3 25.4mm length metric (US standard #6-32 x 1″) Flat Head Phillips, 8 x Machine Screw Nuts M3 (US standard #6-32). Shepherd Vynil Bumpers 10mm (3/8″).

The build is still unfinished. The motherboard’s CPU fan heads doesn’t work šŸ™ I need CPU fan controller, which I’m getting soon + two more RG-6 connectors for middle legs/stands for the motherboard, because it seems slightly bending in the middle and I don’t want to make any damage and this is only with the ram and the CPU fan on it (I imagine 6 x Radeon 7970 loaded, won’t be good for the PCB).

Updates and photos coming soon…

1 Star2 Stars3 Stars4 Stars5 Stars (5 votes, average: 5.00 out of 5)
Loading...

Nokia 808 With Symbian Belle – The Game Changer

July 13th, 2012 No comments

Hope you guys remember the Nokia PureView teaser video, we published a few days ago. The 808 PureView is Nokiaā€™s imaging flagship phone, a true successor to the N8. The 808 PureView runs Symbian Belle OS, powered by 1.3GHz single-core chip and 4-inches corner to corner display with a resolution of 360 x 640 (nHD). It also includes 512MB of RAM and 16GB of on-board storage expandable via microSD. A Pentaband modem increases the chances of getting a signal while globe-trotting, while data speeds will top out at plain HSPA 14.4Mbps. Lets go to the highlighted portion, the Carl Zeiss-lensed camera. The Nokia 808 PureView features a large, high-resolution 41 megapixel sensor with high-performance Carl Zeiss optics and new pixel oversampling technology. At standard resolutions (2/3, 5 and 8 megapixels) this means the ability to zoom without loss of clarity and capture seven pixels of information, condensing into one pixel for the sharpest images imaginable. At high-resolution (38 megapixel maximum) it means the ability to capture an image, then zoom, reframe, crop and resize afterwards to expose previously unseen levels of details.

In addition to superior still imaging technology, the Nokia 808 PureView, also includes full HD 1080p video recording and playback with 4X lossless zoom and the worldā€™s first use of Nokia Rich Recording. Rich Recording enables audio recording at CD-like levels of quality, previously only possible with external microphones. The Nokia 808 PureView also features exclusive Dolby Headphone technology, transforming stereo content into a personal surround sound experience over any headphones and Dolby Digital Plus for 5.1 channel surround sound playback.

Just to highlight some of the features of the best business phone ever:

  • The Symbian Belle comes with MS Office Mobile 2012 Business edition for free
  • Nokia Maps is free, turn-by-turn navigation for over 100 countries, and comes preloaded with Nokia 808 PureView. It works offline without a sim card unlike all android and iOS Phones.
  • FM transmitter – Nokia the only company to include it so you can Listen to music through your car stereo without cables
  • Nokia Rich Recording – the ability to record sound without distortion at around 140-145db. Most current smartphones record up to 110db. The Nokia 808 PureView records at volumes four times louder than conventional microphones. The lower bass sounds are also captured without distortion and by combining the upper and lower range together you’re left with the full range of sounds. The result is almost CD-like quality.
  • Nokia is now comparing with the big guys in the photo industry and even beats some of them.

NOKIA 808 41Mpx Full Review

Nokia is sold on Amazon now Ā for $699

1 Star2 Stars3 Stars4 Stars5 Stars (6 votes, average: 5.00 out of 5)
Loading...

The best web photo editing tool Picnik closed

February 2nd, 2012 5 comments

Google bought Picnik and since then millions of users were left without the opportunity to use their favorite photo editing tool. Seems all users complain about that the best photo editing tool has been sold to Google. Their not so popular and not very interesting (according to users) social network Google+ will be integrated with the new version of Picnik which is currently being developed and implemented there. I can tell that Picnik was rock solid, pretty, very very impressive, easy to use and intuitive, we can only hope that Google will continue the spirit of this one of a kind website.

Tons of users shared on the Picnik’s blog how frustrated, mad and disappointed they feel. Seems many of them get their money back for their premium accounts. I don’t think that this is the way to do business, but it’s Google’s ownership now. I thought that they might find compromised option to leave that pretty website like Youtube. I am glad they didn’t decide to integrate Youtube into one of their services, because I think every huge company when buys some website like the mentioned above they ruin the spirit and the passion of all users.
I feel the pain of all users that used Picnik and I understand their frustration. Hopefully the new “Google+ Picnik” will have the same features and spirit.

1 Star2 Stars3 Stars4 Stars5 Stars (5 votes, average: 4.40 out of 5)
Loading...

Categories: Photography Tags:  

Bug Genie – the bug tracker

December 20th, 2011 4 comments

Currently we’re using TBG for tracking bugs for our projects. But the Bug Genie itself is full with bugs. The administration permissions are way too complicated and require high attention, else they mess up badly.
We’re currently looking forward to the new version of Ā The Bug Genie. So we’re willing to migrate as soon as TBG team release the new version in 2012.

1 Star2 Stars3 Stars4 Stars5 Stars (4 votes, average: 5.00 out of 5)
Loading...

Categories: Software Tags: