# SPDX-License-Identifier: GPL-3.0-or-later
#
# GNS3-Copilot - AI-powered Network Lab Assistant for GNS3
#
# This file is part of GNS3-Copilot project.
#
# GNS3-Copilot is free software: you can redistribute it and/or modify it
# under the terms of the GNU General Public License as published by the
# Free Software Foundation, either version 3 of the License, or (at your
# option) any later version.
#
# GNS3-Copilot is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
# or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
# for more details.
#
# You should have received a copy of the GNU General Public License
# along with GNS3-Copilot. If not, see <https://www.gnu.org/licenses/>.
#
# Copyright (C) 2025 Yue Guobin (岳国宾)
# Author: Yue Guobin (岳国宾)
#
# Project Home: https://github.com/yueguobin/gns3-copilot
#

# Forbidden Commands List
# =======================
#
# This file contains commands that are blocked from execution in GNS3-Copilot tools.
#
# Why block these commands?
# ------------------------
# Commands listed here may:
# - Run longer than the tool timeout (e.g., traceroute)
# - Leave the device console in an unusable state for subsequent commands
# - Generate excessive traffic that could impact lab performance
#
# Format
# ------
# - One command pattern per line
# - Simple substring matching (case-insensitive)
# - Empty lines and lines starting with # are ignored
# - Match is performed on the beginning of each command
#
# Examples
# --------
# traceroute          # Blocks "traceroute 8.8.8.8", "traceroute google.com", etc.
# debug               # Blocks "debug ip routing", "debug ospf events", etc.
# test                # Blocks "test ..., "test memory", etc.

# Network diagnostic commands that may timeout
traceroute
tracepath
tracert

# Ping flood variants
ping -f

# Debug commands that may destabilize devices
debug

# Test commands that may affect device stability
test
