[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: [tor-bugs] #5617 [Obfsproxy]: obfsproxy: test suite failure (connection refused)
#5617: obfsproxy: test suite failure (connection refused)
-----------------------+----------------------------------------------------
Reporter: asn | Owner: asn
Type: defect | Status: new
Priority: normal | Milestone:
Component: Obfsproxy | Version:
Keywords: | Parent:
Points: | Actualpoints:
-----------------------+----------------------------------------------------
Comment(by arma):
Replying to [comment:2 asn]:
> I suspect that this one is caused by this code:
> {{{
> self.output_reader = ReadWorker(("127.0.0.1", EXIT_PORT))
> self.obfs = Obfsproxy(self.obfs_args)
> self.input_chan = connect_with_retry(("127.0.0.1", ENTRY_PORT))
> }}}
>
> `ReadWorker` is supposed to listen in `EXIT_PORT`, so that the server-
side obfsproxy can send it data to read.
>
> `ReadWorker` is implemented as a `multiprocessing` process, and I think
that the `Connection refused` error is caused by the race condition
between `ReadWorker` spawning its python process, and `Obfsproxy` spawing
its obfsproxy process that tries to connect to `EXIT_PORT`.
I know nothing here, but doesn't one of those say ENTRY_PORT?
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/5617#comment:4>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs