please test: ifstated(8) patches
mdg at secureworks.net
Thu Nov 18 08:16:59 PST 2004
On Wed, 17 Nov 2004, Max Laier wrote:
> On Wednesday 17 November 2004 22:54, Matthew George wrote:
> > I've gone and ported OpenBSD's ifstated(8) to FreeBSD.
> Nice! Good that you found the sysctl's to substitute the SIOCGIFDATA
> ioctl. I
> haven't yet had time to look at it, but that seems to close bin/73877
> , or
> is there any functionality that you are missing? Doesn't look like it
> your diff.
looks good to me
> > The attached ifstated.patch will apply against src/usr.sbin/ifstated/*
> > from OpenBSD's cvs, and compiles cleanly against RELENG_5_3.
> Very nice, would you mind to turn it into a proper port? Just drop me a
> tarball if you don't have somewhere to host it. I don't know if ifstated
> should go into the base-system. It looks like it should be able to run
> as a
> port just fine?
sure thing ... I'll wrap it up and PR it today or tomorrow
> > The ifstated.conf.patch is basically the same as OpenBSD's, except for
> > ping command line option. The config file has a comment in it noting
> > net.inet.carp.preempt must be set to '1' in order for it to work. I
> > performed my testing with it set to '0', and it seemed to be fine for
> Is there a problem with preempt in the patchset right now?
I didn't test it, so I'm not sure. The comment was from OpenBSD ...
> > The config script calls ifconfig on carp interfaces for its actions,
> > that's the only requirement for carp ... it should work fine for
> > kernels with the proper config script.
> Again, thanks a lot!
> Everybody, please help testing.
>  http://www.freebsd.org/cgi/query-pr.cgi?pr=bin/73877
SecureWorks Technical Operations
More information about the freebsd-pf