Welcome to Pete Brown's 10rem.net

First time here? If you are a developer or are interested in Microsoft tools and technology, please consider subscribing to the latest posts.

You may also be interested in my blog archives, the articles section, or some of my lab projects such as the C64 emulator written in Silverlight.

(hide this)

Windows Client Developer Roundup for 6/28/2010

Pete Brown - 28 June 2010

This is Windows Client Developer roundup #30.

The Windows Client Developer Roundup aggregates information of interest to Windows Client Developers, including WPF, Silverlight, Visual C++, XNA, Expression Blend, Surface, Windows 7, Windows Forms, Windows Phone and Visual Studio. If you have something interesting you've done or have run across, or you blog regularly on the topics included here, please send me the URL and brief description via the contact link on my blog.

WPF and Silverlight General

MVVM / Patterns

WCF RIA Services

Visual C++

Windows Phone 7

XNA

Visual Studio 2010

Windows 7

Fun

             
posted by Pete Brown on Monday, June 28, 2010
filed under:              

3 comments for “Windows Client Developer Roundup for 6/28/2010”

  1. lannysays:

    I'm implementing a WiFi AAA(authentication) server with PEAP(mschapv2) method over radius stack.

    I test my WFAAA server through PC with windows xp, vista, and also through iphone and serveral kind of smart phones.

    It succeed with iphone and smart phones , they can access internet after authenticated by my WFAAA server.

    The problem is windows client. It fails in windows xp, vista and win7.

    WFAAA server authenticated client successfully through the created TLS tunnel and answered with encrypted auth_string (rfc2759 : Microsoft PPP CHAP Extensions, Version 2). but the client (windows pc) does not answer.

    1. I confirmed the success string (S=40byte string) is correct.
    2. encryption key is also used at the previous step(challenge, response) and successfully passed.
    3. then what could be the problem?

    Oh one more, if I connect through intel proset wireless connection utility, it also succeed in windows xp.

    What's the problem?
    Or is there any idea that can view the fail reason in windows.

    HELP PLEASE~~



    ----------------------------------------------------------------------------------------------------------
    same contents in korean language.






    제가 지금 WiFi AAA 서버를 구현하고 있는데 radius 스택 위에서 PEAP(MSCHAPv2) 메소드를 사용하여 구현중입니다.



    그리고 window xp, vista가 깔려있는 PC와 아이폰 그리고 여러가지 많은 스마트폰으로 시험햇는데요

    아이폰과 스마트폰들은 전부 인증이 잘 되어 인터넷 연결에 성공하였습니다.

    유독 windows에서만 안되는데요 문제는 xp에서 intel proset 무선 연결 유틸리티를 이용하여 연결 요청하면 또 성공합니다. 다만 windows 무선네트워크 보기를 통해 시도하면 항상 똑같이 안됩니다

    intel proset 이 vista, win7 용은 무선연결 유틸리티가 없더라구요.



    모든 call flow와 환경 등을 free radius와 맞춰봤는데 별 이상이 없었습니다

    근데 희한하게 free radius 서버에 연결하면 windows에서도 인증 성공하네요.

    안되는 위치는 aaa 서버와 단말이 TLS 터널을 생성하고 서버가 단말의 id/pw를 확인하여 맞으므로 (challenge, response 등 주고 받아 인증 성공) rfc2759 : Microsoft PPP CHAP Extensions, Version 2 규격에 근거하여 eap-success (auth_string)을 암호화하여 단말로 내려줬는데 단말에서 아무 반응이 없습니다.


    일단 암호화전 auth_string은 정확하고
    암호화도 그 전단계에서 했던거라 암호화키도 맞다고 판단되구요
    wireshark으로 패킷이 PC까지 전달된것을 확인하였습니다.
    서버 인증서는 free radius에서 쓰는것을 그대로 갖고 와서 썼습니다.
    (windows oid 포함하여 생성한 인증서임)

    패킷 포맷도 free-radius 서버와 비교해서 맞는것을 확인하였습니다.

    기본 rfc 규격을 다 만족시킨것 같은데 안되는 이유가 무엇인지..



    그렇다면 문제가 될만한게 무엇이 있을가요. PC가 아무런 로그도 남기지 않고 응답을 안하니 너무 답답합니다.

    혹시 windows가 다른 단말들과 다른 점이 있나요? (intel proset utility로하면 되는건 뭔차이일가요?)

    혹시 window에서 실패원인을 알수 있는 방법이라도 없나요?

  2. Petesays:
    Hi Lanny

    I'd love to help, but I know nothing about any of what you're doing. Totally the wrong guy, sorry.

    Maybe there's a forum you can use on MSDN? http://social.msdn.microsoft.com/Forums/ . I'm thinking something under the "Open Specifications" heading or the "Windows: Networking" section.

    Pete
  3. Clinton Gallaghersays:
    Pete you've become an outstanding curator, thank you for your work in this context.

    Your use of a fav icon helps but IMO it is best to put the date of the page title as the leading text, i.e. 6/28/2010 Windows Client Developer Roundup - Pete Brown which makes using and referencing as an IE or Bookmark rapid recall which also remains sortable. It is a pia to resize the Favorites window or OnMouseOver to try to find a recent entry.

Comment on this Post

Remember me