Sponsored Content
Top Forums Web Development Discrepancies Between Our Mobile Detection Code and Google Analytics Regarding Chinese User Agents Post 303040224 by Neo on Friday 25th of October 2019 06:09:01 AM
Old 10-25-2019
Here is a link to a similar discussion about the same Chinese bots, identified as "mobile devices" by our system which have been hammering the site of late:

Blocking aggressive Chinese crawlers/scrapers/bots - John Large - Technology, Hardware,Web Development, Digital Privacy & Ethics

So far, I am just sending many of these UAs to 403, but may come up with some better idea after more logging and analysis.

I am not keen on "mass blocking" but these bots are really extreme and the IP addresses are changing so much that IP address blocking will not work; so I have to block based on UA.
 

5 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

SED Search and Replace Question for Google Analytics

Well, I'm losing my regex ability in sed! Please help. I need to search for this text in multiple html files in a directory: </body> and add the following lines in front of the text above: <script src="http://www.google-analytics.com/urchin.js" type="text/javascript"> </script> ... (11 Replies)
Discussion started by: Neo
11 Replies

2. Google Chrome OS

Google Chrome Mobile?

I know that Google Chrome came out with the Android under a Unix based system, but did it come out yet for Windows Mobile? I have Windows Mobile 6 on my device. (0 Replies)
Discussion started by: Anna Hussie
0 Replies

3. Shell Programming and Scripting

User Agents Identifier

Hi, Can anyone help me write a script tp determine the web browser from a user agent. A user agent is stored in a file and consists of hundreds of lines e.g. 37050 Mozilla/5.0 (Windows NT 6.1; WOW64; Trident/7.0; rv:11.0) like Gecko 29404 Mozilla/5.0 (Windows NT 6.3; WOW64)... (4 Replies)
Discussion started by: cyberfrog
4 Replies

4. Web Development

Quick Fix for Google Search Console "Page is not mobile friendly"

Over the past 10 plus years, we have countless posts where the user did not use CODE tags or they used ICODE tags incorrectly. This has has the results of this site penalized by Google for having pages which are "not mobile friendly". So, working quietly in the background, in the thankless... (0 Replies)
Discussion started by: Neo
0 Replies

5. What is on Your Mind?

Google Search Console - Mobile Usability - No Errors or Issues - New Milestone

For the first time in the history of the site Google Search Console (GSC) has unix.com showing "no mobile viewability errors". This is no small achievement considering the hundreds of thousand of lines of legacy code we run at a site which has been around much longer than Facebook or LinkedIn: ... (0 Replies)
Discussion started by: Neo
0 Replies
mq_setattr(2)							System Calls Manual						     mq_setattr(2)

NAME
mq_setattr - set the blocking status of a message queue associated with a descriptor SYNOPSIS
DESCRIPTION
The system call changes the blocking status of a message queue associated with the descriptor, mqdes. The blocking status that is modified is per message queue descriptor and another open descriptor for the same message queue can have a different blocking status. The argument mqstat, points to an structure that specifies the blocking status desired. More specifically, if the bit in the mq_flags field of the structure is set, the descriptor is marked as non-blocking. Otherwise it is marked as blocking. If omstat is non-NULL, will store in the structure referenced by omqstat, the previous message queue attributes and the queue blocking sta- tus associated with this mqdes. The values returned are the same as would be returned by a call to To use this function, link in the realtime library by specifying on the compiler or linker command line. RETURN VALUE
returns the following values: Successful completion. Failure. is set to indicate the error. ERRORS
If fails, is set to one of the following values: [EBADF] mqdes is not a valid message queue descriptor. [EINVAL] mqstat does not point to a valid structure, or omqstat is non-NULL and does not point to a valid structure. [ENOSYS] is not supported by the implementation. SEE ALSO
mq_getattr(2), mq_open(2). STANDARDS CONFORMANCE
mq_setattr(2)
All times are GMT -4. The time now is 03:42 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy