Sniffing & Spoofingroutingprotocolattacknetworktestingicmpcdpigrpdhcp

irpas

Internetwork Routing Protocol Attack Suite (irpas) is a collection of programs for advanced network operations, testing, and debugging. It includes tools for route injection, protocol spoofing, and security testing.

Description

This package contains tools useful for production networks like CDP and route injectors, security and firewall testing, and general admin scripting. Tools such as netenum aid scripting, while others like protos perform ICMP-based port scanning. Like all powerful tools, it could cause great damage, so caution is advised.

Use cases include injecting fake routes with igrp or irdp, sending spoofed CDP packets, testing HSRP failover, and exercising DHCP servers. Several tools help troubleshoot network devices and perform traceroute variants using ICMP or TCP SYN.

How It Works

irpas tools manipulate network protocols like IGRP for route injection, IRDP for router advertisements, CDP for Cisco discovery, HSRP for failover testing, and ICMP for redirects, timestamps, netmask queries, and traceroutes. They send crafted packets via specified interfaces, often spoofing sources, to test, debug, or attack routing and discovery protocols.

Installation

bash
sudo apt install irpas

Flags

-v[v[v]]Verbose output (multiple for more detail), used in ass, dhcpx, icmp_redirect, irdp, irdpresponder
-i <interface>Specify network interface, required in most tools like ass, cdp, dhcpx, file2cable, hsrp
-hShow help/usage, works in many tools like ass, cdp, dhcpx
-D <destination>Destination IP, used in ass, dhcpx
-m {0,1}Mode for cdp: 0=flood, 1=spoof
-f <file>File input, used in file2cable, igrp routes
-v <virtual IP>Virtual IP for hsrp
-d <destination>Destination for itrace, tctrace, timestamp

Examples

Show help for Autonomous system scanner
ass -h
Show help for CDP packet generator
cdp -h
Show help for DHCP server exerciser
dhcpx -h
Show help for sending file as raw ethernet frame
file2cable -h
Send HSRP failover test packets
hsrp -i <interface> -v <virtual IP> -d <router ip> -a <authword> -g <group>
Example HSRP command from page
./hsrp -d 224.0.0.2 -v192.168.1.22 -a cisco -g 1 -i eth0
ICMP-based port scan example
protos -i eth0 -d 10.1.2.3 -v
Inject IGRP routes from file
igrp -v[v[v]] -i <interface> -f <routes file> -a <autonomous system>
Updated 2026-04-16kali.org ↗