All of lore.kernel.org
 help / color / mirror / Atom feed
* IP Fragmentation
@ 2003-03-30 21:06 Peteris Krumins
  2003-03-31 18:41 ` Daniel F. Chief Security Engineer -
  0 siblings, 1 reply; 6+ messages in thread
From: Peteris Krumins @ 2003-03-30 21:06 UTC (permalink / raw)
  To: netfilter

Hi,

 How often does IP Fragmentation occur?
 Is it safe to restrict any fragmented packets to 'come' into my
 network?


P.Krumins



^ permalink raw reply	[flat|nested] 6+ messages in thread
* IP fragmentation
@ 2020-07-20  8:15 Alexander Petrovsky
  2020-07-20 12:17 ` Edward Cree
  0 siblings, 1 reply; 6+ messages in thread
From: Alexander Petrovsky @ 2020-07-20  8:15 UTC (permalink / raw)
  To: xdp-newbies

Hello!

I have the eBPF/XDP based balancing router, it looks like facebook
katran, but a little bit smarter, we use random based balancing
algorithm, so also we have to learn how to sync connections between
nodes.

But, the main problem for us it's fragmented IP packets. Some times
ago I tried to use for such packets AF_XDP, fast pass them into the
user space, accumulate and after that pass back to the network, it was
a PoC. So, I wonder, is some chance that IP de-fragmentation functions
will be added into XDP?

Also, I have a strange idea, I could store such fragmented packets in
the LRU map, the original fragmented IP packet I could drop. When all
the fragments stored, I could make the decision about the destination
for balancing/routing. But now, here come problems, seems I could
construct a big packet / jumbo frame, but it seems a little bit ugly.
How could I emit all fragments from the map to the network after I've
got the last fragment?

-- 
Alexander Petrovsky

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2020-07-21 12:33 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-03-30 21:06 IP Fragmentation Peteris Krumins
2003-03-31 18:41 ` Daniel F. Chief Security Engineer -
  -- strict thread matches above, loose matches on Subject: below --
2020-07-20  8:15 IP fragmentation Alexander Petrovsky
2020-07-20 12:17 ` Edward Cree
2020-07-20 14:47   ` Alexander Petrovsky
2020-07-21 12:33     ` Edward Cree

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.