10

In my awstats log (cpanel), the webservice consumed by the iphone app shows various user-agents like:

AppName/1.6 CFNetwork/485.13.9 Darwin/11.0.0
AppName/1.6 CFNetwork/548.0.3 Darwin/11.0.0
AppName/1.0 CFNetwork/485.13.9 Darwin/11.0.0

Is there a way to make sense of this? I am more interested in finding out the devices (iPhone, iPad etc.) and OSes (iOS4, iOS5 etc.) is that possible from this user agent?

xoail
  • 2,978
  • 5
  • 36
  • 70
  • 2
    Related (or even duplicate?): http://stackoverflow.com/questions/6239553/a-list-of-linking-cfnetwork-version-numbers-to-the-version-of-ios – Jan Fabry Oct 27 '11 at 19:20
  • Thanks but that is not updated. Is there any other link like that which is more current? – xoail Oct 27 '11 at 19:38
  • I guess you can't find out the device. I see `CFNetwork/485.13.9 Darwin/11.0.0` from 2 iPads with iOS 4.3.3 and 4.3.5, while the simulator with Xcode 4.2 on a MacBook says `CFNetwork/485.13.9 Darwin/10.8.0`. – ott-- Oct 27 '11 at 23:42
  • 1
    You're probably best off setting the user-agent yourself to include the information you'd like. How are you making your request? – hypercrypt Nov 29 '11 at 08:58
  • These requests are made at least by iOS HTML5 video player. – Samuli Pahaoja Apr 15 '14 at 13:40

1 Answers1

15

There is not much info here. It turns out, it is in format :

AppName/AppVerson, CFNetwork/iOSVersion (4xx/5xx), Darwin/11.0.0
AppName/1.6 CFNetwork/485.13.9 Darwin/11.0.0
prayagupa
  • 30,204
  • 14
  • 155
  • 192
xoail
  • 2,978
  • 5
  • 36
  • 70
  • What does CFNetwork and Darwin mean or what are they a reference to? – Erx_VB.NExT.Coder Jul 28 '13 at 16:32
  • 2
    @Erx_VB.NExT.Coder, 'Darwin' is the name of the underlying BSD system that powers OS X and iOS. CFNetwork ('Core Foundation Network') is basically the name of the networking framework iOS apps indirectly use when making HTTP requests. – mszaro Jul 11 '14 at 22:10