Loading src/l3_attackmitigator/requirements.in +0 −2 Original line number Original line Diff line number Diff line Loading @@ -11,5 +11,3 @@ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # See the License for the specific language governing permissions and # limitations under the License. # limitations under the License. # no extra dependency src/l3_distributedattackdetector/README.md +3 −2 Original line number Original line Diff line number Diff line # l3_distributedattackdetector # L3 Distributed Attack Detector - Receives packages and processes them with TSTAT to generate traffic snapshot statistics Receives packages and processes them with TSTAT to generate traffic snapshot statistics. src/l3_distributedattackdetector/requirements.in +2 −6 Original line number Original line Diff line number Diff line Loading @@ -12,9 +12,5 @@ # See the License for the specific language governing permissions and # See the License for the specific language governing permissions and # limitations under the License. # limitations under the License. grpcio-health-checking>=1.47.* numpy==1.23.* grpcio>=1.47.* asyncio==3.4.3 grpcio-tools>=1.47.* protobuf>=3.20.* numpy asyncio No newline at end of file src/tests/scenario3/l3/deploy_specs.sh +27 −5 Original line number Original line Diff line number Diff line Loading @@ -20,7 +20,23 @@ export TFS_REGISTRY_IMAGES="http://localhost:32000/tfs/" export TFS_REGISTRY_IMAGES="http://localhost:32000/tfs/" # Set the list of components, separated by spaces, you want to build images for, and deploy. # Set the list of components, separated by spaces, you want to build images for, and deploy. export TFS_COMPONENTS="context device pathcomp service slice compute webui monitoring automation l3_attackmitigator l3_centralizedattackdetector" #export TFS_COMPONENTS="context device pathcomp service slice compute webui load_generator" export TFS_COMPONENTS="context device pathcomp service slice webui" # Uncomment to activate Monitoring export TFS_COMPONENTS="${TFS_COMPONENTS} monitoring" # Uncomment to activate Automation and Policy Manager #export TFS_COMPONENTS="${TFS_COMPONENTS} automation policy" # Uncomment to activate Optical CyberSecurity #export TFS_COMPONENTS="${TFS_COMPONENTS} dbscanserving opticalattackmitigator opticalattackdetector opticalattackmanager" # Uncomment to activate L3 CyberSecurity export TFS_COMPONENTS="${TFS_COMPONENTS} l3_attackmitigator l3_centralizedattackdetector" # Uncomment to activate TE #export TFS_COMPONENTS="${TFS_COMPONENTS} te" # Set the tag you want to use for your images. # Set the tag you want to use for your images. export TFS_IMAGE_TAG="dev" export TFS_IMAGE_TAG="dev" Loading @@ -29,7 +45,13 @@ export TFS_IMAGE_TAG="dev" export TFS_K8S_NAMESPACE="tfs" export TFS_K8S_NAMESPACE="tfs" # Set additional manifest files to be applied after the deployment # Set additional manifest files to be applied after the deployment export TFS_EXTRA_MANIFESTS="manifests/nginx_ingress_http.yaml manifests/servicemonitors.yaml" export TFS_EXTRA_MANIFESTS="manifests/nginx_ingress_http.yaml" # Uncomment to monitor performance of components export TFS_EXTRA_MANIFESTS="${TFS_EXTRA_MANIFESTS} manifests/servicemonitors.yaml" # Uncomment when deploying Optical CyberSecurity #export TFS_EXTRA_MANIFESTS="${TFS_EXTRA_MANIFESTS} manifests/cachingservice.yaml" # Set the new Grafana admin password # Set the new Grafana admin password export TFS_GRAFANA_PASSWORD="admin123+" export TFS_GRAFANA_PASSWORD="admin123+" Loading Loading @@ -66,7 +88,7 @@ export CRDB_DEPLOY_MODE="single" export CRDB_DROP_DATABASE_IF_EXISTS="YES" export CRDB_DROP_DATABASE_IF_EXISTS="YES" # Disable flag for re-deploying CockroachDB from scratch. # Disable flag for re-deploying CockroachDB from scratch. export CRDB_REDEPLOY="YES" export CRDB_REDEPLOY="" # ----- NATS ------------------------------------------------------------------- # ----- NATS ------------------------------------------------------------------- Loading @@ -81,7 +103,7 @@ export NATS_EXT_PORT_CLIENT="4222" export NATS_EXT_PORT_HTTP="8222" export NATS_EXT_PORT_HTTP="8222" # Disable flag for re-deploying NATS from scratch. # Disable flag for re-deploying NATS from scratch. export NATS_REDEPLOY="YES" export NATS_REDEPLOY="" # ----- QuestDB ---------------------------------------------------------------- # ----- QuestDB ---------------------------------------------------------------- Loading Loading @@ -114,7 +136,7 @@ export QDB_TABLE_SLICE_GROUPS="tfs_slice_groups" export QDB_DROP_TABLES_IF_EXIST="YES" export QDB_DROP_TABLES_IF_EXIST="YES" # Disable flag for re-deploying QuestDB from scratch. # Disable flag for re-deploying QuestDB from scratch. export QDB_REDEPLOY="YES" export QDB_REDEPLOY="" # ----- K8s Observability ------------------------------------------------------ # ----- K8s Observability ------------------------------------------------------ Loading src/l3_distributedattackdetector/service/__init__.py +1 −1 File changed.Contains only whitespace changes. Show changes Loading
src/l3_attackmitigator/requirements.in +0 −2 Original line number Original line Diff line number Diff line Loading @@ -11,5 +11,3 @@ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # See the License for the specific language governing permissions and # limitations under the License. # limitations under the License. # no extra dependency
src/l3_distributedattackdetector/README.md +3 −2 Original line number Original line Diff line number Diff line # l3_distributedattackdetector # L3 Distributed Attack Detector - Receives packages and processes them with TSTAT to generate traffic snapshot statistics Receives packages and processes them with TSTAT to generate traffic snapshot statistics.
src/l3_distributedattackdetector/requirements.in +2 −6 Original line number Original line Diff line number Diff line Loading @@ -12,9 +12,5 @@ # See the License for the specific language governing permissions and # See the License for the specific language governing permissions and # limitations under the License. # limitations under the License. grpcio-health-checking>=1.47.* numpy==1.23.* grpcio>=1.47.* asyncio==3.4.3 grpcio-tools>=1.47.* protobuf>=3.20.* numpy asyncio No newline at end of file
src/tests/scenario3/l3/deploy_specs.sh +27 −5 Original line number Original line Diff line number Diff line Loading @@ -20,7 +20,23 @@ export TFS_REGISTRY_IMAGES="http://localhost:32000/tfs/" export TFS_REGISTRY_IMAGES="http://localhost:32000/tfs/" # Set the list of components, separated by spaces, you want to build images for, and deploy. # Set the list of components, separated by spaces, you want to build images for, and deploy. export TFS_COMPONENTS="context device pathcomp service slice compute webui monitoring automation l3_attackmitigator l3_centralizedattackdetector" #export TFS_COMPONENTS="context device pathcomp service slice compute webui load_generator" export TFS_COMPONENTS="context device pathcomp service slice webui" # Uncomment to activate Monitoring export TFS_COMPONENTS="${TFS_COMPONENTS} monitoring" # Uncomment to activate Automation and Policy Manager #export TFS_COMPONENTS="${TFS_COMPONENTS} automation policy" # Uncomment to activate Optical CyberSecurity #export TFS_COMPONENTS="${TFS_COMPONENTS} dbscanserving opticalattackmitigator opticalattackdetector opticalattackmanager" # Uncomment to activate L3 CyberSecurity export TFS_COMPONENTS="${TFS_COMPONENTS} l3_attackmitigator l3_centralizedattackdetector" # Uncomment to activate TE #export TFS_COMPONENTS="${TFS_COMPONENTS} te" # Set the tag you want to use for your images. # Set the tag you want to use for your images. export TFS_IMAGE_TAG="dev" export TFS_IMAGE_TAG="dev" Loading @@ -29,7 +45,13 @@ export TFS_IMAGE_TAG="dev" export TFS_K8S_NAMESPACE="tfs" export TFS_K8S_NAMESPACE="tfs" # Set additional manifest files to be applied after the deployment # Set additional manifest files to be applied after the deployment export TFS_EXTRA_MANIFESTS="manifests/nginx_ingress_http.yaml manifests/servicemonitors.yaml" export TFS_EXTRA_MANIFESTS="manifests/nginx_ingress_http.yaml" # Uncomment to monitor performance of components export TFS_EXTRA_MANIFESTS="${TFS_EXTRA_MANIFESTS} manifests/servicemonitors.yaml" # Uncomment when deploying Optical CyberSecurity #export TFS_EXTRA_MANIFESTS="${TFS_EXTRA_MANIFESTS} manifests/cachingservice.yaml" # Set the new Grafana admin password # Set the new Grafana admin password export TFS_GRAFANA_PASSWORD="admin123+" export TFS_GRAFANA_PASSWORD="admin123+" Loading Loading @@ -66,7 +88,7 @@ export CRDB_DEPLOY_MODE="single" export CRDB_DROP_DATABASE_IF_EXISTS="YES" export CRDB_DROP_DATABASE_IF_EXISTS="YES" # Disable flag for re-deploying CockroachDB from scratch. # Disable flag for re-deploying CockroachDB from scratch. export CRDB_REDEPLOY="YES" export CRDB_REDEPLOY="" # ----- NATS ------------------------------------------------------------------- # ----- NATS ------------------------------------------------------------------- Loading @@ -81,7 +103,7 @@ export NATS_EXT_PORT_CLIENT="4222" export NATS_EXT_PORT_HTTP="8222" export NATS_EXT_PORT_HTTP="8222" # Disable flag for re-deploying NATS from scratch. # Disable flag for re-deploying NATS from scratch. export NATS_REDEPLOY="YES" export NATS_REDEPLOY="" # ----- QuestDB ---------------------------------------------------------------- # ----- QuestDB ---------------------------------------------------------------- Loading Loading @@ -114,7 +136,7 @@ export QDB_TABLE_SLICE_GROUPS="tfs_slice_groups" export QDB_DROP_TABLES_IF_EXIST="YES" export QDB_DROP_TABLES_IF_EXIST="YES" # Disable flag for re-deploying QuestDB from scratch. # Disable flag for re-deploying QuestDB from scratch. export QDB_REDEPLOY="YES" export QDB_REDEPLOY="" # ----- K8s Observability ------------------------------------------------------ # ----- K8s Observability ------------------------------------------------------ Loading
src/l3_distributedattackdetector/service/__init__.py +1 −1 File changed.Contains only whitespace changes. Show changes