Earlier quoted context omitted.
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.
But if you only got that IP and a MAC-Address - how do you know which tenant is supposed to adopt the device?
Reverse-engineering the UniFi inform protocol
21–30 of 81 posts
Re: Reverse-engineering the UniFi inform protocol
#22Nice trick. Just a heads up that I had to whitelist your domain as NextDNS blocked it for being newly registered. Given this thread will probably attract other Unifi users... has anyone had success migrating from MongoDB to something like FerretDB? I played around with getting this to work a few weeks ago and found that day-to-day it works without issue, but restoring a backup will error since it relies on some unsup…
What does an admin do about NextDNS blocks?
We get this a lot at my job, where many customers' admins block s3 buckets by default. We give our customers a list of hostnames to allowlist and if they can't figure it out, that's on them.
Re: Reverse-engineering the UniFi inform protocol
#23Re: Reverse-engineering the UniFi inform protocol
#24Earlier quoted context omitted.
Using the network byte ordering (big endian) of UBNT as the magic number in the protocol is a nice touch.
I believe they used MIPS processors in their early gear, so that makes sense.
Re: Reverse-engineering the UniFi inform protocol
#25Re: Reverse-engineering the UniFi inform protocol
#26Re: Reverse-engineering the UniFi inform protocol
#27I don't quite get the reason for sniffing the packets. Wouldn't it be simpler to just run multiple VMs on one host to be multi tenant?
Re: Reverse-engineering the UniFi inform protocol
#28Bit of a thread-jack, but has anyone reverse-engineered the UniFi camera adoption protocol? I was surprised to discover that, unlike the APs, the cameras can't be adopted through the Unifi Software Controller that you can just throw into a Docker container. You're supposed to do that through their NVR appliance (Unifi Protect). I was hoping to just use them with my open-source NVR. They seem to be about the only opti…
Re: Reverse-engineering the UniFi inform protocol
#29Nice trick. Just a heads up that I had to whitelist your domain as NextDNS blocked it for being newly registered. Given this thread will probably attract other Unifi users... has anyone had success migrating from MongoDB to something like FerretDB? I played around with getting this to work a few weeks ago and found that day-to-day it works without issue, but restoring a backup will error since it relies on some unsup…
Re: Reverse-engineering the UniFi inform protocol
#30Bit of a thread-jack, but has anyone reverse-engineered the UniFi camera adoption protocol? I was surprised to discover that, unlike the APs, the cameras can't be adopted through the Unifi Software Controller that you can just throw into a Docker container. You're supposed to do that through their NVR appliance (Unifi Protect). I was hoping to just use them with my open-source NVR. They seem to be about the only opti…
If you want to bypass Unifi Protect, what sort of "adoption" are you thinking of? AFAIK, "adoption" is a Unifi Protect thing. Otherwise it's just a device on your network that you can configure Frigate etc. to connect to and pull streams.
Setting where it sends the video stream.
Configuring video settings, zone detections, etc. I found a video going through them here: https://youtu.be/URam5XSFzuM?si=8WK4Yghh9kidZe6c&t=279> Just about any other camera lets you change this stuff through the camera's built-in web interface and/or ONVIF. Ubiquitis apparently don't.
> Otherwise it's just a device on your network that you can configure Frigate etc. to connect to and pull streams.
No, it connects to you!