You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by "maxadamo (via GitHub)" <gi...@apache.org> on 2026/10/06 16:43:57 UTC

[I] I want to use iptables but cloudstack-agents installs ufw [cloudstack]

maxadamo opened a new issue, #14322:
URL: https://github.com/apache/cloudstack/issues/14322

   ### problem
   
   I want to use iptables but cloudstack-agents tries to install ufw and ufs replaces iptables. 
   Would it be possible to drop this dependency and let us use the firewall that we like?
   
   ### versions
   
   cloudstack-agent 4.23
   
   ### The steps to reproduce the bug
   
   1.
   2.
   3.
   ...
   
   
   ### What to do about it?
   
   _No response_


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] I want to use iptables but cloudstack-agent installs ufw [cloudstack]

Posted by "nvazquez (via GitHub)" <gi...@apache.org>.
nvazquez commented on issue #14322:
URL: https://github.com/apache/cloudstack/issues/14322#issuecomment-6058212126

   Hi @maxadamo - what OS type and distribution are you using? Also, what packages repository are you using for the CloudStack pacakges?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] I want to use iptables but cloudstack-agent installs ufw [cloudstack]

Posted by "weizhouapache (via GitHub)" <gi...@apache.org>.
weizhouapache commented on issue #14322:
URL: https://github.com/apache/cloudstack/issues/14322#issuecomment-6151761997

   @maxadamo 
   ufw is indeed a dependency of cloudstack-agent package, so does iptables
   
   on my kvm host, both are installed without any problem
   ```
   kvm1:~# dpkg -l |grep -E "iptables|ufw"
   ii  iptables                             1.8.10-3ubuntu2                            amd64        administration tools for packet filtering and NAT
   ii  ufw                                  0.36.2-6                                   all          program for managing a Netfilter firewall
   ```
   
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] I want to use iptables but cloudstack-agent installs ufw [cloudstack]

Posted by "maxadamo (via GitHub)" <gi...@apache.org>.
maxadamo commented on issue #14322:
URL: https://github.com/apache/cloudstack/issues/14322#issuecomment-6241736767

   @weizhouapache I must correct what I said previously. It does not try to remove `iptables`, but it tries to remove `iptables-persistent` and `netfilter-persistent`, which are commonly used by configuration management tools. For example, puppet uses `netfilter-persistent` instead of ufw.  
   Here's where we stand now: 
   1. I rebuilt the Deb package with `ufw` excluded, so that I could use puppet. 
   2. Whether cloudstack-agent actually needs `ufw` remains unclear. 
   3. I asked Claude about Ansible, and it seems like `netfilter-persistent` is optional. 
   
   and here there is an example:
   
   ```sh
   # apt install ufw --download
   Reading package lists... Done
   Building dependency tree... Done
   Reading state information... Done
   The following packages will be REMOVED:
     iptables-persistent netfilter-persistent
   The following NEW packages will be installed:
     ufw
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] I want to use iptables but cloudstack-agent installs ufw [cloudstack]

Posted by "maxadamo (via GitHub)" <gi...@apache.org>.
maxadamo commented on issue #14322:
URL: https://github.com/apache/cloudstack/issues/14322#issuecomment-6151621778

   @nvazquez the OS is: `Ubuntu 24.04`
   and this is the repository configuration:
   ```
   deb [arch=amd64 signed-by=/etc/apt/keyrings/cloudstack.gpg] https://download.cloudstack.org/ubuntu noble 4.23
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org