New Entity AI



dugout-> ports_generic.dugout



Provide default blocks of ports and bound-contexts

            
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
#!/bin/sh
###############################################################################
## COPYRIGHT (C) 2020-2026 NEW ENTITY OPERATIONS INC. ALL RIGHTS RESERVED
## INSTANCE: ports_generic.dugout
## MODIFIED: 2026/04/20
## OVERVIEW: Define generic or common port blocks for the nodejs/python backend
##  to enforce. This can work with ufw, iptables, and fail2ban via the provided
##  backend APIs
###############################################################################

## Bind protected port blocks here
PROTECTED_BLOCK = "1:2000"

## Bind system port blocks
SYSTEM_PORT_BLOCK = "2001:4999"

## Bind safe port blocks
SAFE_PORTS_BLOCK="5000:54000"

## Bind default outbound ports
OUTBOUND_PORT_BLOCK="54001:60000"

## Bind reserved ports
RESERVED_PORT_BLOCK="60000:"

## Bind allocated port 1->N here (start with PORT_ALLOCATED_*)
## <PORT_ALLOCATED_1>=PORT_HERE