Re: Tor no longer works on -current ?

2017-01-08 Thread Olivier Antoine
On Sun, Jan 8, 2017 at 7:02 AM, Sebastien Marie <sema...@online.fr> wrote:

> On Sun, Jan 08, 2017 at 03:26:01PM +1100, Joel Sing wrote:
> > On Saturday 07 January 2017 21:14:29 Olivier Antoine wrote:
> > > Hi all,
> > >
> > > Is it only me or Tor no longer works on -current ?
> >
> > I believe this should already be rectified in -current (via a partial
> > reversion
> > of src/lib/libcrypto/x509/x509_vfy.c r1.54). Thanks for the report.
> >
>
> I could confirm that x509_vfy.c r1.54 makes it works again.



08-Jan-2017 OpenBSD snapshot  make Tor works again.
Thanks !



Re: Tor no longer works on -current ?

2017-01-07 Thread Sebastien Marie
On Sun, Jan 08, 2017 at 03:26:01PM +1100, Joel Sing wrote:
> On Saturday 07 January 2017 21:14:29 Olivier Antoine wrote:
> > Hi all,
> >
> > Is it only me or Tor no longer works on -current ?
> 
> I believe this should already be rectified in -current (via a partial
> reversion
> of src/lib/libcrypto/x509/x509_vfy.c r1.54). Thanks for the report.
> 

I could confirm that x509_vfy.c r1.54 makes it works again.
-- 
Sebastien Marie



Re: Tor no longer works on -current ?

2017-01-07 Thread Joel Sing
On Saturday 07 January 2017 21:14:29 Olivier Antoine wrote:
> Hi all,
>
> Is it only me or Tor no longer works on -current ?

I believe this should already be rectified in -current (via a partial
reversion
of src/lib/libcrypto/x509/x509_vfy.c r1.54). Thanks for the report.

> Every port or compiled version of stable or unstable branch of Tor on a
> fresh OpenBSD snapshot fail at the same bootstrap stage…
>
> Don't know since when exactly, but the last snapshot working for me was :
> OpenBSD 6.0-current (GENERIC.MP) #72: Tue Dec 27 22:00:51 MST 2016
>
> The first failed for me was :
> OpenBSD 6.0-current (GENERIC.MP) #98: Tue Jan  3 21:07:10 MST 2017
>
> Here is a fragment of the Tor bootstrapping log :
>
> Jan 07 18:14:43.000 [notice] Bootstrapped 10%: Finishing handshake with
> directory server
>
> Jan 07 18:14:43.000 [debug] connection_tls_start_handshake(): starting TLS
> handshake on fd 8
>
> Jan 07 18:14:43.000 [debug] tor_tls_handshake(): About to call SSL_connect
> on 0x820e1d00 (before/accept initialization)
>
> Jan 07 18:14:43.000 [debug] tor_tls_debug_state_callback(): SSL 0x7a8b2600
> is now in state before/connect initialization [type=16,val=1].
>
> Jan 07 18:14:43.000 [debug] tor_tls_debug_state_callback(): SSL 0x7a8b2600
> is now in state before/connect initialization [type=4097,val=1].
>
> Jan 07 18:14:43.000 [debug] tor_tls_debug_state_callback(): SSL 0x7a8b2600
> is now in state unknown state [type=4097,val=1].
>
> Jan 07 18:14:43.000 [debug] tor_tls_debug_state_callback(): SSL 0x7a8b2600
> is now in state SSLv3 read server hello A [type=4097,val=1].
>
> Jan 07 18:14:43.000 [debug] tor_tls_debug_state_callback(): SSL 0x7a8b2600
> is now in state SSLv3 read server certificate B [type=16392,val=560].
>
> Jan 07 18:14:43.000 [debug] tor_tls_debug_state_callback(): SSL 0x7a8b2600
> is now in state SSLv3 read server certificate B [type=4098,val=-1].
>
> Jan 07 18:14:43.000 [debug] tor_tls_debug_state_callback(): SSL 0x7a8b2600
> is now in state SSLv3 read server certificate B [type=4098,val=-1].
>
> Jan 07 18:14:43.000 [debug] tor_tls_handshake(): After call, 0x820e1d00 was
> in state SSLv3 read server certificate B
>
> Jan 07 18:14:43.000 [info] TLS error while handshaking with [scrubbed]:
> certificate verify failed (in SSL
> routines:SSL3_GET_SERVER_CERTIFICATE:SSLv3 read server certificate B)
>
> Jan 07 18:14:43.000 [info] connection_tls_continue_handshake(): tls error
> [misc error]. breaking connection.
>
> Jan 07 18:14:43.000 [debug] connection_mark_for_close_internal_(): Calling
> connection_mark_for_close_internal_() on an OR conn at
> src/or/connection_or.c:1341
> Jan 07 18:14:43.000 [debug] channel_close_for_error(): Closing channel
> 0x7a8b2a00 due to lower-layer error
>
> Jan 07 18:14:43.000 [debug] channel_change_state(): Changing state of
> channel 0x7a8b2a00 (global ID 0) from "opening" to "closing"
>
> Jan 07 18:14:43.000 [debug] channel_remove_from_digest_map(): Removed
> channel 0x7a8b2a00 (global ID 0) from identity map in state closing (4)
> with digest 8FA37B93397015B2BC5A525C908485260BE9F4$
> 2
>
>
> Jan 07 18:14:43.000 [debug] conn_close_if_marked(): Cleaning up connection
> (fd 8).
>
> Jan 07 18:14:43.000 [debug] circuit_n_chan_done(): chan to NULL/
> 178.254.44.135:9001, status=0
>
> Jan 07 18:14:43.000 [info] circuit_n_chan_done(): Channel failed; closing
> circ.
>
> Don't know if the problem is on the Tor side or OpenBSD side…
>
> Bye
>
> --
> Olivier



Tor no longer works on -current ?

2017-01-07 Thread Olivier Antoine
Hi all,

Is it only me or Tor no longer works on -current ?

Every port or compiled version of stable or unstable branch of Tor on a
fresh OpenBSD snapshot fail at the same bootstrap stage…

Don't know since when exactly, but the last snapshot working for me was :
OpenBSD 6.0-current (GENERIC.MP) #72: Tue Dec 27 22:00:51 MST 2016

The first failed for me was :
OpenBSD 6.0-current (GENERIC.MP) #98: Tue Jan  3 21:07:10 MST 2017

Here is a fragment of the Tor bootstrapping log :

Jan 07 18:14:43.000 [notice] Bootstrapped 10%: Finishing handshake with
directory server

Jan 07 18:14:43.000 [debug] connection_tls_start_handshake(): starting TLS
handshake on fd 8

Jan 07 18:14:43.000 [debug] tor_tls_handshake(): About to call SSL_connect
on 0x820e1d00 (before/accept initialization)

Jan 07 18:14:43.000 [debug] tor_tls_debug_state_callback(): SSL 0x7a8b2600
is now in state before/connect initialization [type=16,val=1].

Jan 07 18:14:43.000 [debug] tor_tls_debug_state_callback(): SSL 0x7a8b2600
is now in state before/connect initialization [type=4097,val=1].

Jan 07 18:14:43.000 [debug] tor_tls_debug_state_callback(): SSL 0x7a8b2600
is now in state unknown state [type=4097,val=1].

Jan 07 18:14:43.000 [debug] tor_tls_debug_state_callback(): SSL 0x7a8b2600
is now in state SSLv3 read server hello A [type=4097,val=1].

Jan 07 18:14:43.000 [debug] tor_tls_debug_state_callback(): SSL 0x7a8b2600
is now in state SSLv3 read server certificate B [type=16392,val=560].

Jan 07 18:14:43.000 [debug] tor_tls_debug_state_callback(): SSL 0x7a8b2600
is now in state SSLv3 read server certificate B [type=4098,val=-1].

Jan 07 18:14:43.000 [debug] tor_tls_debug_state_callback(): SSL 0x7a8b2600
is now in state SSLv3 read server certificate B [type=4098,val=-1].

Jan 07 18:14:43.000 [debug] tor_tls_handshake(): After call, 0x820e1d00 was
in state SSLv3 read server certificate B

Jan 07 18:14:43.000 [info] TLS error while handshaking with [scrubbed]:
certificate verify failed (in SSL
routines:SSL3_GET_SERVER_CERTIFICATE:SSLv3 read server certificate B)

Jan 07 18:14:43.000 [info] connection_tls_continue_handshake(): tls error
[misc error]. breaking connection.

Jan 07 18:14:43.000 [debug] connection_mark_for_close_internal_(): Calling
connection_mark_for_close_internal_() on an OR conn at
src/or/connection_or.c:1341
Jan 07 18:14:43.000 [debug] channel_close_for_error(): Closing channel
0x7a8b2a00 due to lower-layer error

Jan 07 18:14:43.000 [debug] channel_change_state(): Changing state of
channel 0x7a8b2a00 (global ID 0) from "opening" to "closing"

Jan 07 18:14:43.000 [debug] channel_remove_from_digest_map(): Removed
channel 0x7a8b2a00 (global ID 0) from identity map in state closing (4)
with digest 8FA37B93397015B2BC5A525C908485260BE9F4$
2


Jan 07 18:14:43.000 [debug] conn_close_if_marked(): Cleaning up connection
(fd 8).

Jan 07 18:14:43.000 [debug] circuit_n_chan_done(): chan to NULL/
178.254.44.135:9001, status=0

Jan 07 18:14:43.000 [info] circuit_n_chan_done(): Channel failed; closing
circ.

Don't know if the problem is on the Tor side or OpenBSD side…

Bye

--
Olivier