From f4e5f43b959d1321acd128b76fdc82fa94cd877d Mon Sep 17 00:00:00 2001 From: yangwei Date: Tue, 30 Apr 2024 16:01:15 +0800 Subject: 🦄 refactor(rename project): from stellar-c to stellar-on-sapp MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitlab-ci.yml | 3 +-- CMakeLists.txt | 2 +- README.md | 8 ++++---- 3 files changed, 6 insertions(+), 7 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 3698f63..c707aa2 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -8,8 +8,7 @@ variables: libMESA_handle_logger-devel libMESA_field_stat2-devel libfieldstat3-devel libfieldstat4-devel libbreakpad_mini-devel libcjson-devel zlib-devel brotli-devel - SYMBOL_TARGET: stellar-c - TEST_NAME: gtest_stellar-c + SYMBOL_TARGET: stellar-on-sapp INSTALL_PREFIX: "/opt/tsg/" stages: diff --git a/CMakeLists.txt b/CMakeLists.txt index 8b2bc07..20cc211 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,5 +1,5 @@ cmake_minimum_required(VERSION 3.12) -project(stellar-c) +project(stellar-on-sapp) set(CMAKE_MODULE_PATH ${PROJECT_SOURCE_DIR}/cmake) diff --git a/README.md b/README.md index 1128904..57d70af 100644 --- a/README.md +++ b/README.md @@ -1,13 +1,13 @@ -# Stellar-C: c adapter for stellar +# Stellar-on-sapp: c adapter for stellar ## Concepts -The Stellar-C is a transition solution from Sapp to Stellar for fast DPI plugin development. The Stellar-C is built on the concepts of sessions and messages. A session is defined as a sequence of packets that share the same traffic attributes, such as TCP or UDP sessions. -* Each session has a message queue, which facilitates the exchange of messages among plugins. The message delivery is in the session scope. In Stellar-C, plugins are decoupled through the publish-subscribe mechanism. +The Stellar-on-sapp is a transition solution from Sapp to Stellar for fast DPI plugin development. The Stellar-C is built on the concepts of sessions and messages. A session is defined as a sequence of packets that share the same traffic attributes, such as TCP or UDP sessions. +* Each session has a message queue, which facilitates the exchange of messages among plugins. The message delivery is in the session scope. In Stellar-on-sapp, plugins are decoupled through the publish-subscribe mechanism. * EXdata (Extra Data) is attached to a session for plugin context management. ![stellar-c-high-level-design](./docs/images/stellar-arch.jpg) ## Components -The Stellar-C consists of the following components: +The Stellar-on-sapp consists of the following components: * Sapp adaptor converts a Sapp stream to a Stellar session, and calls Stellar plugins to process the session. * Firewall is a Sapp plugins that interact with TCP/UDP and L7 decoders. It inherits all TSG firewall functions and publish messages to Stellar plugins. * Stellar plugins are DPI plugins that process the session, such as AppSketch, Session Flagging, Session Recorder. -- cgit v1.2.3