2015-04-06, 16:56
We had to block the access of Kodi (IPTV) for their request of EPG.
At Rytec we are not against the Kodi community using our XMLTV EPG.
Only the grab plug-in seems to be badly programmed:
Some examples:
All from the same IP address, 10-15 seconds apart.
Which will lead to an enormous amount of requests. Here the file did not exist.
Also when the file did exist, requests came in form the same IP address 5 minutes apart, downloading the file.
We have collected now tens of thousand IP addresses doing the same.
This lead to overload of the servers, in so far I could not even update them anymore.
These examples are for the portugese EPG. But all countries are affected. Anoter really bad on is the german file (skyde)
jin at KODInerds (germany) did some testing and found this:
Conditions at which the software should confirm too before access can be granted again:
The software may for example not contain continuous update checks (like every 5 minutes or so), it may only download once a day, it must not contain a retry loop, it should not download between 3 and 7 GMT, etc.
The XMLTV files are only updated once a day, so continuous checks on updates are not needed. They only cause an heavy load on the servers.
It should accept no for an answer, Not retrying continuously. At the moment there are 4 mirrors. If there is a negative answer from one mirror, you can try on the other mirrors, but leave the one which said no alone.
Between 3 and 7 GMT. the servers are updated. When there is heavy traffic going on, on these servers we are not even able to update the servers.
So one successful download a day should be sufficient. No more data is the gathered doing more downloads a day.
In case of emergency there is a manual update request allowed. (i.e. the users presses a button : Update XMLTV manually)
If the Kodi community, will donate an extra mirror, I will gladly stuff it with the XMLTV-epg files.
Willy
At Rytec we are not against the Kodi community using our XMLTV EPG.
Only the grab plug-in seems to be badly programmed:
Some examples:
Code:
85.245.70.103 - - [01/Apr/2015:18:27:28 +0200] "GET /rytecxmltvportugal.gz HTTP/1.1" 404 306 "-" "Kodi/15.0-ALPHA2 (X11; Linux armv6l) OpenELEC/5.0 HW_RaspberryPi/1.0 App_Bitness/32 Version/15.0-ALPHA2-Git:ada3a4b"
85.245.70.103 - - [01/Apr/2015:18:28:30 +0200] "HEAD /rytecxmltvportugal.gz HTTP/1.1" 404 - "-" "Kodi/15.0-ALPHA2 (X11; Linux armv6l) OpenELEC/5.0 HW_RaspberryPi/1.0 App_Bitness/32 Version/15.0-ALPHA2-Git:ada3a4b"
85.245.70.103 - - [01/Apr/2015:18:28:30 +0200] "GET /rytecxmltvportugal.gz HTTP/1.1" 404 306 "-" "Kodi/15.0-ALPHA2 (X11; Linux armv6l) OpenELEC/5.0 HW_RaspberryPi/1.0 App_Bitness/32 Version/15.0-ALPHA2-Git:ada3a4b"
85.245.70.103 - - [01/Apr/2015:18:28:53 +0200] "GET /rytecxmltvportugal.gz HTTP/1.1" 404 306 "-" "Kodi/15.0-ALPHA2 (X11; Linux armv6l) OpenELEC/5.0 HW_RaspberryPi/1.0 App_Bitness/32 Version/15.0-ALPHA2-Git:ada3a4b"
85.245.70.103 - - [01/Apr/2015:18:29:13 +0200] "HEAD /rytecxmltvportugal.gz HTTP/1.1" 404 - "-" "Kodi/15.0-ALPHA2 (X11; Linux armv6l) OpenELEC/5.0 HW_RaspberryPi/1.0 App_Bitness/32 Version/15.0-ALPHA2-Git:ada3a4b"
85.245.70.103 - - [01/Apr/2015:18:29:30 +0200] "GET /rytecxmltvportugal.gz HTTP/1.1" 404 306 "-" "Kodi/15.0-ALPHA2 (X11; Linux armv6l) OpenELEC/5.0 HW_RaspberryPi/1.0 App_Bitness/32 Version/15.0-ALPHA2-Git:ada3a4b"
85.245.70.103 - - [01/Apr/2015:18:29:44 +0200] "GET /rytecxmltvportugal.gz HTTP/1.1" 404 306 "-" "Kodi/15.0-ALPHA2 (X11; Linux armv6l) OpenELEC/5.0 HW_RaspberryPi/1.0 App_Bitness/32 Version/15.0-ALPHA2-Git:ada3a4b"
85.245.70.103 - - [01/Apr/2015:18:34:46 +0200] "HEAD /rytecxmltvportugal.gz HTTP/1.1" 404 - "-" "Kodi/15.0-ALPHA2 (X11; Linux armv6l) OpenELEC/5.0 HW_RaspberryPi/1.0 App_Bitness/32 Version/15.0-ALPHA2-Git:ada3a4b"
85.245.70.103 - - [01/Apr/2015:18:34:47 +0200] "GET /rytecxmltvportugal.gz HTTP/1.1" 404 306 "-" "Kodi/15.0-ALPHA2 (X11; Linux armv6l) OpenELEC/5.0 HW_RaspberryPi/1.0 App_Bitness/32 Version/15.0-ALPHA2-Git:ada3a4b"
Which will lead to an enormous amount of requests. Here the file did not exist.
Also when the file did exist, requests came in form the same IP address 5 minutes apart, downloading the file.
We have collected now tens of thousand IP addresses doing the same.
This lead to overload of the servers, in so far I could not even update them anymore.
These examples are for the portugese EPG. But all countries are affected. Anoter really bad on is the german file (skyde)
jin at KODInerds (germany) did some testing and found this:
Quote:ok here is the result of some testing.
how does the iptv simple pvr addon work?
there is a setting for epg where you can insert an url to an xml file, e.g. the rytec xml url.
and there is a setting to cache this file. default is off i think, which is pretty bad in this case.
if cache is off, unfortunatly, for every single channel it is requesting the file .
if cache is on and the file is not an xml or corrupted, it ignores that and is also trying to download the url for every channel.
so it actually doesnt help if you create a dummy(corrupted) 1gb zipped file, because it is still downloading the small file for every channel, even if cache is on. and it doesn't look like its extracting the file.
pls get in contact with afedchin(author of iptv simple) at forum.kodi.tv and/or make a new thread here: forum.kodi.tv/forumdisplay.php?fid=215
you probably have to block kodi user somehow(user agent) if that helps - creating dummy files dont
Conditions at which the software should confirm too before access can be granted again:
The software may for example not contain continuous update checks (like every 5 minutes or so), it may only download once a day, it must not contain a retry loop, it should not download between 3 and 7 GMT, etc.
The XMLTV files are only updated once a day, so continuous checks on updates are not needed. They only cause an heavy load on the servers.
It should accept no for an answer, Not retrying continuously. At the moment there are 4 mirrors. If there is a negative answer from one mirror, you can try on the other mirrors, but leave the one which said no alone.
Between 3 and 7 GMT. the servers are updated. When there is heavy traffic going on, on these servers we are not even able to update the servers.
So one successful download a day should be sufficient. No more data is the gathered doing more downloads a day.
In case of emergency there is a manual update request allowed. (i.e. the users presses a button : Update XMLTV manually)
If the Kodi community, will donate an extra mirror, I will gladly stuff it with the XMLTV-epg files.
Willy