<div dir="ltr"><div><div>Hi,<br><br></div>i wanted to run my bridge on 443 too but i had the same problem on Raspbian Buster with Tor 0.4.0.5<br></div><div>I asked Google but choosing a port above 1024 was the only thing that made it working for me.<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Am Fr., 19. Juli 2019 um 11:52 Uhr schrieb <<a href="mailto:dmz21@ziggo.nl">dmz21@ziggo.nl</a>>:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">> On July 19, 2019 at 6:36 AM Ben Riley <<a href="mailto:blades1000@gmail.com" target="_blank">blades1000@gmail.com</a>> wrote:<br>
> <br>
> <br>
> Hi,<br>
> <br>
> Thanks for the reply. Yes, I ran that command way back at the start. I'm<br>
> assuming I don't have to run it every time the machine reboots or updates?<br>
> I ran it again this morning and it made no difference.<br>
> <br>
> Ah logs, you say that like I know where those are :P<br>
> When I run sudo tail /var/log/tor/log - I get nothing.<br>
> I found the Logs app and run that to get all the system logs - way too much<br>
> stuff and I couldn't move it to here, so I found this command (Google) cat<br>
> /var/log/syslog | grep tor -i and got the following (I think I've included<br>
> 2 set of attempts to boot up):<br>
> <br>
> Jul 19 14:32:23 ben-OptiPlex-755 Tor[28002]: Starting with guard context<br>
> > "default"<br>
> > Jul 19 14:32:23 ben-OptiPlex-755 Tor[28002]: Signaled readiness to systemd<br>
> > Jul 19 14:32:23 ben-OptiPlex-755 Tor[28002]: Bootstrapped 5% (conn):<br>
> > Connecting to a relay<br>
> > Jul 19 14:32:23 ben-OptiPlex-755 Tor[28002]: Server managed proxy<br>
> > encountered a method error. (obfs4 listen tcp <a href="http://0.0.0.0:443" rel="noreferrer" target="_blank">0.0.0.0:443</a>: bind:<br>
> > permission denied)<br>
<br>
I ran (and keep running) into the same problem (but on Debian), even after the fix suggested below.<br>
Could you please try an unused port above 1024, like 8531? That resolved this issue for me.<br>
<br>
hope this helps and kind regards.<br>
<br>
> > Jul 19 14:32:23 ben-OptiPlex-755 Tor[28002]: Managed proxy at<br>
> > '/usr/bin/obfs4proxy' failed the configuration protocol and will be<br>
> > destroyed.<br>
> > Jul 19 14:32:23 ben-OptiPlex-755 Tor[28002]: tor_assertion_failed_(): Bug:<br>
> > ../src/feature/client/transports.c:1836: managed_proxy_stdout_callback:<br>
> > Assertion mp->conf_state == PT_PROTO_COMPLETED failed; aborting. (on Tor<br>
> > 0.4.0.5 )<br>
> > Jul 19 14:32:23 ben-OptiPlex-755 Tor[28002]: Bug: Assertion mp->conf_state<br>
> > == PT_PROTO_COMPLETED failed in managed_proxy_stdout_callback at<br>
> > ../src/feature/client/transports.c:1836. Stack trace: (on Tor 0.4.0.5 )<br>
<br>
(removed rest of log)<br>
<br>
> <br>
> <br>
> <br>
> On Fri, Jul 19, 2019 at 1:12 AM Philipp Winter <<a href="mailto:phw@torproject.org" target="_blank">phw@torproject.org</a>> wrote:<br>
> <br>
> > On Thu, Jul 18, 2019 at 12:50:34PM +1000, Ben Riley wrote:<br>
> > > Then I saw the above email about being a bridge and thought, fine, I'll<br>
> > > configure it to be a bridge and help out someone.<br>
> > > Tried to do it via the docker/script method, but soon realised that was<br>
> > > outside my skill level (hey stop laughing! :P)<br>
> ><br>
> > Did you run into any specific issues?  If you had troubles following the<br>
> > guide, I'm gonna blame the guide.<br>
> ><br>
> > > Setting ORPort to 443 as suggested.  I forwarded that port on the<br>
> > > router and then tested it, but it said it was closed. So I thought my<br>
> > > router was playing up.  I checked a few other ports using online tools<br>
> > > and a few of them were closed.  I forwarded a new another port to some<br>
> > > other software on another machine and that worked?!  So I realised the<br>
> > > ports are open on the router but closed on the ubuntu machine.  I've<br>
> > > played around with all the settings, changed by torrc file to a really<br>
> > > basic one of:<br>
> ><br>
> > To run obfs4 on port 443, you will have to run the following command, to<br>
> > allow obfs4proxy to bind to port 443:<br>
> ><br>
> >   sudo setcap cap_net_bind_service=+ep /usr/bin/obfs4proxy<br>
> ><br>
> > If you did that already, it would be helpful to see your logs.<br>
> ><br>
> > Cheers,<br>
> > Philipp<br>
> > _______________________________________________<br>
> > tor-relays mailing list<br>
> > <a href="mailto:tor-relays@lists.torproject.org" target="_blank">tor-relays@lists.torproject.org</a><br>
> > <a href="https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-relays" rel="noreferrer" target="_blank">https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-relays</a><br>
> ><br>
> _______________________________________________<br>
> tor-relays mailing list<br>
> <a href="mailto:tor-relays@lists.torproject.org" target="_blank">tor-relays@lists.torproject.org</a><br>
> <a href="https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-relays" rel="noreferrer" target="_blank">https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-relays</a><br>
_______________________________________________<br>
tor-relays mailing list<br>
<a href="mailto:tor-relays@lists.torproject.org" target="_blank">tor-relays@lists.torproject.org</a><br>
<a href="https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-relays" rel="noreferrer" target="_blank">https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-relays</a><br>
</blockquote></div>