Centralized remote backup script with SSH key authentication
Greetings, It has been a while since we posted any useful tidbits for you , so we have decided to share one of our quick & dirty centralized backup scripts. The script relies on ssh key based authentication, described here on this blog. It essentially parses a configuration file where each variable is separated by […]
https://www.stackstar.com/centralized-remote-backup-script-with-ssh-key-authentication/ Backup a live FreeBSD filesystem and remotely migrate to another serverLately we’ve been all about live migrations / backups here at *.hosting. And why not? with the advent of such concepts as “self healing blade cloud environment” , we have made a point to testing / scripting live migration scenarios. Following on our last post of backing up LVM volumes, we have decided to make […]
https://www.stackstar.com/freebsd-backup-live-filesystem-and-remotely-migrate/ Migrate FreeBSD to XenThere seems to be a lot of tutorials with respect to how you can dump/restore FreeBSD implementations. However, none of them appear to be all encompassing what is actually required from start to finish during the entire process.
https://www.stackstar.com/migrate-freebsd-to-xen/ ProFTPD with MySQL AuthenticationSince this setup uses one FTP account to create user home directories and upload files, a compromise to this FTP user would cause the attacker to gain access to all FTP user home directories.
https://www.stackstar.com/proftpd-with-mysql-authentication/ Shell Script to Report On Hacking AttemptsIt is always a good idea , when implementing open source firewall implementations (iptables, pf, etc), to build in as much reporting and verbosity as possible. Somewhere along the line, we wrote a script to provide daily reports on intrusion attempts to penetrate our network — this usually happens when someone exceeds certain connection thresholds.
https://www.stackstar.com/freebsd-pf-packet-filter-shell-script-to-report-on-hacking-attempts/ Creating a FreeBSD wireless access pointTo set up a wireless access point using FreeBSD, you need to have a compatible wireless card. We are using a Prism 2-based chipset. For a complete list of cards that are supported, consult the man page for wi, or visit the Wireless Network Interface Section of the FreeBSD documentation site.
https://www.stackstar.com/creating-a-freebsd-wireless-access-point/ Dual Monitors in FreeBSDOne of the headaches I’ve encountered is trying to get my Dual monitors working with my Ati/Radeon video card in FreeBSD. I’ve written a little tutorial to help those who may need help or are thinking of implementing a second monitor.
https://www.stackstar.com/dual-monitors-in-freebsd/ Optimizing the FreeBSD kernelWithout getting into too much detail, here are several things that we usually “omit” from the kernel options during make buildworld / buildkernel to provide for a 60-70% kernel footprint reduction
https://www.stackstar.com/optimizing-the-freebsd-kernel/