Package: rtl-sdr
Version: 0.5.3-11
Severity: wishlist

Dear Maintainer,

IPv6 can now be considered the default IP protocoll, which should be used by 
all applications.

# rtl_tcp -a ::
Found 1 device(s):
  0:  Realtek, RTL2838UHIDIR, SN: 00000001

Using device 0: Generic RTL2832U OEM
Detached kernel driver
Found Rafael Micro R820T tuner
[R82XX] PLL not locked!
Tuned to 100000000 Hz.
listening...
Use the device argument 'rtl_tcp=:::1234' in OsmoSDR (gr-osmosdr) source
to receive samples in GRC and control rtl_tcp parameters (frequency, gain, ...).

rtl_tcp does seem to correctly listen to the 'any' ipv6 address... but:

# netstat -anp | grep rtl_tcp
tcp        0      0 255.255.255.255:1234    0.0.0.0:*               LISTEN      
4999/rtl_tcp

Nope, it just somehow listens to the IPv4 broadcast address, which also is 
useless.

The same happens if you specify any other IPv6 address:

# rtl_tcp -a 2001:4060:dead:babe:f98e:1e76:385b:faa0
Found 1 device(s):
  0:  Realtek, RTL2838UHIDIR, SN: 00000001

Using device 0: Generic RTL2832U OEM
Detached kernel driver
Found Rafael Micro R820T tuner
[R82XX] PLL not locked!
Tuned to 100000000 Hz.
listening...
Use the device argument 'rtl_tcp=2001:4060:dead:babe:f98e:1e76:385b:faa0:1234' 
in OsmoSDR (gr-osmosdr) source
to receive samples in GRC and control rtl_tcp parameters (frequency, gain, ...).

# netstat -anp | grep rtl_tcp
tcp        0      0 255.255.255.255:1234    0.0.0.0:*               LISTEN      
5143/rtl_tcp

# rtl_tcp -a [2001:4060:dead:babe:f98e:1e76:385b:faa0]
Found 1 device(s):
  0:  Realtek, RTL2838UHIDIR, SN: 00000001

Using device 0: Generic RTL2832U OEM
Detached kernel driver
Found Rafael Micro R820T tuner
[R82XX] PLL not locked!
Tuned to 100000000 Hz.
listening...
Use the device argument 
'rtl_tcp=[2001:4060:dead:babe:f98e:1e76:385b:faa0]:1234' in OsmoSDR 
(gr-osmosdr) source
to receive samples in GRC and control rtl_tcp parameters (frequency, gain, ...).

# netstat -anp | grep rtl_tcp
tcp        0      0 255.255.255.255:1234    0.0.0.0:*               LISTEN      
5174/rtl_tcp

So I suppose IPv6 support somehow is broken in rtl_tcp

-Benoit-

-- System Information:
Distributor ID: Raspbian
Description:    Raspbian GNU/Linux 9.1 (stretch)
Release:        9.1
Codename:       stretch
Architecture: armv7l

Kernel: Linux 4.9.35-v7+ (SMP w/4 CPU cores)
Locale: LANG=de_CH.UTF-8, LC_CTYPE=de_CH.UTF-8 (charmap=UTF-8), 
LANGUAGE=de_CH.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages rtl-sdr depends on:
ii  libc6         2.24-11+deb9u1
ii  librtlsdr0    0.5.3-11
ii  libusb-1.0-0  2:1.0.21-1

rtl-sdr recommends no packages.

rtl-sdr suggests no packages.

-- no debconf information

Reply via email to