Gns3 packet capture

From automateyournetwork/netclaw · View interactive version

Gns3 packet capture is an AI agent skill from the GitHub repository automateyournetwork/netclaw. Capture network traffic on GNS3 links - start/stop captures, retrieve PCAP data

How to use this skill

Skill file

GNS3 Packet Capture

Start and stop packet captures on links in GNS3 projects. Capture network traffic for analysis and troubleshooting.

When to Use

MCP Server

Available Tools

| Tool | Parameters | What It Does |

|------|------------|--------------|

| gns3_start_capture | project_id, link_id, capture_file_name? | Start packet capture on a link |

| gns3_stop_capture | project_id, link_id | Stop packet capture and finalize PCAP file |

| gns3_get_capture | project_id, link_id | Get capture file path and stream URL |

Workflow Examples

Capture Traffic for Analysis

# First, identify the link to capture
"List all links in routing-test"

# Start capture on the link between router1 and router2
"Start capturing traffic on link abc123 in routing-test"

# Generate some traffic (ping, routing updates, etc.)
# ...

# Stop capture when done
"Stop the capture on link abc123 in routing-test"

# Get the PCAP file location
"Get capture info for link abc123 in routing-test"

Custom Capture Filename

# Start capture with custom filename
"Start capturing on link abc123 in routing-test as ospf_adjacency.pcap"

Live Streaming

# Get stream URL for live capture viewing
"Get capture info for link abc123 in routing-test"
# Returns stream_url for live PCAP streaming

Integration with Other Skills

Capture Output

Error Handling

| Error Code | Meaning | Resolution |

|------------|---------|------------|

| GNS3_NOT_FOUND | Link doesn't exist | Use gns3_list_links to find valid link IDs |

| GNS3_CONFLICT | Capture already running | Stop existing capture first |

Tips

  1. Find the right link: Use gns3_list_links to see all connections and their IDs
  2. Start before traffic: Begin capture before generating the traffic you want to analyze
  3. Stop cleanly: Always stop capture to finalize the PCAP file
  4. Use custom names: Descriptive filenames help organize multiple captures

Notes

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.