Comments (18)
Got access to a UBNT security gateway, did some very initial testing and the latest version of this branch looks much better.
from nebula.
Got access to a UBNT security gateway, did some very initial testing and the latest version of this branch looks much better.
Can confirm. Builds and seems to run now! Haven't tried actually connecting any clients yet but i'm assuming that should work as well.
from nebula.
This should be working on master now. Thanks for reporting!
from nebula.
endinness
# echo -n I | od -to2 | head -n1 | cut -f2 -d" " | cut -c6
0
Would seem to indicate big endian.
@swampmonster I used to own an EdgeMax, but can't find it. Which device are you using? I'll buy one, as I'd love to see nebula run well on these.
This is on a ubiquiti security gateway, https://www.ui.com/unifi-routing/usg/
from nebula.
@swampmonster any chance you can test that branch? I don't have access to a mips64 box at the moment.
from nebula.
@swampmonster any chance you can test that branch? I don't have access to a mips64 box at the moment.
I think so. I’ll have a go and get back to you.
from nebula.
Cross compiles fine and does run but errors out on the ubiquiti device i'm trying it on.
Looks to be related to something missing in the kernel on the device but i can quite work out what.
INFO[0000] Firewall rule added firewallRule="map[caName: caSha: direction:outgoing endPort:0 groups:[] host:any ip:<nil> proto:0 startPort:0]"
INFO[0000] Firewall rule added firewallRule="map[caName: caSha: direction:incoming endPort:0 groups:[] host:any ip:<nil> proto:1 startPort:0]"
INFO[0000] Firewall rule added firewallRule="map[caName: caSha: direction:incoming endPort:443 groups:[laptop home] host: ip:<nil> proto:6 startPort:443]"
INFO[0000] Firewall started firewallHash=853d3005de969aa0cb1100731e983a740ab4218f89c78189edd389ff5e05ae99
FATA[0000] protocol not available
Turning on debug logging doesn't produce any additional output that could give a hint.
from nebula.
@nbrownus do you think it is related to endinness? A quick glance at the docs seems to indicate ubiquiti gear with mips64 runs as big endian vs little.
from nebula.
@swampmonster I used to own an EdgeMax, but can't find it. Which device are you using? I'll buy one, as I'd love to see nebula run well on these.
from nebula.
Going to see if I can get this working in a VM.
from nebula.
Going to see if I can get this working in a VM.
If I can help out with any testing let me know
from nebula.
@swampmonster can you test this branch again? I got access to a mips64le system and it presented with the same error. Got that bit fixed and nebula is working there, curious if there is more to solve in big endian land.
from nebula.
@swampmonster can you test this branch again? I got access to a mips64le system and it presented with the same error. Got that bit fixed and nebula is working there, curious if there is more to solve in big endian land.
INFO[0000] Firewall rule added firewallRule="map[caName: caSha: direction:outgoing endPort:0 groups:[] host:any ip:<nil> proto:0 startPort:0]"
INFO[0000] Firewall rule added firewallRule="map[caName: caSha: direction:incoming endPort:0 groups:[] host:any ip:<nil> proto:1 startPort:0]"
INFO[0000] Firewall rule added firewallRule="map[caName: caSha: direction:incoming endPort:443 groups:[laptop home] host: ip:<nil> proto:6 startPort:443]"
INFO[0000] Firewall started firewallHash=853d3005de969aa0cb1100731e983a740ab4218f89c78189edd389ff5e05ae99
INFO[0000] Main HostMap created network=192.168.100.1/24 preferredRanges="[]"
INFO[0000] UDP hole punching enabled
FATA[0000] invalid argument
It got a little further now
from nebula.
Just added another few changes, if this doesn't work hopefully Ryans gear shows up soon :)
from nebula.
Just added another few changes, if this doesn't work hopefully Ryans gear shows up soon :)
Errors out in the same place as before sadly (same error message too).
from nebula.
Very helpful, thanks! The error is somewhere in https://github.com/slackhq/nebula/blob/mips64/tun_linux.go#L143
I'll try and read through the code more thoroughly when I get the chance, as well as improve the error messages here.
from nebula.
Just made a quick stab at error message improvement, if you get the chance, another run would be great. Should tell us which part of the activation is failing.
from nebula.
Just made a quick stab at error message improvement, if you get the chance, another run would be great. Should tell us which part of the activation is failing.
FATA[0000] failed to set tun mtu: invalid argument
from nebula.
Related Issues (20)
- Feature Request: Support blocklist fingerprints input by file
- Documentation: How does Nebula work, more detail specification?
- 🐛 BUG: use_relays false ignored HOT 2
- 🐛 BUG: when using nebula as library in custom application - we cannot handle os.Exit produced by library HOT 4
- 🐛 BUG: Nebula crashes and restarts in case of no "via address" in the route at the route table HOT 1
- Feature Request: Utilize golangs pgo to improve performance
- Read ssh public keys from an `authorized_keys` file HOT 2
- Feature reuqest: Use configuration folder HOT 3
- 🐛 BUG: Node(windows 10 laptop not lighthouse) continuously receiving the following information HOT 2
- 🐛 FEATURE REQUEST: Distribute Nebula binaries more securely HOT 1
- 🐛 BUG: nebula1 tunnel is not detected as a network interface in Windows 11 HOT 7
- 🐛 BUG: Client to Client connection doesn't work HOT 4
- 🐛 BUG: Simultaneous reload caused connection failure between two hosts HOT 2
- 🐛 BUG: ContextualError wrapped errors ironically drop error context
- 🐛 ignore not applicable HOT 3
- Feature/Info: NetworkManager plugin for nebula HOT 1
- Using nebula for site-to-site VPN over multiple WLAN links: is it anti-pattern? HOT 1
- Support access using SSH certificates + groups HOT 2
- Help: SG group management for one big cluster. HOT 1
- 🐛 BUG: Cannot reconnect after successfully establishing connection HOT 2
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 nebula.