Find the answer to your Linux question:
Results 1 to 8 of 8
Hi, Please let me know why the XProbe not works for windows. Is there something in XProbe which does not work on Windows? Can we use it for Windows by ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Apr 2009
    Posts
    9

    XProbe On Windows


    Hi,
    Please let me know why the XProbe not works for windows.

    Is there something in XProbe which does not work on Windows?

    Can we use it for Windows by making some changes?


    Regards
    Vishal

  2. #2
    Linux Guru Rubberman's Avatar
    Join Date
    Apr 2009
    Location
    I can be found either 40 miles west of Chicago, in Chicago, or in a galaxy far, far away.
    Posts
    11,599
    Install Cygwin on Windows and build it in that environment.
    Sometimes, real fast is almost as good as real time.
    Just remember, Semper Gumbi - always be flexible!

  3. #3
    Just Joined!
    Join Date
    Apr 2009
    Posts
    9

    Re: XProbe

    Quote Originally Posted by Rubberman View Post
    Install Cygwin on Windows and build it in that environment.
    I want to know what are the dependencies of the XProbe which restrict it form working on WIndows.
    Is XProbe uses LINUX APIs, Libraries, or anything else?

    Regards
    Vishal

  4. #4
    Linux Guru Rubberman's Avatar
    Join Date
    Apr 2009
    Location
    I can be found either 40 miles west of Chicago, in Chicago, or in a galaxy far, far away.
    Posts
    11,599
    Quote Originally Posted by vishal-askqns View Post
    I want to know what are the dependencies of the XProbe which restrict it form working on WIndows.
    Is XProbe uses LINUX APIs, Libraries, or anything else?

    Regards
    Vishal
    It will undoubtedly use at least the POSIX API's. Windows has some support for posix libraries, but it isn't complete, and there are some "interesting" platform issues. I've spent 25+ years developing multi-platform systems for Unix/Linux/Windows where the same code base had to run equally on all of them. Needless to say, the Windows versions had the greatest number of issues. At least the cygwin environment gives you the linux/posix api's for the Windows environment, and porting non-kernel Linux applications to cygwin is typically trivial. Run ./configure and make.

    In any case, unless there is a specific reason (and a good one) why you would HAVE to run this in a native Windows environment, using MS compilers, then don't bother! If you DO have to use something like Visual Studio to build this, then be prepared for a LOT of non-trivial porting issues and serious regression testing.
    Sometimes, real fast is almost as good as real time.
    Just remember, Semper Gumbi - always be flexible!

  5. #5
    Just Joined!
    Join Date
    Apr 2009
    Posts
    9
    Quote Originally Posted by Rubberman View Post
    It will undoubtedly use at least the POSIX API's. Windows has some support for posix libraries, but it isn't complete, and there are some "interesting" platform issues. I've spent 25+ years developing multi-platform systems for Unix/Linux/Windows where the same code base had to run equally on all of them. Needless to say, the Windows versions had the greatest number of issues. At least the cygwin environment gives you the linux/posix api's for the Windows environment, and porting non-kernel Linux applications to cygwin is typically trivial. Run ./configure and make.

    In any case, unless there is a specific reason (and a good one) why you would HAVE to run this in a native Windows environment, using MS compilers, then don't bother! If you DO have to use something like Visual Studio to build this, then be prepared for a LOT of non-trivial porting issues and serious regression testing.
    Thanks for the prioviding such valuable information.
    You pay some emphasis on the "interesting".
    Please let me know what is this interesting?
    One more thing If I want to uses the ICMP fingerprinting method of XProbe/SourceCode.. Then what changes I need to do for windows or Will I need any luibrary or anything to use that code section of ICMP OS fingerprinting in my code.
    Regards
    Vishal

  6. #6
    Linux Guru Rubberman's Avatar
    Join Date
    Apr 2009
    Location
    I can be found either 40 miles west of Chicago, in Chicago, or in a galaxy far, far away.
    Posts
    11,599
    Quote Originally Posted by vishal-askqns View Post
    Thanks for the prioviding such valuable information.
    You pay some emphasis on the "interesting".
    Please let me know what is this interesting?
    One more thing If I want to uses the ICMP fingerprinting method of XProbe/SourceCode.. Then what changes I need to do for windows or Will I need any luibrary or anything to use that code section of ICMP OS fingerprinting in my code.
    Regards
    Vishal
    "Interesting" as in, may you live in interesting times! The curse of the Buddha. When things don't work the way you expect or as advertised, or that system behavioral differences make it difficult for applications to have identical behavior with the same set of inputs and environment.

    As for ICMP fingerprinting, I don't know about this, or whether such code is easily available for the Windows platform. At least if you need it, then the library code is available and can be ported to Windows. As I said, porting LInux code to Windows can be difficult if you are insistent on using native Windows development tools (VS, etc), but porting to the cygwin environment is generally trivial since it supports the same compilers, debuggers, development tools as you find on Linux.
    Sometimes, real fast is almost as good as real time.
    Just remember, Semper Gumbi - always be flexible!

  7. #7
    Just Joined!
    Join Date
    May 2011
    Posts
    1
    so did the cygwin work? could you build and run xprobe on windows?

    Thanks!

  8. #8
    oz
    oz is offline
    forum.guy
    Join Date
    May 2004
    Location
    arch linux
    Posts
    18,733
    Hello and welcome aboard, Kel08!

    Please start a new thread if you are having any problems with Linux. This one is over 2 years old, so locking it.

    Thank you.
    oz

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •