Motion - I Pv 6
You are here: Foswiki>Motion Web>IPv6 (31 Aug 2017, AlfinSyuqra)Edit Attach

IPv6 Support

Description of Patch

This patch adds support for IPv6 to Motion.

The 'local' options, which before bound on localhost, now will bind on the appropriate localhost (127.0.0.1 or ::1) depending if IPv6 is available or not. Do note that multiple sockets are not supported, this would require a lot of code changes.

Refences http://en.wikipedia.org/wiki/IPv6

Installation of Patch

Download the patch file. If it is packed as a gz or tar.gz unpack it first. Then copy it to the motion source directory and issue the command (assuming the patch file is called filename_of_patch_file.diff)

patch < filename_of_patch_file.diff

Then re-build Motion and test the patch.

Change History of Patch

  • 1.0 Initial revision

Discussion and Comments

Hi Jeroen,

Thanks for your patch smile

Current stable version of motion is 3.2.9, so i think that could be better do it against svn version, so i'll take some time to do it.

-- AngelCarpintero - 31 Dec 2007


I've commit to svn r344 some parts of your patch fixing some issues , but only to allow IPV4/IPV6 dual stack for webcam stream and http-control.

-- AngelCarpintero - 12 May 2008

I've compiled motion on jaunty and now it only binds to IPv6 and not IPv4 -- How do I get it to bind to IPv4?

-- RomanGaufman - 16 Apr 2009

I presently have to run ifconfig lo inet6 del ::1/128 every time before I start motion to get motion to bind on IPv4 frown, sad smile -- Any better solution?

-- RomanGaufman - 20 May 2009


I can add a new config option to enable or disable IPV6 support.

-- AngelCarpintero - 19 Jul 2009

It's been six years, was this ever accepted? I'm running 3.2.12 and it looks like IPv6 support doesn't work.

-- BradKoehn - 08 Sep 2015

It says ScheduledForVersion 3.3.0... I doubt that release will ever happen though.

-- SebastiaanL - 25 Oct 2015

@AngelCarpintero dear mr.angel , Kinda new here. i have installed motion 3.2.12 on my raspberry , and it's great to work on IPV4 , but actually i want it to work on IPV6 , what step should i do now sir? just download the latest version of motion or just download this patch and then recompile the motion?

and maybe you can give me a link to download the patch , because i am little confuse with the explain above , frown, sad smile

-- AlfinSyuqra - 30 Aug 2017

AngelCarpintero dear sir , how to download the patch sir , please help sir ,

thanks

-- AlfinSyuqra - 31 Aug 2017

included already in svn trunk

Topic revision: r13 - 31 Aug 2017, AlfinSyuqra
Copyright © 1999-2017 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Please do not email Kenneth for support questions (read why). Use the Support Requests page or join the Mailing List.
This website only use harmless session cookies. See Cookie Policy for details. By using this website you accept the use of these cookies.