rln
Slow role ssh brute force
Discovered this slow roll ssh attack from looking at bandwidth graphs on a new hardly used server (6 bytes per second). The attached file is actually just ascii… bar.
rln
funky networking bug
Able to download at 8-20 Mbps, only able to upload at 300kbps. Advertised rate is more than 10x that. It was on all uploads I tried (ssh, ftp, http). Aside: it is nearly impossible to do anything on Charter’s website Read more
rln
xcp add disk
xe sr-list #gives you a list of sr’s from which to pick a sr-uuid xe vdi-create sr-uuid= name-label= type=user virtual-size= #the above vdi-create outputs a vdi-uuid xe vm-list # gives you a list of vm’s from which to pick a Read more
rln
new vps with centos 6 for tinydns secondary
yum update -y ; vi /etc/sysconfig/iptables; #configuring iptables is an exercise for the reader iptables-restore /etc/sysconfig/iptables; /etc/init.d/httpd stop; chkconfig –del httpd; /etc/init.d/sendmail stop; chkconfig –del sendmail; /etc/init.d/xinetd stop; chkconfig –del xinetd; #install daemontools (djb does crazy things with symlinks – Read more
rln
backup to warm-swapable disk
#physically insert disk # on this next line the hostN number may be different echo “- – -” > /sys/class/scsi_host/host5/scan mount /dev/sdc1 /mnt rsync -aHxv /boot /mnt rsync -aHxv /dev /mnt rsync -aHxv / /mnt #this is for a special Read more
rln
djbdns dnscache
This is great simple way to get off of your ISP’s dns, e.g. stop them redirecting you to their search partner when you typo. And very handy if you’re working with DNS or changing webhosts, in that a quick sudo Read more
rln
xcp resize memory
xe vm-memory-limits-set static-min=512MiB dynamic-min=512MiB dynamic-max=512MiB static-max=512MiB uuid=
rln
xcp resize disk
xe vm-shutdown vm= xe vbd-list vm-uuid= xe vdi-list uuid= xe vdi-resize uuid= disk-size=xGiB xe vm-start vm= # resize4fs /dev/xvda
rln
oh Nvidia 6150se how I hate thee
I have been battling with you since I purchased you 4 years ago on a BIOSTAR MCP6P M2+ motherboard. The many dozens of hours of tweaking to keep you and ubuntu playing nicely. The iterative search for the right combination Read more