Dumb question How does ONVIF scanning work?

Forum for questions and support relating to the 1.32.x releases only.
Post Reply
User avatar
kingofkya
Posts: 1110
Joined: Mon Mar 26, 2007 6:07 am
Location: Las Vegas, Nevada

Dumb question How does ONVIF scanning work?

Post by kingofkya »

My question is basically how, does it determine what to scan ? does it just subnets that its directly connect to? Or is it some multicast thing.

I ask because I am useing ZM in a docker with a 172.16.1.0/30 that has specific ports forwarded. As its stands now i haven't got onvif cameras scan to work inside docker works with normal install just fine though. Just warranty some direction to chase the issue, or even some good docs on onvif.
Nocifer
Posts: 37
Joined: Mon Oct 01, 2018 4:05 pm

Re: Dumb question How does ONVIF scanning work?

Post by Nocifer »

Here you go:

https://www.onvif.org/specs/stream/ONVI ... c-v210.pdf

Supposedly it's a multicast.

I'll admit that my experience with docker containers is minimal to say the least, but ports should not (key word: SHOULD not) be an issue since the ZM server is the one initiating the connections from within the docker container, and I'd guess it utilizes some kind of port-opening method when ONVIF scanning. On the other hand, if on a normal install everything works properly, then it could indeed be a port problem. For more info the ZM logs would be needed, so we can know where exactly the connection falters.
User avatar
kingofkya
Posts: 1110
Joined: Mon Mar 26, 2007 6:07 am
Location: Las Vegas, Nevada

Re: Dumb question How does ONVIF scanning work?

Post by kingofkya »

From what i was looking at in the code its pretty basic scanning an ip range but i think the issue it only scans directly connected subnets and dosetn't have an ability top specify a subnet to scan. Because scanning a 172.1.10/30 has no point.
User avatar
bkjaya1952
Posts: 282
Joined: Sat Aug 25, 2018 3:24 pm
Location: Sri Lanka

Re: Dumb question How does ONVIF scanning work?

Post by bkjaya1952 »

You will have to create a zoneminder docker container with -p 80:80 --net=host
Please visit the following link for more details
https://hub.docker.com/r/bkjaya1952/doc ... er-mysql8
Post Reply