Go Back   FlashFXP Forums > > > >

Bug Reports If you discover any bugs that we are not aware of, please post it here so it may be corrected.

Reply
 
Thread Tools Rate Thread Display Modes
Old 07-11-2004, 11:53 AM   #1
Unique
Senior Member
 
Join Date: Jan 2003
Posts: 231
Default host rules and dns resolving?

Hi,

Seems to me host.rules doesnt resolve dns back to ips?
POLICY DENY
CLASS USERS -1

ACCEPT I 1.2.3.4 USERS 10

works fine, if i bind this ip to a mine.nu host like test.mine.nu
and change the ACCEPT line to

ACCEPT H test.mine.nu USERS 10

it wont work.
Would be nice if this worked (for entry bnc boxes with dyn ips for instance or whatever other uses)
:banana:
Unique is offline   Reply With Quote
Old 07-11-2004, 12:07 PM   #2
Harm
Too much time...
Ultimate Scripter
 
Join Date: Jul 2003
Posts: 1,430
Default

The problem is that dynamic dns names will always resolve to the box ip even if it changes but the box ip will never resolve to this hostname (unless it's your own dynamic dns service).
In your case, your host test.mine.nu resolves to your box's ip, let's say 1.3.3.7, but if you try to reverse dns the ip 1.3.3.7 you won't get the test.mine.nu hostname.
Harm is offline   Reply With Quote
Old 07-11-2004, 12:16 PM   #3
Unique
Senior Member
 
Join Date: Jan 2003
Posts: 231
Default

Yea i know that, i just thought io would try to resolve the dns and try to match that with the ip connecting.

I guess it purely compares host names only.

Maybe this could be implemented (although i will probably solve my matter to use a static ip'ed bnc box), some other peeps might find some use in it
Thanks for info harm
Unique is offline   Reply With Quote
Old 07-11-2004, 05:23 PM   #4
Mouton
Posse Member
Ultimate Scripter
ioFTPD Administrator
 
Join Date: Dec 2002
Posts: 1,956
Default

Quote:
Originally posted by Unique
i just thought io would try to resolve the dns and try to match that with the ip connecting.
Nope. It doesn't because it decrease performance.
This is discussed more in another thread somewhere.
Mouton is offline   Reply With Quote
Reply

Tags
accept, host, ips, test.mine.nu, users

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 05:16 PM.

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