Removing the ISC bloat

First off, ISC must be given credit for supplying the BIND DNS and DHCP servers. They’ve been powering a lot of the internet and private networking for many years, including this server. But the time has come to change! I’m now using nsd as my public authoritative name server and unbound as my private recursive name server. This results in config files much easier to setup and hopefully more security as nsd is very small leaving less room for public exploits.
Read full post

openresolv imported into NetBSD

openresolv has been imported into NetBSD, which allows more than one daemon to update /etc/resolv.conf sanely and configure local nameservers for enhanced DNS, especially if running on a VPN. dhcpcd already uses resolvconf when available and dhclient in NetBSD has been patched to use it. This is important for NetBSD, as many packages support resolvconf, but only when /sbin/resolvconf exists. This meant that a lot of packages that supported resolvconf, failed to work with any resolvconf implementation from pkgsrc.
Read full post

NetBSD get getdelim(3) and getline(3)

Last night I added getdelim(3) and getline(3) to NetBSD. A few programs in base system needed to be changed due to having their own getline function, most of which aren’t anything like getline(3). Hopefully there won’t be much fallout in pkgsrc as a result. getline(3) is prefered over over functions such as fgetln(3) and fgets(3) because it’s standards based and you get a dynamic buffer for really really long lines. However, POSIX did drop the ball on making it a standard from the GNU extension- it should return 0 on EOF and more importantly be called fgetline.
Read full post

On the importance of MTU

So, I’m now finally natviely IPv6 enabled :) This led to an interesting debtate about my internet connection. In a nutshell my Drayetk Vigor 100 is broken, but apparently by design. The problem is this- for IPv4 goes through my NAT whose public IP has an MTU of 1492 so Path MTU Discovery works fine. However IPv6 does not need NAT and the PPPoE interface does not have a public IPv6 and nor do the internal clients use it even it there was one.
Read full post

Accelerated OpenGL on NetBSD on my laptop

Accelerated OpenGL on NetBSD on my laptop - FINALLY! It took some time, but it looks like the NetBSD and Xorg devs have finally cracked ATI X600 laptop cards working :) The final bit on my behalf was enabling EXA acceleration as the older and default XAA caused the screen not to refresh properly. OpenGL screensavers have been working flawlessly for nearly have the day now, so it looks fairly stable too.
Read full post