auto-update named via dhcpd?

2006-07-14 Thread matthew . garman
I've got the (ubiquitous?) home LAN setup, with OpenBSD 3.7 as my firewall/gateway/router. (I know, need to upgrade.) Previously, my LAN was setup as follows: all machines had static IP addresses, and had the same /etc/hosts file. All machines also had the same /etc/resolv.conf file. I got a la

Re: auto-update named via dhcpd?

2006-07-14 Thread matthew . garman
Someone mailed me offlist, and said that it wasn't clear what I was asking in my initial post... I'll try a more terse version: I want to run a DNS server (named) and dhcpd on my OpenBSD box (which is the firewall/gateway/router for my home network). I also want the DNS server to provide name re

Re: Code beautifiers, anyone?

2006-08-24 Thread matthew . garman
On Thu, Aug 24, 2006 at 02:59:31PM +0200, Kyrre Nyg?rd wrote: > to all my code. I find myself always reformatting whatever my > associates give me. Not that they're bad programmers, they just > care more about the code itself rather than its structure, and I > dare not argue with that. When their c

struggling with pf

2006-08-26 Thread matthew . garman
For some reason, I'm not "getting it" when it comes to pf... Two things I can't figure out: (1) filtered vs blocked for some TCP ports and (2) rules for tun0, my vpn interface. First, my /etc/pf.conf: int_if = "vr1" ext_if = "vr0" vpn_if = "tun0" tcp_services = "{ 22 }" udp_s

Re: struggling with pf

2006-08-28 Thread matthew . garman
On Sun, Aug 27, 2006 at 05:28:53PM +0100, Stuart Henderson wrote: > You didn't mention the OS version; if I can assume you're running > an up-to-date OS then you have followed some out-of-date sample Badness on my part: I neglected to mention that I'm still on 3.7. > file based on the default /et

Re: The future of NetBSD

2006-09-01 Thread matthew . garman
On Thu, Aug 31, 2006 at 11:40:14PM -0400, Daniel Ouellet wrote: > on it then on Windows. But it didn't pay as IBM didn't get support > calls. So, they let it die, without telling anyone obviously. It > was secure and stable for it's time anyway. Ever tried to by > direct from IBM > ... > secure or

Re: Low priority or real coders

2006-09-15 Thread matthew . garman
On Thu, Sep 14, 2006 at 07:16:24AM -0400, Nick Holland wrote: > $ ldd /usr/local/bin/vim /usr/bin/vi > /usr/local/bin/vim: > StartEnd Type Open Ref GrpRef Name > exe 10 0 /usr/local/bin/vim > 02be4000 22bf7000 rlib 01 0 /usr/

Re: C++ textbooks: recommendations?

2006-04-06 Thread matthew . garman
On Tue, Apr 04, 2006 at 05:50:48PM -0500, [EMAIL PROTECTED] wrote: > i need to learn C++, but do not know where to begin with textbooks > or online docs. since, AFAICT, there are a great many skilled > programmers on list, i would appreciate any recommendations that > can be made about introductory

extreme latency in LAN pings, ssh, etc

2006-05-01 Thread matthew . garman
I've got a four computer LAN at home. One computer is the OpenBSD 3.8 box, which is the firewall/router/gateway. I haven't made any changes to this box in months. Just today, however, I noticed huge latencies when I try to ssh to another computer on the LAN. Previously, I was connect an instant

Re: extreme latency in LAN pings, ssh, etc

2006-05-05 Thread matthew . garman
On Mon, May 01, 2006 at 12:22:17PM -0700, Spruell, Darren-Perot wrote: > > Just today, however, I noticed huge latencies when I try to ssh > > to another computer on the LAN. Previously, I was connect an > > instant after pressing return. Now it takes several seconds > > before the connection is

Re: Static functions in C code

2006-05-30 Thread matthew . garman
On Fri, May 26, 2006 at 08:29:58AM -0500, Marco Peereboom wrote: > My answer is correct. It is not my fault that you don't have a > clue about programming. Static has it's uses however for some > reason the (open source) world at large seem not to understand > what they are. Same is true with ty

Re: head.c usage function

2006-05-30 Thread matthew . garman
On Fri, May 26, 2006 at 08:47:15PM +0100, Nick Guenther wrote: > least, it should be) in usage() because the proper form is > fprintf(stderr, "usage: %s [-ks]\n", __progname); where __progname > gets filled in automatically with the name of the program. I don't > know the details of how it works th

slightly OT: OpenNTPd on Linux still allows drift

2006-01-09 Thread matthew . garman
This is probably kind of a long shot, but does anyone use OpenNTPd on Linux machines? I've struggled for what seems like forever trying to get "regular" NTP to properly sync my clock on my Linux boxes, but have never been successful. OpenNTPd's goals are perfectly in line with my needs, so I figu

OT: "server quality" hardware; was: Re: RAID card recommendations

2006-01-11 Thread matthew . garman
On Wed, Jan 11, 2006 at 04:19:12PM -0500, Jim Razmus wrote: > I have already replaced two Adaptec controllers with LSI Logic > MEGARAID SATA 150-6 cards. I then added a call to bioctl in These LSI Megaraid cards are 64-bit PCI, right? Do they have a PCI Express version? What motherboards are fo

Re: Effecient window manager layout

2006-01-13 Thread matthew . garman
Oleg Petrov ([EMAIL PROTECTED]) dixit: > configuring it. So my question goes to all OpenBSD hackers who > uses some simple WM instead of huge DE-s.. Can you give me basic > points of building simple and effective desktop layout? All > fvwmrc-s, screenshots of your boring (or may be fancy :-)) deskt