228ae Need recommendation on FTP package - The FreeBSD Forums
The FreeBSD Forums  

Go Back   The FreeBSD Forums > Server & Networking > Web & Network Services

Web & Network Services Discussion related to network/web services such as apache, bind, sendmail, etc.

Reply
 
Thread Tools Display Modes
  #1  
Old July 31st, 2012, 01:20
dpalme dpalme is offline
Member
 
Join Date: Nov 2008
Posts: 170
Thanks: 8
Thanked 0 Times in 0 Posts
Default Need recommendation on FTP package

It appears that Proftpd is now marked as broken, so I need to install a new ftp package....any suggestions on one that is easy to maintain?
Reply With Quote
  #2  
Old July 31st, 2012, 05:30
dave's Avatar
dave dave is offline
Member
 
Join Date: Nov 2008
Posts: 300
Thanks: 37
Thanked 18 Times in 18 Posts
Post

Try ftp/pure-ftpd - it's a good one. It has loads of features and is easy to setup. Specifically, I liked it for its support atomic uploads, which makes it good for editing web sites, which is what I used it for. I don't use it anymore, because I no longer allow FTP at all, but I used it for a long time, and it always did the job.

More: http://www.pureftpd.org/
Reply With Quote
  #3  
Old July 31st, 2012, 07:54
SirDice's Avatar
SirDice SirDice is offline
Moderator
 
Join Date: Nov 2008
Location: Rotterdam, Netherlands
Posts: 13,702
Thanks: 47
Thanked 2,022 Times in 1,861 Posts
Default

It was only broken on SPARC. Update your ports, it has been "unbroken".

http://www.freebsd.org/cgi/cvsweb.cg...oftpd/Makefile
__________________
Senior UNIX Engineer at Unix Support Nederland
Experience is something you don't get until just after you need it.
Reply With Quote
  #4  
Old July 31st, 2012, 07:59
vermaden's Avatar
vermaden vermaden is offline
Giant Locked
 
Join Date: Nov 2008
Location: pl_PL.lodz
Posts: 2,192
Thanks: 59
Thanked 633 Times in 349 Posts
Default

@dpalme

If You want something secure and simple then try ftp/vsftpd.
__________________
Religions, worst damnation of mankind.
"FreeBSD has always been the operating system that GNU/Linux should have been." Frank Pohlmann, IBM
http://vermaden.blogspot.com
Reply With Quote
  #5  
Old August 1st, 2012, 18:19
dpalme dpalme is offline
Member
 
Join Date: Nov 2008
Posts: 170
Thanks: 8
Thanked 0 Times in 0 Posts
Default

I just updated my ports collection with portsnap fetch, portsnap extract, portsnap update and its still showing as broken.
Reply With Quote
  #6  
Old August 1st, 2012, 18:50
Ogham Ogham is offline
Junior Member
 
Join Date: Jan 2012
Posts: 23
Thanks: 1
Thanked 3 Times in 3 Posts
Default

Quote:
Originally Posted by dpalme View Post
I just updated my ports collection with portsnap fetch, portsnap extract, portsnap update and its still showing as broken.
It does seem to be ok according to http://www.freshports.org/ftp/proftpd/

There are also -stable packages for the latest version on the ftp mirrors (I only checked amd64 and i386).
Reply With Quote
  #7  
Old August 2nd, 2012, 04:00
dpalme dpalme is offline
Member
 
Join Date: Nov 2008
Posts: 170
Thanks: 8
Thanked 0 Times in 0 Posts
Default

well I have updated the ports collection multiple times and it still shows the old broken version of proftpd.
Reply With Quote
  #8  
Old August 2nd, 2012, 08:00
SirDice's Avatar
SirDice SirDice is offline
Moderator
 
Join Date: Nov 2008
Location: Rotterdam, Netherlands
Posts: 13,702
Thanks: 47
Thanked 2,022 Times in 1,861 Posts
Default

Can you post the exact error message you're getting when you try to build it?
__________________
Senior UNIX Engineer at Unix Support Nederland
Experience is something you don't get until just after you need it.
Reply With Quote
  #9  
Old August 2nd, 2012, 17:14
dpalme dpalme is offline
Member
 
Join Date: Nov 2008
Posts: 170
Thanks: 8
Thanked 0 Times in 0 Posts
Default

Code:
www# make clean install
===>  Cleaning for proftpd-1.3.4a_3
===>  proftpd-1.3.4a_3 is marked as broken: __FreeBSD_libc_enter_restricted_mode is not supported.
*** Error code 1

Stop in /usr/ports/ftp/proftpd.
www#

Last edited by SirDice; August 2nd, 2012 at 17:21. Reason: Proper use of [code] tags: http://forums.freebsd.org/showthread.php?t=8816#code
Reply With Quote
  #10  
Old August 2nd, 2012, 17:23
SirDice's Avatar
SirDice SirDice is offline
Moderator
 
Join Date: Nov 2008
Location: Rotterdam, Netherlands
Posts: 13,702
Thanks: 47
Thanked 2,022 Times in 1,861 Posts
Default

You seem to be missing FreeBSD-SA-11:07.chroot.

Is your base system up to date?
__________________
Senior UNIX Engineer at Unix Support Nederland
Experience is something you don't get until just after you need it.
Reply With Quote
  #11  
Old August 2nd, 2012, 17:33
dpalme dpalme is offline
Member
 
Join Date: Nov 2008
Posts: 170
Thanks: 8
Thanked 0 Times in 0 Posts
Default

I updated the ports tree with the portsnap commands but it never updates this port beyond this version.

Suggestions?
Reply With Quote
  #12  
Old August 2nd, 2012, 17:39
dpalme dpalme is offline
Member
 
Join Date: Nov 2008
Posts: 170
Thanks: 8
Thanked 0 Times in 0 Posts
Default

OS level:
Code:
FreeBSD www 7.1-RELEASE-p5 FreeBSD 7.1-RELEASE-p5 #0: Wed May  6 18:10:51 PDT 2009     [emaildeleted[/email]:/usr/obj/usr/src/sys/GENERIC  i386

Last edited by SirDice; August 3rd, 2012 at 08:03. Reason: Read about formatting tags: http://forums.freebsd.org/misc.php?do=bbcode
Reply With Quote
  #13  
Old August 2nd, 2012, 17:47
chatwizrd chatwizrd is offline
Member
 
Join Date: Jul 2012
Posts: 142
Thanks: 7
Thanked 13 Times in 11 Posts
Default

Im pretty sure your 7.1 FreeBSD is extremely outdated and no longer supported. You should considering moving to 8.x or 9.x.
Reply With Quote
  #14  
Old August 2nd, 2012, 17:57
dpalme dpalme is offline
Member
 
Join Date: Nov 2008
Posts: 170
Thanks: 8
Thanked 0 Times in 0 Posts
Default

Can that be done from remote?
Reply With Quote
  #15  
Old August 2nd, 2012, 19:11
dpalme dpalme is offline
Member
 
Join Date: Nov 2008
Posts: 170
Thanks: 8
Thanked 0 Times in 0 Posts
Default

I updated the OS per http://security.freebsd.org/advisori...:07.chroot.asc

However proftpd still won't install and gives me the same reason as before.
Reply With Quote
  #16  
Old August 2nd, 2012, 19:30
chatwizrd chatwizrd is offline
Member
 
Join Date: Jul 2012
Posts: 142
Thanks: 7
Thanked 13 Times in 11 Posts
Default

Did you do the binary patch via or did you patch the source code?
Reply With Quote
  #17  
Old August 2nd, 2012, 19:32
chatwizrd chatwizrd is offline
Member
 
Join Date: Jul 2012
Posts: 142
Thanks: 7
Thanked 13 Times in 11 Posts
Default

Ugh it cut out my command.

Did you update with # freebsd-update.
Reply With Quote
  #18  
Old August 2nd, 2012, 19:33
dpalme dpalme is offline
Member
 
Join Date: Nov 2008
Posts: 170
Thanks: 8
Thanked 0 Times in 0 Posts
Default

Binary
Reply With Quote
  #19  
Old August 2nd, 2012, 19:34
dpalme dpalme is offline
Member
 
Join Date: Nov 2008
Posts: 170
Thanks: 8
Thanked 0 Times in 0 Posts
Default

Code:
FreeBSD www 7.1-RELEASE-p15 FreeBSD 7.1-RELEASE-p15 #0: Tue Nov  9 05:59:11 UTC 2010     root@i386-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC  i386

Last edited by SirDice; August 3rd, 2012 at 08:04. Reason: Read about formatting tags: http://forums.freebsd.org/misc.php?do=bbcode
Reply With Quote
  #20  
Old August 2nd, 2012, 19:42
chatwizrd chatwizrd is offline
Member
 
Join Date: Jul 2012
Posts: 142
Thanks: 7
Thanked 13 Times in 11 Posts
Default

Are you sure you ran the # freebsd-update install after # freebsd-update fetch.

It was supposed to update /usr/include/unistd.h with a new API which is what it is checking for.

If this command does not return 1 then something isn't right:

Code:
# grep -c '__FreeBSD_libc_enter_restricted_mode' /usr/include/unistd.h
Reply With Quote
  #21  
Old August 2nd, 2012, 20:00
dpalme dpalme is offline
Member
 
Join Date: Nov 2008
Posts: 170
Thanks: 8
Thanked 0 Times in 0 Posts
Default

Yes I ran install after the fetch. your command returns a 0 and here is what is returned when I run fetch:
Code:
www# freebsd-update fetch
Looking up update.FreeBSD.org mirrors... 3 mirrors found.
Fetching metadata signature for 7.1-RELEASE from update4.FreeBSD.org... done.
Fetching metadata index... done.
Inspecting system... done.
Preparing to download files... done.

No updates needed to update system to 7.1-RELEASE-p16.

WARNING: FreeBSD 7.1-RELEASE-p15 HAS PASSED ITS END-OF-LIFE DATE.
Any security issues discovered after Mon Jan 31 17:00:00 MST 2011
will not have been corrected.
www#

Last edited by SirDice; August 3rd, 2012 at 08:04. Reason: Read about formatting tags: http://forums.freebsd.org/misc.php?do=bbcode
Reply With Quote
  #22  
Old August 2nd, 2012, 20:22
chatwizrd chatwizrd is offline
Member
 
Join Date: Jul 2012
Posts: 142
Thanks: 7
Thanked 13 Times in 11 Posts
Default

Oh based on that warning I would guess it never applied this patch. This patch was recently released in 2012.

You should start by reading the handbook on how to upgrade to newer release of FreeBSD.
Reply With Quote
The Following User Says Thank You to chatwizrd For This Useful Post:
dpalme (August 3rd, 2012)
  #23  
Old August 3rd, 2012, 01:52
dpalme dpalme is offline
Member
 
Join Date: Nov 2008
Posts: 170
Thanks: 8
Thanked 0 Times in 0 Posts
Default

Ok,
We got another box up with freebsd 9:
Code:
FreeBSD www 9.0-RELEASE FreeBSD 9.0-RELEASE #0: Tue Jan  3 07:46:30 UTC 2012     root@farrell.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  amd64
I installed the portmaster(8) port so I can update all the ports before I start transferring our data....but I ran into an issue that maybe you can help with. On the old box all I had to do to run portmaster(8) was literally type in portmaster.....this new box won't do that, I have to type /usr/local/sbin/portmaster -L
Is there a way to make it so I don't have to do that?

Last edited by SirDice; August 3rd, 2012 at 08:06. Reason: Read about formatting tags: http://forums.freebsd.org/misc.php?do=bbcode
Reply With Quote
  #24  
Old August 3rd, 2012, 01:53
dpalme dpalme is offline
Member
 
Join Date: Nov 2008
Posts: 170
Thanks: 8
Thanked 0 Times in 0 Posts
Default

One final question, how do I make sure that I keep the box updated on the OS but without getting myself out there on the bleeding edge?
Reply With Quote
  #25  
Old August 3rd, 2012, 08:07
SirDice's Avatar
SirDice SirDice is offline
Moderator
 
Join Date: Nov 2008
Location: Rotterdam, Netherlands
Posts: 13,702
Thanks: 47
Thanked 2,022 Times in 1,861 Posts
Default

Quote:
Originally Posted by dpalme View Post
On the old box all I had to do to run portmaster(8) was literally type in portmaster.....this new box won't do that, I have to type /usr/local/sbin/portmaster -L
Is there a way to make it so I don't have to do that?
If you installed something new, run rehash. Then it'll work as you expected.

Quote:
Originally Posted by dpalme View Post
One final question, how do I make sure that I keep the box updated on the OS but without getting myself out there on the bleeding edge?
Stick to 9.0-RELEASE. You'll be fine for the next couple of years. When 9.1 comes out you can upgrade to that without issues.

Sign up for the freebsd-security-notifications@ mailing list. If there's a security patch available you'll be notified.
__________________
Senior UNIX Engineer at Unix Support Nederland
Experience is something you don't get until just after you need it.
Reply With Quote
The Following User Says Thank You to SirDice For This Useful Post:
dpalme (August 4th, 2012)
Reply

Thread Tools
Display Modes

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

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to resume installation of a package, after fixing error from dependent package Vitamin Installation and Maintenance of FreeBSD Ports or Packages 4 January 26th, 2012 09:20
[Solved] nic recommendation UNIXgod System Hardware 22 August 11th, 2010 17:30
what is your recommendation? fender0107401 Other Window Managers 18 March 16th, 2010 05:02
Laptop recommendation ph0enix Mobile Computing 16 May 4th, 2009 14:29
USB NIC recommendation dabee69 Peripheral Hardware 6 February 12th, 2009 00:26


All times are GMT +1. The time now is 07:38.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.
The mark FreeBSD is a registered trademark of The FreeBSD Foundation and is used by The FreeBSD Project with the permission of The FreeBSD Foundation.
Web protection and acceleration provided by CloudFlare
0