PacketSquare (CapEdit) is a free and open-source pcap-based network protocol testing tool. It is used for testing network devices, including intrusion prevention systems, firewalls, routers, network switches. PacketSquare runs on Linux. It uses the GTK+ widget toolkit to implement its user interface, and is written in C. It is released under the terms of the GNU General Public License v3.
PacketSquare works by editing protocol fields of the saved packet capture file and replaying. In addition to editing and replaying it supports many features for extrapolation of captured traffic.
PacketSquare is an open source community started in April 2010 by Vijay Mohan, Sushant Gupta, and Anant Dixit for developing computer network testing tools.
- Currently supports pcap standard packet capture format, as used by tcpdump, Wireshark, and other programs.
- Protocols supported: Ethernet II, VLAN, MPLS, ARP, IPv4, IPv6, ICMPv4, IGMPv3, GRE, IP-in-IP, UDP and TCP.
- Protocol field value modification.
- Packet deletion.
- Packet duplication.
- Packet reordering.
- Fragmentation of packets.
- VLAN, MPLS tags can be added to the packets.
- TCP and UDP stream-based field value modification.
- IP and MAC address find and replace.
- Auto checksum for IP, ICMP, IGMP, TCP and UDP protocols.
- Interface selection for sending packets.
- Option for sending a single selected packet or all packets.
- Pcap edit and replay.