Forum Moderators: phranque
a lonesome hyphen was thwarted
I was awaiting Mr. BackslashWasn't that a famous play?
I see these every day and allow these UA strings.
"\"Mozilla/5.0 (iPhone; CPU iPhone OS 11_0 like Mac OS X) AppleWebKit/604.1.38 (KHTML, like Gecko) Version/11.0 Mobile/15A372 Safari/604.1\"This is a common bookmarker, the kind that saves a link to your page on the user's Home screen on their phone. This would likely be done by someone who likes your page enough to want to visit it often.
Do any of these look something like this?Those aren't literal backslashes, though. They are escaped quotation marks, necessary because logs use quotation marks as a delimiter. You can verify this by cross-checking the User-Agent header."\"Mozilla/5.0 (iPhone; CPU iPhone OS 11_0 like Mac OS X) AppleWebKit/604.1.38 (KHTML, like Gecko) Version/11.0 Mobile/15A372 Safari/604.1\"
1.2.3.4 - - [09/Apr/2018:10:08:03 -0700] "GET /ebooks/barrow/ HTTP/1.1" 200 31814 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_6) AppleWebKit/605.1.15 (KHTML, like Gecko)"
1.2.3.4 - - [09/Apr/2018:10:08:05 -0700] "GET /apple-touch-icon-precomposed.png HTTP/1.1" 200 1583 "-" "Safari/12605.1.33.1.3 CFNetwork/811.5.4 Darwin/16.7.0 (x86_64)"
1.2.3.4 - - [09/Apr/2018:10:08:05 -0700] "GET /ebooks/barrow/ HTTP/1.1" 403 1838 "-" "\"Mozilla/5.0 (iPhone; CPU iPhone OS 11_0 like Mac OS X) AppleWebKit/604.1.38 (KHTML, like Gecko) Version/11.0 Mobile/15A372 Safari/604.1\""
1.2.3.4 - - [09/Apr/2018:10:08:06 -0700] "GET /apple-touch-icon-precomposed.png HTTP/1.1" 200 1582 "-" "Safari/12605.1.33.1.3 CFNetwork/811.5.4 Darwin/16.7.0 (x86_64)"
(Well, ###. That icon request means they slipped under the radar and I didn't realize it was not a human. I need to fine-tune my log wrangling; what would a desktop be doing with the apple-touch-icon?) 2018-04-09:10:08:03
URL: /ebooks/barrow/
IP: 1.2.3.4
Dnt: 1
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_6) AppleWebKit/605.1.15 (KHTML, like Gecko)
{snip}
2018-04-09:10:08:05
URL: /ebooks/barrow/
IP: 1.2.3.4
Dnt: 1
User-Agent: "Mozilla/5.0 (iPhone; CPU iPhone OS 11_0 like Mac OS X) AppleWebKit/604.1.38 (KHTML, like Gecko) Version/11.0 Mobile/15A372 Safari/604.1"