ipfw and Hammer fixes in DragonFly

There’s an odd bug in ipfw that is now fixed in DragonFly 6.2/6.3.  If you are using ipfw and adding networks and hosts in a specific order, the netmask will be set wrong.

There’s also a problem with the overnight bulkfree cleanup in Hammer that’s had various attempts to fix it over time – it’s now really truly fixed.  It mattered only if you had an extremely large number of inodes – 100000000 or so,

Matthew Dillon wrote up an explanation for both.

A reminder on X

I know I’ll need this again, so I am making a post out of it.  If you are running a DragonFly system through NVMM using the excellent site instructions, and you want X apps to display on a local Windows workstation, you need to:

  1. Install VcXsrv (or your X server of choice) on Windows and start it up.
  2. Install xauth and xterm on the DragonFly host.
  3. On the DragonFly host, set these three options in /etc/ssh/sshd_config.  They are already there but commented out with different arguments.
    X11Forwarding yes
    X11DisplayOffset 0
    X11UseLocalhost yes
  4. Reload sshd: ‘service sshd reload’.
  5. ‘Enable X11 Forwarding’ under Connection -> SSH -> X11 in the puTTY setup dialog.

Connect to the DragonFly host with puTTY, type ‘xterm’, and a terminal window should appear on your Windows desktop within a few seconds.  This could be turned into a shortcut with puTTY to avoid having redundant terminals, but I’m not writing that out yet.