Log in to ask questions, share your expertise, or stay connected to content you value. Don’t have a login? Learn how to become a member.
Generate scaled GTP-U packets with variable TEID , Source IP and Destination IP addresses
This program helps to generate a scaled GTP packet configuration. The output can be written into a pcap as well
Usage
python gtp_v1_scale.py -ver v1 -nteid 1000 -npkts 10 -write 1000_teid.pcap
Generate scaled flex filter configuration for matching TEIDs
Juniper MX routers can filter GTP packet using flex filter offsets. This gives us an ability to run firewall filters and match on GTP TEID header as well as the inner IP headers for various combinations such as v4 in v4, v4 in v6, v6 in v4 and v6 in v6