mailing.openbsd.tech
  Home FAQ Contact Sign in
mailing.openbsd.tech only
 
Advanced search
April 2008
motuwethfrsasuw
 123456 14
78910111213 15
14151617181920 16
21222324252627 17
282930     18
2008
 Jan   Feb   Mar   Apr 
 May   Jun   Jul   Aug 
 Sep   Oct   Nov   Dec 
2008 2007 2006  
total
mailing.openbsd.tech Profile…
RELATED GROUPS

POPULAR GROUPS

more...

 Up
  Re: [patch] rewrite of libutil/fmt_scaled.c         


Author: Otto Moerbeek
Date: Apr 15, 2008 23:29

On Thu, Mar 06, 2008 at 03:30:42PM +0000, Paul Stoeber wrote:
> fmt_scaled() rounds wrong. Example:

Hi,

please be a bit patient. I noted you diff, and will look at it the
coming time.

-Otto
>
> #include
> #include
> int main() {
> long long n = 1024 * 1023 + 461; /* should round to 1023K */
> char buf[FMT_SCALED_STRSIZE];
> if (fmt_scaled(n, buf) == 0...
Show full article (28.50Kb)
no comments
  Re: libcurses SIGWINCH support         


Author: Jérôme Loyet
Date: Apr 15, 2008 23:28

Thanks for the answer theo. It's pretty clear, I'll try to update rtorrent
to make windows resizing work properly.

++ Jerome
Show full article (0.64Kb)
no comments
  Feedmelink.com is your gateway to the sites         


Author: helps4u208
Date: Apr 15, 2008 21:50

Feedmelink.com is your gateway to the sites
on the Internet for software! Browse our recommended
resources or just try the Feedmelink.com search.
http://feedmelink.com/
no comments
  Re: sendbug(1) patch         


Author: Ray
Date: Apr 15, 2008 21:11

You are requesting a change in sendbug because your IP address is
blacklisted. I think the proper solution to this problem does not
involve sendbug at all.
> That's different, the temp file is not exactly the same as what is going
> to be sent to the pipe.

sendbug sends a copy of the final report to the local user.
> What if there's a bug in the 'send_file' function?

1) Are there any?
2) Fix them.
3) We can't keep adding code (and bugs) for disaster scenarios.
4) There are debuggers for this purpose.
5) Your local user already gets a copy, whether it is by aborting or
by sending the report.

-Ray-
no comments
  Re: libcurses SIGWINCH support         


Author: Theo de Raadt
Date: Apr 15, 2008 14:56

Because it is way too easy to misuse this and create security risk.
Libraries should not use signals like this, behind application's
backs.
> I'd like to know why the openbsd libcurses doesn't support SIGWINCH ?
>
> As show here:
> http://www.openbsd.org/cgi-bin/cvsweb/src/lib/libcurses/ncurses_cfg.h?rev=1.23&content...
>
> /* #define USE_SIGWINCH 1 */
>
>
> Thx for your answer
> ++ jerome
no comments
  libcurses SIGWINCH support         


Author: Jérôme Loyet
Date: Apr 15, 2008 14:45

Hi everybody,

I'd like to know why the openbsd libcurses doesn't support SIGWINCH ?

As show here:
http://www.openbsd.org/cgi-bin/cvsweb/src/lib/libcurses/ncurses_cfg.h?rev=1.23&content...

/* #define USE_SIGWINCH 1 */

Thx for your answer
++ jerome
no comments
  Re: sendbug(1) patch         


Author: Dasn
Date: Apr 15, 2008 14:26

On 15/04/08 10:56 -0400, Ray wrote:
>
>This is unnecessary, it already saves a copy of the report when you
>abort (see sendbug(1)):
>
> Once the PR is filled out, the user exits the editor and is presented
> with a choice: a)bort, e)dit, or s)end. If abort is selected, the report
> is not deleted and the pathname of the report is printed. If edit is se-
> lected, the user is given a chance to re-edit the report.
>

That's different, the temp file is not exactly the same as what is going
to be sent to the pipe. What if there's a bug in the 'send_file'
function?

--
Dasn
no comments
  Re: sendbug(1) patch         


Author: Ray
Date: Apr 15, 2008 07:59

On Tue, Apr 15, 2008 at 7:43 AM, Dasn lavabit.com> wrote:
> On 12/04/08 23:50 -0400, Ray wrote:
>
>> Sendbug was rewritten some time ago, so your patch doesn't apply, sorry.
>>
>> I was unaware of problems people had with sendmail, is this a widespread
> problem?
>>
>> -Ray-
>>
>>
>
> I'm still in obsd 4.1, thanks for your pointer.
>
> When I use the sendmail to deliver messages to some mail servers, I got
> the message returned with errors like:
>
>
>> Diagnostic-Code: SMTP; 550 The IP address x.x.x.x has been listed on a
>> realtime blacklist ... ...
Show full article (1.38Kb)
no comments
  Re: sendbug(1) patch         


Author: Dasn
Date: Apr 15, 2008 04:54

On 12/04/08 23:50 -0400, Ray wrote:
>Sendbug was rewritten some time ago, so your patch doesn't apply, sorry.
>
>I was unaware of problems people had with sendmail, is this a
>widespread problem?
>
>-Ray-
>

I'm still in obsd 4.1, thanks for your pointer.

When I use the sendmail to deliver messages to some mail servers, I got
the message returned with errors like:
> Diagnostic-Code: SMTP; 550 The IP address x.x.x.x has been listed on a
> realtime blacklist ...

I suppose my ISP's NAT allocated a notorious address for me. So I have
to use an alternative SMTP server to send the mail.

The following patch against the new (rewritten) sendbug (v4.2), with the
PR_AGENT feature and a few minor fixes.

Anyway, another use of the 'PR_AGENT' feature is, to help test sendbug's
send-outs, like:
Show full article (4.30Kb)
no comments