netexpect - Network Expect, a framework for manipulating network packets

Distribution: Ubuntu 12.04 LTS (Precise Pangolin)
Repository: Ubuntu Universe amd64
Package name: netexpect
Package version: 0.18
Package release: 4
Package architecture: amd64
Package type: deb
Installed size: 556 B
Download size: 155.78 KB
Official Mirror:
Network Expect is a framework that allows to easily build tools that can interact with network traffic. Following a script, traffic can be injected into the network, and decisions can be taken, and acted upon, based on received network traffic. An interpreted language (Tcl) provides branching and high-level control structures to direct the interaction with the network. Network Expect was heavily influenced and inspired on the Expect program written by Don Libes, which allows to "talk" to interactive programs in a scripted fashion. The type of things that Network Expect can do are usually very low level network operations, which usually require writing a custom application in a language like C. Some of the things that Network Expect can do include: * Generate arbitrary network traffic and inject it into a network at layer 2 or layer 3. * A wide range of protocols is supported, including 802.1q, ARP, Cisco VTP and DTP, GRE, IPv4, IPv6, ICMP, UDP, TCP (including options), etc. This Network Expect functionality is very similar to the functionality provided by several packet crafting and forging open source tools like Nemesis, Packit, hping, Scapy, and others. * Listen for network traffic and take decisions based on the type of traffic received. * Open a sniffer trace in PCAP format and replay it after changing some values in the original packet capture. * Emulate network protocols to see how they interact with other speakers of that protocol. For example, emulating a TCP server to investigate approaches to randomization of TCP Initial Sequence Numbers (ISN) can be easily done in Network Expect. Visit for more information.



    Source package: netexpect

    Install Howto

    1. Update the package index:
      # sudo apt-get update
    2. Install netexpect deb package:
      # sudo apt-get install netexpect


    • /usr/bin/nexp
    • /usr/share/doc/netexpect/NEWS.gz
    • /usr/share/doc/netexpect/README
    • /usr/share/doc/netexpect/README.Debian
    • /usr/share/doc/netexpect/TODO.gz
    • /usr/share/doc/netexpect/changelog.Debian.gz
    • /usr/share/doc/netexpect/copyright
    • /usr/share/doc/netexpect/examples/0trace.nexp
    • /usr/share/doc/netexpect/examples/README
    • /usr/share/doc/netexpect/examples/arp.nexp
    • /usr/share/doc/netexpect/examples/arpping.nexp
    • /usr/share/doc/netexpect/examples/arpping2.nexp
    • /usr/share/doc/netexpect/examples/cisco-vtp.nexp.gz
    • /usr/share/doc/netexpect/examples/get-http-payload.nexp
    • /usr/share/doc/netexpect/examples/get-http-uris.nexp
    • /usr/share/doc/netexpect/examples/icmp-responder.nexp
    • /usr/share/doc/netexpect/examples/icmp-traceroute.nexp
    • /usr/share/doc/netexpect/examples/naptha.nexp
    • /usr/share/doc/netexpect/examples/packets.nexp
    • /usr/share/doc/netexpect/examples/padding.nexp
    • /usr/share/doc/netexpect/examples/pcap-rewrite.nexp
    • /usr/share/doc/netexpect/examples/ping-large.nexp
    • /usr/share/doc/netexpect/examples/ping.nexp
    • /usr/share/doc/netexpect/examples/ping6.nexp
    • /usr/share/doc/netexpect/examples/pingscan.nexp
    • /usr/share/doc/netexpect/examples/protocol-scan.nexp
    • /usr/share/doc/netexpect/examples/synscan.nexp
    • /usr/share/doc/netexpect/examples/tcp-3way.nexp
    • /usr/share/doc/netexpect/examples/tcp-responder.nexp
    • /usr/share/doc/netexpect/examples/tcp-traceroute.nexp
    • /usr/share/doc/netexpect/examples/tcp-traceroute2.nexp
    • /usr/share/doc/netexpect/examples/tcpscan-xor.nexp
    • /usr/share/doc/netexpect/examples/udp-responder.nexp
    • /usr/share/doc/netexpect/examples/udp-traceroute.nexp
    • /usr/share/man/man1/nexp.1.gz