Go Back   FlashFXP Forums > > > >

Suggestions Got a new idea or addition which would benefit IOFTPD? Post it here!

Reply
 
Thread Tools Rate Thread Display Modes
Old 12-04-2003, 07:18 PM   #1
toki
Senior Member
ioFTPD Foundation User
 
Join Date: Oct 2003
Posts: 221
Default dyndns IP entry

is it possible to get a plugin or even future ioftpd feature to specify a dyndns entry in IP restrictions for user so that:

1. client tries to connect.
2. server send ping to dyndns entry and gets IP
3. server compares IP of dyndns with connecting client
4. server grants or denies access according to comparison

so i would have to add only one specific dyndnsentry for every user.

thx in advance toki
toki is offline   Reply With Quote
Old 12-04-2003, 07:26 PM   #2
wooolF[RM]
Senior Member
ioFTPD Foundation User
 
Join Date: Oct 2003
Posts: 411
Default

just if u get negative answer u can use app called DynSite for Windows. Very handy Google for it if u need it (that was just a tip, not a solution to your question)

Regards
wooolF[RM] is offline   Reply With Quote
Old 12-04-2003, 07:32 PM   #3
Linkster
Moderator
Administrator
 
Join Date: Oct 2001
Location: New Mexico, USA
Posts: 1,070
Default

ummm, i'm pretty sure the ident@ip field already supports resolving hostnames on login???
Linkster is offline   Reply With Quote
Old 12-04-2003, 07:38 PM   #4
toki
Senior Member
ioFTPD Foundation User
 
Join Date: Oct 2003
Posts: 221
Default

the correct reverse dns entry or even a dyndns?
toki is offline   Reply With Quote
Old 12-05-2003, 01:04 AM   #5
DR. GiGa BYTe
Member
ioFTPD Foundation User
 
Join Date: Feb 2003
Posts: 80
Default

why dont you use instead of your "dyndns check" the ident feature.
You can allocate every user a ident (e.g. cunhell@*). so, the user hast just to sent the ident... the ip doesnt matter.
just like Linkster said...
DR. GiGa BYTe is offline   Reply With Quote
Old 12-05-2003, 04:21 AM   #6
toki
Senior Member
ioFTPD Foundation User
 
Join Date: Oct 2003
Posts: 221
Default

is the ident ssl encryped? which clients (beside smartftp which i use) have ident feature?

greez toki
toki is offline   Reply With Quote
Old 12-05-2003, 06:19 AM   #7
DR. GiGa BYTe
Member
ioFTPD Foundation User
 
Join Date: Feb 2003
Posts: 80
Default

Quote:
is the ident ssl encryped?
i dont know

Quote:
which clients (beside smartftp which i use) have ident feature?
e.g. FlashFXP, UltraFXP, FileZilla...
DR. GiGa BYTe is offline   Reply With Quote
Old 12-05-2003, 02:35 PM   #8
Mouton
Posse Member
Ultimate Scripter
ioFTPD Administrator
 
Join Date: Dec 2002
Posts: 1,956
Default

site addip username *@something.dyndns.org

..?
Mouton is offline   Reply With Quote
Old 12-05-2003, 02:58 PM   #9
darkone
Disabled
FlashFXP Registered User
ioFTPD Administrator
 
darkone's Avatar
 
Join Date: Dec 2001
Posts: 2,230
Default

Ident is sent in plaintext. Also using dyndns in allowed hosts lists doesn't work, nor such feature will be ever added (Hostname reverse look-ups are expensive) However, there is a way to do this using itcl ([Pre] USER):

1) Get ip-list from userfile
2) If user's iplist has dyndns entries _without_ wildcards, resolve & add them to user's iplist.
3) Add some sanity check, to make sure that user never has more than MAX_IPS (defined in headers) of ips (delete obsolete ips)
darkone is offline   Reply With Quote
Old 12-05-2003, 04:53 PM   #10
Mouton
Posse Member
Ultimate Scripter
ioFTPD Administrator
 
Join Date: Dec 2002
Posts: 1,956
Default

u mean we can't use hostnames in allowed ip for a user ???

site addip Mouton *@bar.f00.us
won't work ?
Mouton is offline   Reply With Quote
Old 12-05-2003, 05:37 PM   #11
darkone
Disabled
FlashFXP Registered User
ioFTPD Administrator
 
darkone's Avatar
 
Join Date: Dec 2001
Posts: 2,230
Default

It does, if it's reversable. You can't do reverse look-up for .dyndns using ip.
darkone is offline   Reply With Quote
Old 12-05-2003, 06:06 PM   #12
Mouton
Posse Member
Ultimate Scripter
ioFTPD Administrator
 
Join Date: Dec 2002
Posts: 1,956
Default

ah, ok... you do ip->hostname then compare...
indeed... makes more sense than resolving all hostnames in allowed list and comparing to ip...
eh!
Mouton is offline   Reply With Quote
Old 12-05-2003, 06:17 PM   #13
darkone
Disabled
FlashFXP Registered User
ioFTPD Administrator
 
darkone's Avatar
 
Join Date: Dec 2001
Posts: 2,230
Default

Doesn't it
darkone is offline   Reply With Quote
Reply

Tags
client, dyndns, entry, server, user

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -5. The time now is 08:56 AM.

Parts of this site powered by vBulletin Mods & Addons from DragonByte Technologies Ltd. (Details)