如何在BGP的Scapy中使用as_path属性?
我尝试设置as_path
属性:
setAS=BGPPathAttr(type_flags="Transitive", type_code="AS_PATH",attr_len=None,attribute=None)
但是Wireshark说它是畸形的as_path
属性。
我的更新消息数据包中的其他强制性属性已经很好。
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 with correct attributes?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我确实喜欢这样做。
当我们有变量询问
“长度”
时,请使用“无”
。I did like this and works.
When we have variables asking the
"length"
, please use"None"
.