bgp

How to use AS_PATH attribute in scapy for BGP?

How to use AS_PATH attribute in scapy for BGP? Question: I try to set the AS_PATH attribute: setAS=BGPPathAttr(type_flags="Transitive", type_code="AS_PATH",attr_len=None,attribute=None) But Wireshark is saying that it is a malformed AS_PATH attribute. I already have the other mandatory attributes in my Update message packet and they’re doing well. How to send a BGP Update message crafted packet …

Total answers: 1

Setting up BGP Layer Using Scapy

Setting up BGP Layer Using Scapy Question: I am trying to use Scapy to send packets that have a BGP layer I am currently stuck on a rudimentary part of this problem because I am unable to set up the BGP layer. I followed the instructions to set up the regular IP and TCP Layer. …

Total answers: 2