Comments (2)
I am running into the same problem. Would be nice to run concurrent tor instance in the future.
@karalabe any update on this problem? I could also try to create a PR if you point me in the right direction
from go-libtor.
@gtuk this is since all of this code is executed in the same process as go.
The easy fix is for architectures that supports it first fork
, creating 2 process, the main one that continues and a new one to execute tor into and then execute Tor. (like the unix execution model expects), so multiple tor process wouldn't mengle everything.
It might also be possible to remap Tor's global variables into TLS (Thread Local Storage), it's the same idea, isolate the globals, ... but using Thread Specific memory, instead of Process one.
from go-libtor.
Related Issues (20)
- Onion ID length HOT 1
- How is it possible to preserve .onion address HOT 2
- Restart Tor HOT 4
- Use 0.4.x Tor
- Example program (main.go) won't run HOT 1
- No way to define ev_uint64_t HOT 2
- v3 onion addresses HOT 2
- Out of Date Documentation/Bine Creator Usage HOT 1
- The filename or extension is too long. HOT 2
- error main.go:12:2: found packages libtor (libtor.go) and main (main.go) in /home/user/repos/go-libtor
- Version 2 Onion Sites will be deprecated soon
- Upstream iOS and macOS support from berty/go-libtor
- Warning when running in docker HOT 2
- go get failed
- VFS idea
- How is it possible to persist V3 .onion address? HOT 3
- Error after running go get HOT 2
- 1st signal interrupt is caught by the Tor process, and ignored by the go process HOT 1
- Error when build HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from go-libtor.