[Bug 702002] New: setting address pool with only ipv4 addresses doesn't work

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Tue Jun 11 04:25:59 PDT 2013


https://bugzilla.gnome.org/show_bug.cgi?id=702002
  GStreamer | gst-rtsp-server | 1.x

           Summary: setting address pool with only ipv4 addresses doesn't
                    work
    Classification: Platform
           Product: GStreamer
           Version: 1.x
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: gst-rtsp-server
        AssignedTo: gstreamer-bugs at lists.freedesktop.org
        ReportedBy: alexas at axis.com
         QAContact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---


Since I patched the ipv4/6 support in rtsp-stream.c there is a new problem:

setting an address pool causes the allocate_ports behaviour to change, it will
choose ports from that pool and try to bind to these. If we don't have ipv4 AND
ipv6 addresses in the pool this will fail. So question is what the desired
behavior is:

* Is it allowed to not define an ipv6 address? The answer must be yes, but in
that case we need to handle ipv6 alloc_ports to fail in a controlled manner
without compromising the rest of the functionality
* Is it allowed to not define an ipv4 address? Probably yes
* If ipv4 OR ipv6 fails to allocate ports but not both (even though both having
addresses in the pool), is this a failure? 
* If there is no ipv6 address defined, perhaps we should allocate a port with
the algorithm used when we haven't set a pool at all?

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list