**We need a _Winsock Layered Service Provider_ written in C or C++.**
The LSP needs to intercept HTTP packets which request specific URLs and redirect them all to a single alternate URL. This is not just a simple address/port redirection. Data will need to be monitored for HTTP traffic, analysed and redirected accordingly. HTTP headers will need to be modified also.
Another task that the LSP will need to do is monitor a completely different port and perform data analysis to catch an email address. This email will need to be encoded using a one of the standard symmetric algorithms (if neccesary base64 encoded aswell to remove strange characters) and appended to the end of the alternate URL specified above in the fashion: ?email=encodedvalue. Details of the data analysis will be provided but it is very simple, only parsing of a raw text packet is required to get the email address.
No proxies etc, will be accepted. It must be a Winsock LSP.
Other requirements include: code must be extremely well documented and easy to make modifications to, it should be optimized for use on Windows 2000 and Windows XP, and it must have a setup package.
All the files used to create the setup package should be included as well so the setup package can be recreated at a later date.
Poorly written code will not be accepted.
## Deliverables
1) Complete and fully-functional working program(s) in executable form as well as complete source code of all work done.
2) Deliverables must be in ready-to-run condition, as follows (depending on the nature of the deliverables):
a) For desktop software or software the buyer intends to distribute: A software installation package that will install the software in ready-to-run condition on the platform(s) specified in this bid request.
3) All deliverables will be considered "work made for hire" under U.S. Copyright law. Buyer will receive exclusive and complete copyrights to all work purchased. (No GPL, GNU, 3rd party components, etc. unless all copyright ramifications are explained AND AGREED TO by the buyer on the site per the coder's Seller Legal Agreement).
## Platform
Windows 2000, Windows XP