mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 06:38:20 +00:00

Moved examples and use cases into a common subdir so those topics will get grouped together in the main sidebar/TOC
5 lines
231 B
Text
5 lines
231 B
Text
event http_reply(c: connection, version: string, code: count, reason: string)
|
|
{
|
|
if ( /^[hH][tT][tT][pP]:/ in c$http$uri && c$http$status_code == 200 )
|
|
print fmt("A local server is acting as an open proxy: %s", c$id$resp_h);
|
|
}
|