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-03-12 23:11:54

anders
Member
Registered: 2007-03-09
Posts: 6

FXPing with DNS-323 ?

Hej ppl

I just got my dns-323, and I was wondering if any of you got fxp'ing to work ??
I dont know it has anthing to do with my dlink router.

/Anders

Offline

 

#2 2007-03-13 00:10:15

catohagen
Member
Registered: 2007-02-22
Posts: 22

Re: FXPing with DNS-323 ?

according to http://www.inicom.net/pages/en.ffxp-kb.php

  /etc/ftpaccess
   
   First, we need to add an additional class for users that are allowed to do FXP (unless you just want to use the predefined class "all"). If you add a new class, this line MUST be before the catch-all class "all", or the client will match class "all" first.
   
   The line is of the form:
   class <ArbitraryClassName> <AccessTypes> <HostAddrs> [HostAddrs]
   
   Then we add lines to allow PASV and PORT commands to hosts whose IPs don't match the client (to allow FXP)
   
   These lines are of the form:
   port-allow <ArbitraryClassName> <HostAddrs>
   pasv-allow <ArbitraryClassName> <HostAddrs>
   
   And now to put it into practice - a real example
   
    class newclass real,guest,anonymous *.mydomain.net
    *.more.client.addresses.com
    class all real,guest,anonymous *
   
    port-allow newclass 0.0.0.0/0
    pasv-allow newclass 0.0.0.0/0
   
   This basically adds a new class (creatively called "newclass") - note that it appears BEFORE the line containing the class "all" - this new class contains all hosts in the subdomains mydomain.net and more.client.addresses.com (domains obviously made up by yours truly), in order to limit who we will allow to do FXP. The port-allow and pasv-allow lines basically allow FXP connections to anywhere if your client is in the class "newclass".


you could just try to add

port-allow all 0.0.0.0/0
pasv-allow all 0.0.0.0/0

to ftpaccess and see if it works, read in http://dns323.kood.org/howto:open_ports_ftpd to allow your ftp to be open from the internet

Offline

 

#3 2007-03-13 00:31:57

anders
Member
Registered: 2007-03-09
Posts: 6

Re: FXPing with DNS-323 ?

thx catohagen, I will try this...

I just got one problem, when I try to overwrite ftpaccess file..
I get: 553 ftpaccess: Permission denied.

Can I use this :

Quote:

I edit fun_plug from Windows using vim and seems to work fine.  I have Cygwin (www.cygwin.org) installed so chmod is available.

* Format the drive by clicking on the Format button
* Create a share point
* From Windows, type: net use G: \\192.168.0.1\HDD_a /user:admin
   Then enter the password
* Edit fun_plug using: vim G:\fun_plug
* Don't forget to make the file UNIX format by typing: :set fileformat=unix
* Using chmod that comes with Cygwin: cd G:; chmod +x fun_plug
* From web interface, reboot DSM-G600

to edit the file ftpaccess ?

Last edited by anders (2007-03-13 01:14:03)

Offline

 

#4 2007-04-10 13:37:26

anders
Member
Registered: 2007-03-09
Posts: 6

Re: FXPing with DNS-323 ?

thx catohagen, its all working now...

its a awsome little box smile

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2010 PunBB