Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add more potential exitnode ips to home nodes #17

Closed
jhpoelen opened this issue Feb 14, 2018 · 13 comments
Closed

add more potential exitnode ips to home nodes #17

jhpoelen opened this issue Feb 14, 2018 · 13 comments

Comments

@jhpoelen
Copy link
Contributor

Currently, home nodes are configured with a single exit node ip / port.

We'd like to include a list of ip addresses, so that we can run (or spin up) exitnodes behind IPs that we control.

@jhpoelen
Copy link
Contributor Author

room.sudoroom.org: 142.254.26.9
sudoroom.org: 104.236.181.202
omnicommons.org: 104.131.158.147
peoplesopen.net: 107.170.219.5
exit1.sudomesh.org: 104.236.181.226

@jhpoelen
Copy link
Contributor Author

Here's an example config from /etc/config/tunneldigger

config broker 'main'
       list address '104.236.181.226:8942'
       list address '104.236.181.226:8943'
       list address '45.34.140.42:8942'
       list address '45.34.140.42:8943'
       list address '142.254.26.9:8942'
       list address '104.236.181.202:8942'
       list address '104.131.158.147:8942'
       list address '107.170.219.5:8942'
       option uuid 'XXXXXX'
       option interface 'l2tp0'
       option bind_to_interface 'eth1'
       option limit_bw_down '2048kbit'
       option limit_bw_up '2048kbit'
       option hook_script '/opt/mesh/tunnel_hook'

@paidforby
Copy link

Can be addressed in makenode. The exit node IP is currently buried in configs/config.js. I'd rather hardcode these new exit nodes into /etc/config/tunneldigger because it seems more obvious to me and it will help in preparing for the deprecation of makenode, sudomesh/makenode#19. Additionally, I'd like see options of exit nodes chosen through peoplesopen-dash, not obscured inside of a js file.

paidforby pushed a commit to sudomesh/makenode that referenced this issue Feb 21, 2018
@jhpoelen
Copy link
Contributor Author

Sounds good to me. Ideally, we'd have a way to mesh the registry itself, allowing for exit nodes to join and leave a list of trusted exit nodes for a particular project like peoplesopen.net or somethingotheropen.net .

@paidforby
Copy link

remote patch for this bug is now available for TESTING, this should NOT be executed on the "real" exitnode until further testing has be completed. Find the patch and instructions for execution in the makenode repo here, https://github.com/sudomesh/makenode/tree/master/patches

paidforby pushed a commit to sudomesh/makenode that referenced this issue Feb 26, 2018
@gobengo
Copy link

gobengo commented Feb 28, 2018

If we need more exit nodes, here is a script to make more exitnodes: https://gitlab.ops.bengo.is/ben/mesh-network#digitalocean-exitnode

This week I'll test my exitnodes I made, and if they work I'll post an IP that we can add to the firmware if needed.

@jhpoelen
Copy link
Contributor Author

@gobengo just noticed your exit node creation scripts - where you still thinking of merging that into the other exitnode creation script at https://github.com/sudomesh/exitnode ? I think it would be nice to have a single one to make it easier to test / improve. Curious to hear your thoughts on this.

@gobengo
Copy link

gobengo commented Mar 11, 2018 via email

@jhpoelen
Copy link
Contributor Author

Ok, I remember that pull request now. I was hoping to get a more incremental set of improvements, but if you are confident that things'll work, then I'd be happy to pull the changes in.

@gobengo
Copy link

gobengo commented Mar 11, 2018 via email

@jhpoelen
Copy link
Contributor Author

@gobengo ok, wishing you safe travels, and please let me know if you are all tested and confident. . .

@gobengo
Copy link

gobengo commented Mar 12, 2018

@jhpoelen Just looking at this now. I was wrong about PR 8 being my latest.
I forgot I got fed up (at the time) with the notion of building consensus between what works for me and what works for however this repo is governed.

I took what I had in my fork of this repo and made it better at https://github.com/gobengo/mesh-network (github mirror)

For now I closed #8 and made #11, which will at least add the ./build/remote <user@host> command, as I think that's the smallest possible improvement here.

Once that's in, we can make moves toward pulling the entirety of digitalocean-exitnode et al (or someone can go port that over sooner. Gotta board plane now)

@jhpoelen
Copy link
Contributor Author

jhpoelen commented May 2, 2018

List of exit nodes have been included in recent makenode and most home nodes have been patched. Closing issue.

@jhpoelen jhpoelen closed this as completed May 2, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants