Old 8th April 2020, 20:39   #1
djcenk
Member
 
Join Date: Jan 2005
Posts: 56
referrers to log file.

Hi
How can i log to listener refferers to log file ? (W3 Log file is match with normal log file)
Is there such a setting?
thanks
djcenk is offline   Reply With Quote
Old 8th April 2020, 23:18   #2
djSpinnerCee
Forum King
 
djSpinnerCee's Avatar
 
Join Date: Aug 2004
Location: Hollis, Queens/The Bronx, NYC
Posts: 3,525
i think if you enable the debug option for HTTP Requests, you'll get request headers ... the doc says listener connections and connections to the dnas web server will be logged... you may get a lot of other junk too.... so try it, and see if it gives you what you need.

edit:add

the .conf/.ini setting is httpstyledebug=1
djSpinnerCee is offline   Reply With Quote
Old 9th April 2020, 08:12   #3
djcenk
Member
 
Join Date: Jan 2005
Posts: 56
Thank you for the information but unfortunately not writing referrrer to log file.

2020-04-09 11:04:39 DEBUG [DST 46.20.**.**:53826] Checking access rights - addr: 46.20.11.230, inBan: 0, inRip: 0, isCDN: 0, ripOnly: 0
2020-04-09 11:04:39 DEBUG [DST 46.20.**.**:53826] Starting client via auth.
2020-04-09 11:04:39 INFO [DST 46.20.**.**:53826 sid=1] HTTP client connection accepted. User-Agent: `Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.163 Safari/537.36', UID: 3, GRID: 3




Quote:
Originally Posted by djSpinnerCee View Post
i think if you enable the debug option for HTTP Requests, you'll get request headers ... the doc says listener connections and connections to the dnas web server will be logged... you may get a lot of other junk too.... so try it, and see if it gives you what you need.

edit:add

the .conf/.ini setting is httpstyledebug=1
djcenk is offline   Reply With Quote
Old 9th April 2020, 12:46   #4
djSpinnerCee
Forum King
 
djSpinnerCee's Avatar
 
Join Date: Aug 2004
Location: Hollis, Queens/The Bronx, NYC
Posts: 3,525
the referrer header will only appear if the remote client (browser, player....) provides it. security/privacy settings (like "do not track") will supress the referrer and other headers.

2020-04-09 06:25:39 DEBUG [DST 163.172.213.135:45558] HTTP Request [GET]
2020-04-09 06:25:39 DEBUG [DST 163.172.213.135:45558] HTTP Url [stream/5/]
2020-04-09 06:25:39 DEBUG [DST 163.172.213.135:45558] HTTP Protocol [HTTP]
2020-04-09 06:25:39 DEBUG [DST 163.172.213.135:45558] HTTP Version [1.0]
2020-04-09 06:25:39 DEBUG [DST 163.172.213.135:45558] HTTP Header [host:69.125.93.49]
2020-04-09 06:25:39 DEBUG [DST 163.172.213.135:45558] HTTP Header [icy-metadata:1]
2020-04-09 06:25:39 DEBUG [DST 163.172.213.135:45558] HTTP Header [user-agent:node-internet-radio v0.1.6]
2020-04-09 06:25:39 DEBUG [DST 163.172.213.135:45558] Checking access rights - addr: 163.172.213.135, inBan: 0, inRip: 0, isCDN: 0, ripOnly: 0
2020-04-09 06:25:39 DEBUG [DST 163.172.213.135:45558] Starting client via auth.

Last edited by djSpinnerCee; 9th April 2020 at 14:04.
djSpinnerCee is offline   Reply With Quote
Reply
Go Back   Winamp & Shoutcast Forums > Shoutcast > Shoutcast Technical Support

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump