Opened 7 years ago

Last modified 20 months ago

#5081 new enhancement

autoreload ServerTransportPlugin process when the underlying binary changes or requests it?

Reported by: weasel Owned by:
Priority: Medium Milestone: Tor: unspecified
Component: Core Tor/Tor Version:
Severity: Normal Keywords: pt, tor-bridge
Cc: Actual Points:
Parent ID: Points: 5
Reviewer: Sponsor:

Description (last modified by weasel)

<weasel> does tor restart obfsproxy when it notices it has changed?
<armadev> very unlikely
<armadev> define 'changed'?
<weasel> inode or mtime changed.
<armadev> ah. definitely no.
<armadev> please file a ticket?
<weasel> I think it should.
<weasel> wilco
<armadev> how often should it check inode or mtime?
<weasel> the other options is that obfsproxy should check if it has changed
<weasel> ideally no matter how it's done it wouldn't affect existing connections
<armadev> the connections go through obfsproxy
<armadev> so you want the old one to stay alive, even though the new one is in use
<weasel> yes

Child Tickets

Change History (12)

comment:1 Changed 7 years ago by weasel

Description: modified (diff)

comment:2 Changed 7 years ago by nickm

Milestone: Tor: 0.2.4.x-final
Type: defectenhancement

This is a pretty neat idea, but not for 0.2.3.x.

comment:3 Changed 7 years ago by asn

Keywords: pt added

comment:4 Changed 7 years ago by arma

An alternative to mucking with disk stuff is to have obfsproxy put some file into place when it wants to be restarted, and have Tor check for the file periodically. Sort of like a pid file. Seems more portable; but maybe I'm being shortsighted.

comment:5 Changed 6 years ago by nickm

Keywords: tor-bridge added

comment:6 Changed 6 years ago by nickm

Component: Tor BridgeTor

comment:7 Changed 6 years ago by nickm

Milestone: Tor: 0.2.4.x-finalTor: 0.2.5.x-final

comment:8 Changed 5 years ago by nickm

Milestone: Tor: 0.2.5.x-finalTor: 0.2.???

comment:9 Changed 2 years ago by teor

Milestone: Tor: 0.2.???Tor: 0.3.???

Milestone renamed

comment:10 Changed 2 years ago by nickm

Keywords: tor-03-unspecified-201612 added
Milestone: Tor: 0.3.???Tor: unspecified

Finally admitting that 0.3.??? was a euphemism for Tor: unspecified all along.

comment:11 Changed 20 months ago by nickm

Keywords: tor-03-unspecified-201612 removed

Remove an old triaging keyword.

comment:12 Changed 20 months ago by nickm

Points: 5
Severity: Normal
Summary: autoreload ServerTransportPlugin process?autoreload ServerTransportPlugin process when the underlying binary changes or requests it?
Note: See TracTickets for help on using tickets.