Questions tagged [useragent]

63 questions
1
vote
2 answers

User agent blacklist recommended

Perishable Press publishes a managed user agent blacklist frequently, which blocks bad bots which htaccess directives. Article to be found here: http://perishablepress.com/press/2009/03/29/4g-ultimate-user-agent-blacklist/ Would you recommend using…
Chrisissorry
  • 139
  • 7
1
vote
2 answers

Access log Explanation

I am some what new to access_log and just started monitoring it for one of my new sites. The questions I have, is when viewing via -f tail, this is the average output: 000.000.000.000 - - [22/Jun/2011:08:23:11 -0500] "GET /groups/ HTTP/1.1" 200…
ATLChris
  • 123
  • 6
1
vote
1 answer

Browser user agent string with all 0s

I've had 2 mac users hit my site today, and both their browser user agents were: Mozilla/5.0 (000000000; 0; 00000 000 00 0 000000; 00000) DDDDDDDDDDDDDDDDDDDD DDDDDDD DDDD DDDDDD DDDDDDDDDDDDD DDDDDDDDDDDDDDD instead of what I would generally…
psychotik
  • 123
  • 3
1
vote
0 answers

Add some text to curl's user agent string? (i.e. curl with a UA that includes curl's default UA & my text)

I am writing a shell script which uses curl(1) to download files. By default curl will set a HTTP User-Agent (UA) to something like curl/7.74.0. I want to be a good internet citizen and set the UA to say what my script is. Since the software that is…
Amandasaurus
  • 30,211
  • 62
  • 184
  • 246
1
vote
1 answer

Excessive requests to /favicon.ico every few minutes from a single user

A significant fraction of the requests to my webserver over the last few months are from a single user requesting /favicon.ico: # tail -n 3 access_log XXX - - [24/Jan/2021:17:40:18 +0000] "GET /favicon.ico HTTP/1.1" 200 1845 "-"…
0
votes
2 answers

What is the point of a bot spoofing various ancient user agents while "GET / HTTP/1.1"?

I found the following interesting traffic in my apache log: 213.159.213.236 - - [16/Dec/2019:03:02:03 -0500] "GET / HTTP/1.1" 200 3797 "-" "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; FSL 7.0.7.01001)" 213.159.213.236 - -…
Logg
  • 103
  • 2
0
votes
1 answer

keepalive_disable parameters nginx for particular useragent/browsers

I am using keepalive_disable in nginx conf this requires for Syntax: keepalive_disable none | browser ...; Default: keepalive_disable msie6; Context: http, server, location Now i have two problems other than safari, msie6 i was not able to…
Shoaib
  • 1
0
votes
1 answer

Block website scraper in Haproxy

I am using Haproxy. I want to block scrapers from my website. In the haproxy.cfg , I have created a rule. acl blockedagent hdr_sub(user-agent) -i -f /etc/haproxy/badbots.lst http-request deny if blockedagent The file /etc/haproxy/badbots.lst…
Cyberzinga
  • 35
  • 2
  • 6
0
votes
1 answer

How to whitelist User Agent string?

I'm trying to whitelist a very specific User Agent string in Nginx. The below examples demonstrate how to whitelist general types of browsers (eg mozilla or chrome), but the string I want to whitelist has / and ( which breaks the nginx conf. How to…
user421936
  • 191
  • 1
  • 2
  • 4
0
votes
1 answer

Proxy changing my user agent build string

I'm making 2 connections to a web server. The first one is not using a proxy and the second one is using a proxy. In the web server access.log I can see my user agent reported in two different ways. Not using proxy: Mozilla/5.0 (Windows NT 10.0;…
0
votes
2 answers

Analyzing HTTP traffic

I am trying to solve the problem for a while and i couldn't find a proper answer online. I have a file with mobile traffic (from an Android device) and I am trying to check whether an http request is sent from the browser or from a mobile app (for…
0
votes
2 answers

nginx IF statement matches with non-alphanumerical characters

I'm trying to stop some pesky bots by blocking ther user agents in nginx. What is the best way to put multiple user-agents/matches in the same if statement when they have non-alphanumerical characters and need to be encaptulated with quotation…
alexwatever
  • 101
  • 2
0
votes
1 answer

Azure VM Unwanted User-Agent Filtering/Blocking

I recently migrated our WP site to a Debian 8 VM running on Azure. Since then, we are unable to process credit card payments through the RedSys payment gateway. It seems that upon successful payment, the gateway attempts to send the success message…
0
votes
1 answer

How to filter JS:ScriptIP-INF (TRJ) in BBClone Webstatistic

I`m using the webstatistic bbclone on my server. In the last month my virus scanner sometimes blocks the details page. it displays the detection of JS:ScriptIP-INF (TRJ) on my bblone. But I compared all files bitwise with the original install…
Radon8472
  • 185
  • 8
0
votes
0 answers

nginx: parse UA and try_files by UA parts

What is given: nginx version: nginx/1.9.3; /var/www/site/js/site.chrome.js - code specific for chrome; /var/www/site/js/site.firefox.js - code specific for firefox; site.chrome.js and site.firefox.js are selected on the browser side depending on…