java-topology/tools/scans/frr-tilfa-detail.sh
russell@unturf.com db29a08762 undefect. CWE-407 — 92 sites, 42 ecosystems
B&W print-friendly diagrams + tinkerpop-0001 + wave-3 proof sections.
Squash of 94 local commits onto remote master.
2026-03-26 19:48:18 -04:00

22 lines
745 B
Bash
Executable file

#!/usr/bin/env bash
set -euo pipefail
cd /tmp && git clone --depth 1 https://github.com/FRRouting/frr frr 2>/dev/null
echo "=== ospf_ti_lfa.c:260-300 ==="
sed -n '260,310p' frr/ospfd/ospf_ti_lfa.c
echo ""
echo "=== listnode_lookup definition ==="
grep -n "listnode_lookup" frr/lib/linklist.h frr/lib/linklist.c 2>/dev/null | head -10
echo ""
echo "=== all listnode_lookup in ospf_ti_lfa ==="
grep -n "listnode_lookup" frr/ospfd/ospf_ti_lfa.c
echo ""
echo "=== bgpd/bgp_aspath.c loop detection ==="
grep -n "aspath_loop\|loop_check\|as_in\|own_as\|my_as\|confed" frr/bgpd/bgp_aspath.c | head -20
echo ""
echo "=== bgp aspath loop check implementation ==="
grep -n "aspath_loop_check\|aspath_private_as_check" frr/bgpd/bgp_aspath.c | head -5