[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: fail2ban for apache2



On Sun, Nov 10, 2019 at 10:55:03AM -0500, Gene Heskett wrote:
> On Sunday 10 November 2019 08:02:46 Michael wrote:

> Which contains such gems as this:
> coyote.coyote.den:80 40.77.167.79 - - 
> [10/Nov/2019:10:44:45 -0500] "GET /gene/fence/18.html HTTP/1.1" 200 
> 1121 "-" "Mozilla/5.0 (iPhone; CPU iPhone OS 7_0 like Mac OS X) 
> AppleWebKit/537.51.1 (KHTML, like Gecko) Version/7.0 Mobile/11A465 
> Safari/9537.53 (compatible; bingbot/2.0; 
> +http://www.bing.com/bingbot.htm)"
> 
> But I've no clue which of the above blather is the "User agent" [...]

It's the sixth field:

  "Mozilla/5.0 (iPhone; CPU iPhone OS 7_0 like Mac OS X) 
  AppleWebKit/537.51.1 (KHTML, like Gecko) Version/7.0 Mobile/11A465 
  Safari/9537.53 (compatible; bingbot/2.0; 
  +http://www.bing.com/bingbot.htm)"

Yes, a bit long. But focusing on the bingbot part seems reasonable.

Cheers
-- t

Attachment: signature.asc
Description: Digital signature


Reply to: