Bug 43418 - univention firewall exceptions for PortsExclusive
univention firewall exceptions for PortsExclusive
Status: RESOLVED WONTFIX
Product: UCS
Classification: Unclassified
Component: App Center
UCS 4.1
Other Linux
: P5 normal (vote)
: ---
Assigned To: App Center maintainers
App Center maintainers
:
Depends on:
Blocks: 43399
  Show dependency treegraph
 
Reported: 2017-01-25 12:32 CET by Felix Botner
Modified: 2019-01-03 07:19 CET (History)
0 users

See Also:
What kind of report is it?: Feature Request
What type of bug is this?: ---
Who will be affected by this bug?: ---
How will those affected feel about the bug?: ---
User Pain:
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
Bug group (optional):
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Felix Botner univentionstaff 2017-01-25 12:32:44 CET
An App with PortsExclusive = 143 maps the port 143 form the container to the host. Docker itself adds a iptables rule to allow connections from extern to host:143. but NOT from within the container.

@container-> telnet host 143 does not work out of the box.

One has to add a univention firewall exception for 143.

Better the appcenter 

(a)
automatically adds firewall exception for all PortsExclusive, or

(b)
we allow all ports from the docker net (iptables -A INPUT -i docker0 -p tcp -j ACCEPT in /etc/security/packetfilter.d/20_docker.sh)


Workaround:

Add firewall exceptions in App Center join script.
Comment 1 Stefan Gohmann univentionstaff 2019-01-03 07:19:36 CET
This issue has been filled against UCS 4.1. The maintenance with bug and security fixes for UCS 4.1 has ended on 5st of April 2018.

Customers still on UCS 4.1 are encouraged to update to UCS 4.3. Please contact
your partner or Univention for any questions.

If this issue still occurs in newer UCS versions, please use "Clone this bug" or simply reopen the issue. In this case please provide detailed information on how this issue is affecting you.