Re: carp shutdown in /etc/rc

2011-02-05 Thread Camiel Dobbelaar
On 5-2-2011 2:15, Ted Unangst wrote: On Fri, Feb 4, 2011 at 7:21 AM, Camiel Dobbelaar c...@sentia.nl wrote: With hundreds of (vlan) interfaces, a shutdown takes quite a while. # bring carp interfaces down gracefully - ifconfig | while read a b; do +

Re: carp shutdown in /etc/rc

2011-02-05 Thread Camiel Dobbelaar
On 5-2-2011 11:02, Henning Brauer wrote: on the other side, fixing ifconfig very slow with lots of interfaces deserves to be fixed anyway. looking at the code - either getifaddrs is slow (which in turn wouldn't be ifconfig only), or the ioctls ifconfig does in getinfo(). that's just 5 tho.

Re: incorrect fallthrough in pf

2011-02-05 Thread Alexander Bluhm
On Wed, Feb 02, 2011 at 04:14:01PM +0100, Mike Belopuhov wrote: hi, in pf_translate, when we're changing addresses for the icmp messages there's an unjustified fallthrough in the IPPROTO_ICMPV6 case. in fact this doesn't seem to harm anything because default case performs the same operation.

Re: incorrect fallthrough in pf

2011-02-05 Thread Henning Brauer
* Alexander Bluhm alexander.bl...@gmx.net [2011-02-05 14:56]: On Sat, Feb 05, 2011 at 02:03:25PM +0100, Mike Belopuhov wrote: we can check if af == inet in icmp case obviously, but how and why can we end up with af == inet6 and an icmp payload (or af == inet and icmp6 payload for that

Re: incorrect fallthrough in pf

2011-02-05 Thread Mike Belopuhov
On Sat, Feb 5, 2011 at 2:54 PM, Alexander Bluhm alexander.bl...@gmx.net wrote: On Sat, Feb 05, 2011 at 02:03:25PM +0100, Mike Belopuhov wrote: we can check if af == inet in icmp case obviously, but how and why can we end up with af == inet6 and an icmp payload (or af == inet and icmp6 payload

Re: incorrect fallthrough in pf

2011-02-05 Thread Alexander Bluhm
On Sat, Feb 05, 2011 at 03:24:11PM +0100, Henning Brauer wrote: * Alexander Bluhm alexander.bl...@gmx.net [2011-02-05 14:56]: Somebody could send us such a packet. I'm pretty damn sure we catch that way earlier. Yeah, it panics right away if nat/rdr is used with unusual protocol. panic:

Re: ksh completion for [, :, $

2011-02-05 Thread Nick Guenther
On Fri, Feb 4, 2011 at 1:42 PM, Alexander Polakov polac...@gmail.com wrote: Hi there, I sent this diff to bugs@ some time ago but haven't got any replies. Probably tech@ is a better place for it. The problem is known as bz#6006/user. The fix is taken from mksh (rev.1.4 for [ and rev.1.184

Re: incorrect fallthrough in pf

2011-02-05 Thread Alexander Bluhm
On Sat, Feb 05, 2011 at 07:51:27PM +0100, Henning Brauer wrote: indeed. and as much as i'm all for defensive programming, pf_test_rule will never be called from anything but pf_test[6] - at least without heavy heavy major super duper changes, besides there not being a reson to. thus: I

httpd(8) - allow location of etag-state to be configured

2011-02-05 Thread Dan Harnett
This allows the location of the etag-state file to be configured in httpd.conf rather than hardcoded to logs/etag-state. Index: conf/httpd.conf === RCS file: /home/danh/.cvs/openbsd/src/usr.sbin/httpd/conf/httpd.conf,v retrieving

How To Build Muscle and Gain Weight Fast

2011-02-05 Thread Muscle Building
who can't build muscle or gain weight no matter how hard they try. Take just five minutes to read this entire page and you'll discover. Start Now : http://good-links.us/how-to-build-muscle-and-gain-weight-fast.html

Re: fix crontab(1) NULL pointer dereference

2011-02-05 Thread Philip Guenther
On Sat, 5 Feb 2011, Lawrence Teo wrote: When crontab -l is used to list a user's crontab file, crontab(1) expects the crontab file to have three comment lines at the top. However, if there are fewer than three comment lines or if they are completely absent, crontab(1) will segfault when the