Ip fragmentation and reassembly with winpkfilter

Home Forums Discussions Support Portal Ip fragmentation and reassembly with winpkfilter

This topic contains 1 reply, has 2 voices, and was last updated by  Vadim Smirnov 4 years, 1 month ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #5385

    weihao.ma
    Participant

    Hi, i want to archieve the udp-tunnel between client and server, and i don’t want to use mtu-decrement(because of changing this value needs computer reboot), so i set the mtu-decremnt to 0, and i do the following things:

    From the client, i ping the server with a command of “ping 192.168.1.250 -l 1628 -t”, the winpfilter capture the first packet to the server with the IP_MP flag and 1500 ip length. if i want to wrapper the first packet to my udp header to archieve the udp-tunnel, the packet size must be larger than the max-frame-size(1514), and Is possible i fragment the ip packet?

    If i fragment the ip packet in my client, what to do with the server application?

    #7119

    Vadim Smirnov
    Moderator

    Yes, you can fragment the resulted packet and send out two packets instead one, server will reassemble it. However, please note that fragmented packets often are blocked by firewalls.

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.