Bug 51108

Summary: Support UDP port definition for Apps
Product: UCS Reporter: Nico Gulden <gulden>
Component: App CenterAssignee: App Center maintainers <appcenter-maintainers>
Status: NEW --- QA Contact: App Center maintainers <appcenter-maintainers>
Severity: normal    
Priority: P5    
Version: UCS 4.4   
Target Milestone: ---   
Hardware: Other   
OS: Linux   
See Also: https://forge.univention.org/bugzilla/show_bug.cgi?id=51069
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?: Yes
Waiting Support: Flags outvoted (downgraded) after PO Review:
Ticket number: Bug group (optional):
Max CVSS v3 score:

Description Nico Gulden univentionstaff 2020-04-15 11:23:08 CEST
According to https://docs.software-univention.de/app-provider.html#create-app-with-docker:ports an app developer can define ports that are occupied by the app and the App Center takes care of "locking" those ports and setting the appropriate firewall rules. When another app tries to use the defined ports, the App Center will warn the administrator.

Those ports are currently tcp ports only. 

With this issue, the support for UDP ports is added to the App Center, so that an  app developer can define it accordingly. The default port type is TCP. 

The following changes will be needed for this:

1. The App Center on the UCS system needs to handle the definition of TCP and UDP ports based on the settings in the app's .ini file. The setup for the firewall rules and the check for ports from other apps needs to handle UDP accordingly.

2. The App Provider portal needs to allow the app developer to define the port as UDP port.

3. The above mentioned section in the app provider documentation needs to be updated accordingly.