<< | Thread Index | >> ]    [ << | Date Index | >> ]

Subject: Re: Re: got short packet from <remote peer ip>
From: Olaf Titz <olaf,AT,bigred,DOT,inka,DOT,de>
Date: Thu, 27 Jun 2002 22:05:30 +0200
In-reply-to: <3CECB63000031D9F@mail.tiscalinet.it>

> I think the problem is in the CT_PING packet bacause before apllying the
> "short packet patch" to the linux cipe 1.5.2 i could see CT_PING CT_PONG
> flow from linux to win and no error on the log, while After applying the
> patch the CT_PING CT_PONG flow stopped and appeared the messages on the

The short packet patch is broken, it blocks packets which aren't too
short at all (and this includes the CT_PINGs - they are not the cause
but a symptom). Patch it again.

Olaf

--- cipe/sock.c 2002/05/30 11:49:17     1.33.2.2
+++ cipe/sock.c 2002/06/09 13:05:55
@@ -211,7 +211,8 @@
        goto framerr;
     }
 #endif
-    if (length<cipehdrlen+(c->sockshost?sizeof(struct sockshdr):0)) {
+    if (length<9+(c->sockshost?sizeof(struct sockshdr):0)) {
+        /* XX hardcoded IV size */
         printk(KERN_INFO "%s: got short packet from %s\n", c->dev->name,
                cipe_ntoa(saddr(skb)));
        goto framerr;

=== end of patch ===





<< | Thread Index | >> ]    [ << | Date Index | >> ]