baconomatic
|
19 days ago
|
on: Reverse-engineering the UniFi inform protocol
The proxy is part of our platform so the source isn't public, but the concept is straightforward and the blog post covers the core logic. Happy to answer questions about the approach if you're building something similar!
baconomatic
|
19 days ago
|
on: Reverse-engineering the UniFi inform protocol
Yeah IPv6 would solve this because we wouldn't have to go through the proxy at all, since each VM could get their own. Unfortunately IPv6 isn't quite as supported as we'd like.
baconomatic
|
19 days ago
|
on: Reverse-engineering the UniFi inform protocol
Yep, that's exactly right!
baconomatic
|
19 days ago
|
on: Reverse-engineering the UniFi inform protocol
Good call, I should have made that more clear. Article updated!
baconomatic
|
19 days ago
|
on: Reverse-engineering the UniFi inform protocol
You definitely can once the device has a hostname set in set-inform. The MAC proxy is just for initial adoption where a device may only know the IP. Such as when you use DHCP Option 43.
baconomatic
|
19 days ago
|
on: Reverse-engineering the UniFi inform protocol
Thank you! DNS-based adoption works well for this. You point the unifi hostname at the tenant's subdomain and the Host header handles routing from there. We also have a DHCP Option 43 generator for setups where DNS isn't practical.
baconomatic
|
19 days ago
|
on: Reverse-engineering the UniFi inform protocol
It would definitely be simpler, however the routing issue still stands. You would need to have a public IP for every VM, which is getting less practical. The MAC-based proxy makes it so we only need one IP and we can worry about the routing within our platform instead.
baconomatic
|
20 days ago
|
on: Reverse-engineering the UniFi inform protocol
We support two approaches, you can either pre-register MAC-Addresses or you can add source IP's to assist with that mapping. There is more information in our docs about this:
https://tamarack.cloud/docs/migration
baconomatic
|
20 days ago
|
on: Reverse-engineering the UniFi inform protocol
Now that would be interesting! Multi-vendor support is on the radar, but haven't started looking into it much yet.
baconomatic
|
20 days ago
|
on: Reverse-engineering the UniFi inform protocol
Thanks for calling it out!
baconomatic
|
20 days ago
|
on: Reverse-engineering the UniFi inform protocol
Yep, once you set-inform the host header handles the routing. This in particular is most useful for things like DHCP Option 43, where devices only get an IP.
baconomatic
|
20 days ago
|
on: Reverse-engineering the UniFi inform protocol
Sorry about that, I typically use light mode, fixed and deployed!
baconomatic
|
20 days ago
|
on: Reverse-engineering the UniFi inform protocol
You might be onto something there! But yes, good catch, I'll get that updated.
baconomatic
|
5 years ago
|
on: Get started with 2-minute rule
This is similar to how I approach things on my todo list as well. If the task is going to take less than five minutes just do it now and be done with it.
baconomatic
|
5 years ago
|
on: Redditor finds unsecured surveillance cameras seemingly placed by US government
Have an example of this? Would be interesting to see it.
baconomatic
|
6 years ago
|
on: Ask HN: Great fiction books that have had a positive impact on your life?
How does the movie compare?
baconomatic
|
6 years ago
|
on: The human body’s remarkable ability to adapt to the cold
Yes.
baconomatic
|
7 years ago
|
on: Roadmap to becoming a web developer in 2019
S in SOLID should be single responsibility principle.
baconomatic
|
7 years ago
|
on: Tying Allowance to Chores Could Kill Kids’ Motivation to Help Out
Could you expand on this more? Particularly around “seed a fund.”
baconomatic
|
7 years ago
|
on: Ask HN: Help I owe over 100k in taxes after signing up for Stripe Atlas
Have you reached out to Stripe about this?