Archive for June, 2009

HyperVM replacement progress update

Saturday, June 27th, 2009

Hello. Just a short post for an update on our development of our HyperVM replacement.

Updates/Additions:

  • Added complete traffic accounting for OpenVZ with history
  • Secure communication channels between control panel and host nodes via lightweight, security-tight python scripts. No daemon software installed on host nodes and no ability to run dangerous commands (i.e. “command whitelist with regexp”)
  • Various UI changes
  • Improvements to HyperVM migration script
  • Now fully integrated with our billing system. Purchased an add-on? Have it available instantly! Extra IP? No problem..
  • Pending Provision list for manual fraud checking
  • …and more!

No screenshot this time, sorry Folks! Check our older posts for previous screenshots.

Our HyperVM replacement is coming along nicely

Monday, June 22nd, 2009

We are getting along nicely with our HyperVM control panel replacement.

So far we have implemented

  • IP Pool manager with Reverse DNS
  • VPS Server manager
  • OS Template manager
  • VPS Account manager
  • Product resources and quotas
  • Migration script from HyperVM

For those of you interested in a sneak preview, check out this censored screenshot.

The fate of HyperVM and LxLabs

Sunday, June 14th, 2009

It is old news now, but sometime during the last week popular VPS provider VAServ experienced huge data loss.

Many believed this was the fault of their VPS control panel software of choice, HyperVM, though this might not have been the case. Possibly related to this incident was the unfortunate suicide of HyperVM creator/sole programmer, K T Ligesh.

This has had a huge knock on effect for many VPS providers as they are now using what may be a dead product. What the future holds for HyperVM nobody knows… many are chopping and changing to other VPS control panels or even going far as creating their own. Does this mean the end of the HyperVM legacy?

**HOW-TO** Half-Bridge for Public IP on firewall/router device behind Modem/Router with Netgear DG834GT

Friday, June 12th, 2009

Want to use your own router/firewall device on an ADSL service with just 1 public IP? Can’t do this because you are forced to use PPPoA?

Here is the solution to this problem for Netgear DG834GT users though it should work fine with mostly any DG834 based router.

You can download our pre-made image here.

The credit for this cannot go entirely to myself – it is compiled from various sources and is based on the half-bridge script from RouterTech firmware. Thanks to both DGTeam and RouterTech for the nice firmwares they release.

As always, if you can add to or improve on this your comments are welcome!

Note: We have mirrored the sources in our downloads section for convenience but please download the latest copy from DGTeam!

First, download and untar DGTeam firmware:

wget http://modernadmin.com/downloads/firmware/netgear/DG834GT/DG834GT_V1.02.16_DGTeam_0848_sources.tar.bz2
tar xjf DG834GT_V1.02.16_DGTeam_0848_sources.tar.bz2
cd DG834GT_V1.02.16_DGTeam_0848_sources
tar xjf target_dgteam.tar.bz2

Add our half-bridge script:

mkdir target_dgteam/usr/etc/ppp

cat <<EOF > target_dgteam/usr/etc/ppp/ip-up
#!/bin/sh
/bin/cp /proc/uptime /tmp/wan_uptime
/usr/sbin/rc service restart
#/bin/cp /proc/uptime /tmp/wan_uptime
/bin/cp /usr/etc/ppp/ip-down /etc/ppp/
/bin/echo g5on > /proc/led
/usr/sbin/hbStart.sh
EOF

cat <<EOF > target_dgteam/usr/etc/ppp/ip-up-demand
#!/bin/sh
/bin/cp /proc/uptime /tmp/wan_uptime
/usr/sbin/rc service restart
/bin/cp /usr/etc/ppp/ip-down /etc/ppp/
/bin/echo “/usr/sbin/atm_monitor” >>/etc/ppp/ip-down
/bin/echo g5on > /proc/led
/usr/sbin/hbStart.sh
EOF

add to target_dgteam/usr/sbin/hbStart.sh:

cat <<EOF > target_dgteam/usr/sbin/hbStart.sh
#!/bin/sh

IFC=/sbin/ifconfig
IPT=/usr/sbin/iptables
RTE=/sbin/route

WIF=ppp0
LIF=br0

iKx=$($IFC $WIF|grep inet)
iKMK=${iKx#*k:}
iKx=${iKx#*r:};WIP=${iKx%% *}
iKx=${iKx#*P:};GW=${iKx%% *}

$IFC ${WIF:=ppp0} 0.0.0.0
$RTE add -host $WIP dev $LIF
$RTE add -host $GW dev $WIF
$RTE add default gw $GW

/bin/echo “1″ >/proc/sys/net/ipv4/conf/$WIF/proxy_arp
/bin/echo “1″ >/proc/sys/net/ipv4/conf/$LIF/proxy_arp
EOF

Set permissions:

chmod +x target_dgteam/usr/sbin/hbStart.sh

Lastly, Pack firmware image:

./create_target.sh 1.02.16 GT
./build_dgteam.sh 1.02.16 GT

You should now find the .img file in the current folder like follows: DG834GT_V1.02.16_DGTeam_0921.img

Enjoy!