🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.internet.socket
Article #308

Re: IdFTPServer server and firewall

#308
From: Mike Ruskai
Date: Thu, 10 Apr 2008 05:40
13 lines
1767 bytes
On or about Wed, 9 Apr 2008 12:43:18 -0400 did "roladdon"
<roladdon@PutMyServerHere.ca> dribble thusly:

>____________________________________________________________________
>GetPublicIP function, pDomainName is my own DDNS name:
>
>AnsiString __fastcall TForm1::GetPublicIP(AnsiString pDomainName)
> {
> IdDNSResolver1->Resolve(pDomainName);

You're better off making the public IP a configuration option for your server
software.  You can't count on local hostname resolution to return the correct
IP, and you shouldn't rely on an outside web site.
Technical Details
Message-ID: <gk9rv31ovv7vv7n5lfr675e319q0jgf8l7@4ax.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!proxad.net!feeder1-2.proxad.net!194.25.134.126.MISMATCH!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <47fbd697@newsgroups.borland.com> <47fbdfde$1@newsgroups.borland.com> <47fc0c8a@newsgroups.borland.com> <47fc0dc4$1@newsgroups.borland.com> <47fc1653@newsgroups.borland.com> <47fc471d$1@newsgroups.borland.com> <47fc6112$1@newsgroups.borland.com> <47fcd43b$1@newsgroups.borland.com> <47fcefc5@newsgroups.borland.com> <47fcf224$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 11508e,3bf5299e11a8ee87
X-Google-Attributes: gid11508e,domainid0,public,usenet
X-Google-Language: ENGLISH,ASCII-7-bit
From: Mike Ruskai <BUTthannydI@DONTearthlinkLIKE.netSPAM>
Newsgroups: borland.public.cppbuilder.internet.socket
Subject: Re: IdFTPServer server and firewall
Date: Thu, 10 Apr 2008 01:40:20 -0400
Message-ID: <gk9rv31ovv7vv7n5lfr675e319q0jgf8l7@4ax.com>
References: <47fbd697@newsgroups.borland.com> <47fbdfde$1@newsgroups.borland.com> <47fc0c8a@newsgroups.borland.com> <47fc0dc4$1@newsgroups.borland.com> <47fc1653@newsgroups.borland.com> <47fc471d$1@newsgroups.borland.com> <47fc6112$1@newsgroups.borland.com> <47fcd43b$1@newsgroups.borland.com> <47fcefc5@newsgroups.borland.com> <47fcf224$1@newsgroups.borland.com>
X-Newsreader: Forte Agent 4.2/32.1118
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 65.41.245.155
X-Trace: newsgroups.borland.com 1207805813 65.41.245.155 (9 Apr 2008 22:36:53 -0700)
Lines: 13
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!proxad.net!feeder1-2.proxad.net!194.25.134.126.MISMATCH!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail