Bug#780928: rspamd doesn't play well with IPv6

2015-03-23 Thread Mikhail Gusarov
tags 781008 pending
thanks

This issue is fixed in 0.8 branch upstream and will be fixed in Debian
in next upload.


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#780928: rspamd doesn't play well with IPv6

2015-03-21 Thread Craig Small
Package: rspamd
Version: 0.8.3
Severity: normal
Tags: ipv6

Hi,
  There are two bugs related to rspam and IPv6. One which is very
annoying and one which is minor or cosmetic.

OK the first.
rspam has this concept now of secure_ip which is basically a trusted IP.
The problem is that its 127.0.0.1 and if localhost resolves to ::1 first
it doesn't work.

You will either get connection refused or a password error.  It seems
that the socket code is not quite aware of IPv6 and will bind to either
v4 only or v6 only.

The default setup does this:
$ rspamc uptime
Results for command: uptime
HTTP error: 403, Unauthorized

Putting localhost in secure_ip doesn't seem to work, but changing it to
::1 makes the command line and rmilter happy again.


Second (minor) problem:
The rmilter web page for at least history has the IP address column too
short, so the ip address runs into the Action and Score columns. I've
included a small screenshot showing the problem.



-- System Information:
Debian Release: 8.0
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.16.0-4-amd64 (SMP w/6 CPU cores)
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages rspamd depends on:
ii  adduser 3.113+nmu3
ii  libc6   2.19-17
ii  libevent-2.0-5  2.0.21-stable-2
ii  libglib2.0-02.42.1-1
ii  libgmime-2.6-0  2.6.20-1+b1
ii  libhiredis0.10  0.11.0-4
ii  liblua5.2-0 5.2.3-1.1
ii  libsqlite3-03.8.7.4-1
ii  libssl1.0.0 1.0.1k-1

rspamd recommends no packages.

rspamd suggests no packages.

-- Configuration Files:
/etc/rspamd/worker-controller.inc changed [not included]

-- no debconf information