fgont / ipv6toolkit

SI6 Networks' IPv6 Toolkit
https://www.si6networks.com/tools/ipv6toolkit
GNU General Public License v3.0
257 stars 68 forks source link

[FR] fragment order #79

Open mirabilos opened 2 years ago

mirabilos commented 2 years ago

It would be great if the tools had switches for ordering the fragments, if fragmentation is enabled. I need to test both “first fragment is received first” and “nōn-first fragment is received first” in the kernel changes I’m working on.

fgont commented 2 years ago

Good point. I will implement this. -- WIll get back to you shortly.

mirabilos commented 2 years ago

Fernando Gont dixit:

Good point. I will implement this. -- WIll get back to you shortly.

Thank you!

fgont commented 2 years ago

Is it just fine to e.g. allow reverse order, or would you need more granularity such as specifying the order as in "Frag #3, Frag #1, Frag #2"?

mirabilos commented 2 years ago

Fernando Gont dixit:

Is it just fine to e.g. allow reverse order, or would you need more granularity such as specifying the order as in "Frag #3, Frag #1, Frag

2"?

For me, reverse order would suffice. I’m adding diagnostics to a qdisc LKM, and there’s desire to tag TCP/UDP traffic with IPs and ports, so I need to be able to test fragment info caching.

Thanks, //mirabilos -- Infrastrukturexperte • tarent solutions GmbH Am Dickobskreuz 10, D-53121 Bonn • http://www.tarent.de/ Telephon +49 228 54881-393 • Fax: +49 228 54881-235 HRB AG Bonn 5168 • USt-ID (VAT): DE122264941 Geschäftsführer: Dr. Stefan Barth, Kai Ebenrett, Boris Esser, Alexander Steeg