views:

128

answers:

1

I'm working on a network stack at the moment, and I'm trying to implement IPv4 fragmentation. Whilst I have an implementation which works in theory, I would like to actually test that it works by throwing actual fragmented packets at it.

Is there any software or perhaps an easy way to write code to do this? I'd rather not go and modify MTUs on the hosts I'm testing with just to get this working. My development environment is Windows.

A: 

I ended up writing my own little application to send an n-sized packet. I reduced the MTU of the network segment I was testing on and the stack received and reassembled the fragmented packets.

Most of the software I found to do this required a listener on the target computer, which is implausible for the kind of testing I'm doing.

Matthew Iselin