Opened 3 years ago

Closed 3 years ago

Last modified 2 years ago

#19148 closed defect (worksforme)

Make some parts of Tor scriptable

Reported by: cypherpunks Owned by:
Priority: Medium Milestone:
Component: Core Tor/Tor Version:
Severity: Normal Keywords:
Cc: Actual Points:
Parent ID: Points:
Reviewer: Sponsor:

Description

Would you kindly make some parts of Tor scriptable? It will be useful for improving the algorithms. More precisely, I need the part involved in building circuits be scriptable. BTW, what language would we use? I know that lua, JS (ducttape) and cling can be easily embedded.

Child Tickets

Change History (8)

comment:1 Changed 3 years ago by cypherpunks

Component: - Select a componentCore Tor/Tor

comment:2 Changed 3 years ago by nickm

Milestone: Tor: 0.2.???

Have you looked the controller interface, or at the stem library?

comment:3 Changed 3 years ago by cypherpunks

Yes, but unfortunately the logic is hardcoded in C and there is no way to play with it without rebuilding Tor from source code.

Last edited 3 years ago by cypherpunks (previous) (diff)

comment:4 Changed 3 years ago by arma

I think you are not understanding the controller interface.

I believe it does exactly what you want.

See control-spec at
https://spec.torproject.org/

comment:5 Changed 3 years ago by cypherpunks

Stem (Python library) has an example for building custom circuit paths:
https://stem.torproject.org/tutorials/to_russia_with_love.html

comment:6 Changed 3 years ago by nickm

Resolution: worksforme
Status: newclosed

closing as worksforme

comment:7 Changed 2 years ago by teor

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

Milestone renamed

comment:8 Changed 2 years ago by nickm

Milestone: Tor: 0.3.???

Milestone deleted

Note: See TracTickets for help on using tickets.