Questions tagged [useragent]
63 questions
31
votes
1 answer
illegitimate traffic from user agent Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.10) Gecko/2009042316 Firefox/3.0.10 (.NET CLR 3.5.30729)
This is a rapidly changing event that has no answer yet.
Please do not post your findings or assumptions as answers; reserve
the answer field for when you actually have an answer.
If you have something new to add, please edit it directly in to…
user114293
- 231
- 3
- 8
10
votes
2 answers
Is this user agent string related to Safari?
Mozilla/5.0 (iPhone; CPU iPhone OS 7_1 like Mac OS X) AppleWebKit/536.26
(KHTML, like Gecko) GSA/3.2.1.25875 Mobile/11D167 Safari/8536.25
What's that "GSA" part?
I've tried to figure it out, but googling wasn't enough (the only meaningful results…
MaxArt
- 515
- 1
- 7
- 14
9
votes
1 answer
Haproxy: reject traffic by user agent from file
I am trying to reject connections from specific user agents (by matching a substring of the user-agent header) using an haproxy ACL with -f option to read from a file. However it is not working, it runs as if the configuration is being ignored.
Can…
raugfer
- 221
- 1
- 2
- 5
9
votes
3 answers
How can I block a user agent from all sites on my server?
I originally this posted at webmasters.stackexchange.com, but was told I'd get a better reception here.
For the last few days, I've been suffering from what appears to be a (presumably inadvertent) DDOS attack. I've been getting so many requests…
Tom Wright
- 914
- 3
- 12
- 25
8
votes
1 answer
Serve different files for specific user agents using nginx
Using nginx, how do you serve different static files for different user agents? For example, if the current user is using an iPhone, they should be served mobile_index.html, whereas all other user agents should be served browser_index.html.
Found…
summatix
- 225
- 1
- 3
- 6
8
votes
2 answers
Blocking apache access via user agent string
I've got a scripter who is using a proxy to attack a website I'm serving.
I've noticed that they tend to access the site via software with a certain common user agent string (i.e. http://www.itsecteam.com/en/projects/project1_page2.htm "Havij…
Kzqai
- 1,278
- 4
- 17
- 32
7
votes
2 answers
check several user agent in nginx
I need to redirect the traffic to one backend or another according to the user-agent. Is that the right thing to do ?
server {
listen 80;
server_name my_domain.com;
if ($http_user_agent ~ iPhone ) {
rewrite ^(.*) …
Luc
- 518
- 3
- 5
- 20
4
votes
4 answers
How to detect bots programatically
we have a situation where we log visits and visitors on page hits and bots are clogging up our database. We can't use captcha or other techniques like that because this is before we even ask for human input, basically we are logging page hits and…
Tom DeMille
- 239
- 3
- 8
3
votes
3 answers
nginx not blocking user agents
I have this in my .conf file for my website in attempt to block 2 user agents from constantly probing my server.
## Block http user agent - morpheus fucking scanner ##
if ($http_user_agent ~* "morfeus fucking scanner|ZmEu") {
return 403;
}
Ive…
ProfessionalAmateur
- 917
- 5
- 17
- 26
3
votes
2 answers
Blocking by user-agent string in httpd.conf not effective
I'd like to block some spiders and bad bots by user-agent text string for all of my virtual hosts via httpd.conf but have yet to find success. Below are the contents of my http.conf file. Any ideas why this isn't working? env_module is…
Ferdinand.Bardamu
- 31
- 1
- 3
3
votes
2 answers
The Java/1.4.1_04 user agent clashes (404) with some jQuery / Javascript
Since I put up a new javascript file on my server a few days ago I've been getting strange 404's logs. It seems that some Java user-agent clashes with some part of the jQuery (1.6.2). I send an automated email whenever someone hits a 404 and I send…
Lode
- 178
- 1
- 8
2
votes
1 answer
Getting "302 Found" even after redirecting to a specific file in the .htaccess
I have an Apache server hosted on an EC2 instance which points to a domain that I own. Now, what I essentially want to get done is that the web server should return a .json file when the user tries to curl the domain.
eg. $curl mydomain.com
My…
jait
- 23
- 2
2
votes
0 answers
iis doesnt compress content only for requests containing "/gecko/" in user-agent
Very weird behavior. My server returns gzipped response for all other requests.
in the images you could see that for user agent "/gecko/" the request is not gzipped and for "/gescko/" it is. i'm using the iis 7.5. The content returned is dynamic,…
Yuval Perelman
- 123
- 3
2
votes
1 answer
Block web requests based on a portion of the user agent string - Not working
I'm trying to block web requests based on if they contain any of a group of strings. As far as I can tell between my own knowledge and searching online, what I have is correct. However, I'm still seeing these types of requests in the access…
d.lanza38
- 327
- 1
- 5
- 13
2
votes
0 answers
Very long useragent
We have requests in our server log with a very long useragent:
HEADER: user-agent=Mozilla/5.0 (Windows NT 6.1; WOW64; rv:32.0; WUID=4bddaa48430e60af6132822cd6fab6c4; WTB=2873; WUID=4bddaa48430e60af6132822cd6fab6c4; WTB=2873;…
wutzebaer
- 129
- 8