BSD-sikkerhedsnoter v.0.1
Lars Sommer < [email protected] > 11. april 2006 0.1 Forord og introduktion 0.1.1 Forord BSD er godt. BSD kan gøres sikkert. Jeg interesserer mig for operativsyste- mer og sikkerhed. Her er en lille kombination. 0.1.2 Introduktion Dette er ikke en bog! Dette er hverken en veldokumenteret vejledning…
Fra Windows til Linux, stille og roligt
Lars Sommer, [email protected], 2004-06-05 Hvis du så småt har fået øjnene op for open source, og gerne selv vil bruge det, men er i tvivl om hvilke programmer der kan hvad, er dette en artikel for dig. Her er en tabel der sammenligner ofte brugte…
Programming tools for C and Perl
Programming tools for C and Perl, which I normally run my programs through gcov, man gcov gprof, man gprof ------ Lint: -h Apply a number of heuristic tests to attempt to intuit bugs, improve style, and reduce waste. -p Attempt to check portability of code…
Remote reverse ssh shell på OpenWRT og lignende
Remote reverse ssh shell på OpenWRT og lignende Lars Sommer, [email protected] 2007-07-12, v.1.0, beerware Disclaimer: Alt i denne artikel er dit eget ansvar. Alt hvad du bruger denne viden til, er dit eget ansvar. Indholdet af denne artikel kan misbruges til ulovlig overvågning af andres…
Secure erase data on hard drives in FreeBSD
2009-04-11, Lars Sommer, [email protected] Secure erase data on hard drives in FreeBSD 2009-04-11, Lars Sommer, [email protected] Short summary: Install security/bcwipe, run bcwipe -vdbm /dev/diskdevice I got six used hard drives through my company, and promised to securely erase data on them, before using them in…
Chroot your UltimateIRCd on OpenBSD
Probably written near 2005. Chroot your UltimateIRCd on OpenBSD COPYRIGHT Lars Sommer, [email protected] LICENSE: This document is free. You may do with it what you want, as long as you keep this copyright and license notice unmodified. If this document helps you, and you like…
Festival text to speech system in FreeBSD 6.2
Lars Sommer, [email protected], 2008-02-03 I needed a text to speech system for my home optimization and automation project. Requirements was as follows: - Native in FreeBSD ports - As good as "out of the box working" - Easy to script and use from command line…
IPv6, DHCPd, OpenLDAP on FreeBSD
Just a few small misc notes from my old FreeBSD server setup. There is a chance these are completely obsolete. IPv6 setup Add to rc.conf: ipv6_enable="YES" ipv6_ifconfig_fxp0="FEEE::1" ipv6_defaultrouter="FEEE::1" rtadvd_enable="YES" rtadvd_interfaces="em1" Edit /etc/rtadvd.conf em1:\ :addrs#1:addr="FEEE::":prefixlen#64:tc=ether: DHCPd ISC dhcpd in FreeBSD 8.2 Install the port: net/isc-dhcp41-server Set…
APC UPS power failure handling agent on FreeBSD
On FreeBSD 8.1, 2010-08-03 Install the port: sysutils/apcupsd Change in configfile: /usr/local/etc/apcupsd/apcupsd.conf: UPSNAME UPS2 UPSCABLE usb UPSTYPE usb DEVICE /dev/ugen0 (Find the correct device by doing dmesg | grep "American Power Conversion" ) Add to rc.conf: apcupsd_enable="YES" And start it: # /usr/local/etc/rc.d/apcupsd start
Update FreeBSD base system and ports
Lars Sommer, 2009-10-06, using sources and manual rebuildingUpdated at 2010-01-25, using freebsd-update and portsnap instead Update base system: freebsd-update fetch freebsd-update install --- Update ports: portsnap fetch update portversion -l "<" portaudit -Fda portupgrade -a portaudit -Fda --- New releases update: See http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/updating-upgrading-freebsdupdate.html --- Crontab…