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.
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
Thanks for your patch
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.
- 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.
- 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?
- 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
-- Any better solution?
- 20 May 2009
I can add a new config option to enable or disable IPV6 support.
- 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.
- 08 Sep 2015
It says ScheduledForVersion
3.3.0... I doubt that release will ever happen though.
- 25 Oct 2015
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 ,
- 30 Aug 2017
dear sir ,
how to download the patch sir ,
please help sir ,
- 31 Aug 2017
included already in svn trunk