hubertf's NetBSD Blog
Send interesting links to hubert at feyrer dot de!
 
[20080530] Book: BSD UNIX Toolbox: 1000+ Commands for FreeBSD, OpenBSD and NetBSD
From the Business Wire press release: `` This handy, compact guide teaches you to use BSD UNIX systems as the experts do: from the command line. Try out more than 1,000 commands to find and get software, monitor system health and security, and access network resources. Apply the skills you learn from this book to use and administer servers and desktops running FreeBSD, OpenBSD, NetBSD, or any other BSD flavor.

Expand your BSD UNIX expertise in these and other areas:

  • Using the shell
  • Finding online software
  • Working with files
  • Playing with music and images
  • Administering file systems
  • Backing up data
  • Checking and managing running processes
  • Accessing network resources
  • Handling remote system administration
  • Locking down security''
For more information, see the Business Wire press release and of course the publisher's information on the book.

[Tags: , , , ]


[20070315] Congratulations to the OpenBSD team
... for finding their second remote hole in the default install, in more than 10 years!

- from a contributer of NetBSD,
which had the least number of incidents reported for BSDs,
as confirmed by the US-Cert in the past four years


[Tags: , , ]



[20061208] Driver development hints
There is a news item about OpenBSD driver development hints over at the OpenBSD Journal. I guess much of this applies to NetBSD as well, and it's nice to start with. More data is available in the NetBSD Internals Guide, Jochen Kunz's Writing Device Drivers and of course all section 9 manpages.

(If someone wants to include Jochen's text into the NetBSD Internals Guide, that'd be great... just like any other work in that area. Any takers? Send your patches to netbsd-docs@, feel free to CC: me!)

[Tags: , , ]



[20060829] Catching up
There were a number of interesting items in the past week or so that I didn't manage to put here so far. Instead of putting them into seperate entries, I'll take the liberty to assemble them into one entry here:

  • The Newsforge article "Which distro should I choose?" refers us to a Comparison between NetBSD and OpenBSD, the website apparently allows other comparisons.

  • Parallels is a ``powerful, easy to use, cost effective desktop virtualization solution that empowers PC users with the ability to create completely networked, fully portable, entirely independent virtual machines on a single physical machine.'' In other words "something like VMware". In contrast to the leading(?) product in that area, Parallels supports NetBSD as guest OS officially.

  • PC-98 is a PC-like computer from NEC that has a Intel CPU and that was only sold in Japan. Due to some subtle differences from the "original" (IBMesque) PC architecture, it can't run NetBSD/i386 and was so far supported e.g. by FreeBSD/PC98. Now, Kiyohara Takashi has made patches and a floppy image available for a NetBSD/pc98 port - see Kiyohara's mail to tech-kern for more details, and also some discussion about further abstraction of the current x86 architecture to support machines with Intel CPUs that can't run NetBSD/i386.

  • Staying on the technical side, David Young has a need to tunnel packets through consumer-grade (and consumer-intelligence) devices, which are unlikely to cope with anything outside of the IP protocol. As such, he has posted patches to tunnel gre(4) over UDP.

    Now let's hope this works as a foundation for Teredo (tunneling IPv6 over UDP)... :-)

  • Verified Exec is a security subsystem inside NetBSD that verified fingerprints of binaries before loading them. This prevents binaries from being changed unnoticed, e.g. by trojan horses. Now when NetBSD runs such a system and memory becomes tight, only the process' data is paged to disk, the executables text is simply discarded with the assumption that it can be paged in from the disk again when needed. Of course this assumes that the binary won't change, which may not be true in a networked scenario with NFS or a disk on a fiber channel SAN that may be beyond control of the local system administrator. To prevent attacks of this kind, Brett Lymn has worked to generate per-page fingerprints that are kept in memory even when the executable pages are freed, for later verification when they are paged in from storage again.

    The code is currently under review and available as a patch set - see Brett's mail to tech-kern for all the details!

  • While talking about security subsystems, Elad Efrat, who also worked on veriexec previously continued his work to factor out authentication inside the kernel: After introducing the kauth(9) framework and replacing all manual checks for "am I running as root" or "does the current secure level allow this operating" with calls to it, the next step is to seperate the the place where those calls are made from a back-end implementation that will determine what is allowed and what is not, who is privileged and what is not, etc. While these questions are traditionally answered via special user ids (0, root), group membership or secure levels, other methods like capability databases could be imagined.

    Elad has been working along these lines, and he has posted the next step in his work, outlining the upcoming security model abstraction - see Elad's mail to tech-security for details & code references.

  • NetBSD 3.1 is around the corner, which will be an update to NetBSD 3.0 with lots of bugfixes and some minor feature enhancements like new drivers and also support for Xen 3 DomainU. There's a NetBSD 3.1 Release Candidate 1 available - be sure to have a look!

  • FWIW, I've also updated the overview of NetBSD release branches a few days ago, as I still see a lot of people that are confused over NetBSD's three lines of release branches (well, counting the development branch NetBSD-current as release branch :), and the differences between what a branch and what a release is. With NetBSD 3.0, 3.0.1 and 3.1 this sure makes my little head spin...

  • But there's more than NetBSD 3.x! If you've watched the above link, you will understand that the next release after the NetBSD 3.x set of releases is NetBSD 4.x. The release cycle for NetBSD 4.0 has started a few days ago, and there's also an announcement about the start of the NetBSD 4.0 release process by the NetBSD 4.0 release engineer Jef Rizzo which has information on schedule, how YOU can help and getting beta binaries and sources.

  • The working period of the Google Summer of Code is over, and while mentors are still evaluating the code submitted by students, there are some public status reports: Alwe MainD'argent about the status of the 'ipsec6' project and Sumantra Kundu about the 'congest' project

  • Sysjail 1.0 has been released! Includes some interesting overhead benchmarks.

  • As reported in the #NetBSD Community Blog, an alpha version of sBSD was released: It's a NetBSD-based system for easy installation on USB sticks and CF cards.

So much for now. Enjoy!

[Tags: , , , , , , , , , , , , , ]


[20060302] CARP Patch
``CARP is a tool to help achieve system redundancy, by having multiple computers creating a single, virtual network interface between them, so that if any machine fails, another can respond instead, and/or allowing a degree of load sharing between systems.''

Liam J. Foy worked on porting CARP to NetBSD, and has a first patch available for posting, see his mail for more information and example usage. Information on CARP is available in the OpenBSD FAQ.

[Tags: , ]



[20060222] Article: OpenBSD founder pulls no punches
I've stumbled across this interview with Theo de Raadt which is a bit dated (done 2004), but which I think is very interesting (and on-topic here!) as it gives some details on the very first days of how NetBSD (and FreeBSD) emerged from 386BSD.

Funny enough, I found a printout of slides from the conference where Chris Demetriou presented NetBSD, with his and Theo's name on them the other day.

[Tags: , , ]



[20060126] OpenBGPd 3.7
OpenBGPd is an exterior routing daemon who speaks the Border Gateway Protocol. Thomas 'TGEN' Spanjaard has ported it to NetBSD, including support for TCP MD5 and signatures. See his mail to tech-net for a lot more details.

[Tags: , , ]


[20060119] Article: How not to respond to a security advisory (Updated)
The best thing that can happen to you is to find out your software has no security problems. But what to do if so, and also what better not to do? The Register has an article up on "How not to respond to a security advisory".

Update: Actually the register article is re-published after it first occurred on SecurityFocus.

[Tags: , , ]



[20051119] How to run OpenBGPD on FreeBSD/NetBSD
I read a comment about running openbgpd on NetBSD, and wondered if there was any chance to do it. ISTR that it relied on a number of kernel features from a previous talk I've heared, but at least according to this "How to run OpenBGPD on FreeBSD/NetBSD" page it seems pretty straight forward and userland only. Has anyone actually tried this on NetBSD? Feedback welcome!

[Tags: , , ]


[20051026] Windows drives me nuts, too ...
... but I'm not sure it could me to switch to OpenBSD. ;-)

(Unless someone shows me the only reason *I* run Windows works on OpenBSD -> Counter Strike :-)

[Tags: , ]



[20050428] Article: A technical look at the OpenBSD operating system from a NetBSD perspective
As work related to my PhD thesis, I wanted to see if OpenBSD runs equally well in qemu as NetBSD and FreeBSD do. While there, I wanted to see what is there in OpenBSD that is not there in NetBSD, given that OpenBSD forked from NetBSD some time ago. I've documented my findings, and hope people in NetBSD pick up some of the things noted in there - I think they're worthwhile.

[Tags: , , ]


[20050202] Book extract: systrace in OpenBSD
The book "Secure Architectures with OpenBSD has a chapter systrace in OpenBSD, which may very well apply to NetBSD's systrace as well, given that Niels Provos, the creator of systrace himself, ported and now maintains systrace on NetBSD. Systrace is a tools that allows monitoring, interception and restriction of system calls.

[Tags: , , ]


[20050119] More OpenBSD bullshit, and GeNUA
So I had to add two new entries to my RIPOFF file today: One about some small change in the PUC driver, where credit was given, but after carefully digging out the NetBSD developer's private email address instead of using the official NetBSD address from the source-changes message. See "20020602" entry of the RIPOFF file.

The second entry is more annoying, as it's hurting NetBSD's reputation in a print magazine: The company GeNUA, producer of firewalls from Germany, was abandoning BSDi and looking at alternatives. In an interview in the german magazine "freeX" they describe how they choose OpenBSD. NetBSD was not chosen as the NetBSD developer group was considered too closed and to rarely pick up inspirations from outside, which makes it hard to integrate it into release planing:

    ``Problematisch ist es dagegen fuer GeNUA, dass die NetBSD-Entwicklung von einer sehr geschlossenen Gruppe betrieben wird, die externen Anregungen nur selten aufgreift. So ist es schwierig, zukuenftig benoetigte Features sicher in die Release-Planung einzubringen. Aus diesem Grund konnte GeNUA nicht auf NetBSD als Basis fuer die weitere Entwicklung von GeNUGate setzen.'' (FreeX 1/2005, Seite 8)

Contacting the chief of GeNUA who was also interviewed in that article, Magnus Harlander, how this impression came and whom they talked to, I got the answer that this was the response that they got from several OpenBSD developers(!) they had asked, which apparently tried to report several NetBSD kernel bugs.

So:

  1. GeNUA never contacted NetBSD directly (in contrast to what the article makes one think)
  2. OpenBSD developers apparently never made it clear they were talking for someone else when they communicated with NetBSD
  3. Given personal experience and history of relation between NetBSD and OpenBSD, I'd be surprised if the contact was made in a constructive manner. (I have no further details here, so just a guess)
While I welcome everyone to choose whatever OS they want to use, and while I'm even more happy to see people use a (OS based on a) decent OS, BUT making wrong statements about project NetBSD in public annoys me, and I guess I'll have to think what to best do to answer this whole incident. Suggestions welcome!

[Tags: , ]


[20041202] NetBSD - supplier of Open Source operating system technology
Thanks to NetBSD, some other open source operating systems can boast about having in-kernel PPPoE and SMP support. Kinda makes me wonder why there's need for so many BSD forks when they all just take code from the same BSD variant.

[Tags: , ]


[20040621] LSD can help you imagine ... (updated)
... that a NetBSD-spinoff has some security problems. (Stunning news, amusing truth :-) [google cache]

[Tags: , ]


Tags: , 2bsd, 3com, 501c3, 64bit, acl, acls, acm, acorn, acpi, acpitz, adobe, Advocacy, advocacy, advogato, aes, afs, aiglx, aio, airport, alereon, alex, alix, alpha, altq, am64t, amazon, amd64, anatomy, ansible, apache, apm, apple, arkeia, arla, arm, art, Article, Articles, ascii, asiabsdcon, asterisk, asus, atf, ath, atheros, atmel, audio, audiocodes, autoconf, avocent, avr32, aws, axigen, backup, banners, basename, bash, bc, benchmark, bigip, bind, blackmouse, bldgblog, blog, blogs, blosxom, bluetooth, bonjour, books, boot, boot-z, bootprops, bozohttpd, bs2000, bsd, bsdca, bsdcan, bsdcertification, bsdcg, bsdforen, bsdfreak, bsdmac, bsdmagazine, bsdnexus, bsdstats, bsdtalk, bsdtracker, bug, build.sh, busybox, buttons, bzip, c-jump, c99, cafepress, callweaver, camera, candy, capabilities, card, carp, cars, cauldron, ccc, ccd, cd, cddl, cdrom, cdrtools, cebit, centrino, cephes, cert, certification, cfs, cgd, cgf, checkpointing, china, cisco, cloud, clt, cobalt, coccinelle, codian, colossus, common-criteria, community, compat, compiz, compsci, concept04, config, console, contest, copyright, core, cortina, coverity, cpu, cradlepoint, cray, crosscompile, crunchgen, cryptography, csh, cu, cuneiform, curses, curtain, cuwin, cvs, cvs-digest, cvsup, cygwin, daemon, daemonforums, danger, darwin, data, date, dd, debian, debugging, dell, desktop, devd, devfs, devotionalia, df, dfd_keeper, dhcp, dhcpcd, dhcpd, dhs, diezeit, digest, digests, dilbert, dirhash, disklabel, distcc, dmesg, Docs, donations, draco, dracopkg, dragonflybsd, dreamcast, dri, driver, drivers, drm, dsl, dst, dtrace, dvb, ec2, eclipse, eeepc, eeepca, ehci, ehsm, eifel, elf, em64t, Embedded, embedded, emips, emulate, encoding, envsys, eol, espresso, etcupdate, etherip, euca2ools, eucalyptus, eurobsdcon, eurosys, Events, exascale, ext3, f5, facebook, falken, fan, fatbinary, features, fefe, ffs, filesystem, fileysstem, firefox, firewire, fireworks, flag, flash, flashsucks, flickr, flyer, fmslabs, force10, fortunes, fosdem, fpga, freebsd, freedarwin, freescale, freex, freshbsd, friendlyAam, friendlyarm, fritzbox, froscamp, fsck, fss, fstat, ftp, ftpd, fujitsu, fun, fundraising, funds, funny, fuse, fusion, g4u, g5, galaxy, games, gcc, gdb, gentoo, geode, getty, gimstix, git, gnome, google, google-soc, gpio, gpl, gprs, gracetech, gre, groff, groupwise, growfs, grub, gumstix, guug, gzip, hackathon, hackbench, hal, hanoi, happabsd, Hardware, haze, hdaudio, heat, heimdal, hf6to4, hfblog, hfs, history, hosting, hp, hp700, hpcarm, hpcsh, hpux, html, httpd, hubertf, hurd, i18n, i386, i386pkg, ia64, ian, ibm, ids, ieee, ifwatchd, igd, iij, image, images, information, init, initrd, install, intel, interix, internet2, io, ioccc, iostat, ipbt, ipfilter, ipmi, ipsec, ipv6, irbsd, irc, irix, iscsi, isdn, iso, isp, itojun, jail, jails, java, javascript, jibbed, jihbed, jobs, jokes, journaling, kame, kauth, kde, kerberos, kergis, kernel, keyboardcolemak, kitt, kmod, kolab, kylin, l10n, landisk, laptop, laptops, law, ld.so, ldap, lehmanns, lenovo, lfs, libc, license, licensing, links, linksys, linux, linuxtag, live-cd, lkm, localtime, locate.updatedb, logfile, logging, logo, logos, lom, lte, lvm, m68k, macmini, macppc, macromedia, magicmouse, mahesha, mail, makefs, malo, mame, manpages, marvell, matlab, maus, mbr95, mbuf, mca, mdns, mediant, mediapack, meetbsd, mercurial, mesh, meshcube, mfs, mhonarc, microkernel, microsoft, midi, mini2440, miniroot, minix, mips, mirbsd, missile, mit, mobile-ip, modula3, modules, mouse, mp3, mpls, mtftp, mult, multics, multilib, multimedia, music, mysql, named, nas, nat, ncode, ndis, nec, nemo, neo1973, netbook, netboot, netbsd, netbsd.se, nethack, nethence, netksb, netstat, networking, neutrino, nforce, nfs, nis, npf, npwr, nroff, nslu2, nspluginwrapper, ntfs-3f, nullfs, numa, nvi, nvidia, nycbsdcon, office, ofppc, ohloh, olimex, olpc, onetbsd, openat, openbgpd, openblocks, openbsd, opencrypto, opengrok, openmoko, openoffice, openpam, opensolaris, openssl, oracle, oreilly, oscon, osf1, osjb, packages, pad, pae, pam, pan, panasonic, parallels, pascal, patch, patents, pax, paypal, pc532, pc98, pcc, pci, pdf, pegasos, penguin, performance, pexpect, pf, pfsync, pgx32, php, pike, pinderkent, pkg_install, pkg_select, pkgin, pkglint, pkgmanager, pkgsrc, pkgsrc.se, pkgsrcCon, pkgsrccon, plathome, pocketsan, podcast, pofacs, politics, polls, polybsd, portability, posix, postinstall, power3, powernow, powerpc, powerpf, pppoe, precedence, preemption, prep, presentations, prezi, Products, products, proplib, protectdrive, proxy, ps, ps3, psp, pthread, ptp, ptyfs, Publications, puffs, pxe, qemu, qnx, qos, qt, quality-management, quine, quote, quotes, r-project, radio, radiotap, raid, raidframe, rants, raptor, raq, raspberrypi, rc.d, readahead, realtime, record, refuse, reiserfs, Release, releases, releng, reports, resize, restore, ricoh, rijndael, rip, riscos, rng, roadmap, robopkg, robot, robots, roff, rootserver, rotfl, rox, rs6k, rss, ruby, rump, rzip, sa, safenet, san, savin, sbsd, scampi, scheduling, sco, screen, script, sdf, sdtemp, secmodel, Security, security, sed, segvguard, seil, sendmail, sfu, sge, sgi, sgimips, sh, sha2, shark, sharp, shisa, shutdown, sidekick, size, slackware, slashdot, slit, smbus, smp, sockstat, soekris, softdep, software, solaris, sony, source, source-changes, spanish, sparc, sparc64, spider, spreadshirt, squid, ssh, sshfs, ssp, stereostream, stickers, studybsd, subfile, sudbury, sudo, summit, sun, sun2, sun3, sunfire, sunpci, support, sus, suse, sushi, susv3, svn, swcrypto, symlinks, sysbench, sysinst, sysjail, syslog, syspkg, systat, systrace, sysupdate, t-shirt, tabs, tanenbaum, tape, tcp, tcp/ip, tcpdrop, tcpmux, tcsh, teamasa, teredo, termcap, terminfo, testdrive, testing, tetris, tex, TeXlive, thecus, theopengroup, thin-client, thinkgeek, thorpej, threads, time, time_t, timecounters, tip, tme, tmp, tmpfs, tnf, toaster, todo, toolchain, top, torvalds, toshiba, touchpanel, training, tso, ttyrec, tulip, tun, tuning, uboot, udf, ufs, ukfs, ums, unetbootin, unicos, unix, updating, upnp, uptime, usb, usenix, useradd, userconf, userfriendly, usermode, usl, utc, utf8, uucp, uvc, uvm, valgrind, vax, vcfe, vcr, veriexec, vesa, video, videos, virtex, vm, vmware, vnd, vobb, voip, voltalinux, vpn, vpnc, vulab, w-zero3, wallpaper, wapbl, wargames, wasabi, webcam, webfwlog, wedges, wgt624v3, wiki, willcom, wimax, window, windows, winmodem, wireless, wizd, wlan, wordle, wpa, wscons, wstablet, x.org, x11, x2apic, xbox, xcast, xen, xfree, xfs, xgalaxy, xilinx, xkcd, xlockmore, xmms, xmp, xorg, xscale, youos, youtube, zaurus, zdump, zfs, zlib

'nuff. Grab the RSS-feed, index, or go back to my regular NetBSD page

Disclaimer: All opinion expressed here is purely my own. No responsibility is taken for anything.

Access count: 14369377
Copyright (c) Hubert Feyrer