Opened 10 months ago

Last modified 7 months ago

#21314 new defect

snowflake-client needs to stop using my network when I'm not giving it requests

Reported by: arma Owned by:
Priority: Medium Milestone:
Component: Obfuscation/Snowflake Version:
Severity: Normal Keywords:
Cc: Actual Points:
Parent ID: Points:
Reviewer: Sponsor:

Description

I started my Tor Browser, and told it to use snowflake, and it did. Then I changed my mind and told it to stop using snowflake. Now, apparently there's a bug in Tor where Tor is supposed to kill snowflake-client when there are no more bridge lines in my torrc that want to use it. But ignoring that Tor bug, snowflake-client should also be defensive for me. Right now it is touching the broker every 10 seconds, looking for a snowflake, even though it is getting no requests. That can't be good for scalability or for the broker or for the users.

Child Tickets

Change History (2)

comment:1 Changed 10 months ago by arma

My first thought was that snowflake-client needs to go dormant when it hasn't received any requests in a while.

Yawning thinks it should be a more aggressive, and simpler, plan: it needs to be dormant when it is not right now having a request that it's supposed to handle.

(After all, Tor tries to maintain circuits to its guards, so it will have a persistent connection, and if Tor goes dormant because it doesn't expect to use the network for a while, then that's a great time for snowflake-client to notice that there is no network use, and go dormant too.)

I am fine with either approach, so long as pretty soon after I stop trying to talk to snowflake-client, it stops trying to use my network.

Last edited 10 months ago by arma (previous) (diff)

comment:2 in reply to:  description Changed 7 months ago by arma

Replying to arma:

Now, apparently there's a bug in Tor where Tor is supposed to kill snowflake-client when there are no more bridge lines in my torrc that want to use it

asn filed that bug today as #21967.

Note: See TracTickets for help on using tickets.