mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 06:38:20 +00:00
Update main.bro
added back user agent
This commit is contained in:
parent
5a526a5f4f
commit
3d4dd2ea67
1 changed files with 3 additions and 0 deletions
|
@ -263,6 +263,9 @@ event http_header(c: connection, is_orig: bool, name: string, value: string) &pr
|
||||||
else if ( name == "ORIGIN" )
|
else if ( name == "ORIGIN" )
|
||||||
c$http$origin = value;
|
c$http$origin = value;
|
||||||
|
|
||||||
|
else if ( name == "USER-AGENT" )
|
||||||
|
c$http$user_agent = value;
|
||||||
|
|
||||||
else if ( name in proxy_headers )
|
else if ( name in proxy_headers )
|
||||||
{
|
{
|
||||||
if ( ! c$http?$proxied )
|
if ( ! c$http?$proxied )
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue