public inbox for pve-devel@lists.proxmox.com
 help / color / mirror / Atom feed
From: Oguz Bektas <o.bektas@proxmox.com>
To: pve-devel@lists.proxmox.com
Subject: [pve-devel] [PATCH v3 http-server common manager 0/3] fix #2997: pveproxy LISTEN address
Date: Mon, 22 Mar 2021 15:00:42 +0100	[thread overview]
Message-ID: <20210322140045.763332-1-o.bektas@proxmox.com> (raw)


v2->v3:
* listen on wildcard by default (to incorporate thomas' suggestion to make it the same as PBS)


for testing i did the following:


default:
# rm /etc/default/pveproxy
# systemctl restart pveproxy && ss -antlp | grep 8006
LISTEN    0         128                      *:8006                   *:*        users:(("pveproxy worker",pid=2935,fd=6),("pveproxy worker",pid=2934,fd=6),("pveproxy worker",pid=2933,fd=6),("pveproxy",pid=2932,fd=6))


ipv6 localhost:
# rm /etc/default/pveproxy; echo 'LISTEN_IP=::1' > /etc/default/pveproxy
# systemctl restart pveproxy && ss -antlp | grep 8006
LISTEN    0         128                  [::1]:8006                [::]:*        users:(("pveproxy worker",pid=3026,fd=6),("pveproxy worker",pid=3025,fd=6),("pveproxy worker",pid=3024,fd=6),("pveproxy",pid=3023,fd=6))


ipv4 localhost:
# rm /etc/default/pveproxy; echo 'LISTEN_IP=127.0.0.1' > /etc/default/pveproxy
# systemctl restart pveproxy && ss -antlp | grep 8006
LISTEN    0         128              127.0.0.1:8006             0.0.0.0:*        users:(("pveproxy worker",pid=3090,fd=6),("pveproxy worker",pid=3089,fd=6),("pveproxy worker",pid=3088,fd=6),("pveproxy",pid=3087,fd=6))





pve-common:
Oguz Bektas (1):
  daemon: listen also on ipv6

 src/PVE/Daemon.pm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)


pve-manager:
Oguz Bektas (1):
  proxy: allow setting LISTEN_IP for pveproxy and spiceproxy

 PVE/Service/pveproxy.pm   | 4 ++--
 PVE/Service/spiceproxy.pm | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)


pve-http-server:
Oguz Bektas (1):
  utils: add LISTEN_IP option in /etc/default/pveproxy

 PVE/APIServer/Utils.pm | 3 +++
 1 file changed, 3 insertions(+)

-- 
2.20.1




             reply	other threads:[~2021-03-22 14:03 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-03-22 14:00 Oguz Bektas [this message]
2021-03-22 14:00 ` [pve-devel] [PATCH v3 common 1/3] daemon: listen also on ipv6 Oguz Bektas
2021-03-24  8:37   ` Fabian Ebner
2021-03-24 10:38     ` Oguz Bektas
2021-03-24 11:00       ` Fabian Ebner
2021-03-24 12:59         ` [pve-devel] [PATCH pmg-api] pmgproxy: allow setting LISTEN_IP parameter Oguz Bektas
2021-03-24 13:20         ` [pve-devel] [PATCH v4 common 1/3] daemon: listen also on ipv6 Oguz Bektas
2021-04-21 16:16           ` [pve-devel] applied: " Thomas Lamprecht
2021-03-22 14:00 ` [pve-devel] [PATCH v3 manager 2/3] proxy: allow setting LISTEN_IP for pveproxy and spiceproxy Oguz Bektas
2021-03-24  8:37   ` Fabian Ebner
2021-03-24 10:03     ` Oguz Bektas
2021-03-22 14:00 ` [pve-devel] [PATCH v3 http-server 3/3] utils: add LISTEN_IP option in /etc/default/pveproxy Oguz Bektas
2021-03-23 13:30   ` Dylan Whyte
2021-04-21 15:44   ` [pve-devel] applied: " Thomas Lamprecht

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20210322140045.763332-1-o.bektas@proxmox.com \
    --to=o.bektas@proxmox.com \
    --cc=pve-devel@lists.proxmox.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal