Re : Re: IMSAP Duplicates the Packets

Hi Thomas,
After selecting “disable” option for the ethernets in network settings -> binding -> Protocol -> TCP/IP binding and that work GREATELY!!! ya no duplicacy in packets…
Is this you mean by “adjust the binding” and, to bind to IM virtual adapter only and not to my ethernet adapters?
I want a brief explanation if you can provide me… and also if you tell me how this can be achieved by programming i mean also withouth displaying that disable kind of icons in the network configurations.

A real great boat for me!!!
– Sumit

----- Original Message -----
From: “Thomas F. Divine”
To: NT Developers Interest List
Sent: Thu Jun 28 20:30:41 GMT+05:30 2001
Subject: [ntdev] Re: IMSAP Duplicates the Packets

Look at the bindings for TCP/IP in the Network Control Panel. Do you have
TCP/IP bound to both the real adapter and the virtual adapter? If so, adjust
the binding so it just binds to the IM virtual adapter.

Regards,

Thomas F. Divine

PCAUSA - Toolkits & Resources For Network Software Developers
NDIS Protocol - NDIS Intermediate - TDI Client
http: - http:

----- Original Message -----
From: “Sumit Pandya”
To: “NT Developers Interest List”
Sent: Thursday, June 28, 2001 5:49 AM
Subject: [ntdev] IMSAP Duplicates the Packets

>
> Hi Gurus,
>
> Searching through Google I come to knew “NTDEV & NTFSD Archive” and
> also many messages for IMSAMP Driver in NT. Me too has just started
working
> with this sample driver provided from microsoft. I’m facing some problem
> with this driver…
> See just to revise you the functionality of this driver, i’m starting
> here with my setup before the problem defination…
> I’ve 2 network cards installed on my NT-Workstation 4.0. Now when I
> install IMSAMP protocal it creates 2 “Intermidiate Sample Miniport Driver
> Virtual Adapter” and the TCP/IP is bound to both of the adapter. I’ve
> assigned 192.168.1.1/24 to one and 172.16.0.1/24 to another IMSAMP
Adapter.
> IPs to the “fast ethernet” are simply 10.111.111.111/24 and
> 10.222.222.222/24. Now I wanted to use IP’s of IMSAMP for “routing”
purpose,
> with the following simple network…
>
>
> 192.168.1.2 192.168.1.1 172.16.0.1 172.16.0.2
> ±-----+ ±--------------+ ±--------+
> |Win95 | ---------- | NT WKS 4.0 |------------| Linux |
> ±-----+ ±--------------+ ±--------+
> (ImSampMP1) (ImSampMP2)
>
>
> Everything work fine as far as the communication b/w win95 and
Linux
> box is concern… i.e. I’m able to use this network. But the problem
noticed
> when I dumped the IP packet at Linux box with the help of universal
> “tcpdump”. I surprise to knew that every packet was getting duplicated in
> this routing setup. I simply wanted to conferm this duplicacy so i used
> ping from Linux to Win95. I shocked to see the result
> … … …
> One reply and 3 dup!!!
>
> Does anyone having idea about this Bug in IMSAMP??? Can i have
this
> bug fixed?
>
> Thanks in advance.
>
> – Sumit Pandya
> xxxxx@elitecore.com
> xxxxx@yahoo.com
> ICQ# 52147513
>


You are currently subscribed to ntdev as: xxxxx@elitecore.com
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com

____________________________________________________________
eLitecore Technologies Pvt. Ltd.


You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com</http:></http:>

----- Original Message -----
From: “Sumit Pandya”
To: “NT Developers Interest List”
Sent: Thursday, June 28, 2001 1:02 PM
Subject: [ntdev] Re : Re: IMSAP Duplicates the Packets

> Hi Thomas,
> After selecting “disable” option for the ethernets in network
settings -> binding -> Protocol -> TCP/IP binding and that work
GREATELY!!! ya no duplicacy in packets…
> Is this you mean by “adjust the binding” and, to bind to IM virtual
adapter only and not to my ethernet adapters?

Yes.

> I want a brief explanation if you can provide me…

When you install IMSamp you create a second adapter. You now have two
adapters: the real one and a new “virtual” one. If you bind TCP/IP to both
of these, then it will attempt to use both. In this case, when a ping
request is received by the real adapter it is given to TCP/IP, which then
makes one reply. Then the same ping request is given to IMSamp. IMSamp then
indicates the same ping request to TCP/IP, and it makes a second reply.

>and also if you tell me how this can be achieved by programming i mean also
withouth displaying that disable kind of icons in the network
configurations.
>
You’ll have to ask Microsoft for help on that one…

Installing Windows NT 4.0 IM drivers is the most unpleasant programming
experiance I have had so far. (Installing Windows 9X/ME NDIS IM drivers may
be just as bad, but I have abandoned that approach.)

Regards,

Thomas F. Divine

PCAUSA - Toolkits & Resources For Network Software Developers
NDIS Protocol - NDIS Intermediate - TDI Client
http: - http:


You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com</http:></http:>

> Look at the bindings for TCP/IP in the Network Control Panel. Do you have

TCP/IP bound to both the real adapter and the virtual adapter? If so,
adjust
the binding so it just binds to the IM virtual adapter.

BTW - has IMSAMP any means of preventing such bindings to the real adapter?
If yes - is it done by this huge IMSAMP’s INF?

Max


You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com

----- Original Message -----
From: “Maxim S. Shatskih”
To: “NT Developers Interest List”
Sent: Thursday, June 28, 2001 2:18 PM
Subject: [ntdev] Re: IMSAP Duplicates the Packets

> > Look at the bindings for TCP/IP in the Network Control Panel. Do you
have
> > TCP/IP bound to both the real adapter and the virtual adapter? If so,
> adjust
> > the binding so it just binds to the IM virtual adapter.
>
> BTW - has IMSAMP any means of preventing such bindings to the real
adapter?
> If yes - is it done by this huge IMSAMP’s INF?
>
It can probably be done by the .INF. A BIG INF.

Or by an enhanced version of the “pruning” function in the support DLL. The
current prune function prunes the bindings so that IMSamp does not bind to
itself. Similar logic could be extended to coax other protocols to bind to
real adapters or IMSamp virtual adapter. Very messy, and I think it gets
much worse when thinking of adding/removing adapters, protocols you don’t
know about, etc.

Regards,

Thomas F. Divine

PCAUSA - Toolkits & Resources For Network Software Developers
NDIS Protocol - NDIS Intermediate - TDI Client
http: - http:


You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com</http:></http:>

> ----------

From: Thomas F. Divine[SMTP:xxxxx@pcausa.com]
Reply To: NT Developers Interest List
Sent: Thursday, June 28, 2001 9:11 PM
To: NT Developers Interest List
Subject: [ntdev] Re: IMSAP Duplicates the Packets

> BTW - has IMSAMP any means of preventing such bindings to the real
adapter?
> If yes - is it done by this huge IMSAMP’s INF?
>
It can probably be done by the .INF. A BIG INF.

Very big INF. Our one has about 4500 lines in this “nice” language. Well, it
deals with RAS adapters which makes things even worse and contains many
debug messages but… go figure.

Best regards,

Michal Vodicka
Veridicom
(RKK - Skytale)
[WWW: http://www.veridicom.com , http://www.skytale.com]


You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com

> >> BTW - has IMSAMP any means of preventing such bindings to the real adapter?

>> If yes - is it done by this huge IMSAMP’s INF?
>
> It can probably be done by the .INF. A BIG INF.

Very big INF. Our one has about 4500 lines in this “nice” language. Well, it
deals with RAS adapters which makes things even worse and contains many
debug messages but… go figure.

Can i have yours or same kind of big but real great INF file as a baseline of my development. Sincerly i’m Linux devlopment expertise and this is a real challenge i’ve taken. I’m really messed up with its inf file language and format. If you will have any problem to provide me your INF as a case study or if it is confidential then please help me by providing documents or links to the bibles for this stuff.

– Sumit


eLitecore Technologies Pvt. Ltd.


You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com

> ----------

From: Sumit Pandya[SMTP:xxxxx@elitecore.com]
Reply To: NT Developers Interest List
Sent: Saturday, June 30, 2001 8:19 AM
To: NT Developers Interest List
Subject: [ntdev] Re : Re: IMSAP Duplicates the Packets

> >> BTW - has IMSAMP any means of preventing such bindings to the real
adapter?
> >> If yes - is it done by this huge IMSAMP’s INF?
> >
> > It can probably be done by the .INF. A BIG INF.
>
> Very big INF. Our one has about 4500 lines in this “nice” language.
Well, it
> deals with RAS adapters which makes things even worse and contains many
> debug messages but… go figure.

Can i have yours or same kind of big but real great INF file as a
baseline of my development. Sincerly i’m Linux devlopment expertise and
this is a real challenge i’ve taken. I’m really messed up with its inf
file language and format. If you will have any problem to provide me your
INF as a case study or if it is confidential then please help me by
providing documents or links to the bibles for this stuff.

Sorry, I can’t give you our INF. I don’t think there is any book which would
help you; the only docs is DKK (incomplete) and INFs provided with OS. Go to
NT4 system32 directory and search all INFs for NetService and/or
NetTransport strings. You should get scripts for tcpip, netbt and other
protocol drivers and also for RAS which is really big one (6286 lines on my
system).

You’re right, it is real challenge. Consider carefully if you want to do it;
there was no other chance several years before when we did it but now there
are w2k and XP systems with quite different INF format (much easier). Unless
you really have to support NT4 I would recommend to forgot IMSAMP and use
w2k passthru sample instead.

Best regards,

Michal Vodicka
Veridicom
(RKK - Skytale)
[WWW: http://www.veridicom.com , http://www.skytale.com]


You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com