Problem: How to run Tor bridge on Xbian? Socket creation failed: Address family not supported
|
25th Mar, 2023, 06:55 AM
Post: #1
|
|||
|
|||
How to run Tor bridge on Xbian? Socket creation failed: Address family not supported
Hello,
on RPi4 + Xbian with 5.15.92+ after Code: sudo apt-get install tor obfs4proxy Quote:root@xbian ~ # grep -v "#" /etc/default/tor|grep . Quote:root@xbian ~ # grep -v "#" /etc/tor/torrc|grep . I had Tor already installed, it is used by one app (but tor process is not running per "ps") already had first 4 torrc config. file lines (shown above). Quote:root@xbian ~ # /etc/init.d/tor restart I expect that RUN_DAEMON="yes" make sure Tor starts at boot. But how do i restart it without reboot and make it working without above error, please? |
|||
27th Mar, 2023, 08:52 PM
Post: #2
|
|||
|
|||
RE: How to run Tor bridge on Xbian? Socket creation failed: Address family not supported
I'm sorry, I'm completely out of my depth here.
I have never dealt with tor more closely |
|||
30th Mar, 2023, 06:08 PM
(This post was last modified: 30th Mar, 2023 06:13 PM by f1vefour.)
Post: #3
|
|||
|
|||
How to run Tor bridge on Xbian? Socket creation failed: Address family not supported
Try disabling IPv6 and starting, I'm not finding anything else related to this error but it doesn't specifically list IPv6.
Please read rules and do a search before you post! | FAQs | How to post log file? | Can't find an answer? Contact us. |
|||
30th Mar, 2023, 06:34 PM
Post: #4
|
|||
|
|||
RE: How to run Tor bridge on Xbian? Socket creation failed: Address family not supported
(30th Mar, 2023 06:08 PM)f1vefour Wrote: Try disabling IPv6Xbian is using IPv6? Since i am unable to find it in "ifconfig" output and "ip -6 a" output is empty. Maybe my attempt to disable it in custom sysctl file worked or it was never active: Code: # echo -e "net.ipv6.conf.all.disable_ipv6 = 1\nnet.ipv6.conf.eth0.disable_ipv6 = 1"|sudo tee -a /etc/sysctl.d/70-disable-ipv6.conf && sudo sysctl -p -f /etc/sysctl.d/70-disable-ipv6.conf but anyway that not helped to make tor start (/etc/init.d/tor restart) - shows that failure from the bottom of my first/initial post.. Uncommenting these torrc lines cause it: #BridgeRelay 1 #ORPort anyportnumberhere |
|||
30th Mar, 2023, 09:13 PM
Post: #5
|
|||
|
|||
RE: How to run Tor bridge on Xbian? Socket creation failed: Address family not supported
BridgeRelay? This rings alarm bells for me after all
Should this really have something to do with a bridge, i.e. if the bridge modules are also used, then ipv6 is definitely required. XBian disabled ipv6 by default. So that could be somehow related to it |
|||
30th Mar, 2023, 09:54 PM
Post: #6
|
|||
|
|||
RE: How to run Tor bridge on Xbian? Socket creation failed: Address family not supported
(30th Mar, 2023 09:13 PM)Nachteule Wrote: ipv6 is definitely required. Per your post http://forum.xbian.org/thread-4094-post-36676.html#pid36676 (topic "[PROBLEM] IPv6 disabled?") i have found that i need to comment out line in ipv6.conf file. This is how the file look like after change: cat /etc/modprobe.d/ipv6.conf Code: # Don't load ipv6 by default I have then tried various network restart commands that failed (in attempt to apply the change), but anyway found out "ifconfig" now shows inet6 and tor service started WITHOUT PROBLEM: /etc/init.d/tor restart SOLVED, thank you. Consider if is still needed to have IPv6 disabled by default. |
|||
6th Apr, 2023, 09:46 PM
Post: #7
|
|||
|
|||
RE: How to run Tor bridge on Xbian? Socket creation failed: Address family not supported
(30th Mar, 2023 09:13 PM)Nachteule Wrote: XBian disabled ipv6 by default.I am wondering what else is disabled, since i am getting this: Quote:Unable to find IPv4 address for ORPort 1xxxx You might want to specify IPv6Only to it or set an explicit address or set Address. ping and nmap to somepublicip fails from multiple locations. I have forwarded port on router to my LAN computer (Xbian) static IP already. Router firewall is off, LAN computer (Xbian) firewall is empty and ACCEPT policy. Does Xbian support OBFS4 transport protocol or anything regarding networking is needed to be changed? Quote:netstat -tulnp|grep -i tor |
|||
6th Apr, 2023, 10:56 PM
Post: #8
|
|||
|
|||
RE: How to run Tor bridge on Xbian? Socket creation failed: Address family not supported
I can only repeat myself:
I have no idea at all, but maybe it is just a configuration problem. but that is just a guess Otherwise I don't know what you could configure on system level I think that you would expect much better help in tor forums. |
|||
5th May, 2023, 01:20 PM
Post: #9
|
|||
|
|||
RE: How to run Tor bridge on Xbian? Socket creation failed: Address family not supported
To do so, you can follow these steps: Install Tor =>Configure Tor as a bridge =>Install obfs4proxy =>start Tor =>Register and test your bridge. contexto
|
|||
9th Oct, 2024, 02:03 PM
Post: #10
|
|||
|
|||
RE: How to run Tor bridge on Xbian? Socket creation failed: Address family not supported
Make sure you have configured the Tor Bridge correctly. You will need information such as the IP address of your Xbian device and the port that Tor will listen on. Slither io
|
|||
« Next Oldest | Next Newest »
|