K
K
Katerina2016-05-21 01:43:27
IIS
Katerina, 2016-05-21 01:43:27

How to correctly write an isapi filter for iis?

Actually the task is as follows: to write a small filter (module) of incoming requests.
the filter logic should be something like this: the incoming request is written to a file --> compared with the array of signatures --> if a match is found, write the event to the log file. to start something like this.
Initially, I thought of writing a module for apsche, but because of the more dreary assembly + pure C or Perl (I haven’t come across it) I’m not happy ..
so I decided to write isapi for iis, since c++ is much closer. and connection is easier.
A leaky simple guestbook with 3 fields (name,e-mail,message) is uploaded to the server; after sending, everything is written to a bat file.
I will test the filter there.
Собственно сам вопрос, как лучше это реализовать,за что хвататься. для начала чтобы фильтр хотя бы просто писал входящие запросы в файл. Сразу говорю,перерыла уже пол интернета по этой теме, исходники либо очень уж старые,либо совсем не то что надо. может более понятные источники подскажите?
Заранее спасибо, не будьте слишком строги.

Answer the question

In order to leave comments, you need to log in

1 answer(s)

для ранних visual studio есть isapi wizard Может и для поздних.
www.codeproject.com/Articles/1432/What-is-an-ISAPI...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question