Scapy 不发送大的 UDP 数据包

Scapy not sending big UDP packets

我尝试通过 scapy 发送一个 UDP 数据包,但是当我尝试发送有点大的东西时(例如 1800 个字符的原始负载)它根本不发送。

def send_info(info):
    msg = IP(dst=MANAGER_IP) / UDP(dport = MANAGER_PORT) / \
    Raw(load = ("AAAAAAAAAAAA" + info)) #for some reason it throws out the first 12 charaters
    print("Sending...")
    send(msg, verbose=False)
    print("Sent!")

许多系统和网络上的最大 UDP 数据包大小约为 1500 字节,在 public 互联网上甚至更少。

What is the largest Safe UDP Packet Size on the Internet