Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9175315
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T16:53:34+00:00 2026-06-17T16:53:34+00:00

Setup: I have client C connecting to server S Both C and S are

  • 0

Setup:

  • I have client C connecting to server S
  • Both C and S are on the same machine
  • In C the server address is hardcoded to 127.0.0.1. Likewise, in S the client address is hardcoded to 127.0.0.1

Problem:
I want to be able to sniff the traffic between the client and the server.

  • Due to the configuration, I cannot move the client nor the server to different locations (the address are hardcoded)
  • Installing the loopback interface and using tools like Wireshark+WinPcap doesn’t lead anywhere (was actually already known but was worth a try)
  • RawCap, suggested in another topic, doesn’t work. IP 127.0.0.1 is listed, but does not record any traffic.
  • Using rinetd to route the traffic elsewhere, as suggested here doesn’t work (cannot bind on 127.0.0.1)
  • Not interested in using a HTTP local proxy, such as Fiddler, because I’d like to capture also other protocols
  • Two commercial tools work, specifically CommView and Local Network Monitor, which means it must be possible to do that 😉

How can I do to capture the traffic?
Any pointer on functions I should use or documentation I should read?

Thanks!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-17T16:53:35+00:00Added an answer on June 17, 2026 at 4:53 pm

    Basically you need to write a TDI filter driver to achieve that… for some pointers see:

    • http://msdn.microsoft.com/en-us/library/windows/hardware/ff565685%28v=vs.85%29.aspx
    • http://msdn.microsoft.com/en-us/library/windows/hardware/ff563317%28v=VS.85%29.aspx

    Another option is to write a WinSock LSP.

    BEWARE
    Since Windows 8 it is strongly encouraged to use WFP (Windows Filtering Platform) for this sort of thing…

    Although it might be more cost-effective to just use/buy an existing solution – esp. if you are not a very experienced driver developer…

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

In a server/client setup I have a server connecting with clients on a handful
I have a TCP client-server setup where I need to be able to pass
I have a simple client/server setup. The server is in C and the client
Currently we have a hybrid ASP/PHP setup connecting to a SQL Server 2005 database.
I have set up an AJAX contact form on a client's website. The problem
Setup: I have a UITextView inside a UITableViewCell 's contentView . I want it
Sorry, this is along one to document.. OLD SETUP I have a J2ME client
I have a typical server in my end and a friend using a client
I have the following setup: Dedicated server --> Internet --> Modem (telenet) --> Router
I have the following setup: An Android device uses a 'Client' socket to connect

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.