Bug#872361: mpg123 misparses IPv6 address + port in http_proxy
Ivan Shmakov
ivan at siamics.net
Sun Sep 3 20:07:43 UTC 2017
>>>>> Thomas Orgis <thomas-forum at orgis.org> writes:
> I prepared fixes for both bug 872362 and 872361 for an upcoming
> mpg123 version 1.25.7. A preliminary release tarball is available
> via
> https://mpg123.org/test/mpg123-1.25.7.tar.bz2
[…]
> Ivan, can you test your two issues with the preliminary release and
> give feedback before I make it official?
The IPv6 http_proxy= handling seems to be the other way around
now; for instance:
$ http_proxy=http://ip6-localhost:9993/ \
LD_LIBRARY_PATH=src/libout123/.libs ./src/mpg123 \
-- http://stream.chipbit.net:8000/autodj.m3u
High Performance MPEG 1.0/2.0/2.5 Audio Player for Layers 1, 2 and 3
version 1.25.7; written and copyright by Michael Hipp and others
free software (LGPL) without any warranty but with best wishes
HTTP request failed: 404 Not Found
main: [src/mpg123.c:686] error: Access to http resource http://stream.chipbit.net:8000/autodj.m3u failed.
$ http_proxy=http://\[::1\]:9993/ \
LD_LIBRARY_PATH=src/libout123/.libs ./src/mpg123 \
-- http://stream.chipbit.net:8000/autodj.m3u
High Performance MPEG 1.0/2.0/2.5 Audio Player for Layers 1, 2 and 3
version 1.25.7; written and copyright by Michael Hipp and others
free software (LGPL) without any warranty but with best wishes
Directory: http://stream.chipbit.net:8000/
Terminal control enabled, press 'h' for listing of keys and functions.
Playing MPEG stream 1 of 1: autodj.m3u ...
ICY-NAME: ChipBit
ICY-URL: http://chipbit.net
MPEG 1.0 L III cbr128 44100 j-s
ICY-META: StreamTitle='General Offensive, Mrsonic699 - Insert Cartridge [Prelude]';
...
(Note that there's also an HTTP server on TCP port 80, which is
not configured as a proxy.)
--
FSF associate member #7257 58F8 0F47 53F5 2EB2 F6A5 8916 3013 B6A0 230E 334A
More information about the pkg-multimedia-maintainers
mailing list