Re: [tor-bugs] #34278 [Circumvention/Snowflake]: Handling connection failures.

2020-06-04 Thread Tor Bug Tracker & Wiki
#34278: Handling connection failures.
-+
 Reporter:  HashikD  |  Owner:  (none)
 Type:  task | Status:  new
 Priority:  Medium   |  Milestone:
Component:  Circumvention/Snowflake  |Version:
 Severity:  Normal   | Resolution:
 Keywords:  snowflake-mobile |  Actual Points:
Parent ID:   | Points:
 Reviewer:   |Sponsor:
-+
Changes (by cohosh):

 * status:  needs_information => new


--
Ticket URL: 
Tor Bug Tracker & Wiki 
The Tor Project: anonymity online
___
tor-bugs mailing list
tor-bugs@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs


Re: [tor-bugs] #34278 [Circumvention/Snowflake]: Handling connection failures.

2020-06-04 Thread Tor Bug Tracker & Wiki
#34278: Handling connection failures.
-+---
 Reporter:  HashikD  |  Owner:  (none)
 Type:  task | Status:  needs_information
 Priority:  Medium   |  Milestone:
Component:  Circumvention/Snowflake  |Version:
 Severity:  Normal   | Resolution:
 Keywords:  snowflake-mobile |  Actual Points:
Parent ID:   | Points:
 Reviewer:   |Sponsor:
-+---

Comment (by cohosh):

 This is a really good question, and one that we've worked on with the
 other proxy implementations.

 There are a few things we can look for to close a connection. In the
 Google API, there should be an `OnClose` event: https://webrtc.org
 /getting-started/data-channels#open_and_close_events
 that we can add a listener to. You can see that in our Javascript proxy
 code [https://gitweb.torproject.org/pluggable-transports/snowflake-
 webext.git/tree/proxypair.js#n91 here].

 We also want to close if there is an error (see
 [https://gitweb.torproject.org/pluggable-transports/snowflake-
 webext.git/tree/proxypair.js#n175 here]).

 We also added a timeout as an extra check. We can do this because the
 underlying layer is sending keep-alive messages every 10 seconds. You can
 see that in the existing code [https://gitweb.torproject.org/pluggable-
 transports/snowflake-webext.git/tree/proxypair.js#n160 here].

 We also want to close the connection if it is closed or we receive an
 error from the WebSocket side. See [https://gitweb.torproject.org
 /pluggable-transports/snowflake-webext.git/tree/proxypair.js#n131 here].

--
Ticket URL: 
Tor Bug Tracker & Wiki 
The Tor Project: anonymity online
___
tor-bugs mailing list
tor-bugs@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs


Re: [tor-bugs] #34278 [Circumvention/Snowflake]: Handling connection failures.

2020-06-04 Thread Tor Bug Tracker & Wiki
#34278: Handling connection failures.
-+---
 Reporter:  HashikD  |  Owner:  (none)
 Type:  task | Status:  needs_information
 Priority:  Medium   |  Milestone:
Component:  Circumvention/Snowflake  |Version:
 Severity:  Normal   | Resolution:
 Keywords:  snowflake-mobile |  Actual Points:
Parent ID:   | Points:
 Reviewer:   |Sponsor:
-+---
Changes (by cohosh):

 * status:  new => needs_information


--
Ticket URL: 
Tor Bug Tracker & Wiki 
The Tor Project: anonymity online
___
tor-bugs mailing list
tor-bugs@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs


Re: [tor-bugs] #34278 [Circumvention/Snowflake]: Handling connection failures.

2020-05-29 Thread Tor Bug Tracker & Wiki
#34278: Handling connection failures.
-+
 Reporter:  HashikD  |  Owner:  (none)
 Type:  task | Status:  new
 Priority:  Medium   |  Milestone:
Component:  Circumvention/Snowflake  |Version:
 Severity:  Normal   | Resolution:
 Keywords:  snowflake-mobile |  Actual Points:
Parent ID:   | Points:
 Reviewer:   |Sponsor:
-+

Comment (by HashikD):

 Hey! what is considered as a connection termination or failure of the
 client for (or client leaving) Snowflake proxy?

 What is the final state that I should look for to mark the end of the
 connection for WebRTC; to go ahead and close the connections and restart a
 the SDP offer request from the broker?

 In onIceConnectionChange what is the final state that I should look for:
 [https://lists.w3.org/Archives/Public/public-
 webrtc/2012Sep/att-0097/WebRTCstatesandcallbacks.pdf here are the list of
 state]

 I am getting mixed answers, sometimes it's logging "Failed" as the final
 state other times "closed".

 Feel free to ask for clarification if I am not clear enough.

--
Ticket URL: 
Tor Bug Tracker & Wiki 
The Tor Project: anonymity online
___
tor-bugs mailing list
tor-bugs@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs


[tor-bugs] #34278 [Circumvention/Snowflake]: Handling connection failures.

2020-05-21 Thread Tor Bug Tracker & Wiki
#34278: Handling connection failures.
-+
 Reporter:  HashikD  |  Owner:  (none)
 Type:  task | Status:  new
 Priority:  Medium   |  Milestone:
Component:  Circumvention/Snowflake  |Version:
 Severity:  Normal   |   Keywords:
Actual Points:   |  Parent ID:
   Points:   |   Reviewer:
  Sponsor:   |
-+
 Checking to see if the connection is dropping for any reason like Android
 OS killing the service, connection time outs, etc.

--
Ticket URL: 
Tor Bug Tracker & Wiki 
The Tor Project: anonymity online
___
tor-bugs mailing list
tor-bugs@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs