LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 01-17-2003, 10:43 PM   #46
Henry
Member
 
Registered: Dec 2002
Location: USA
Distribution: Slackware9.0, some SuSe8.0
Posts: 179

Original Poster
Rep: Reputation: 30

here's my proftpd.conf:


# This is a basic ProFTPD configuration file.
# It establishes a single server and a single anonymous login.
# It assumes that you have a user/group "nobody" and "ftp"
# for normal/anonymous operation.

ServerName "PunkShark"
#ServerType standalone
ServerType inetd
DefaultServer on

# Port 21 is the standard FTP port.
Port 27016
# Umask 022 is a good standard umask to prevent new dirs and files
# from being group and world writable.
Umask 022

# To prevent DoS attacks, set the maximum number of child processes
# to 30. If you need to allow more than 30 concurrent connections
# at once, simply increase this value. Note that this ONLY works
# in standalone mode, in inetd mode you should use an inetd server
# that allows you to limit maximum number of processes per service
# (such as xinetd)
MaxInstances 30

# Set the user and group that the server normally runs at.
User nobody
Group nogroup

# This next option is required for NIS or NIS+ to work properly:
#PersistentPasswd off

SystemLog /var/log/proftpd.log
TransferLog /var/log/xferlog

# Normally, we want files to be overwriteable.
<Directory /*>
AllowOverwrite on
</Directory>

# A basic anonymous FTP server configuration.
# To enable this, remove the user ftp from /etc/ftpusers.
<Anonymous ~ftp>
RequireValidShell off
User ftp
Group ftp
# We want clients to be able to login with "anonymous" as well as "ftp"
UserAlias anonymous ftp

# Limit the maximum number of anonymous logins
MaxClients 50

# We want 'welcome.msg' displayed at login, and '.message' displayed
# in each newly chdired directory.
DisplayLogin welcome.msg
DisplayFirstChdir .message

# Limit WRITE everywhere in the anonymous chroot
<Limit WRITE>
DenyAll
</Limit>

# An upload directory that allows storing files but not retrieving
# or creating directories.
# <Directory incoming/*>
# <Limit READ>
# DenyAll
# </Limit>
#
# <Limit STOR>
# AllowAll
# </Limit>
# </Directory>

</Anonymous>



and what do you mean what router? you mean the LINKSYS? i have BEFW11S4
 
Old 01-20-2003, 07:31 PM   #47
wldkos
Member
 
Registered: Jan 2003
Distribution: Mandrake 9.2 =<3 and Red Hat 8.0 (server)
Posts: 242

Rep: Reputation: 30
well it looks like you have the port set to 21 in the config file, so check the routers config, sinc eu have to mess with 2 things to get this FTP to work.
 
Old 01-20-2003, 10:07 PM   #48
Henry
Member
 
Registered: Dec 2002
Location: USA
Distribution: Slackware9.0, some SuSe8.0
Posts: 179

Original Poster
Rep: Reputation: 30
i did...
http://www.geocities.com/babysharkeater/forwarding.png

i don't know if it is right, but i think it is.


i don't know why you have to click twice to view the snapshot .... so try go get in at least twice....

Last edited by Henry; 01-20-2003 at 10:09 PM.
 
Old 01-20-2003, 10:19 PM   #49
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 68
Do you have DHCP enabled? What firmware version is that (check the status tab)?

You probably are going to want to configure your server box below the 100 mark if you have DHCP enabled, and set the static IP at something lower (like .50).

Cool
 
Old 01-20-2003, 10:19 PM   #50
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 68
Also, make sure you don't have your box in the DMZ, check that tab and make sure it says 0

Cool
 
Old 01-21-2003, 06:20 PM   #51
Henry
Member
 
Registered: Dec 2002
Location: USA
Distribution: Slackware9.0, some SuSe8.0
Posts: 179

Original Poster
Rep: Reputation: 30
thanks,i use static ip and DMZ it is already @ 0 and wut do u mean lower than 100, do u mean the 192.168.1.101 this? or do u mean my port set it under 100?
 
Old 01-21-2003, 06:58 PM   #52
wldkos
Member
 
Registered: Jan 2003
Distribution: Mandrake 9.2 =<3 and Red Hat 8.0 (server)
Posts: 242

Rep: Reputation: 30
HAHA man, are you still having problems? I wish i could be of more help but i am not too familiar with slack, nor running servers off of linux yet. sorry dude.
 
Old 01-21-2003, 08:48 PM   #53
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 68
I mean below 100, so 192.168.1.99 OR LESS

One step at a time...

Cool
 
Old 01-22-2003, 03:58 PM   #54
Henry
Member
 
Registered: Dec 2002
Location: USA
Distribution: Slackware9.0, some SuSe8.0
Posts: 179

Original Poster
Rep: Reputation: 30
lol, man the port is still at 21, but u kno what, i don't care anymore, as long as my ftp server is externally running, it is all good, and thank you guys for helping me, thank you thank you thank you!!! i'll just shut it down when im not using it, it is all good, thanks!
 
Old 01-22-2003, 04:40 PM   #55
wldkos
Member
 
Registered: Jan 2003
Distribution: Mandrake 9.2 =<3 and Red Hat 8.0 (server)
Posts: 242

Rep: Reputation: 30
hah, ok, sounds good, would it be cool if I gt an account on there, or is it anonymous access?
 
Old 01-22-2003, 04:57 PM   #56
Henry
Member
 
Registered: Dec 2002
Location: USA
Distribution: Slackware9.0, some SuSe8.0
Posts: 179

Original Poster
Rep: Reputation: 30
it is anonymous, but i don't get it ^ everyday because it lags me when im playing games so if it is up, it is 12.232.133.76:21 and it is movies, songs that kinda media, but i dunno how to watch if there is anyone DLing from be so i could cut you off anytime =\



oh yea, if anyone think they can hack into my comp, u might, but i have firewall on almost everything except ftp, so DON"T EVEN THING ABOUT IT! hehe

Last edited by Henry; 01-22-2003 at 04:58 PM.
 
Old 01-22-2003, 08:42 PM   #57
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 68
he he he This is LQ, we are here to help you, not hack you

Cool
 
Old 01-22-2003, 08:43 PM   #58
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 68
Oh, the way to tell if someone is logged on, check:
/var/log/proftpd.log

You can tail this:
tail -f /var/log/proftpd.log

And if you are really into watching that log, check into a program on www.freshmeat.net called root-tail

Cool
 
Old 01-22-2003, 09:38 PM   #59
wldkos
Member
 
Registered: Jan 2003
Distribution: Mandrake 9.2 =<3 and Red Hat 8.0 (server)
Posts: 242

Rep: Reputation: 30
well, i hav been considering you getting hacked since u started this thread and posted your IP all over the place in including the setup in the inside. haha, but don't worry too much, i don't think that there is a major threat there. Are people allowed to upload as well?
 
Old 01-23-2003, 01:46 AM   #60
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 68
Not according to his PROFTPD.conf file:
Code:
 # Limit WRITE everywhere in the anonymous chroot
<Limit WRITE>
DenyAll
</Limit>
Which is normally a good thing on an anonymous FTP IMVHO.

Cool
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Ftp(through web site access to ftp server) kelper Linux - Software 4 07-03-2015 05:14 PM
ftp server - Pure ftp - logs in OK but no files visible tp11235 Linux - Networking 2 08-30-2005 05:11 AM
FTP Server Up and running... how do I hide ftp users from local login screen? joe1031 Mandriva 2 03-18-2005 04:24 PM
How do I set my FTP server to accept passive FTP? imsam Linux - Newbie 3 12-12-2004 06:22 AM
how can I restrict ftp users listing files from a pure-ftp server adrianmak Linux - Networking 2 12-31-2002 08:23 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 02:00 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration