All of lore.kernel.org
 help / color / mirror / Atom feed
From: Friedrich Lobenstock <fl@fl.priv.at>
To: netfilter-devel@lists.netfilter.org
Subject: Re: extra/pptp-conntrack-nat.patch
Date: Thu, 10 Apr 2003 15:28:19 +0200	[thread overview]
Message-ID: <3E957173.6090103@fl.priv.at> (raw)
In-Reply-To: <Pine.GSO.4.03.10304092023000.11290-100000@shemp.vdata.com>

Hi!

Jeff Hall wrote:
> I found the following discussion on the www.sonicwall.com/support site.
> It may explain the mystery of the broken/not-broken check sums.
> 
> Jeff Hall
> 
> SonicWALL: In certain circumstances, a Windows 2000 PC cannot use PPTP to
> access another node on the opposite side of the SonicWall. The issue
> appears to be caused by how certain checksums are calculated differently
> depending on whether this function is performed by the OS itself or if it
> is off-loaded to the ethernet NIC. 
> To work around the issue, you must make sure the OS is allowed to perform
> the checksum calculations, not the ethernet NIC. This can be done by
> following these steps: 
> Right-click the 'My Network Places' desktop icon and select 'Properties'. 
> Right-click on the icon for your ethernet NIC and select 'Properties'. 
> Click on the 'Configure' button. 
> Click on the 'Advanced' tab. 
> Disable the Rx and Tx Checksum Offload options for the card.
> This problem is known to occur with the following: 
> OS: Windows 2000 with service pack 1 
> Ethernet NIC: 3Com 905/920 series ethernet controller. 

May I recall that I really have to remove the // to get it running.

/* track caller id inside control connection, call expect_related */
static int
conntrack_pptp_help(const struct iphdr *iph, size_t len,
                     struct ip_conntrack *ct, enum ip_conntrack_info ctinfo)

{ ...

         /* checksum invalid? */
         if (tcp_v4_check(tcph, tcplen, iph->saddr, iph->daddr,
                         csum_partial((char *) tcph, tcplen, 0))) {
                 printk(KERN_NOTICE __FILE__ ": bad csum\n");
//             return NF_ACCEPT;
         }

If I take a look at the cvs version of the patch there's a comment
above the // line that says that w2k servers send out false csums.

So do I understand this correct that if I remove the //, the pptp
contrack module actually is more RFC conform than before? Or is
it just the other way round?

-- 
MfG / Regards
Friedrich Lobenstock

       reply	other threads:[~2003-04-10 13:28 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <Pine.GSO.4.03.10304092023000.11290-100000@shemp.vdata.com>
2003-04-10 13:28 ` Friedrich Lobenstock [this message]
2003-04-10 20:11   ` extra/pptp-conntrack-nat.patch Jeff Hall
2003-04-11 10:48     ` extra/pptp-conntrack-nat.patch Friedrich Lobenstock
2003-04-11 11:09       ` extra/pptp-conntrack-nat.patch Ilguiz Latypov
2003-04-11 16:40         ` extra/pptp-conntrack-nat.patch Friedrich Lobenstock
2003-04-11 17:00           ` extra/pptp-conntrack-nat.patch Martin Josefsson
2003-04-11 19:42             ` extra/pptp-conntrack-nat.patch Martin Josefsson
2003-04-11 21:08               ` extra/pptp-conntrack-nat.patch Friedrich Lobenstock
2003-04-11 19:12           ` extra/pptp-conntrack-nat.patch Ilguiz Latypov
2003-04-11 21:26             ` extra/pptp-conntrack-nat.patch Friedrich Lobenstock
     [not found] <3E8832B4.8030901@fl.priv.at>
2003-03-31 12:31 ` extra/pptp-conntrack-nat.patch Harald Welte
2003-03-31 12:44   ` extra/pptp-conntrack-nat.patch Friedrich Lobenstock
2003-03-31 13:07     ` extra/pptp-conntrack-nat.patch Harald Welte
2003-04-01 19:37       ` extra/pptp-conntrack-nat.patch Friedrich Lobenstock

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3E957173.6090103@fl.priv.at \
    --to=fl@fl.priv.at \
    --cc=netfilter-devel@lists.netfilter.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.