Skip to content

prefixd-fastnetmon.sh is not recognizing correctly vector #145

Description

@clucas76-max

Description

A clear description of the bug.

Steps to Reproduce

  1. hping3 -S --flood -V -p 80
  2. you see udp_flood in logs

Expected Behavior

syn_flood

Actual Behavior

RAW_LOWER=$(echo "$RAW_DETAILS" | tr '[:upper:]' '[:lower:]')
if [[ "$RAW_LOWER" == "udp" ]]; then
VECTOR="udp_flood"
elif [[ "$RAW_LOWER" == "syn" ]]; then
VECTOR="syn_flood"
elif [[ "$RAW_LOWER" == "ack" ]]; then
VECTOR="ack_flood"
elif [[ "$RAW_LOWER" == "icmp" ]]; then
VECTOR="icmp_flood"
fi
==> it is matching "outgoing udp traffic: 0 mbps" and set it to "udp_flood"
==> matching "syn_" is correcting the problem.

Environment

  • prefixd version: 0.19.1
  • OS: Debian 13
  • Deployment: Docker
  • GoBGP version: (e.g., 4.2.0)
  • Router vendor: IOS XR

Logs

Paste relevant log output here

Additional Context

Any other context about the problem.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions