> > --- print-tcp.c-ORG   Thu Apr 21 15:36:05 2005
> > +++ print-tcp.c       Wed Sep 21 18:43:51 2005
> > @@ -799,7 +799,7 @@
> >  MD5_Update(&ctx, tcpmd5secret, strlen(tcpmd5secret));
> >  MD5_Final(sig, &ctx);
> >  
> > -     if (memcmp(rcvsig, sig, 16))
> > +     if (memcmp(rcvsig, sig, TCP_SIGLEN) == 0)
> >  return (SIGNATURE_VALID);
> >  else
> >  return (SIGNATURE_INVALID);
>
> The original code there certainly looks wrong!  After patching, FreeBSD's
> checksum returns valid.  I'll have to see what's up with the originating
> checksum.  Many Thanks!

Thanks.  I submitted this problem to the bug tracker of the tcpdump
project at http://sourceforge.net/projects/tcpdump/ .
The request ID is 1298259.

Regards,
Noritoshi Demizu
_______________________________________________
freebsd-net@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to