On 13/05/2016 04:41 μμ, Arthur Țițeică wrote:
> Hi,
> 
> With the 1.6.5 upgrade I see that a configuration like this
> 
> listen tcp-imap
>   bind 1.2.3.4:143 <http://1.2.3.4:143>        name imap-v4
> 
> will make haproxy listen on all ipv4 addresses instead.
> 
> # ss -ltnp | column -t| grep 143
> LISTEN  0       50      *:143 *:* users:(("haproxy",pid=13010,fd=19))
> 
> IPv6 works as advertised.
> 
> ​Thanks​
> 

I *can't* reproduce this on 1.6.5


% sudo haproxytool haproxy -F /var/lib/haproxy/stats --release-date
2016/05/10


% sudo haproxytool haproxy -F /var/lib/haproxy/stats --uptime-secs
189253


%sudo haproxytool haproxy -F /var/lib/haproxy/stats --hap-version
1.6.5


% grep bind /etc/haproxy/haproxy.cfg
    bind :8080
    bind 10.252.12.1:80
    bind 10.252.12.1:443 ssl crt /etc/ssl/certs/foo
    bind 10.252.12.2:80
    bind 10.252.12.2:443 ssl crt /etc/ssl/certs/foo
    bind 10.252.12.3:80
    bind 10.252.12.3:443 ssl crt /etc/ssl/certs/foo



% sudo ss -ltnp|egrep '80|443'|column -t
LISTEN  0  2048  10.252.12.3:80     *:*  users:(("haproxy",49818,11))
LISTEN  0  2048  10.252.12.2:80     *:*  users:(("haproxy",49818,9))
LISTEN  0  2048  10.252.12.1:80     *:*  users:(("haproxy",49818,6))
LISTEN  0  2048  *:8080             *:*  users:(("haproxy",49818,5))
LISTEN  0  2048  10.252.12.3:443    *:*  users:(("haproxy",49818,12))
LISTEN  0  2048  10.252.12.2:443    *:*  users:(("haproxy",49818,10))
LISTEN  0  2048  10.252.12.1:443    *:*  users:(("haproxy",49818,8))
LISTEN  0  1024  10.196.180.4:2812  *:*  users:(("monit",8746,6))

Cheers,
Pavlos

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to