diff --git a/Others/siege/README.md b/Others/siege/README.md new file mode 100644 index 0000000000000000000000000000000000000000..28905288d7a824e33a07d4bf526b961647c4b0bf --- /dev/null +++ b/Others/siege/README.md @@ -0,0 +1,70 @@ +# Quick reference + +- The official siege docker image. + +- Maintained by: [openEuler CloudNative SIG](https://gitee.com/openeuler/cloudnative). + +- Where to get help: [openEuler CloudNative SIG](https://gitee.com/openeuler/cloudnative), [openEuler](https://gitee.com/openeuler/community). + +# Siege | openEuler +Current siege docker images are built on the [openEuler](https://repo.openeuler.org/). This repository is free to use and exempted from per-user rate limits. + +Siege is an open source regression test and benchmark utility. It can stress test a single URL with a user defined number of simulated users, or it can read many URLs into memory and stress them simultaneously + +# Supported tags and respective Dockerfile links +The tag of each `siege` docker image is consist of the version of `siege` and the version of basic image. The details are as follows + +| Tag | Currently | Architectures | +|---------------------------------------------------------------------------------------------------------------------------------|----------------------------------------|---------------| +| [4.1.7-oe2403sp1](https://gitee.com/openeuler/openeuler-docker-images/blob/master/Others/siege/4.1.7/24.03-lts-sp1/Dockerfile) | Siege 4.1.7 on openEuler 24.03-LTS-SP1 | amd64, arm64 | + +# Usage +- Pull the `openeuler/siege` image from docker + + ```bash + docker pull openeuler/siege:latest + ``` + +- Start a siege instance + + ``` + docker run -it openeuler/siege:latest + ``` + You can now run tasks by following commands + ``` + Usage: siege [options] + siege [options] URL + siege -g URL + Options: + -V, --version VERSION, prints the version number. + -h, --help HELP, prints this section. + -C, --config CONFIGURATION, show the current config. + -v, --verbose VERBOSE, prints notification to screen. + -q, --quiet QUIET turns verbose off and suppresses output. + -g, --get GET, pull down HTTP headers and display the + transaction. Great for application debugging. + -p, --print PRINT, like GET only it prints the entire page. + -c, --concurrent=NUM CONCURRENT users, default is 10 + -r, --reps=NUM REPS, number of times to run the test. + -t, --time=NUMm TIMED testing where "m" is modifier S, M, or H + ex: --time=1H, one hour test. + -d, --delay=NUM Time DELAY, random delay before each request + -b, --benchmark BENCHMARK: no delays between requests. + -i, --internet INTERNET user simulation, hits URLs randomly. + -f, --file=FILE FILE, select a specific URLS FILE. + -R, --rc=FILE RC, specify an siegerc file + -l, --log[=FILE] LOG to FILE. If FILE is not specified, the + default is used: PREFIX/var/siege.log + -m, --mark="text" MARK, mark the log file with a string. + between .001 and NUM. (NOT COUNTED IN STATS) + -H, --header="text" Add a header to request (can be many) + -A, --user-agent="text" Sets User-Agent in request + -T, --content-type="text" Sets Content-Type in request + -j, --json-output JSON OUTPUT, print final stats to stdout as JSON + --no-parser NO PARSER, turn off the HTML page parser + --no-follow NO FOLLOW, do not follow HTTP redirects + + ``` + +# Question and answering +If you have any questions or want to use some special features, please submit an issue or a pull request on [openeuler-docker-images](https://gitee.com/openeuler/openeuler-docker-images). \ No newline at end of file diff --git a/Others/siege/doc/image-info.yml b/Others/siege/doc/image-info.yml new file mode 100644 index 0000000000000000000000000000000000000000..6e21c20bbd0a2bf4b3b3d0fc2d842621767534db --- /dev/null +++ b/Others/siege/doc/image-info.yml @@ -0,0 +1,69 @@ +name: siege +category: others +description: Siege 是一款开源回归测试和基准测试实用程序。它可以使用用户定义的模拟用户数量对单个 URL 进行压力测试,也可以将多个 URL 读入内存并同时对其进行压力测试。 +environment: | + 本应用在Docker环境中运行,安装Docker执行如下命令 + ``` + yum install -y docker + ``` +tags: | + siege镜像的Tag由其版本信息和基础镜像版本信息组成,详细内容如下 + + | Tag | Currently | Architectures | + |----------|-------------|------------------| + | [4.1.7-oe2403sp1](https://gitee.com/openeuler/openeuler-docker-images/blob/master/Others/siege/4.1.7/24.03-lts-sp1/Dockerfile) | Siege 4.1.7 on openEuler 24.03-LTS-SP1 | amd64, arm64 | + +download: | + 拉取镜像到本地 + ``` + docker pull openeuler/siege:{Tag} + ``` + +usage: | + - 启动siege实例 + + ``` + docker run -it openeuler/siege:{Tag} + ``` + + 用户可以根据如下提示执行siege: + ``` + Usage: siege [options] + siege [options] URL + siege -g URL + Options: + -V, --version VERSION, prints the version number. + -h, --help HELP, prints this section. + -C, --config CONFIGURATION, show the current config. + -v, --verbose VERBOSE, prints notification to screen. + -q, --quiet QUIET turns verbose off and suppresses output. + -g, --get GET, pull down HTTP headers and display the + transaction. Great for application debugging. + -p, --print PRINT, like GET only it prints the entire page. + -c, --concurrent=NUM CONCURRENT users, default is 10 + -r, --reps=NUM REPS, number of times to run the test. + -t, --time=NUMm TIMED testing where "m" is modifier S, M, or H + ex: --time=1H, one hour test. + -d, --delay=NUM Time DELAY, random delay before each request + -b, --benchmark BENCHMARK: no delays between requests. + -i, --internet INTERNET user simulation, hits URLs randomly. + -f, --file=FILE FILE, select a specific URLS FILE. + -R, --rc=FILE RC, specify an siegerc file + -l, --log[=FILE] LOG to FILE. If FILE is not specified, the + default is used: PREFIX/var/siege.log + -m, --mark="text" MARK, mark the log file with a string. + between .001 and NUM. (NOT COUNTED IN STATS) + -H, --header="text" Add a header to request (can be many) + -A, --user-agent="text" Sets User-Agent in request + -T, --content-type="text" Sets Content-Type in request + -j, --json-output JSON OUTPUT, print final stats to stdout as JSON + --no-parser NO PARSER, turn off the HTML page parser + --no-follow NO FOLLOW, do not follow HTTP redirects + + ``` + +license: GPL-3.0 license +similar_packages: + - N/A +dependency: + - N/A diff --git a/Others/siege/doc/picture/logo.png b/Others/siege/doc/picture/logo.png new file mode 100644 index 0000000000000000000000000000000000000000..25573565d7b75489b3549968896fe297fc9ffad5 Binary files /dev/null and b/Others/siege/doc/picture/logo.png differ diff --git a/Others/snort3/3.7.2.0/24.03-lts-sp1/Dockerfile b/Others/snort3/3.7.2.0/24.03-lts-sp1/Dockerfile index 0a56d243643b91e7a03bb967e2495f8221a2b039..32bc156a401e8eb863d059d1468071f930c02cd1 100644 --- a/Others/snort3/3.7.2.0/24.03-lts-sp1/Dockerfile +++ b/Others/snort3/3.7.2.0/24.03-lts-sp1/Dockerfile @@ -13,7 +13,7 @@ RUN git clone -b v3.0.19 https://github.com/snort3/libdaq.git && \ ./bootstrap && ./configure && \ make -j$nproc && make install -ENV LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib/daq +ENV LD_LIBRARY_PATH=/usr/local/lib:$LD_LIBRARY_PATH RUN git clone -b ${VERSION} https://github.com/snort3/snort3.git && \ cd snort3 && \ ./configure_cmake.sh --prefix=/usr/local && \ diff --git a/Others/snort3/README.md b/Others/snort3/README.md new file mode 100644 index 0000000000000000000000000000000000000000..5e9ac91473b1d1c201fd2cb5177435bfae587683 --- /dev/null +++ b/Others/snort3/README.md @@ -0,0 +1,65 @@ +# Quick reference + +- The official snort3 docker image. + +- Maintained by: [openEuler CloudNative SIG](https://gitee.com/openeuler/cloudnative). + +- Where to get help: [openEuler CloudNative SIG](https://gitee.com/openeuler/cloudnative), [openEuler](https://gitee.com/openeuler/community). + +# snort3 | openEuler +Current snort3 docker images are built on the [openEuler](https://repo.openeuler.org/). This repository is free to use and exempted from per-user rate limits. + +Snort 3 is the next generation Snort IPS (Intrusion Prevention System). + +# Supported tags and respective Dockerfile links +The tag of each `snort3` docker image is consist of the version of `snort3` and the version of basic image. The details are as follows + +| Tag | Currently | Architectures | +|---------------------------------------------------------------------------------------------------------------------------------|----------------------------------------|---------------| +| [3.7.2.0-oe2403sp1](https://gitee.com/openeuler/openeuler-docker-images/blob/master/Others/snort3/3.7.2.0/24.03-lts-sp1/Dockerfile) | Snort3 3.7.2.0 on openEuler 24.03-LTS-SP1 | amd64, arm64 | + +# Usage +- Pull the `openeuler/snort3` image from docker + + ```bash + docker pull openeuler/snort3:latest + ``` + +- Start a snort3 instance + + ``` + docker run -it openeuler/snort3:latest + ``` + + Please use `snort --help` to display the details + ``` + Snort has several options to get more help: + + -? list command line options (same as --help) + --help this overview of help + --help-commands [] output matching commands + --help-config [] output matching config options + --help-counts [] output matching peg counts + --help-limits print the int upper bounds denoted by max* + --help-module output description of given module + --help-modules list all available modules with brief help + --help-modules-json dump description of all available modules in JSON format + --help-plugins list all available plugins with brief help + --help-options [