Getting ProFTPD to listen on just one IP address

2004-06-01 Thread Wayne Pascoe
Hi all,

Can anyone enlighten me as to how I get ProFTPD to just listen to one IP
address ? 

I've just installed from ports, so I've got proftpd-1.2.10.r1

I've added the following to my config file : 
DefaultAddress193.xx.xx.xx

I then start ProFTPD and get the following message:
- setting default address to 193.xx.xx.xx

However, netstat -an | grep 21 shows me this
tcp4   0  0  *.21   *.* LISTEN

So it's binding to both IP's on the machine. I've tested this and I can
definitely FTP to both IP addresses - which is NOT what I want. 

The reason I'm trying to get this working is that I need 2 different
config's on the same machine. 

Thanks in advance,

-- 
Wayne Pascoe(gpg --keyserver www.co.uk.pgp.net --recv-keys 79A7C870)
Wageslaves - Who do you want to make rich
today?
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Getting ProFTPD to listen on just one IP address

2004-06-01 Thread David E. Meier
Hi Wayne,

I haven't tried this myself but it looks like what you are looking for:

http://proftpd.linux.co.uk/localsite/Userguide/linked/config_ref_Bind.html

Dave.

 Hi all,

 Can anyone enlighten me as to how I get ProFTPD to just listen to one IP
address ?

 I've just installed from ports, so I've got proftpd-1.2.10.r1

 I've added the following to my config file :
 DefaultAddress193.xx.xx.xx

 I then start ProFTPD and get the following message:
 - setting default address to 193.xx.xx.xx

 However, netstat -an | grep 21 shows me this
 tcp4   0  0  *.21   *.* LISTEN

 So it's binding to both IP's on the machine. I've tested this and I can
definitely FTP to both IP addresses - which is NOT what I want.

 The reason I'm trying to get this working is that I need 2 different
config's on the same machine.

 Thanks in advance,

 --
 Wayne Pascoe(gpg --keyserver www.co.uk.pgp.net --recv-keys 79A7C870)
Wageslaves - Who do you want to make rich
 today?
 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to
 [EMAIL PROTECTED]


___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Getting ProFTPD to listen on just one IP address

2004-06-01 Thread Wayne Pascoe
On Tue, Jun 01, 2004 at 01:56:28PM +0200, David E. Meier wrote:
 Hi Wayne,
 
 I haven't tried this myself but it looks like what you are looking for:
 
 http://proftpd.linux.co.uk/localsite/Userguide/linked/config_ref_Bind.html

Thanks, but it turned out it wasn't that...

It turns out that not only do you need the DefaultAddress option, you
also need to specify 
SocketBindTight on

It's like saying 
Use this IP address
No, Seriously! Use this effing IP Address!

Weird! 

-- 
Wayne Pascoe(gpg --keyserver www.co.uk.pgp.net --recv-keys 79A7C870)
If someone eventually manages to bag a B-2,
that's a cool US$1bn worth of scrap metal
- missiles, on the other hand, are cheap.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]