Re: pf example incorrectly blocks icmp unreach

2012-05-14 Thread Stuart Henderson
On 2012/05/14 21:14, Bruce Cran wrote:
> The PF example at http://www.openbsd.org/faq/pf/example1.html should
> add unreach to the icmp types, otherwise path mtu discovery won't
> work.

Thanks for the feedback but this is not necessary, PF state tracking
automatically includes ICMP packets relevant to that state. See the
STATEFUL FILTERING section of pf.conf(5):

 Furthermore, correct handling of ICMP error messages is critical to many
 protocols, particularly TCP.  pf(4) matches ICMP error messages to the
 correct connection, checks them against connection parameters, and passes
 them if appropriate.  For example if an ICMP source quench message
 referring to a stateful TCP connection arrives, it will be matched to the
 state and get passed.



pf example incorrectly blocks icmp unreach

2012-05-14 Thread Bruce Cran
The PF example at http://www.openbsd.org/faq/pf/example1.html should add 
unreach to the icmp types, otherwise path mtu discovery won't work.


--
Bruce Cran



Re: bug report about openbsd 5.1 (with openbox) conky-1.8.1p5 : get_cpu_count ?

2012-05-14 Thread defwxyz
Hello Benoit,

Here are the output of conky when it fails;
and after the change in .conkyrc the output of conky when it runs ok.

--
Laurent

>>
$ cat .conkyrc |grep CPU
${color grey} CPU Usage: $cpu % ${cpubar 4}
${color grey}Name  PID   CPU%   MEM%
$ conky
Conky: desktop window (101) is root window
Conky: drawing to desktop window
Conky: drawing to single buffer
assertion "fresh == NULL" failed: file "openbsd.c", line 345, function
"get_cpu_count"
Abort trap (core dumped)
$ vi .conkyrc
$ cat .conkyrc | grep CPU
#${color grey} CPU Usage: $cpu % ${cpubar 4}
${color grey}Name  PID   CPU%   MEM%
$ conky
Conky: desktop window (101) is root window
Conky: drawing to desktop window
Conky: drawing to single buffer
<<<


Quoting Rafael Sadowski :

> forward to Benoit Lecocq ( conky maintainer).
>
> On Mon May 14, 2012 at 11:46:22AM +0200, defw...@free.fr wrote:
> > Hello,
> >
> > I report a bug in conky-1.8.1p5 and OpenBSD5.1 (i386 and powerpc)
> >
> > A fresh install of OpenBSD 5.1 with OpenBox and Conky, is not able to run
> conky
> > without a modification of the default ~/.conkyrc (copy of
> > /etc/conky/conky.conf).
> >
> > The line in the configuration file regarding cpu usage which contains
> ${cpu}%
> > makes conky abort due to an error in get_cpu_count (it seems to).
> >
> > If the line is commented out then conky works fine.
> >
> >
> > Best regards
> > --
> > Laurent



Re: bug report about openbsd 5.1 (with openbox) conky-1.8.1p5 : get_cpu_count ?

2012-05-14 Thread Rafael Sadowski
forward to Benoit Lecocq ( conky maintainer).

On Mon May 14, 2012 at 11:46:22AM +0200, defw...@free.fr wrote:
> Hello,
> 
> I report a bug in conky-1.8.1p5 and OpenBSD5.1 (i386 and powerpc)
> 
> A fresh install of OpenBSD 5.1 with OpenBox and Conky, is not able to run 
> conky
> without a modification of the default ~/.conkyrc (copy of
> /etc/conky/conky.conf).
> 
> The line in the configuration file regarding cpu usage which contains ${cpu}%
> makes conky abort due to an error in get_cpu_count (it seems to).
> 
> If the line is commented out then conky works fine.
> 
> 
> Best regards
> --
> Laurent



bug report about openbsd 5.1 (with openbox) conky-1.8.1p5 : get_cpu_count ?

2012-05-14 Thread defwxyz
Hello,

I report a bug in conky-1.8.1p5 and OpenBSD5.1 (i386 and powerpc)

A fresh install of OpenBSD 5.1 with OpenBox and Conky, is not able to run conky
without a modification of the default ~/.conkyrc (copy of
/etc/conky/conky.conf).

The line in the configuration file regarding cpu usage which contains ${cpu}%
makes conky abort due to an error in get_cpu_count (it seems to).

If the line is commented out then conky works fine.


Best regards
--
Laurent