Re: LSP on WINCE 4.2 (extremly painful)



Igor, Thanks for your reply. Please see my comments inline:


"Igor Dvorkin [MS]" <igord@xxxxxxxxxxxxxxxxxxxx> wrote in message
news:slrndkdoj1.28k.igord@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
> Please post only to one newsgroup.

AA: Not sure about what is the exact protocol. But I have seen many times
various people requsted
to post to all the relevant newsgroups, so that everybody gets benefited.
But but I will take care now onwards.


> Also, in the future, can you start seperate threads for separate issues,
> it
> makes it easier for other people to find answers to problems we've already
> understood.
>

AA: I apologise for jumping in with my problem.

>
> DTPT_LSP is the desktop passthrough LSP. This component is a proxy client
> which talks to a proxy server in the desktop AS application. This allows
> traffic on the USB cable to be proxied onto the desktop's network.

AA: So, is it required by Activesync for passthru conenction? But there was
nothing like this on WinCE 4.2.

> AUTOBIND_LSP is an LSP that forces all traffic associated with an
> application
> to be "hard bound" to a paricular IP interface. This is done during
> connect
> and bind calls.

> I'm suprised you are having issues layering on top of autobind.

AA: Yes, connection to loopback address fails. I modify destination address
to loopback address in the connect call.

>
> Do you interfere with connect/bind calls?

AA: Yes I do that because I need to proxy all the traffic to my proxy
server.
>
>
> -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
> Igor Dvorkin ( igord at microsoft dot com)
> This posting is provided "AS IS" with no warranties, and confers no
> rights.
>
>
> * Ajay Agrawal <ajay_agr@xxxxxxxxxx>:
>> I think ws2.dll use LSP chain which is on the top in the catalog. I am
>> saying this because on 4.2 and 5.0 when I install myLSP on the top, all
>> the
>> socket application traffic goes thru my LSP.
>>
>> Did you also try loading your LSP on WM 5.0? In WM 5.0 there are 2 LSPs
>> installed by default, "DTPT" and "Autobind_lsp". When I chain myLSP on
>> the
>> top of all the LSPs (myLSP->Autobind->SSLLSP->DTPT->Base Provider) then
>> IE
>> and outlook doesnot work. Also I have seen some other issues like
>> connection
>> to loopback address does not work. But when I install myLSP only over
>> SSL
>> LSP then everything works fine. Did you notice this? Any idea what these
>> two
>> LSPs do? If I layer myLSP over SSLLSP, then will I break any other
>> application on WM 5.0?
>>
>> Regards,
>> -Ajay
>> ----------------------------------------------------------------
>>
>> "The Amazing" <theamazing@xxxxxxxxxxx> wrote in message
>> news:uz7$H0oyFHA.908@xxxxxxxxxxxxxxxxxxxxxxx
>> > Thaks Ajay for your feedback... I've already tried that method... it
>> > seems
>> > that when you delete the registry entry for SSLLSP some how the path
>> > between
>> > NSPM and WSPM gets mixed up... I was just wondering if LSP Architecture
>> > in
>> > 4.2 and 5.0 are exactly the same and truly the same... I read and
>> > compare
>> > MSFT docs on this topic for both version, according to the doc it is
>> > the
>> > same but is it really?
>> > Also, any idea how ws2.dll select which LSP chain to choose?
>> > Regards,
>> > TA
>> >
>> > "Ajay Agrawal" <ajay_agr@xxxxxxxxxx> wrote in message
>> > news:ehz6UxjyFHA.3320@xxxxxxxxxxxxxxxxxxxxxxx
>> >> You will need to layer your LSP over SSL LSP. So it will look this:
>> >>
>> >> MYLSP->SSLLSP->BASE provider. Make sure catalog entry for your chain
>> >> is
>> >> on
>> >> the top.
>> >>
>> >> In 4.2 you can not control the LSP load order. So remove the SSL LSP
>> >> registry entry and load it from your LSP install.
>> >>
>> >> This way it works for me.
>> >>
>> >> Thanks,
>> >> -Ajay
>> >>
>> >>
>> >> "The Amazing" <theamazing@xxxxxxxxxxx> wrote in message
>> >> news:O6fVE$dyFHA.1856@xxxxxxxxxxxxxxxxxxxxxxx
>> >> > Hi All...
>> >> > I have asked this question on CE Live Chat, and been told that the
>> >> > only
>> >> > LSP
>> >> > guy @ MSFT is in vacation... so Igor I hope you had lots of fun and
>> >> > enjoyed
>> >> > your time:) Hopefully with a fresh mind after a good vacation you'll
>> >> > be
>> >> > able
>> >> > to help us here...:) Well of course if anyone else can help it would
>> >> > be
>> > an
>> >> > excellent news as well...:)
>> >> >
>> >> > Make the story short, we've been able to run the LSP on WinCE 5.0
>> >> > (CEPC)
>> >> > successfully, thanks to your weblog.... However it has become a
>> >> > painful
>> >> > (Verrrry) process installing our LSP on an actual CE 4.2 device (HP
>> >> > iPaq
>> >> > h6320)... if I had a choice I would drop 4.2 entirely and continue
>> >> > with
>> >> > 5.0
>> >> > but unfortunately there is no 5.0 in the market yet.
>> >> >
>> >> > let's first ask the generic question
>> >> > 1. In MSFT docs, it says that Ws2.dll decides which LSP chain to
>> >> > use.
>> >> > so
>> >> > how
>> >> > on earth it does this decision making when multiple copy of LSP
>> >> > exist.
>> >> > E.g.
>> >> > I have (MYLSP/SSLLSP/TCP & SSLLSP/TCP & TCP) so how do I tell
>> >> > WS2.dll
>> >> > to
>> >> > choose Mine vs. others)
>> >> >
>> >> > here is the problem on our side
>> >> > 1. in CE 4.2 we have followed every step you suggested in your web
>> >> > but
>> >> > amazingly enough we had nothing than problem.... we have even built
>> >> > an
>> > OS
>> >> > image of 4.2 for PC and carefully selected the communication
>> >> > packages
>> > but
>> >> > yet nothing... here is what we tried and what we got
>> >> >
>> >> > A. on OS we chose One TCP & UDP without SSLLSP and we make sure that
>> > MYLSP
>> >> > is the first one and only one to load over TCP and UDP. So we have 4
>> > pairs
>> >> > (MYLSP/TCP, MYLSP/UDP and TCP and UDP). When browser starts it gives
>> >> > "Can't
>> >> > find DNS server)... we made sure no instance of internet explorer
>> >> > will
>> > be
>> >> > running before our LSP installation
>> >> >
>> >> > B. on OS we chose One TCP & UDP with SSLLSP. before we install our
>> >> > LSP
>> > we
>> >> > got a printout of the chain. Interestingly enough there are 6 pairs
>> > (TCP,
>> >> > UDP, SSLSP/TCP, SSLLSP/UDP and again SSLSP/TCP and SSLSP/UDP). And
>> >> > yes
>> > we
>> >> > only chose the IPv4 no IPv6. so Why is there a 2nd copy with
>> >> > SSLLSP????
>> >> >
>> >> > Now after we installed our LSP we have all the pairs but yet when
>> >> > all
>> >> > IE
>> >> > opens up we still get the same "DNS" can't find thing.
>> >> >
>> >> > Almost similar issues on the actual device.
>> >> >
>> >> > here is the link which we followed how to install MYLSP on CE 4.2
>> >> > http://blogs.msdn.com/cenet/archive/2005/02/09/370018.aspx
>> >> >
>> >> > I would greatly & kindly appreciate any feedback.. advise...
>> > assistant...
>> >> >
>> >> > Regards,
>> >> > TA.
>> >> >
>> >> >
>> >>
>> >>
>> >
>> >
>>
>>


.



Relevant Pages

  • Re: Unexplainable delay in IE while using LSP
    ... Now I get a WSPSend invocation in my LSP. ... If the proxy is already being set in IE its ... Now the client application will call WSPRecv to get the response back. ... And it returns successfully without any delay. ...
    (microsoft.public.win32.programmer.networks)
  • Re: Email programs
    ... > Well, I was finally successful in fixing the proxy bug, although "fix" ... > might not be the correct term. ... > PGP completely and reinstalling it. ... It sounds like PGP's LSP was incapacitated or removed from the stack ...
    (comp.security.pgp.discuss)
  • Re: LSP sample and A4Proxy
    ... It doesn't installs LSP. ... >>> uses this proxy for the internet connection. ... >>> gets the internet connection if both are installed. ...
    (microsoft.public.win32.programmer.networks)
  • Unexplainable delay in IE while using LSP
    ... I am using an LSP through which all TCP traffic is routed. ... checks whether the HTTP requests are set to a proxy and if not set it. ... If the proxy is already set, processing does not take much time. ... This delay is not there in case of Netscape. ...
    (microsoft.public.win32.programmer.networks)

Quantcast