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 2007-07-18 08:38:04

ka3ak
Member
From: Calgary, Canada
Registered: 2007-07-16
Posts: 21

FTP client built in

Hi there!

I wanted to know if there is a FTP client built in into the unit ?

THe reason I need the client on the unit is that I need to upload via FTP some files from unit -> remote FTP server. So what I do right now is on the desktop that is connected to DNS 323 I start FTP client, choose files from DNS 323 to upload and then leave desktop on. I think that if I turn off the desktop in the middle of the upload , the connection will be closed since it is the FTP client ON deskatop that keeps the connection alive. It will be easier if I'd be able to install/find the FTP client in the unit because then I don't need to keep the computer on and could control FTP upload from the unit via Telnet .

Thanks.

Offline

 

#2 2007-07-18 14:03:55

fordem
Member
Registered: 2007-01-26
Posts: 1938

Re: FTP client built in

I take it you're aware that there is no telnet daemon built in to the unit?  You have to add it using fun_plug.

Opening a telnet connection to my DNS-323 and entering ftp returns an ftp not found error message, so I would assume there is no ftp client, I would like to think one can be added using fun_plug, but the mysteries of doing so are beyond my limited knowledge of linux.

Offline

 

#3 2007-07-18 14:13:39

fonz
Member / Developer
From: Berlin
Registered: 2007-02-06
Posts: 1716
Website

Re: FTP client built in

fordem wrote:

Opening a telnet connection to my DNS-323 and entering ftp returns an ftp not found error message, so I would assume there is no ftp client

An "ftpput" program is part of my funplug (at least in the 0.3-testing versions, not sure about 0.2).

Code:

Usage: ftpput [options] remote-host remote-file local-file

Store a local file on a remote machine via FTP

Options:
        -v, --verbose   Verbose
        -u, --username  Username to be used
        -p, --password  Password to be used
        -P, --port      Port number to be used

Not sure if it can transfer only single files...

Anyway, I have no idea why people are still using ftp...

Offline

 

#4 2007-07-18 20:20:45

ka3ak
Member
From: Calgary, Canada
Registered: 2007-07-16
Posts: 21

Re: FTP client built in

Thanks for the posts, guys. I have fun_plug installed but it only allowes for telnet daemon running. I will try to install your fun_plug, Fonz Could you post the link to 0.3 version of your fun_plug ?
Fordem - when I type "ftp" in the telnet session , the return is exactly waht you said - Cannot find "ftp" in something/bin.

Thanks.

Offline

 

#5 2007-07-18 21:37:14

KRH
Member
From: Denmark
Registered: 2006-10-27
Posts: 219
Website

Re: FTP client built in

click on the website link in just under his nick and you will come to
http://www.inreto.de/dns323/


First user to fun_plug the dns-323.

Offline

 

#6 2007-07-18 22:06:23

fordem
Member
Registered: 2007-01-26
Posts: 1938

Re: FTP client built in

ka3ak wrote:

Thanks for the posts, guys. I have fun_plug installed but it only allowes for telnet daemon running. I will try to install your fun_plug, Fonz Could you post the link to 0.3 version of your fun_plug ?
Fordem - when I type "ftp" in the telnet session , the return is exactly waht you said - Cannot find "ftp" in something/bin.

Thanks.

The thing about fun_plug is - it will only do what it has been configured to do.  As an example my fun_plug adds only telnet, USB storage and ntfs file system support - that's what I set it up for.  So if you're using some one else's fun_plug, you don't necessarily know what functionality it adds to the box.

I guess in a way in demonstrates the true nature of open source - you can add the functionality you want, if you know how - or you can use some one else's code skills and hope for the best.

Now - no offense meant to any of the folks here - but I've often wondered if open source users are too naive in trusting other open source users to create code for them, how often do you know whose code is running on your box and what it really does?

Offline

 

#7 2007-07-18 23:24:08

fonz
Member / Developer
From: Berlin
Registered: 2007-02-06
Posts: 1716
Website

Re: FTP client built in

fordem wrote:

The thing about fun_plug is - it will only do what it has been configured to do.  As an example my fun_plug adds only telnet, USB storage and ntfs file system support - that's what I set it up for.  So if you're using some one else's fun_plug, you don't necessarily know what functionality it adds to the box.

I guess in a way in demonstrates the true nature of open source - you can add the functionality you want, if you know how - or you can use some one else's code skills and hope for the best.

Now - no offense meant to any of the folks here - but I've often wondered if open source users are too naive in trusting other open source users to create code for them, how often do you know whose code is running on your box and what it really does?

Very true, and I fully agree. That's why
- my funplug does basically _nothing_ after install but start a telnet server
- the fun_plug script is written to be easily extensible (through additional start scripts, e.g.)
- I provide all sources and scripts needed to rebuild my funplug

The additional software I'm including in the package is there to help people who do not know how to do it themselves (or don't want to). I know how to cross-compile, and I'm just contributing my knowledge (written down in shell scripts).

I was quite surprised myself to see how many people are using my funplug, some even donated money. And in fact, it's especially windows users who are used to install precompiled software often coming from much more dubious sources than this forum. If I wanted to recruit hosts for my botnet, this forum (and the time I'm spending here) would definitely not be worth it. Btw, the trust thing is one major reason why I'm hosting the funplug package on my own host. Just do a whois query and sue me - that possibility should make me as trustworthy as many other software companies.

Offline

 

#8 2007-07-19 04:28:26

fordem
Member
Registered: 2007-01-26
Posts: 1938

Re: FTP client built in

Just so we understand one another - I for one, appreciate your work, especially the assistance you provided to myself & DNS-323 Talker when we were fiddling with the USB Storage.

I won't comment on the Windows users and dubious sources, other than to say it's something I've been observing for awhile, they make the choice not to purchase software legally, whatever they end up with, they deserve - however - in my early forays into linux, I discovered that there are for want of a better name "update repositories" that new users are encouraged to use to patch their redhat systems, and no one seems to know where those repositories are or how the updates get there.  In fact, the advice given to me when I couldn't get a particular update done because of a dependency issue was to try again later, I did and it worked - because whatever repository that had been offline on my first few attempts was back on line.

That's when I started wondering about the source of the updates and their contents.  At least with Windows, I know it's Microsoft.

Last edited by fordem (2007-07-19 04:29:24)

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2010 PunBB