From netramet-owner  Thu Jun  1 12:55:57 2000
Received: (from majordom@localhost)
       by mailhost.auckland.ac.nz (8.9.2/8.9.2/8.9.2-ua) id MAA10112
       for netramet-outgoing; Thu, 1 Jun 2000 12:51:39 +1200 (NZST)
Received: from compaq-nb.caida.org (bluebottle.itss.auckland.ac.nz [130.216.4.28])
       by mailhost.auckland.ac.nz (8.9.2/8.9.2/8.9.2-ua) with SMTP id MAA10104
       for <[email protected]>; Thu, 1 Jun 2000 12:51:34 +1200 (NZST)
From: Nevil Brownlee <[email protected]>
To: [email protected]
Subject: Re: Follow up on the NeTraMet '-l' bug
Message-ID: <[email protected]>
Date: Thu, 1 Jun 2000 13:56:52 +1300 (DST)
Priority: NORMAL
X-Mailer: Simeon for Win32 Version 4.1.5 Build (43)
X-Authentication: none
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; CHARSET=US-ASCII
Sender: [email protected]
Precedence: bulk


Hello Dylan:

> as best I can tell pkt_monitor() calls count() which counts the bytes
> using pp.p_len.
>
> the problem I can see is that handle_pkt() contains the code that
> checks for the '-l' flag, (use_ip_length == 1):
>
> but the line pp.p_len = h->len in the first bit of code above overwrites
> the changes to pp.p_len.
>
> Have I got this right?

Alas yes, you've got it exactly right.
The fix is to move the line with pp.pp_len = h->len;
up so it happens just before the call on handle_pkt(); that
way handle_pkt can change pp.pp_len if use_ip_length is 1.

The effect of this was  that the -l option simply didn't work.

I'll make these changes in 44b8, which should be ready early in June.

> Is this the right forum to discuss this?

Yes indeed.  Thanks very much for the very clear bug report.

Cheers, Nevil

+---------------------------------------------------------------------+
| Nevil Brownlee                     Director, Technology Development |
| Phone: +64 9 373 7599 x8941        ITSS, The University of Auckland |
|   FAX: +64 9 373 7425      Private Bag 92019, Auckland, New Zealand |
+---------------------------------------------------------------------C


From netramet-owner  Mon Jun  5 20:19:50 2000
Received: (from majordom@localhost)
       by mailhost.auckland.ac.nz (8.9.2/8.9.2/8.9.2-ua) id UAA26522
       for netramet-outgoing; Mon, 5 Jun 2000 20:15:06 +1200 (NZST)
Received: from d1.com.sg ([202.56.128.50])
       by mailhost.auckland.ac.nz (8.9.2/8.9.2/8.9.2-ua) with ESMTP id UAA26515
       for <[email protected]>; Mon, 5 Jun 2000 20:15:01 +1200 (NZST)
Message-Id: <[email protected]>
Received: from gimshin.ong [202.56.128.199] by d1.com.sg
       with Novell Internet Messaging System Web Client; Mon, 05 Jun 2000 16:13:22
Subject: Netramet for Win NT
From: Ong Gim Shin <[email protected]>
To: [email protected]
Date: Mon, 05 Jun 2000 08:13:22 GMT
X-Sender: Novell Internet Messaging System Web Client
MIME-Version: 1.0
Content-type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
Sender: [email protected]
Precedence: bulk

Hi,

  1)How to run netramet on windows nt? There's no
emm386.exe to copy into A:\Windows. When I run ntm32 it
gives "This DPMI32 module cannot be run on Win32" error
  2)However when i run ntm16, it says no packet driver
found. My ethernet card is Intel Pro\100+ Management and i
copied the network driver - E100bnt.sys to the A:\drivers
directory already and changed the entry in pd.dat.
Hope someone can help. Thanks a lot

Regards,
Gim Shin
Ind Training student