motion detection video surveillance

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
8 messages Options
Reply | Threaded
Open this post in threaded view
|

motion detection video surveillance

Predrag Punosevac-2
Hi Misc,

Is anybody willing to share her/his experience in building motion
detection video surveillance system using OpenBSD?

I see at least one interesting port

http://openports.se/multimedia/motion

but I am really curious about the type of video hardware people are
using.

Thank you all.
Predrag

Reply | Threaded
Open this post in threaded view
|

Re: motion detection video surveillance

Mihai Popescu-3
> I am really curious about the type of video hardware people are using.

Long time ago, in a far far away company ... I used some boards based
on Conexant BT878 chipset. The driver for this is bktr(4).
As an application, I compiled something called camserv if I remember
corectly, since it was not available as a port for OpenBSD. It is an
app who can extract jpeg images for you and allows http web connection
to it.

I was extracting those images using some php framework and did some
animation in another web page.

Reply | Threaded
Open this post in threaded view
|

Suppessing logging of arp movement messages

OpenBSD-14
hello all,

I have finally build an internet gateway with OpenBSD 6.2 (AMD64), including pf and IPSec. Great stuff.
Now I am seeing a lot of arp movement, that I know are caused by Apple's Bonjour Sleep Proxy.

Nov  8 00:00:27 gatekeeper /bsd: arp info overwritten for 192.168.20.99 by 00:46:ab:ba:19:87 on vmx0
Nov  8 00:00:58 gatekeeper /bsd: arp info overwritten for 192.168.20.99 by 9c:ab:3b:ca:fe:99 on vmx0
Nov  8 00:01:57 gatekeeper /bsd: arp info overwritten for 192.168.20.99 by 00:46:ab:ba:19:87 on vmx0
Nov  8 00:02:04 gatekeeper /bsd: arp info overwritten for 192.168.20.99 by 9c:ab:3b:ca:fe:99 on vmx0
Nov  8 00:02:35 gatekeeper /bsd: arp info overwritten for 192.168.20.99 by 00:46:ab:ba:19:87 on vmx0
Nov  8 00:03:28 gatekeeper /bsd: arp info overwritten for 192.168.20.99 by 9c:ab:3b:ca:fe:99 on vmx0
Nov  8 00:03:42 gatekeeper /bsd: arp info overwritten for 192.168.20.99 by 00:46:ab:ba:19:87 on vmx0
Nov  8 00:04:27 gatekeeper /bsd: arp info overwritten for 192.168.20.99 by 9c:ab:3b:ca:fe:99 on vmx0

These messages are repeating every 15-30 seconds for Apple devices like laptops that are in standby (sleep mode).

On pfSense and FreeBSD you have a sysctl: net.link.ether.inet.log_arp_movements
when set to zero it will no longer log the messages.

Discussions can be found on internet dating back to 2010, but no solution has been provided for what I could find.
I have not yet found any sysctl in OpenBSD to do the same. Did I miss something or does OpenBSD have any trick to not log these messages.
Currently these messages are filling up the logs /var/run/dmesg.boot and /var/log/messages.

Marco PC
Reply | Threaded
Open this post in threaded view
|

Re: Suppessing logging of arp movement messages

torsten

> -----Original Message-----
> From: [hidden email] [mailto:[hidden email]] On Behalf
> Of OpenBSD
> Sent: 08 November 2017 15:44
> To: [hidden email]
> Subject: Suppessing logging of arp movement messages
>
> hello all,
>
> I have finally build an internet gateway with OpenBSD 6.2 (AMD64),
> including pf and IPSec. Great stuff.
> Now I am seeing a lot of arp movement, that I know are caused by
> Apple's Bonjour Sleep Proxy.
>
> Nov  8 00:00:27 gatekeeper /bsd: arp info overwritten for 192.168.20.99
> by 00:46:ab:ba:19:87 on vmx0 Nov  8 00:00:58 gatekeeper /bsd: arp info
> overwritten for 192.168.20.99 by 9c:ab:3b:ca:fe:99 on vmx0 Nov  8
> 00:01:57 gatekeeper /bsd: arp info overwritten for 192.168.20.99 by
> 00:46:ab:ba:19:87 on vmx0 Nov  8 00:02:04 gatekeeper /bsd: arp info
> overwritten for 192.168.20.99 by 9c:ab:3b:ca:fe:99 on vmx0 Nov  8
> 00:02:35 gatekeeper /bsd: arp info overwritten for 192.168.20.99 by
> 00:46:ab:ba:19:87 on vmx0 Nov  8 00:03:28 gatekeeper /bsd: arp info
> overwritten for 192.168.20.99 by 9c:ab:3b:ca:fe:99 on vmx0 Nov  8
> 00:03:42 gatekeeper /bsd: arp info overwritten for 192.168.20.99 by
> 00:46:ab:ba:19:87 on vmx0 Nov  8 00:04:27 gatekeeper /bsd: arp info
> overwritten for 192.168.20.99 by 9c:ab:3b:ca:fe:99 on vmx0
>
> These messages are repeating every 15-30 seconds for Apple devices like
> laptops that are in standby (sleep mode).
>
> On pfSense and FreeBSD you have a sysctl:
> net.link.ether.inet.log_arp_movements
> when set to zero it will no longer log the messages.
>
> Discussions can be found on internet dating back to 2010, but no
> solution has been provided for what I could find.
> I have not yet found any sysctl in OpenBSD to do the same. Did I miss
> something or does OpenBSD have any trick to not log these messages.
> Currently these messages are filling up the logs /var/run/dmesg.boot
> and /var/log/messages.
>
> Marco PC

Mi Marco
In freebsd is is usually done with
sysctl net.link.ether.inet.log_arp_movements=0

and I guess this applies to openbsd too.
T

Reply | Threaded
Open this post in threaded view
|

Re: Suppessing logging of arp movement messages

OpenBSD-14
Torsten,

Thanks for responding to my question.
I know about this specific sysctl on FreeBSD. Used this one on pfSense as well. The issue is that this one, or functional similar seems not available on OpenBSD.

MarcoPC

> Op 8 nov. 2017, om 16:44 heeft torsten <[hidden email]> het volgende geschreven:
>
>>
>> On pfSense and FreeBSD you have a sysctl:
>> net.link.ether.inet.log_arp_movements
>> when set to zero it will no longer log the messages.
>> …..
>> Marco PC
>
> Mi Marco
> In freebsd is is usually done with
> sysctl net.link.ether.inet.log_arp_movements=0
>
> and I guess this applies to openbsd too.
> T
>

Reply | Threaded
Open this post in threaded view
|

Re: Suppessing logging of arp movement messages

OpenBSD-14
In reply to this post by torsten
Torsten,

Thanks for responding to my question.
I know about this specific sysctl on FreeBSD. Used this one on pfSense as well. The issue is that this one, or functional similar seems not available on OpenBSD.

Maybe someone else has run into this before and found a way?

Marco PC

> Op 8 nov. 2017, om 16:44 heeft torsten <[hidden email]> het volgende geschreven:
>
>
>> -----Original Message-----
>> From: [hidden email] [mailto:[hidden email]] On Behalf
>> Of OpenBSD
>> Sent: 08 November 2017 15:44
>> To: [hidden email]
>> Subject: Suppessing logging of arp movement messages
>>
>> hello all,
>>
>> I have finally build an internet gateway with OpenBSD 6.2 (AMD64),
>> including pf and IPSec. Great stuff.
>> Now I am seeing a lot of arp movement, that I know are caused by
>> Apple's Bonjour Sleep Proxy.
>>
>> Nov  8 00:00:27 gatekeeper /bsd: arp info overwritten for 192.168.20.99
>> by 00:46:ab:ba:19:87 on vmx0 Nov  8 00:00:58 gatekeeper /bsd: arp info
>> overwritten for 192.168.20.99 by 9c:ab:3b:ca:fe:99 on vmx0 Nov  8
>> 00:01:57 gatekeeper /bsd: arp info overwritten for 192.168.20.99 by
>> 00:46:ab:ba:19:87 on vmx0 Nov  8 00:02:04 gatekeeper /bsd: arp info
>> overwritten for 192.168.20.99 by 9c:ab:3b:ca:fe:99 on vmx0 Nov  8
>> 00:02:35 gatekeeper /bsd: arp info overwritten for 192.168.20.99 by
>> 00:46:ab:ba:19:87 on vmx0 Nov  8 00:03:28 gatekeeper /bsd: arp info
>> overwritten for 192.168.20.99 by 9c:ab:3b:ca:fe:99 on vmx0 Nov  8
>> 00:03:42 gatekeeper /bsd: arp info overwritten for 192.168.20.99 by
>> 00:46:ab:ba:19:87 on vmx0 Nov  8 00:04:27 gatekeeper /bsd: arp info
>> overwritten for 192.168.20.99 by 9c:ab:3b:ca:fe:99 on vmx0
>>
>> These messages are repeating every 15-30 seconds for Apple devices like
>> laptops that are in standby (sleep mode).
>>
>> On pfSense and FreeBSD you have a sysctl:
>> net.link.ether.inet.log_arp_movements
>> when set to zero it will no longer log the messages.
>>
>> Discussions can be found on internet dating back to 2010, but no
>> solution has been provided for what I could find.
>> I have not yet found any sysctl in OpenBSD to do the same. Did I miss
>> something or does OpenBSD have any trick to not log these messages.
>> Currently these messages are filling up the logs /var/run/dmesg.boot
>> and /var/log/messages.
>>
>> Marco PC
>
> Mi Marco
> In freebsd is is usually done with
> sysctl net.link.ether.inet.log_arp_movements=0
>
> and I guess this applies to openbsd too.
> T
>

Reply | Threaded
Open this post in threaded view
|

Re: Suppessing logging of arp movement messages

Daniel Gracia-2
AFAIK there is no way to turn off those messages in the default kernel. You
could try to write a patch if you care: take a look at
src/sys/netinet/if_ether.c, line #625.

Regards!


2017-11-09 9:14 GMT+01:00 OpenBSD <[hidden email]>:

> Torsten,
>
> Thanks for responding to my question.
> I know about this specific sysctl on FreeBSD. Used this one on pfSense as
> well. The issue is that this one, or functional similar seems not available
> on OpenBSD.
>
> Maybe someone else has run into this before and found a way?
>
> Marco PC
>
> > Op 8 nov. 2017, om 16:44 heeft torsten <[hidden email]> het
> volgende geschreven:
> >
> >
> >> -----Original Message-----
> >> From: [hidden email] [mailto:[hidden email]] On Behalf
> >> Of OpenBSD
> >> Sent: 08 November 2017 15:44
> >> To: [hidden email]
> >> Subject: Suppessing logging of arp movement messages
> >>
> >> hello all,
> >>
> >> I have finally build an internet gateway with OpenBSD 6.2 (AMD64),
> >> including pf and IPSec. Great stuff.
> >> Now I am seeing a lot of arp movement, that I know are caused by
> >> Apple's Bonjour Sleep Proxy.
> >>
> >> Nov  8 00:00:27 gatekeeper /bsd: arp info overwritten for 192.168.20.99
> >> by 00:46:ab:ba:19:87 on vmx0 Nov  8 00:00:58 gatekeeper /bsd: arp info
> >> overwritten for 192.168.20.99 by 9c:ab:3b:ca:fe:99 on vmx0 Nov  8
> >> 00:01:57 gatekeeper /bsd: arp info overwritten for 192.168.20.99 by
> >> 00:46:ab:ba:19:87 on vmx0 Nov  8 00:02:04 gatekeeper /bsd: arp info
> >> overwritten for 192.168.20.99 by 9c:ab:3b:ca:fe:99 on vmx0 Nov  8
> >> 00:02:35 gatekeeper /bsd: arp info overwritten for 192.168.20.99 by
> >> 00:46:ab:ba:19:87 on vmx0 Nov  8 00:03:28 gatekeeper /bsd: arp info
> >> overwritten for 192.168.20.99 by 9c:ab:3b:ca:fe:99 on vmx0 Nov  8
> >> 00:03:42 gatekeeper /bsd: arp info overwritten for 192.168.20.99 by
> >> 00:46:ab:ba:19:87 on vmx0 Nov  8 00:04:27 gatekeeper /bsd: arp info
> >> overwritten for 192.168.20.99 by 9c:ab:3b:ca:fe:99 on vmx0
> >>
> >> These messages are repeating every 15-30 seconds for Apple devices like
> >> laptops that are in standby (sleep mode).
> >>
> >> On pfSense and FreeBSD you have a sysctl:
> >> net.link.ether.inet.log_arp_movements
> >> when set to zero it will no longer log the messages.
> >>
> >> Discussions can be found on internet dating back to 2010, but no
> >> solution has been provided for what I could find.
> >> I have not yet found any sysctl in OpenBSD to do the same. Did I miss
> >> something or does OpenBSD have any trick to not log these messages.
> >> Currently these messages are filling up the logs /var/run/dmesg.boot
> >> and /var/log/messages.
> >>
> >> Marco PC
> >
> > Mi Marco
> > In freebsd is is usually done with
> > sysctl net.link.ether.inet.log_arp_movements=0
> >
> > and I guess this applies to openbsd too.
> > T
> >
>
>
Reply | Threaded
Open this post in threaded view
|

Re: Suppessing logging of arp movement messages

OpenBSD-14
Thanks Daniel,

Great direction on where to look at in the code. Even without programming experience I will be able to remove the logging part.
No idea yet on how I can make this configurable via sysctl.conf, but that’s for later.

Marco PC


> Op 9 nov. 2017, om 10:07 heeft Daniel Gracia <[hidden email]> het volgende geschreven:
>
> AFAIK there is no way to turn off those messages in the default kernel. You
> could try to write a patch if you care: take a look at
> src/sys/netinet/if_ether.c, line #625.
>
> Regards!
>
>
> 2017-11-09 9:14 GMT+01:00 OpenBSD <[hidden email]>:
>
>> Torsten,
>>
>> Thanks for responding to my question.
>> I know about this specific sysctl on FreeBSD. Used this one on pfSense as
>> well. The issue is that this one, or functional similar seems not available
>> on OpenBSD.
>>
>> Maybe someone else has run into this before and found a way?
>>
>> Marco PC
>>
>>> Op 8 nov. 2017, om 16:44 heeft torsten <[hidden email]> het
>> volgende geschreven:
>>>
>>>
>>>> -----Original Message-----
>>>> From: [hidden email] [mailto:[hidden email]] On Behalf
>>>> Of OpenBSD
>>>> Sent: 08 November 2017 15:44
>>>> To: [hidden email]
>>>> Subject: Suppessing logging of arp movement messages
>>>>
>>>> hello all,
>>>>
>>>> I have finally build an internet gateway with OpenBSD 6.2 (AMD64),
>>>> including pf and IPSec. Great stuff.
>>>> Now I am seeing a lot of arp movement, that I know are caused by
>>>> Apple's Bonjour Sleep Proxy.
>>>>
>>>> Nov  8 00:00:27 gatekeeper /bsd: arp info overwritten for 192.168.20.99
>>>> by 00:46:ab:ba:19:87 on vmx0 Nov  8 00:00:58 gatekeeper /bsd: arp info
>>>> overwritten for 192.168.20.99 by 9c:ab:3b:ca:fe:99 on vmx0 Nov  8
>>>> 00:01:57 gatekeeper /bsd: arp info overwritten for 192.168.20.99 by
>>>> 00:46:ab:ba:19:87 on vmx0 Nov  8 00:02:04 gatekeeper /bsd: arp info
>>>> overwritten for 192.168.20.99 by 9c:ab:3b:ca:fe:99 on vmx0 Nov  8
>>>> 00:02:35 gatekeeper /bsd: arp info overwritten for 192.168.20.99 by
>>>> 00:46:ab:ba:19:87 on vmx0 Nov  8 00:03:28 gatekeeper /bsd: arp info
>>>> overwritten for 192.168.20.99 by 9c:ab:3b:ca:fe:99 on vmx0 Nov  8
>>>> 00:03:42 gatekeeper /bsd: arp info overwritten for 192.168.20.99 by
>>>> 00:46:ab:ba:19:87 on vmx0 Nov  8 00:04:27 gatekeeper /bsd: arp info
>>>> overwritten for 192.168.20.99 by 9c:ab:3b:ca:fe:99 on vmx0
>>>>
>>>> These messages are repeating every 15-30 seconds for Apple devices like
>>>> laptops that are in standby (sleep mode).
>>>>
>>>> On pfSense and FreeBSD you have a sysctl:
>>>> net.link.ether.inet.log_arp_movements
>>>> when set to zero it will no longer log the messages.
>>>>
>>>> Discussions can be found on internet dating back to 2010, but no
>>>> solution has been provided for what I could find.
>>>> I have not yet found any sysctl in OpenBSD to do the same. Did I miss
>>>> something or does OpenBSD have any trick to not log these messages.
>>>> Currently these messages are filling up the logs /var/run/dmesg.boot
>>>> and /var/log/messages.
>>>>
>>>> Marco PC
>>>
>>> Mi Marco
>>> In freebsd is is usually done with
>>> sysctl net.link.ether.inet.log_arp_movements=0
>>>
>>> and I guess this applies to openbsd too.
>>> T
>>>
>>
>>