Questions tagged [winsock-lsp]

Winsock Layered Service Provider (LSP)

A layered service provider (LSP) is a DLL that can be loaded into the Windows TCP/IP stack. It is provided by the 2 service provider interface.

24 questions
0
votes
0 answers

How to return to the corresponding udp sender after the socks5 proxy - Windows lsp spi udp

I use windows lsp for proxy some url and game UDP over local sock5 proxy. I have a problem with it: How to get caller port in function: int WSPAPI WSPSendTo? I want to follow the following steps: 1: connection to local proxy server over TCP 2: get…
0
votes
1 answer

If I want to develop Layered Service Provider to support all Windows OS's, what problems should I expect?

I want to develop simple HTTP filter (transparent proxy). I want it to support all versions of Windows including XP and above. From the folks that have experience with this, what problems should iIexpect when installing the service?
user63898
  • 29,839
  • 85
  • 272
  • 514
0
votes
2 answers

Firefox 4 Beta and Winsock LSP

I have a problem with Firefox 4 Beta. It seems that firefox somehow ignores all LSP providers installed. But it does use winsock. What's the problem? Is it my LSP problem and I can fix it or not?
0
votes
1 answer

Socket change in LSP

Is it possible to change the destination socket (IP and port) of the outgoing packets using LSP (Layered Service Provider) in Windows? For example, I want to redirect all HTTP packets to a proxy server (given IP/port). This way I can create…
Khaled
  • 1,114
  • 14
  • 31
0
votes
1 answer

Debug LSP with dt_dll

Does anyone know how to debug the LSP sample provided with Microsoft platform SDK? I read about this topic and found that the sample dt_dll generate a DLL file that can be used with a checked version of ws2_32.dll. The problem is that they are not…
Khaled
  • 1,114
  • 14
  • 31
0
votes
1 answer

Unable to build LSP sample

I downloaded Microsoft platform SDK. I tried to build the sample project LSP under C:\Program Files\Microsoft Platform SDK\Samples\NetDS\WinSock\LSP I got the following linking errors: asyncselect.obj : error LNK2001: unresolved external symbol…
Khaled
  • 1,114
  • 14
  • 31
0
votes
2 answers

LSP (Layered Service Provider) OS compatibility

Which operating systems support LSP (Layered Service Provider)? Interesting operating systems (Windows XP 32/64bit,Windows Vista 32/64bit, Windows 7 32/64bit, Windows Server 2008 32/64bit, Windows Server 2008 R2 32/64bit)
lebron2323
  • 990
  • 2
  • 14
  • 29
0
votes
1 answer

Cannot use `deflateInit` to compress the modified data

I'm developing an LSP that monitors HTTP traffic and modifies the source HTML code of every webpage. To modify HTTP response that are chunked, I used zlib and inflate and successfully decompressed the data using the following main line of code: r =…
Javid
  • 2,755
  • 2
  • 33
  • 60
0
votes
1 answer

How to find out exact URL in LSP?

I'm developing an LSP and I need to know what exact URL is. For example, let's say user is using Firefox to browse pages. I want to get the page full URL whether it is HTTP or HTTPS. How can I do this? I can get address by fetching the HTTP request…
Javid
  • 2,755
  • 2
  • 33
  • 60
1
2