Bombadillo fails with .onion
#118
Labels
No Label
blocked
bug
build
documentation
duplicate
enhancement
finger
gemini
gopher
help wanted
http
in progress
invalid
local
needs-info
non-code
non-functional
non-urgent
question
release
rendering
suggestion
telnet
terminal
urgent
wontfix
No Milestone
No Assignees
2 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: sloum/bombadillo#118
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
I do not use tor. Never have. Have meant to. However, user
uwu
reports in the circumlunar.space irc that:I do not know what the second message means, but I assume they are precursors to running tor.
If at all possible I would like Bombadillo to be able to work over tor/with .onion links. @asdf do you know anything about this? Having a place to start would be helpful.
There is some evidence that this works in VF-1 so maybe use VF-1 as a reference to try to debug the issue. I'm not sure at all why this doesnt work :-/
I dont know how onion stuff works. I'm going to mark this help wanted.
User
waldfee
reached out to me via e-mail to point me toward this information:https://golang.org/pkg/net/#hdr-Name_Resolution
It seems that on nix system there are two resolver options. The pure Go one donks up tor hidden service routing. However, a flag can be passed to use cgo for resolving addresses. In theory passing a flag at build time should solve the issue.
So, do we:
It turns out that this issue should only affect nix systems and that OSX does not allow programs to make direct DNS requests and have to go through the system, so C go is automatically used there.
The difference between pure go and cgo, from a performance perspective, is a coroutine vs a system thread.
@asdf what do you think?
Thanks waldfee for providing advice on this. Much appreciated!
I'm not 100% sure from your message if this has been validated as a fix for this issue. This might be as simple as running the build command:
Or perhaps it means doing:
Also, I don't understand the impact of the issue. Is this only for users of tor, or for anyone attempting to visit a site on that domain?
I'd be leaning toward having this as a compilation option, not knowing what impacts changing the default options might have.
My understanding (I have never used Tor) is that only users actively wanting to use Tor need this mode. I believe your first example should work just fine and could be used with
sudo make install
as well.As it has been explained to me any performance hit for defaulting to that setting should be minimal. That said, I do like the idea of a pure go implementation rather than using cgo.
The TODO for this will depend on course of action, but it seems like we are leaning toward the documentation route. I will make a branch and add this info to the install documentation. That will let people have the option of deciding to do this or not. I'll make it pretty simple and let people know that if they want to use Bombadillo over Tor this will be necessary.
Agreed, I think documenting it is the right balance here.
Once it is ready, it would be great to get further feedback from uwu, walfee or anyone else as to how well it works, what the experience is like, and if there are other issues.
cool
I am now hearing from some folks that the solution discussed above only works under certain conditions. It may still be worth adding to the docs, but I am hesitant to dive into official tor support given my lack of knowledge on the subject.
I'm going to close this and just decide we do not support TOR officially.