8000 NVSHAS-10010: Improve SYN flood detection by considering source IP · neuvector/neuvector@51f9b44 · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

NVSHAS-10010: Improve SYN flood detection by considering source IP #440

NVSHAS-10010: Improve SYN flood detection by considering source IP

NVSHAS-10010: Improve SYN flood detection by considering source IP #440

Workflow file for this run

1FEE
name: CodeQL
on:
workflow_dispatch:
pull_request:
push:
branches:
- main
schedule:
- cron: '00 9 * * 2'
permissions: {}
jobs:
analyze:
name: Analyze
runs-on: ubuntu-latest
permissions:
actions: read
contents: read
security-events: write
strategy:
fail-fast: false
matrix:
language: [ 'go', 'actions', 'cpp' ]
steps:
- name: Install Dependencies
if: matrix.language != 'actions'
run: |
sudo apt update
sudo apt install -y gcc-13 g++-13 make build-essential libpcap-dev libpcre3-dev libpcre2-dev curl wget zip git libnfnetlink-dev libnetfilter-queue-dev libmnl-dev liburcu-dev libjansson-dev libjemalloc-dev libhyperscan-dev
sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-13 10
sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-13 10
- name: Checkout code
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: Initialize CodeQL
uses: github/codeql-action/init@181d5eefc20863364f96762470ba6f862bdef56b # v3.29.2
with:
languages: ${{matrix.language}}
# xref: https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning#using-queries-in-ql-packs
# xref: https://codeql.github.com/codeql-query-help/go/
# xref: https://codeql.github.com/codeql-query-help/cpp/
config: |
paths-ignore:
- vendor/
- vendor/**/*
- name: Build Controller
if: matrix.language == 'go'
run: ./package/build_controller.sh
- name: Build Enforcer
if: matrix.language == 'cpp'
run: ./package/build_enforcer.sh
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@181d5eefc20863364f96762470ba6f862bdef56b # v3.29.2
with:
category: "/language:${{matrix.language}}"
0