Motion - I Pv 6
You are here: Foswiki>Motion Web>IPv6 (25 Oct 2015, SebastiaanL)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 ( 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

  • 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

included already in svn trunk

Topic attachments
I Attachment Action Size Date Who Comment
ipv6-enable.diffdiff ipv6-enable.diff manage 4 K 19 Jul 2009 - 17:39 AngelCarpintero added config option ipv6_enabled to allow enable / disable IPV6
motion-ipv6.diffdiff motion-ipv6.diff manage 13 K 31 Dec 2007 - 02:49 JeroenMassar Motion IPv6 Patch
Topic revision: r11 - 25 Oct 2015, SebastiaanL
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.