FTP Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsSystem AdministrationFTP Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old December 18th, 2001, 12:06 AM
adamst68 adamst68 is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Dec 2001
Posts: 11 adamst68 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Urgent Problem. Having problems with FTP and FreeBSD

Hello there,

I'm having problems connecting via FTP to my freebsd box. Comes up with "connection refused"

Does anyone know how I can troubleshoot this one. I need to get in to the machine to copy some files across.

cheers,

Adam

Reply With Quote
  #2  
Old December 18th, 2001, 07:06 AM
freebsd freebsd is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2001
Posts: 5 freebsd User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
1) Check and make sure FTPd is up and running. Check /etc/inetd.conf.
2) Check TCP Wrappers. The control file is -> /etc/hosts.allow.
3) Check your firewall ruleset, if any.

Reply With Quote
  #3  
Old December 18th, 2001, 06:22 PM
adamst68 adamst68 is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Dec 2001
Posts: 11 adamst68 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Thumbs up

Thanks a heap for that. I uncommented out the bit relating to FTP in the inetd.conf, rebooted and everythings fine now.

cheers,

Adam

Reply With Quote
  #4  
Old December 18th, 2001, 08:27 PM
estrabd's Avatar
estrabd estrabd is offline
o0o.o0o
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Feb 2001
Location: m00n
Posts: 184 estrabd User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 4 m 48 sec
Reputation Power: 8
Send a message via ICQ to estrabd Send a message via AIM to estrabd Send a message via Yahoo to estrabd
You could also start ftpd explicitly on start up in rc.local as an alternative to using inetd.

Reply With Quote
  #5  
Old December 18th, 2001, 09:39 PM
adamst68 adamst68 is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Dec 2001
Posts: 11 adamst68 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Thanks for your suggestion. As I'm a bit new at FreeBSD/Unix - what's the difference between the two methods ?

cheers,

Adam

Reply With Quote
  #6  
Old December 18th, 2001, 11:39 PM
freebsd freebsd is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2001
Posts: 5 freebsd User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
>> what's the difference between the two methods ?

When running FTPd as a daemon, you can't configure access restriction with TCP Wrappers. It also takes more resource when launching multiple daemons. Unlike proftpd and apache where you can configure those when running out of inetd.
BTW, I don't trust inetd and I have it completely disabled for all my *BSD boxes. If I have a need to run FTP server, I either run Proftpd standalone or use a inetd replacement -> tcpserver.

Like I always said, djb (qmail author) makes the most secure software on earth. If there exists a djb software that is intended to be a replacement (except publicfile to replace Apache), follow his advice and just do so. Just to name a few:
- dnscache to replace BIND cache
- tinydns+axfrdns to replace BIND authoritative DNS server
- qmail to replace sendmail
- tcpserver to replace inetd
- multilog to replace syslogd

Reply With Quote
Reply

Viewing: Dev Shed ForumsSystem AdministrationFTP Help > Urgent Problem. Having problems with FTP and FreeBSD


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 3 hosted by Hostway
Stay green...Green IT