anonymous ftp user only from specific subnet / ips

2009-09-30 Thread Stefan Miklosovic
hi list,

I've ftp server, where I want to deny anonymous
logins from the outer net, but allow logins of anonymous
users from inner net. Normal system users would have
ftp access to theirs home directories from both networks.

I am using vsftpd, I wanted to configure tcp wrappers, but it does not
solve my problem.

thank you
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


How-to get anonymous FTP to use port 6021

2004-02-16 Thread JJB
How can I tell the inetd anonymous ftp server to listen on an
different port other that 21.
I tried adding port 6021 in the /etc/services file but that did not
work.

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


Re: How-to get anonymous FTP to use port 6021

2004-02-16 Thread Andrew L. Gould
On Monday 16 February 2004 01:56 pm, JJB wrote:
 How can I tell the inetd anonymous ftp server to listen on an
 different port other that 21.
 I tried adding port 6021 in the /etc/services file but that did not
 work.


Did you restart inetd?  I don't know if that's necessary; but it may be worth 
a try.

Best of luck,

Andrew Gould

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


Re: How-to get anonymous FTP to use port 6021

2004-02-16 Thread Matthew Seaman
On Mon, Feb 16, 2004 at 02:56:34PM -0500, JJB wrote:
 How can I tell the inetd anonymous ftp server to listen on an
 different port other that 21.
 I tried adding port 6021 in the /etc/services file but that did not
 work.

Don't change the default ftp port number in /etc/services -- instead
add your own line, eg:

mycustomftp6021/tcp

Then add a line lie so into /etc/inetd.conf:

mycustomftpstream  tcp nowait  root/usr/libexec/ftpd   ftpd -l

and restart inetd:

# kill -HUP `cat /var/run/inetd.pid`

Note that this may well result in port 6020 being used for the FTP
data channel -- you'll need to make sure your firewall rules permit
that.

Cheers,

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.   26 The Paddocks
  Savill Way
PGP: http://www.infracaninophile.co.uk/pgpkey Marlow
Tel: +44 1628 476614  Bucks., SL7 1TH UK


pgp0.pgp
Description: PGP signature


Allowing Anonymous FTP

2004-02-14 Thread GRF .
  I wanted to see how the anonymous FTP option worked on FreeBSD so I 
enabled it on my test box.  I haven't been able to find out much info 
about locking down to a default directory.  Is there a way to lets say block 
all directories when logging in and open right up to the /incoming 
directory?  It doesn't seem smart to have the /etc directory visible with 
the group and passwd file readable.  At the very least is there a way to 
make the /bin and /etc directory hidden?  Thanks

_
Keep up with high-tech trends here at Hook'd on Technology. 
http://special.msn.com/msnbc/hookedontech.armx

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


Re: Allowing Anonymous FTP

2004-02-14 Thread Malcolm Kay
On Sun, 15 Feb 2004 08:29, GRF . wrote:
I wanted to see how the anonymous FTP option worked on FreeBSD so I
 enabled it on my test box.  I haven't been able to find out much info
 about locking down to a default directory.  Is there a way to lets say
 block all directories when logging in and open right up to the /incoming
 directory?  It doesn't seem smart to have the /etc directory visible with
 the group and passwd file readable.  At the very least is there a way
 to make the /bin and /etc directory hidden?  Thanks

Have you read the ftpd man page?
Anonymous ftp with a normal setup does not allow access to the system /etc
directory. On anonymous login to ftp you are effectively chroot'ed to the
ftp home directory and can only see or operate on files in the tree down from 
that point. From within ftp that home directory (/home/ftp/) appears as 
the directory /.

If you want ftp users to see user and group names from 'ls' rather than
numerical identities then you'll need a subdirectory under the ftp home directory
called etc and containing a copy of the system /etc/group file and /etc/pwd.db.
The password data base pwd.db does not contain passwords coded or 
otherwise so this is fairly safe. I guess you could also consider constructing
special versions of these files for use in /home/ftp/etc containing only the names
you want visible under 'ls' to ftp users.

You might also need /home/ftp/bin containing a copy of ls to be called when
command ls or dir is given in the ftp client.

Malcolm Kay

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


Re: anonymous ftp

2004-01-31 Thread Matthew Seaman
On Sat, Jan 31, 2004 at 10:49:12AM +0800, Robert Storey wrote:
 I'm setting up an anonymous ftp server. I understand that a user named
 ftp can log in without a password, and that anonymous is an alias
 for user ftp. What I'm wondering is if it is possible to assign other
 aliases for ftp, let us say user aardvark or scary.daemon whatever?
 How would I go about doing that?

It depends on which FTP server software you're using.  For the
built-in ftpd, see ftpd.conf(5), ftpusers(5) and ftpchroot(5) --- but
basically you need something like this:

/etc/ftpusers:

root
toor
daemon
operator
bin
tty
kmem
games
news
man
sshd
bind
uucp
xten
pop
www
nobody
mailnull
smmsp
# UIDs for anonymous FTP
aardvark allow guest
scary.daemon allow guest

That's all you need, but if you want to make the FTP session chroot to
some other directory, or make the FTP daemon display various messages
when the user logs in, use /etc/ftpd.conf and /etc/ftpchroot as well. 

Cheers,

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.   26 The Paddocks
  Savill Way
PGP: http://www.infracaninophile.co.uk/pgpkey Marlow
Tel: +44 1628 476614  Bucks., SL7 1TH UK


pgp0.pgp
Description: PGP signature


anonymous ftp

2004-01-30 Thread Robert Storey
I'm setting up an anonymous ftp server. I understand that a user named
ftp can log in without a password, and that anonymous is an alias
for user ftp. What I'm wondering is if it is possible to assign other
aliases for ftp, let us say user aardvark or scary.daemon whatever?
How would I go about doing that?

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


anonymous ftp passwd

2004-01-08 Thread Tomas Palfi
To all,

i would like to identify the anonymous passwd of our clients for
statistical purposes.  I know that ftp transmits the username and passwd
in plain text.  Is there a way to decrypt them.

thanks

--
tp 



This e-mail has been scanned for all viruses by Star Internet. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk

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


Re: anonymous ftp passwd

2004-01-08 Thread Kliment Andreev
i would like to identify the anonymous passwd of our clients for
statistical purposes.  I know that ftp transmits the username and passwd
in plain text.  Is there a way to decrypt them.

Look for kripp and sniff in ports/security
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: anonymous ftp passwd

2004-01-08 Thread Peter Ulrich Kruppa
On Thu, 8 Jan 2004, Tomas Palfi wrote:

 To all,

 i would like to identify the anonymous passwd of our clients for
 statistical purposes.  I know that ftp transmits the username and passwd
 in plain text.  Is there a way to decrypt them.
Just out of interest:
I always thought anonymous ftp was logged in /var/etc/xferlog ?
Or do you use a different some special kind of ftp server?

Regards,

Uli.


 thanks

 --
 tp


 
 This e-mail has been scanned for all viruses by Star Internet. The
 service is powered by MessageLabs. For more information on a proactive
 anti-virus service working around the clock, around the globe, visit:
 http://www.star.net.uk
 
 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]



+---+
|Peter Ulrich Kruppa|
| Wuppertal |
|  Germany  |
+---+
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: anonymous ftp passwd

2004-01-08 Thread Tomas Palfi
Yes, thanks for this one the file is there on FreeBSD5.1, however, I
could not find the file on FreeBSD4.4Stable. any idea why??

thanks

-Original Message-
From: Peter Ulrich Kruppa [mailto:[EMAIL PROTECTED] 
Sent: 08 January 2004 15:22
To: Tomas Palfi
Cc: [EMAIL PROTECTED]
Subject: Re: anonymous ftp passwd

On Thu, 8 Jan 2004, Tomas Palfi wrote:

 To all,

 i would like to identify the anonymous passwd of our clients for
 statistical purposes.  I know that ftp transmits the username and
passwd
 in plain text.  Is there a way to decrypt them.
Just out of interest:
I always thought anonymous ftp was logged in /var/etc/xferlog ?
Or do you use a different some special kind of ftp server?

Regards,

Uli.


 thanks

 --
 tp




 This e-mail has been scanned for all viruses by Star Internet. The
 service is powered by MessageLabs. For more information on a proactive
 anti-virus service working around the clock, around the globe, visit:
 http://www.star.net.uk


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



+---+
|Peter Ulrich Kruppa|
| Wuppertal |
|  Germany  |
+---+


This e-mail has been scanned for all viruses by Star Internet. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk



This e-mail has been scanned for all viruses by Star Internet. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk

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


RE: anonymous ftp passwd

2004-01-08 Thread Peter Ulrich Kruppa
On Thu, 8 Jan 2004, Tomas Palfi wrote:

 Yes, thanks for this one the file is there on FreeBSD5.1, however, I
 could not find the file on FreeBSD4.4Stable. any idea why??
My ftp server is started via /etc/inetd.conf with the command
ftpd -lS
# man ftpd
tells me that -lS makes ftpd log to /var/log/ftpd  and
/var/log/xferlog
So perhaps you either don't have -lS enabled or you have to
create these files yourself before.

By the way: I have read - not tried myself - that
/usr/ports/webalizer can read and analyze the xferlog's produced
by the wu-ftp server (found in /usr/ports/ftp/wu-ftp).
I am running webalizer on my apache logs. It draws very fine
graphics.

Uli.

 thanks

 -Original Message-
 From: Peter Ulrich Kruppa [mailto:[EMAIL PROTECTED]
 Sent: 08 January 2004 15:22
 To: Tomas Palfi
 Cc: [EMAIL PROTECTED]
 Subject: Re: anonymous ftp passwd

 On Thu, 8 Jan 2004, Tomas Palfi wrote:

  To all,
 
  i would like to identify the anonymous passwd of our clients for
  statistical purposes.  I know that ftp transmits the username and
 passwd
  in plain text.  Is there a way to decrypt them.
 Just out of interest:
 I always thought anonymous ftp was logged in /var/etc/xferlog ?
 Or do you use a different some special kind of ftp server?

 Regards,

 Uli.

 
  thanks
 
  --
  tp
 
 
 
 
  This e-mail has been scanned for all viruses by Star Internet. The
  service is powered by MessageLabs. For more information on a proactive
  anti-virus service working around the clock, around the globe, visit:
  http://www.star.net.uk
 
 
  ___
  [EMAIL PROTECTED] mailing list
  http://lists.freebsd.org/mailman/listinfo/freebsd-questions
  To unsubscribe, send any mail to
 [EMAIL PROTECTED]
 
 

   +---+
   |Peter Ulrich Kruppa|
 | Wuppertal |
 |  Germany  |
 +---+

 
 This e-mail has been scanned for all viruses by Star Internet. The
 service is powered by MessageLabs. For more information on a proactive
 anti-virus service working around the clock, around the globe, visit:
 http://www.star.net.uk
 

 
 This e-mail has been scanned for all viruses by Star Internet. The
 service is powered by MessageLabs. For more information on a proactive
 anti-virus service working around the clock, around the globe, visit:
 http://www.star.net.uk
 
 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]



+---+
|Peter Ulrich Kruppa|
| Wuppertal |
|  Germany  |
+---+
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Anonymous FTP

2003-12-16 Thread fbsd_user
During the original install of FBSD the sysinstall process gives you
option to activate anonymous FTP.  After FBSD install is complete
there is no way to get sysinstall to give that option again. This
looks like short coming of sysinstall process.

I see /var/ftp and sub-directories beneath it, with an copy of
passwd, group and ls and date commands.
What is going here? How does inted.conf  ftp statement knows to use
that area on /var ?
Where can I find written description on how sysinstall set up
anonymous FTP?

Thanks

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


Re: Anonymous FTP

2003-12-16 Thread Matthew Seaman
On Tue, Dec 16, 2003 at 04:57:28PM -0500, fbsd_user wrote:

 I see /var/ftp and sub-directories beneath it, with an copy of
 passwd, group and ls and date commands.
 What is going here? How does inted.conf  ftp statement knows to use
 that area on /var ?
 Where can I find written description on how sysinstall set up
 anonymous FTP?

This is described in the ftpd(8) man page.  The anonymous FTP
behaviour requires that there be a ftp UID in the password file and
is triggered by the remote user logging in as anonymous or ftp.

Cheers,

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.   26 The Paddocks
  Savill Way
PGP: http://www.infracaninophile.co.uk/pgpkey Marlow
Tel: +44 1628 476614  Bucks., SL7 1TH UK


pgp0.pgp
Description: PGP signature


Anonymous FTP using ftpd problems

2002-10-29 Thread Alvaro Gil
I have set up guest ftp with with ftpd but It will only  work when in 
the /var/ftp directory.

When I try to use it in the /usr/ftp directory I get an error 550 and 
I cannot log in.

Anyone have this problem???
Can somone point me in the right direction?
--

Alvaro Gil
http://www.AlvaroGil.com
'84 Volvo 242 Turbo (Silver) 15 psi
'97 Leopard Gecko (White, Yellow, Black)
NJIT Mechanical Engineering Student


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message