Rapidleech

Re: Rapidleech

Postby raffio » Thu Mar 05, 2015 7:50 pm

pyLoad would be perfect to use, I have it installed on asus rt-n66u and works perfect and I can control discharges from android app, I could not try the unrar of rapidllech, testing disk fails me and I'm reinstalling the firmware by telenet . When you have finalized I will make a test check is made.
raffio
Donator VIP
Donator VIP
 
Posts: 35
Joined: Mon Feb 23, 2015 6:03 pm

Re: Rapidleech

Postby raffio » Thu Mar 05, 2015 9:13 pm

new facility with firmware 16.0 and I have this error when decompressing with the file unrar.php in the folder /share/1000/rapidleech/classes/options

Code: Select all
===plusrar version===
4.1
===php_uname===
Linux 3.14.2 #2 PREEMPT Sun Oct 26 20:29:13 CET 2014 armv5tel
===safe_mode===
off
===rar executable info===
unrar 3.80 for Linux with permissions 0777
===Return code===
2
===Error===
/share/1000/rapidleech/rar/unrar: line 1: syntax error: unexpected "("
===List output===
===Executed command===
'/share/1000/rapidleech/rar/unrar' v -v -c-  -x*.htaccess -x*.htpasswd -x*.php -x*.php3 -x*.php4 -x*.php5 -x*.phtml -x*.asp -x*.aspx -x*.cgi -- '/share/1000/rapidleech/files/HoyCoraFeb15.rar'
raffio
Donator VIP
Donator VIP
 
Posts: 35
Joined: Mon Feb 23, 2015 6:03 pm

Re: Rapidleech

Postby Jocko » Fri Mar 06, 2015 10:46 am

Sorry raffio, I did not send you the right file! :pound

Attached the good file (rar.php).

unzip the archive and replace the file rar.php in the folder /share/1000/rapidleech/classes.
You do not have the required permissions to view the files attached to this post.
Jocko
Site Admin - expert
 
Posts: 11529
Joined: Tue Apr 12, 2011 4:48 pm
Location: Orleans, France

Re: Rapidleech

Postby raffio » Fri Mar 06, 2015 4:02 pm

Thanks Jocko, running unrar 100%. Shame the biggest mistake of 2Gb files but I continued searching and testing.

After searching and searching, possibly the PHP / 5.5.7 version does not support files greater than 2Gb, but there is a PHP / 5.6 version with support for these files. Not if the installation is possible and not have knowledge to do this in this system I know only centos.
raffio
Donator VIP
Donator VIP
 
Posts: 35
Joined: Mon Feb 23, 2015 6:03 pm

Re: Rapidleech

Postby Jocko » Fri Mar 06, 2015 9:57 pm

raffio wrote:there is a PHP / 5.6 version with support for these files. Not if the installation is possible and not have knowledge to do this in this system I know only centos.
:o
If we upgrade our php version that means many works and times ! (compile again several modules, check all our php codes and also some other apps like torrentflux,...)
With last change, we needed two months to do that...

Indeed in the change log, we can read this
Uploads equal or greater than 2GB in size are now accepted.
But I repeat rapidleech doesn't use the upload feature but creates directly a request with the command stream_socket_client. I read nothing about a 2GB limit with this command.

So I am not sure that upgrading php will fix this issue. (but only a try will be able to check it)
Jocko
Site Admin - expert
 
Posts: 11529
Joined: Tue Apr 12, 2011 4:48 pm
Location: Orleans, France

Re: Rapidleech

Postby fvdw » Fri Mar 06, 2015 10:13 pm

I read this on apache web site for the version we have

Large File Support
httpd is now built with support for files larger than 2GB on modern 32-bit Unix systems. Support for handling >2GB request bodies has also been added.


so it seems to be PHP that is the problem
recompiling apache en php is tricky but not impossible. I will look at php upgrade
fvdw
Site Admin - expert
 
Posts: 13471
Joined: Tue Apr 12, 2011 2:30 pm
Location: Netherlands

Re: Rapidleech

Postby Jocko » Fri Mar 06, 2015 10:42 pm

At fifty to fifty I think it will not solve the problem because as written previously, 5.6 improvements only concerns the upload function whereas the code uses either curl or stream_socket to download the files. AFAIK, these commands don't have a 2TB limit.
Jocko
Site Admin - expert
 
Posts: 11529
Joined: Tue Apr 12, 2011 4:48 pm
Location: Orleans, France

Re: Rapidleech

Postby fvdw » Fri Mar 06, 2015 11:04 pm

then maybe atrial with compile both apache and php (the version that are installed with this compiler flag is worth a try
Code: Select all
CFLAGS=”-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64”


I will try to do this coming week
fvdw
Site Admin - expert
 
Posts: 13471
Joined: Tue Apr 12, 2011 2:30 pm
Location: Netherlands

Re: Rapidleech

Postby raffio » Sat Mar 07, 2015 10:57 am

Possibly not resolve the issue, but I think it's worth a try as it is very rare that wget download without problem 2Gb + php files and do not want to download.
I enclose a Rapidleech with the function of play with vlc or divx. These functions are configured in the template netblue, there is a problem, for proper operation since the .htacees you permission to access from the outside without any kind of protection, not whether it is possible to operate it htpasword, I could not. now works but bear in mind that the files folder is unprotected and can be accessed from the outside. I have it so I do not care because the delete files once played.

---edit--
Jocko: removed link
raffio
Donator VIP
Donator VIP
 
Posts: 35
Joined: Mon Feb 23, 2015 6:03 pm

Re: Rapidleech

Postby Jocko » Sat Mar 07, 2015 11:33 am

Hi raffio,

Thank for the patched files.

raffio wrote:since the .htacees you permission to access from the outside without any kind of protection, not whether it is possible to operate it htpasword, I could not. now works but bear in mind that the files folder is unprotected and can be accessed from the outside.
No raffio there is still permissions rules in .htaccess files ;)
Code: Select all
##
##   This .htaccess file makes authentication happen
##
AuthType        Basic
AuthName        "fvdw-sl NAS Management"
AuthUserFile    /var/run/.htpasswd
Require         valid-user
So the mechanism is the same than that of the firmware web-interface. So if you already got an access for the firmware web-interface, no authentication will be asked when you used rapaidleech.

About your changes, I noted:
- what are the files mtntadmin and mtn that are missing but you set permissions for them in htaccess?
- you did not keep the original folder tree for vlc and divx (folder rap) and it's why reproductor_menu.php and player_menu.php fail

raffio wrote: These functions are configured in the template netblue,
This can be fixed to be used with both templates
Jocko
Site Admin - expert
 
Posts: 11529
Joined: Tue Apr 12, 2011 4:48 pm
Location: Orleans, France

PreviousNext

Return to Lacie Network Space vs2 and max version

Who is online

Users browsing this forum: No registered users and 3 guests