DSM-G600, DNS-3xx and NSA-220 Hack Forum

Unfortunately no one can be told what fun_plug is - you have to see it for yourself.

You are not logged in.

Announcement

#1 2008-02-08 22:15:55

Wisebird
Member
Registered: 2008-01-17
Posts: 19

Is there any way to enable FXP on DNS-313?

Is there any way to enable FXP on DNS-313?
coz it would be really nice to have it smile

Offline

 

#2 2008-02-09 16:14:43

Wisebird
Member
Registered: 2008-01-17
Posts: 19

Re: Is there any way to enable FXP on DNS-313?

ok, i found out that i have to issue a command
pure-ftpd -W
when i telnet to my NAS, and issue that command, it says:

$ pure-ftpd -W
cp: unable to remove `/mnt/HD_a4/mt-daapd.conf': Permission denied
chmod: /mnt/HD_a4/mt-daapd.conf: Operation not permitted
cp: unable to remove `/mnt/HD_a4/upnpav.conf': Permission denied
chmod: /mnt/HD_a4/upnpav.conf: Operation not permitted
Unable to start a standalone server: Permission denied

googling mt-daapd.conf, i found that this file is from iTunes server.

so whats the connection between pureftpd and itunes?

Offline

 

#3 2008-02-25 20:50:38

Wisebird
Member
Registered: 2008-01-17
Posts: 19

Re: Is there any way to enable FXP on DNS-313?

guys, any ideas plz? smile
i've managed to run the ftp server from telnet, but the bad side is that all users can see the root of the device =\

Offline

 

#4 2008-02-25 21:37:54

jules
Member
Registered: 2008-01-26
Posts: 78

Re: Is there any way to enable FXP on DNS-313?

The weird thing here is that no mt-daapd.conf or upnpav.conf should exist on /mnt/HD_a2 ...
I've just two question, have you killed the default pureftpd loaded on your system before launching the new one? is the -W option enough to launch it (maybe the app needs the path to the default ftp root or something similar)?


CH3SNAS - Black Box Ed. • FW:1.03b6a • 2 x WD5000AAKS

Offline

 

#5 2008-02-25 21:39:58

Wisebird
Member
Registered: 2008-01-17
Posts: 19

Re: Is there any way to enable FXP on DNS-313?

actually i just found the solution.
the ftp daemon should be launched with -A arg. so the full command looks like
# pure-ftpd -A -W &
& is optional of course.

it took me quite some time to figure out about -A  0_o

Offline

 

#6 2008-03-26 13:40:33

zanu
Member
Registered: 2008-03-25
Posts: 6

Re: Is there any way to enable FXP on DNS-313?

Wisebird wrote:

actually i just found the solution.
the ftp daemon should be launched with -A arg. so the full command looks like
# pure-ftpd -A -W &
& is optional of course.

it took me quite some time to figure out about -A  0_o

So do you launch the ftp by giving this command in telnet?? Or have you modified some script to launch it like you have described above?

I would also like to enable fxp but also would like to set the passive port range. And I could set the range like -p port:port but I don't know where is the script where I could add this launch parameter... Can You help with this?

Z

Offline

 

#7 2008-03-26 13:44:27

Wisebird
Member
Registered: 2008-01-17
Posts: 19

Re: Is there any way to enable FXP on DNS-313?

zanu, i start FXP via telnet as i could not find the way to modify scripts =\

Offline

 

#8 2008-03-26 14:12:04

zanu
Member
Registered: 2008-03-25
Posts: 6

Re: Is there any way to enable FXP on DNS-313?

Wisebird wrote:

zanu, i start FXP via telnet as i could not find the way to modify scripts =\

Hi! Thanks for this bit of knowledge.

And the launching done via telnet knows how to read the pureftpd conf? So the port, idle time etc comes still from there?

Z

Offline

 

#9 2008-03-26 14:41:27

Wisebird
Member
Registered: 2008-01-17
Posts: 19

Re: Is there any way to enable FXP on DNS-313?

yepp, so all the rest configuration is donw via webpanel.
although the speed limits should be done manually
so now the way i start ftpd is
pure-ftpd -W -A -T 20000:60 &
-W - allow fxp
-A - lock users in their home dir
-T 20000:60 - ftpd can accept connection up to 20000 kbps and give (upload) up to 60

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2010 PunBB