Welcome! Log In Create A New Profile

Advanced

Nginx Kodi User Agent secure_link blocking / banning

November 02, 2016 02:28AM
So with Nginx my access.logs show allot of Kodi user agents from what I look up online Kodi is a app that runs on Phones, TV sticks, Mac, PC etc and it is used for watching live TV I reckon its a pretty abusive app or service since there is allot going around about IPTV and how illegal it is.

The issue I have is I am receiving allot of spammy errors from them like this.


[02/Nov/2016:06:46:58 +0100] "HEAD /media/files/5b/4e/80/79ecf5e1db30cd313adcac277134389b.mp4?md5=RoSdLIex-9qnGbGdpSyoDDojjTM&expires=1478083618 HTTP/1.1" Status:403 0 "http://networkflare.com/media/files/5b/4e/80/79ecf5e1db30cd313adcac277134389b.mp4?md5=RoSdLIex-9qnGbGdpSyoDDojjTM&expires=1478083618" "Kodi/16.1 (Linux; Android 5.1.1; AFTM Build/LVY48F) Android/5.1.1 Sys_CPU/armv7l App_Bitness/32 Version/16.1-Git:2016-04-24-c327c53"

[02/Nov/2016:06:47:01 +0100] "GET /media/files/12/d1/df/c057fab9ca845f4ae182796a124da8a2.mp4?md5=ILfKhx7G3Mt_RsZjhTNRk5RnXXI&expires=1478083619 HTTP/1.1" Status:403 162 "http://networkflare.com/media/files/12/d1/df/c057fab9ca845f4ae182796a124da8a2.mp4?md5=ILfKhx7G3Mt_RsZjhTNRk5RnXXI&expires=1478083619" "KODI/21.1 (Linux; Android 4.4.2; m201 Build/KOT49H) Kodi_Fork_KODI/1.0 Android/4.4.2 Sys_CPU/armv7l App_Bitness/32 Version/21.1-Git:2016-10-15-c327c53-dirty"

[02/Nov/2016:06:47:03 +0100] "GET /media/files/cf/0d/38/8d62ecb3f7813ca45ce561e5ab31314f.mp4?md5=b_1dqChBf3PZthSuYDWmNYehZRo&expires=1478083621 HTTP/1.1" Status:403 162 "http://networkflare.com/media/files/cf/0d/38/8d62ecb3f7813ca45ce561e5ab31314f.mp4?md5=b_1dqChBf3PZthSuYDWmNYehZRo&expires=1478083621" "Kodi/16.1 (Linux; Android 4.4.4; SM-N900V Build/KTU84P) Android/4.4.4 Sys_CPU/armv7l App_Bitness/32 Version/16.1-Git:2016-04-24-f6ceced"

[02/Nov/2016:06:47:04 +0100] "GET /media/files/12/d1/df/c057fab9ca845f4ae182796a124da8a2.mp4?md5=ILfKhx7G3Mt_RsZjhTNRk5RnXXI&expires=1478083619 HTTP/1.1" Status:403 162 "http://networkflare.com/media/files/12/d1/df/c057fab9ca845f4ae182796a124da8a2.mp4?md5=ILfKhx7G3Mt_RsZjhTNRk5RnXXI&expires=1478083619" "KODI/21.1 (Linux; Android 4.4.2; m201 Build/KOT49H) Kodi_Fork_KODI/1.0 Android/4.4.2 Sys_CPU/armv7l App_Bitness/32 Version/21.1-Git:2016-10-15-c327c53-dirty"


Now I don't host any IPTV services I only have my own static MP4's, My access.log clearly displays they are trying to hit static MP4 files they have obviously not used my site to obtain the correct link what is why the secure_link module is denying them and they seem to be pulling the link straight from HTML as the ampersand inside the referrer and request URL shows (&), Another thing that makes me curious it how the referrer URL is an exact match to what the request URL is. And considering my site does a 301 redirect on all links to http://www.networkflare.com/* there is no way that the referrer should be without a www. in the URL. (Allot of things don't seem right about these requests)

Are these bots has anyone had any experience with KODI before and should I just ignore these requests or take the next step by blacklisting Kodi matching user agents.

I also read that Kodi does not display adverts similar to a adblocker and I have a major problem with those who try to hotlink hijack steal bandwidth and waste resources for free as I am sure allot of others do.

Thanks for reading looking forward to what advice and input others can share on what should be done.

http://www.networkflare.com/
Subject Author Posted

Nginx Kodi User Agent secure_link blocking / banning

c0nw0nk November 02, 2016 02:28AM

Re: Nginx Kodi User Agent secure_link blocking / banning

gariac November 02, 2016 03:14AM

Re: Nginx Kodi User Agent secure_link blocking / banning

c0nw0nk November 02, 2016 03:23AM

Re: Nginx Kodi User Agent secure_link blocking / banning

gariac November 02, 2016 03:48AM

Re: Nginx Kodi User Agent secure_link blocking / banning

c0nw0nk November 02, 2016 04:16AM

Re: Nginx Kodi User Agent secure_link blocking / banning

gariac November 02, 2016 04:36AM

Re: Nginx Kodi User Agent secure_link blocking / banning

c0nw0nk November 02, 2016 05:43AM

Re: Nginx Kodi User Agent secure_link blocking / banning

c0nw0nk November 02, 2016 06:17AM

AW: Nginx Kodi User Agent secure_link blocking / banning

Lukas Tribus November 02, 2016 06:44AM

Re: AW: Nginx Kodi User Agent secure_link blocking / banning

c0nw0nk November 02, 2016 06:54AM

AW: AW: Nginx Kodi User Agent secure_link blocking / banning

Lukas Tribus November 02, 2016 09:38AM

Re: AW: AW: Nginx Kodi User Agent secure_link blocking / banning

c0nw0nk November 03, 2016 02:17PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 288
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready