Questions tagged [useragent]
63 questions
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…

akseli
- 211
- 2
- 7
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…

Dmitry N. Medvedev
- 21
- 4
0
votes
0 answers
NGINX $http_user_agent cause 404 response
The following conditional when matching a user-agent with substring 'MSIE 8' causes a 404 redirect?
#Begin IE8 Hack
if ($http_user_agent ~* 'MSIE 8') {
#set $hack "I";
}
#End IE8 Hack
Commenting out the if ($http_user_agent... stops the…

Ben Crowhurst
- 101
- 3
0
votes
1 answer
Windows Phone user-agents?
I've been analyzing my access logs and found two very different ways Windows Phones advertise themselves. Here are two examples for a Nokia Lumia 800:
Mozilla/5.0 (compatible; MSIE 9.0; Windows Phone OS 7.5; Trident/5.0; IEMobile/9.0; NOKIA; Lumia…

pieroxy
- 135
- 5
0
votes
1 answer
NGiNX Custom Cache param based on regex match
My question(s) are as follows:
How do I set custom variables based on regexp against a useragent?
How do I set custom headers for the reverse-proxy request?
How do I use these values as caching parameters?
Details:
I'm doing an initial output in…

Tracker1
- 293
- 3
- 11
0
votes
3 answers
user agent in http or https request
Is there any way that I can differentiate,
the HTTP or HTTPS packets are coming from browser or not ?
specially for https request.There is User-Agent field in packet in Http,but I could not found anything in HTTPS.

user95711
- 211
- 3
- 4
- 11
0
votes
1 answer
mod_security not blocking empty useragent requests
I can't get mod_security to block empty useragent requests. I am not very saavy with it so after searching I found this rule:
SecMarker BEGIN_UA_CHECK
SecRule &REQUEST_HEADERS:User-Agent "@eq 0"…

san671
- 51
- 1
- 6
0
votes
1 answer
How to filter request using IP restrictions OR a filtering rule
We have an IIS site right now that has an allow list for a specific list of IP addresses, and all other IPs denied by default. We want to add another rule, that states that if the request coming in as a user-agent of a specific value, then allow it,…

M.R.
- 143
- 1
- 8
0
votes
1 answer
Nginx: security vs conditionals
I was reading around looking for some security steps that can be taken in Nginx to protect apps I'm serving using Nginx as a reverse proxy. I found this code which has some good things in it to protect sites, but it's full of conditionals and the…

Ryan Burnette
- 163
- 1
- 4
0
votes
1 answer
NGINX MIME TYPE
I have my nginx conf file so that when ever a mobile device visits my site the url gets rewritten to m.mysite.com I did it by adding the following
set $mobile_rewrite do_not_perform;
if ($http_user_agent ~*…

justanotherprogrammer
- 1
- 1
- 1
0
votes
2 answers
How to create .htaccess and block UserAgent libwww-perl?
I have been testing my website with a SEO checkup tool and one of the warnings I got was this:
Your server appears to allow access from User-agent Libwww-perl.
Botnet scripts that automatically look for vulnerabilities in your
software are…

MicBehrens
- 173
- 1
- 3
- 11
0
votes
1 answer
Help With Adding Mobile User Agent Exceptions To Varnish-Cache
This is the code I've added to the vcl file, so that it caches content for desktop users and mobile users separately:
if (req.http.User-Agent ~…
user88753
0
votes
2 answers
What is a Looking Glass server?
I keep getting requests in my Apache logs from a bot with the user agent AppEngine-Google; (+http://code.google.com/appengine; appid: lookingglass-server) I understand that this is a looking glass server, but I don't know what a looking glass server…

Alex Grin
- 241
- 3
- 4
- 10
-1
votes
2 answers
Please deconstruct a user agent string for me
Okay I give up. Given the user agent string below, which browser is being used? It might be IE8, since I can't envision firefox sending this. If it is IE8, why the hell is the "Mozilla" string in there? I am not familiar with the history or taxonomy…

P a u l
- 165
- 3
- 9