Suggestions Got a new idea or addition which would benefit IOFTPD? Post it here! |
12-04-2003, 07:18 PM
|
#1
|
Senior Member
ioFTPD Foundation User
Join Date: Oct 2003
Posts: 221
|
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
|
|
|
12-04-2003, 07:26 PM
|
#2
|
Senior Member
ioFTPD Foundation User
Join Date: Oct 2003
Posts: 411
|
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
|
|
|
12-04-2003, 07:32 PM
|
#3
|
Moderator
Administrator
Join Date: Oct 2001
Location: New Mexico, USA
Posts: 1,070
|
ummm, i'm pretty sure the ident@ip field already supports resolving hostnames on login???
|
|
|
12-04-2003, 07:38 PM
|
#4
|
Senior Member
ioFTPD Foundation User
Join Date: Oct 2003
Posts: 221
|
the correct reverse dns entry or even a dyndns?
|
|
|
12-05-2003, 01:04 AM
|
#5
|
Member
ioFTPD Foundation User
Join Date: Feb 2003
Posts: 80
|
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...
|
|
|
12-05-2003, 04:21 AM
|
#6
|
Senior Member
ioFTPD Foundation User
Join Date: Oct 2003
Posts: 221
|
is the ident ssl encryped? which clients (beside smartftp which i use) have ident feature?
greez toki
|
|
|
12-05-2003, 06:19 AM
|
#7
|
Member
ioFTPD Foundation User
Join Date: Feb 2003
Posts: 80
|
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...
|
|
|
12-05-2003, 02:35 PM
|
#8
|
Posse Member
Ultimate Scripter ioFTPD Administrator
Join Date: Dec 2002
Posts: 1,956
|
site addip username *@something.dyndns.org
..?
|
|
|
12-05-2003, 02:58 PM
|
#9
|
Disabled
FlashFXP Registered User ioFTPD Administrator
Join Date: Dec 2001
Posts: 2,230
|
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)
|
|
|
12-05-2003, 04:53 PM
|
#10
|
Posse Member
Ultimate Scripter ioFTPD Administrator
Join Date: Dec 2002
Posts: 1,956
|
u mean we can't use hostnames in allowed ip for a user ???
site addip Mouton *@bar.f00.us
won't work ?
|
|
|
12-05-2003, 05:37 PM
|
#11
|
Disabled
FlashFXP Registered User ioFTPD Administrator
Join Date: Dec 2001
Posts: 2,230
|
It does, if it's reversable. You can't do reverse look-up for .dyndns using ip.
|
|
|
12-05-2003, 06:06 PM
|
#12
|
Posse Member
Ultimate Scripter ioFTPD Administrator
Join Date: Dec 2002
Posts: 1,956
|
ah, ok... you do ip->hostname then compare...
indeed... makes more sense than resolving all hostnames in allowed list and comparing to ip...
eh!
|
|
|
12-05-2003, 06:17 PM
|
#13
|
Disabled
FlashFXP Registered User ioFTPD Administrator
Join Date: Dec 2001
Posts: 2,230
|
Doesn't it
|
|
|
Thread Tools |
|
Display Modes |
Rate This Thread |
Linear Mode
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 06:15 PM.
|