Go Back   FlashFXP Forums > > > >

Suggestions Post suggestions for upcoming versions

 
 
Thread Tools Display Modes
Old 07-03-2003, 12:57 AM   #1
raven
Junior Member
FlashFXP Registered User
 
Join Date: Mar 2002
Posts: 23
Talking Bind to IP-address dynamically also (for those having dyn-ip+router)

It would be great if you could add bind to dynamic external address as well. If you have dynamic ip-address that change every other day it is annoying to go into the settings and change that all the time.
A way to implement it would be to read from this page (or your own webservice making the same thing) when you start FlashFXP:
http://checkip.dyndns.org

Best regards
Niklas
raven is offline  
Old 07-03-2003, 02:26 AM   #2
Linkster
Moderator
Administrator
 
Join Date: Oct 2001
Location: New Mexico, USA
Posts: 1,070
Default

this is already supported in flashfxp. just sign up for one of the dynamic dns services..there are tons; then just put your address in the bind to field. ie, machine.dyndns.org
Linkster is offline  
Old 07-06-2003, 12:16 PM   #3
Daniel919
Member
 
Join Date: Jan 2003
Posts: 38
Default

But this isn't a simple way.

Why don't you integrate a function which reads the current ip from a http site ?
http://repeater.smartftp.com
for example

Or another possibility would be to have a dns server who repeats the IP from the client.
This means
http://repeater.flashfxp.com
will point to your pc on port 80
I hope you understand this concept, but I don't know if it works and I don't know such a dns server. :-\

P.S: Sorry I hadn't seen this thread, I only posted my idea :-)
Daniel919 is offline  
Old 07-06-2003, 03:01 PM   #4
MxxCon
Super Duper
FlashFXP Beta Tester
 
Join Date: Oct 2001
Location: Brooklyn, NY
Posts: 3,881
Default

why this isn't simple?
just sign up for such service and get client that update your ip.
and good thing, you can use it anywhere on the internet, not just within flashfxp.
__________________
[Sig removed by Administrator: Signature can not exceed 20GB]
MxxCon is offline  
Old 07-06-2003, 03:12 PM   #5
bigstar
FlashFXP Developer
FlashFXP Administrator
ioFTPD Beta Tester
 
bigstar's Avatar
 
Join Date: Oct 2001
Posts: 8,012
Default

obtaining the ip from a http server is an option we will consider for future versions.
bigstar is offline  
Old 07-18-2003, 12:57 PM   #6
alephnaut
Junior Member
 
Join Date: Jul 2003
Posts: 1
Default Quick hack for dyn-ip + router

One quick way to figure out the WAN IP without having to setup and maintain an echoing site (i.e., repeater.flashxp.com) would be to use the local machine's traceroute.

The user could specify the location of the traceroute executable and a nearby host (i.e., www.myisp.com). Or even better the user could specify the whole command. You could then parse the output line by line stopping at the first non-local ip (i.e., something other than 192.168.* or 10.*).

If you really wanted to get fancy you could provide a way for the client to learn how to parse the system's traceroute output. i.e., the user would specify the traceroute executable and a nearby host, flashfxp would capture the output, separate it into space delimited cells, the user selects the field that has his/her IP address and from then on flashfxp would use that field on the first PORT command of any active ftp session. The user would only have to do this once. With a few defaults the whole thing could be done with 1 click.
alephnaut is offline  
Old 07-18-2003, 01:21 PM   #7
MxxCon
Super Duper
FlashFXP Beta Tester
 
Join Date: Oct 2001
Location: Brooklyn, NY
Posts: 3,881
Default

the way FlashFXP detects inet ip is perfectly fine.

i know for a fact that traceroute is not a reliable method to detect internet ip.
for one, some dsl modems, when in router mode do not support traceroute from the inside.
2nd, some isp use nice tricks to protect their servers by making them reply back with ips from nonroutable range, making them impossible to access unless you are on the same subnet. check out my tracerote.

Code:
Tracing route to dslreports.com [209.123.109.175]
over a maximum of 30 hops:
  1    23 ms    23 ms    27 ms  172.31.255.251
  2    22 ms    23 ms    22 ms  192.168.13.49
  3    22 ms    21 ms    20 ms  gigabitethernet5-0-146.ipcolo2.NewYork1.Level3.net [166.90.137.213]
  4    20 ms    23 ms    23 ms  gigabitethernet2-1.core1.NewYork1.Level3.net [64.159.17.69]
  5    22 ms    24 ms    21 ms  unknown.wcg.net [209.244.160.138]
  6    25 ms    23 ms    30 ms  nycmny2wcx3-pos9-0.wcg.net [64.200.87.226]
  7    23 ms    22 ms    26 ms  nycmnyhlce1-oc48.wcg.net [64.200.87.110]
  8    20 ms    20 ms    26 ms  nycmny2lce1-netaccess-atm.wcg.net [64.200.86.150]
  9    24 ms    25 ms    25 ms  1187.at-0-1-0.gbr1.oct.nac.net [209.123.11.150]
 10    22 ms    22 ms    23 ms  0095.gi-1-1.msfc1.oct.nac.net [64.21.102.2]
 11    24 ms    22 ms    24 ms  www.dslreports.com [209.123.109.175]
Trace complete.
as you can see 1st hop is a nonroutable ip, which is actually my machine w/o any firewalls or routers. 2nd hop is my dsl provider's redback, and 3rd is internet.
so as you can see it's impossible to determine my ip from outgoing traceroute. incoming traceroute looks similar only 1st hop(last hop for incoming) will have my real inet ip.
__________________
[Sig removed by Administrator: Signature can not exceed 20GB]
MxxCon is offline  
Old 10-03-2003, 03:01 AM   #8
usnake
Junior Member
 
Join Date: Oct 2003
Posts: 3
Default

up
usnake is offline  
Old 10-03-2003, 03:35 PM   #9
darkone
Disabled
FlashFXP Registered User
ioFTPD Administrator
 
darkone's Avatar
 
Join Date: Dec 2001
Posts: 2,230
Default

Heh, that checkip.dyndns.org doesn't work too well, if using local proxy

Current IP Address: 192.168.1.11
Hostname: Unknown
Return to referring page


Anyways.. should be rather easy to do with Internet API (InternetOpen() etc) I suggest using regexps for parsing response
darkone is offline  
Old 10-03-2003, 04:52 PM   #10
bigstar
FlashFXP Developer
FlashFXP Administrator
ioFTPD Beta Tester
 
bigstar's Avatar
 
Join Date: Oct 2001
Posts: 8,012
Default

we'll be adding support for http lookups in the next release
bigstar is offline  
 

Tags
bind, change, dynamic, ip-address, page

Thread Tools
Display Modes

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 11:08 AM.

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