Tracking Forums, Newsgroups, Maling Lists
Home Scripts Tutorials Tracker Forums
  Advanced Search
  HOME    TRACKER    Web Hosting


Advertisements:




SuperbHosting.net & Arvixe.com have generously sponsored dedicated servers and web hosting to ensure a reliable and scalable dedicated hosting solution for BigResource.com.







ProFTPD: 421 No Transfer Timeout (300 Seconds): Closing Control Connection


Since moving servers I've been plagued by constant disconnects whilst using FTP:

421 No transfer timeout (300 seconds): closing control connection

I've gone through Proftpd's forum and documentation numerous times to try and find a solution to this but have been unsuccessful so far.

Within proftpd's config file it's set at:

TimeoutLogin 120
TimeoutIdle 3600
TimeoutNoTransfer 3600
TimeoutStalled 3600

So I am unsure where it is getting the "300 seconds" from.

Even though the error states 300 seconds, this problem happens way before 300 seconds every time and has happened during the transfer of files (when the connection has been active and in use).

I've tried 3 different FTP clients and used the "Keep Alive" option in each and it has absolutely no effect.

I am unsure if APF is causing the problem, I can't see any problems in any of the server logs in relation to ftp.


View Complete Thread with Replies

Sponsored Links:

Related Forum Messages:
Error 421 Service Not Available, Closing Control Connection
When i am trying to connect to ftp, browser shows me error
Error 421 Service not available, closing control connection

this problem comes at home but not in office. I am able to access my ftp a/c with same user name and password but in home it i got the error.

View Replies!   View Related
Proftpd Timeout Connection Attempt Failed
Currently having a problem with proftpd on my centos plesk 8.1 server.

During large uploads, lets say around 10 MB the FTP connection fails within 5 minutes or so saying:

"A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond."

I have asked for help from my server provider but they have tried and are now unable to help.

I currently have the APF firewall in my server.

Has anyone experienced this?

Below is the APF config file that i currently have & the proftpd config files that i have, if anyone can help it would be really really appreciated

APF CONFIG:

Code:
#!/bin/sh
#
# APF 0.9.6 [apf@r-fx.org]
#
# NOTE: This file should be edited with word/line wrapping off,
# if your using pico please start it with the -w switch
# (e.g: pico -w filename)
#

##
# [Devel Mode]
# !!! Do not leave set to (1) !!!
# When set to enabled; 5 minute cronjob is set to stop the firewall. Set
# this mode off (0) when firewall determined to be operating as desired.
##

# Set firewall cronjob (devel mode)
# 1 = enabled / 0 = disabled
DEVEL_MODE="0"

##
# [Main]
##

# The installation path of APF; this can be changed but it has not
# been tested what would happen.
INSTALL_PATH="/etc/apf"

# Untrusted Network interface(s); all traffic on defined interface will be
# subject to all firewall rules. This should be your internet exposed
# interfaces. Only one interface is accepted for each value.
# NOTE: The interfacing structure is being worked towards support of MASQ/NAT
IFACE_IN="eth0"
IFACE_OUT="eth0"

# Trusted Network interface(s); all traffic on defined interface(s) will by-pass
# ALL firewall rules, format is white space or comma seperated list.
IFACE_TRUSTED=""

# Enable virtual network subsystem; creats independent policy ruleset for each
# ip on a system (pulls data from 'ip addr list') to /etc/apf/vnet/ip.rules
# Template is located in the vnet/ folder for rule files. This feature can
# reduce apf start/stop performance and is not recommend for systems with more
# than 255 (/24) ip's. [0 = Disabled / 1 = Enabled]
SET_VNET="0"

# Support Monolithic kernel builds [no LKM's]. This mode of operation is
# not really supported and you use at your own risk.
SET_MONOKERN="0"

# Verifies that all inbound traffic is sourced from a defined local gateway MAC
# address. All other traffic that does not match this source MAC address will be
# rejected as untrusted traffic. It is quite trivial to forge a MAC address and as
# such this feature executes NO default accept policy against this MAC address.
VF_LGATE=""

# Verifies that the IF and IFACE_TRUSTED interfaces are actually routed (/sbin/route)
# to something. If not then chances are APF will not start properly if at all.
VF_ROUTE="1"

# Verifies that crond service is running when DEVEL_MODE=1; if not then APF will not
# try to load as if lock-up occures no cron service to flush firewall
VF_CROND="1"

# Verifies that the current system uptime is greater than this value before APF
# can activate. This is to prevent on-boot lockup issues or delays due to excessive
# amount of firewall rules. Value is in seconds; should you wish to disable this
# feature, simply set VF_UTIME to 0 value. !! NOTE: APF WILL NOT START ON IT's OWN;
# IT WILL EXIT WITH FATAL ERROR BELOW SET UPTIME !!
VF_UTIME="0"

##
# [Packet Filtering/Handling]
##

# How to handle TCP packet filtering?
#
# RESET (sends a tcp-reset; TCP/IP default)
# DROP (drop the packet; stealth ?)
# REJECT (reject the packet)
TCP_STOP="DROP"

# How to handle UDP packet filtering?
#
# RESET (sends a icmp-port-unreachable; TCP/IP default)
# DROP (drop the packet; stealth ?)
# REJECT (reject the packet)
# PROHIBIT (send an icmp-host-prohibited)
UDP_STOP="DROP"

# How to handle all other packet filtering? (icmp,arp,igmp)
#
# DROP (drop the packet)
# REJECT (reject the packet)
DSTOP="DROP"

# The sanity options control the way packets are scrutinized as
# they flow through the firewall. The main PKT_SANITY option is a
# top level toggle for all SANITY options and provides general
# packet flag sanity as a pre-scrub for the other sanity options
PKT_SANITY="1"

# Block any packets that do not conform as VALID; this feature
# is safe for most but some may experience protocol issues with
# broken remote clients
PKT_SANITY_INV="0"

View Replies!   View Related
[smtp] 421 Too Many Messages In This Connection
we send mailing tih php through smtp connection

All ok in the last 5 month

But now when set more than 1000 emails x sessione (any 10 minutes) we get this error:

"421 too many messages in this connection"

There aren't new configuration on exim.

So we have set 1000 emails max and lower minutes in the session (5) but there is another problem:

Warning: fsockopen() [function.fsockopen]: unable to connect to mx.***.com:25 in /home/***.php on line 47
Connection refused (111)

Can be too lower 5 minutes?

View Replies!   View Related
Connection Timeout On SSH
where I can't access my terminal because my connections keep getting timed out. Its been ok previously but for the last 2 days I could not connect because the connection timed out 9/10 times. No modifications were made during this time so whats the problem guys?

View Replies!   View Related
VPS - Connection Timeout
I have a problem with my VPS. Hosting company have migrated my vps to a new and better dedicated server and now on all my sites(and IP) I got connection timeout error. I have changed "Main IP" and resolvers in HyperVM 10 minutes ago and it's not working(or I have to wait to wait like for nameservers registration?). I can ping my IP and all services(lxadmin,lighttpd etc are started successfully and its not wotking, I still getting connection timeout error.

View Replies!   View Related
Sending Email Cpanel :: SMTP Command Timeout On Connection
i have this weird problem of emails not gettign delivered and i am hosting with theplanet. Every email is sitting on the queue and not delivered.

i checked with dnsreport and it says

Timed out [Last data sent: [Did not connect]]

and my exim_mainlog shows

R=dk_lookuphost defer (-1): host lookup did not complete
2008-06-03 04:49:59 SMTP command timeout on connection

i have restarted exim, checked firewall and still i am unable to fix my problem!

update:

i again checked with dnsreport and my nameservers are failing

NS FAIL NS A timeout occurred getting the NS records from your nameservers! None of your nameservers responded fast enough. They are probably down or unreachable. I can't continue since your nameservers aren't responding. If you have a Watchguard Firebox,

it's due to a bug in their DNS Proxy, which must be disabled (31 Jul 2006 UPDATE: several years after being informed of this, there is a rumor that there is a fix that allows the Watchguard DNS proxy to work).

View Replies!   View Related
Can I Transfer A Site From CPanel Backups To Dedicated With No Control Panel
I am planning on moving to a dedicated server from my current shared host. In my cpanel i have the options:
Generate/Download a Full Backup
Download a home directory Backup
Download a MySQL DB Backup
Download Alias/Filter Backup

I suppose a "Full Backup" would be ideal. But are these backup files only restorable by cpanel, or can I use them to successfully migrate my entire site to the dedicated server? It's running Debian with no control panel. I could install a free one if necessary.

View Replies!   View Related
The Timeout SpeciMod_sec: The Timeout Specified Has Expired [severity "EMERGENCY"]
at my logs, i can see this timeout error caused my mod_security at my rhes 4 server.


Code:
mod_security-message: Access denied with code 403. Error reading request body, error code 70007: The timeout specified has expired [severity "EMERGENCY"]

I didnt specify any mod sec rule about "timeout", what timeout is this about?

View Replies!   View Related
Pureftd- 421
I have a problem in my personal server.
It runs webmin.
Here is the problem:
--

Trying to ftp with a user,report the following error:
--

421 Unable to read the indexed puredb file (or old format detected) - Try pure-pw mkdb
--

When try to do " pure-pw mkdb "
Reports:
--

Unable to open the passwd file: No such file or directory
--

View Replies!   View Related
Cronjob Every X Seconds
to set up a serious of scheduled tasks. For example at 9:35:12 PM I would need a php script to run. And its very important that it run at the 12 second mark for the 35th minute. This seems like an application for a cronjob. Anyway, it looks like you can only have cronjobs run every minute, not seconds.

View Replies!   View Related
421 Message From (IP) Temporarily Deferred
I am opening this thread to complain about Yahoo mail issues with our ISP. Its been a month that we are having problems trying to send e-mail to Yahoo accounts.

First of all we are a Web Hosting company in Brazil and the IP that they blocked only host our main domain maxihost.com.br. We dont send bulk ou spam e-mails, we only send invoices and support replies to their accounts.

The logs from our mail servers when trying to e-mail them is below,

Code:
LOG: MAIN
cwd=/usr/local/cpanel/whostmgr/docroot 4 args: /usr/sbin/exim -v -M 1KHPUv-0007rp-0r
delivering 1KHPUv-0007rp-0r
Connecting to g.mx.mail.yahoo.com [209.191.88.239]:25 ... connected
SMTP<< 421 Message from (189.1.169.32) temporarily deferred - 4.16.50. Please refer to [url]
SMTP>> QUIT
LOG: MAIN
SMTP error from remote mail server after initial connection: host g.mx.mail.yahoo.com [209.191.88.239]: 421 Message from (189.1.169.32) temporarily deferred - 4.16.50. Please refer to [url]
Note that I already filled out the form
[url]telling them I am an ISP and I do not send any e-mail spam for their accounts, although every time I fill it I get an automatic/canned e-mail from their system with the following content,

Code:
Hello Guillherme,

Thank you for writing to Yahoo! Mail.

Please note that if you are not the mail server administrator for the
mail server(s) affected, we encourage you to contact the administrator
so they can address the possible issues regarding mailings from the mail
server. We also appreciate your report as your input helps us to
identify ways to constantly maintain and improve our service. We
apologize for any inconvenience this has caused you.

If you notice any further difficulties when delivering to Yahoo! Mail
accounts, after waiting a reasonable amount of time, please let us know
by replying directly to this email. However please note the following:

If you are receiving the error code "421 Message from x.x.x.x
temporarily deferred" or "451 Message temporarily deferred - 4.16.50" in
your SMTP logs, this indicates that the message you attempted to send
was not accepted by Yahoo! Mail servers. It is not a permanent error;
your system will automatically re-try later. If, after attempting to
deliver to Yahoo! and receive the 4.16.50 error repeatedly and conform
to the best sending practices outlined in the following page, we
encourage you to apply for prioritized sending at the link below.

Recommended Best Practices:

[url]

Prioritized Delivery (Please note that this form can also be used by
senders whose mailings are being directed to the Bulk Folder):

[url]
If you are receiving a separate error than that above, please provide
the text of any error messages you may have received. Also, providing
the specific IP address of the mail server that experienced the delivery
issue will help us to troubleshoot the issue more efficiently.

For assistance with delivery issues to Yahoo! Mail, please visit:

[url]

We appreciate your patience while we work to improve and maintain our
service.

Thank you again for contacting Yahoo! Mail. Your case number for this
issue is 50943856. Please reference it in all future communication about
this particular issue.

Regards,

James

Yahoo! Customer Care

50943856

For assistance with all Yahoo! services please visit:

[url]
When I try to reply to that e-mail I get an error back.

View Replies!   View Related
Closing Relay On Exim-4.52-7
I've been reading, and it seems that I have to use ACL. But, how do I setup a proper ACL to keep my server from being an open relay?

View Replies!   View Related
Closing Mysql Connections
from what I view, wait_timeout is used for disconnecting connections. However, it applies to tcp/ip connection only. So, in my database connection, if I am using mysql server as localhost, that variable is not applied? In that case, how can I close connections automatically after xxx seconds?

View Replies!   View Related
Mysql Connections Topping Out Within Seconds
i have a small cluster (one web and one db) setup and i host a rather popular group of 4-5 sites that allow users to dynamicly create their own mobile chat communitys automaticly. each site gets its own mysql db created and populated automaticly.

this is all fine,

but in the last 24hours weird things have begun happening, previously i had the sql max_connections set to 500 and this was perfectly adquate for the demand but now even when i set the connection to 4000+ they are all maxxed out within 5-10 minutes, and mysql processlist shows thousands of unauthenticated user connections sitting at login status,

i have gone through the sites and all their mysql configs are fine so i cant see what the issue is.

server specs below

db server:
dual amd opteron 246
8GB ram
120gb hd(64gb free)
33gb swap (rarly used but their for emergencys)
centos 5 64bit.
direct 100mbit lan to web serv
only mysql,ssh and webmin running, no other apps installed

web server:
amd athlon 64 3800+
plesk 9.2.1
4gb ram
2x120gb hds

apache status onthe web server only shows 120ish http connections but the sql keeps climbing

View Replies!   View Related
Server Crashes Every 600 Seconds
Today, I put a new server on our racks.

Problem: the machine crashes exactly every 10 minutes. The crash occurs with no entry on the logs and with 0.00 load. It is as if someone take out the current every 10 minutes.

Here are the specs:

- 2 CPU Intel Xeon 2.0
- 8 Gb RAM ECC
- 2 x 250 Gb HDs

This machine needs plenty of current. I wonder if I am not going over the rack power quota. May be there is a system to allow overages for then 10 minutes, then it cut back the current to the rack quota.

View Replies!   View Related
Closing Communication Between Server And Some Domains
How to close any communication between the server and some hosts/domains?

So there won't be any in/out connection between the server and those domains?

can APF firewall or mod_security do this?

View Replies!   View Related
Lighttpd - Backend Died; We'll Disable It For 5 Seconds
My log is filling up with errors + 500 internal displaying:

2008-01-09 16:17:50: (mod_fastcgi.c.2703) fcgi-server re-enabled: unix:/tmp/php-fastcgi.socket-1
2008-01-09 16:17:59: (mod_fastcgi.c.1731) connect failed: Connection refused on unix:/tmp/php-fastcgi.socket-1
2008-01-09 16:17:59: (mod_fastcgi.c.2885) backend died; we'll disable it for 5 seconds and send the request to another backend instead: reconnects: 0 load: 5
2008-01-09 16:18:05: (mod_fastcgi.c.2703) fcgi-server re-enabled: unix:/tmp/php-fastcgi.socket-1
2008-01-09 16:18:18: (mod_fastcgi.c.1731) connect failed: Connection refused on unix:/tmp/php-fastcgi.socket-1
2008-01-09 16:18:18: (mod_fastcgi.c.2885) backend died; we'll disable it for 5 seconds and send the request to another backend instead: reconnects: 0 load: 5
2008-01-09 16:18:24: (mod_fastcgi.c.2703) fcgi-server re-enabled: unix:/tmp/php-fastcgi.socket-1
2008-01-09 16:18:33: (mod_fastcgi.c.1731) connect failed: Connection refused on unix:/tmp/php-fastcgi.socket-1

I have tried all sorts of combos.

Core2Duo 1 processor
Lighttpd 1.4.18
PHP 5.2.5
xcache 1.2.1
2gig ram

fastcgi.server = ( ".php" =>
( "localhost" =>
(
"socket" => "/tmp/php-fastcgi.socket",
"bin-path" => "/usr/local/php5/bin/php-cgi",
"min-procs" => 2,
"max-procs" => 6,
"bin-environment" => (
"PHP_FCGI_CHILDREN" => "10",
"PHP_FCGI_MAX_REQUESTS" => "1000"
)
)
)

View Replies!   View Related
AnchorVPS Closing - 48 Hours To Jump Ship
Received this gem last night:

Quote:

-----Original Message-----
From: AnchorVPS Support
Sent: Fri, August 3, 2007 1:14 am
To: xxxxxx@talanovmedia.com
Subject: IMPORTANT - BACKUP YOUR DATA

AnchorVPS System Message:

08/03/2007 12:14 AM

Hello,

AnchorVPS is now unable to provide any service to any of
our clients. We ask that you backup your data within 48 hours and find
another provider.

If you have any questions or queries then
please contact us at support@anchorvps.com

Thank
You,

AnchorVPS Administration

Never thought a company would do this to their own clients. 48 hour notice?

Thought the headers in the email were suspect so I decided to open up a ticket asking if this is a legitimate message.

Quote:

Jason Min
Posted On: 03 Aug 2007 09:22 AM

Yes it is.

Regards,

Jason

Your thoughts?

Edit:

TOS

Quote:

Termination

This Agreement may be terminated: (i) by you or AnchorVPS during any Renewal Term, without cause, by giving the other party no less than seven (7) days prior written notice.

View Replies!   View Related
Email: 421 Users/assign Permission Denied Error
For one of may domains I'm receiving the following error when someone tries to send mail to it. Also I never receive the mail as it seems to just sit on the server. When the permission were changed on the file, it seemed to have changed back on its on when ever a new address is added. Any solutions?

421 fopen('users/assign') failed (#5.7.10) Permission denied

Code:
-rw------- 1 root qmail 2772 Apr 22 10:38 assign
Plesk+CentOs

View Replies!   View Related
Squid Frontend Gives 0 Network Output For Seconds At The Time
I have an apache server on windows which I wanted to speed up using caching systems.

I tried installing squid, and I got it working with a basic example config. It seemed to work well, however under more heavy load I experienced some weird behaviour where network output is 0 for several seconds at the time, and all clients just hang in the wind and wait for a respons.

Remote to the server is working fine, so it's definitely a squid issue.. with only apache running the server is constantly sending out data, no halts there.

Any hints on what errors I should be looking for?

View Replies!   View Related
How To Make Scp -r Command Continue After Closing Ssh
I'm tranferring files from one server to another, and it is rather large. When I dissonect from SSH it seems like the command stops.

How do I make it continue whether or not the ssh session is still active?

View Replies!   View Related
Fatal Error: Maximum Execution Time Of 30 Seconds Exceeded
while i am restoring db (110MB) via SSH following error occur

Code:
ERROR 1064 (42000) at line 145689: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '
Fatal error: Maximum execution time of 30 seconds exceeded in ' at line 1

View Replies!   View Related
Pure-ftp :: 425 Could Not Open Data Connection To Port 2535: Connection Timed Out
I have ftp server (pure-ftp). with firewall.

i allowed 20 and 21 port in "CSF" firewall

now when i or our client connect to the server connection done.

and the they fire dir or ls command they will receive error

"425 Could not open data connection to port 2535: Connection timed out"

what is the problem.i have already allowed passive port 2500:3500 then why i received this types of error

View Replies!   View Related
What Hardware To Buy With $300 Budget
I live in the UK and have a budget of £150, so say, $300 to spend on hardware for colocating my server.

I already have a 1U Queenserv Chassis with 280w PSU & rails.

I also have 2 SATA drives so i wont need to buy Hard Drives.

What i need is:

- A motherboard

- A CPU

- At least 2GB RAM

Anyway what would be the best hardware to buy on my tight budget?

View Replies!   View Related
Best Fully Managed Boxes Under $300
We want a reliable and powerful fully managed Linux server (Cent OS if possible) for under $300 a month.

View Replies!   View Related
Server Load > 300 (only Apache)
I have two servers, one for apache hosting a vbulletin forum, and another one for hosting its database.

Sometimes, I get very high load on the Apache server (>300) and the server stops responding. As a result, I have to stop apache in order to reduce the load and then start it again.

when I query the number of online users using this command:

Code:
netstat -an | grep : 80 | wc -l
I get about 1500 to 2000

but in the forum statistics, the number of online users is more than 5000. I already made sure that there are no DoS or DDoS attacks.

This is the specs of my apache server:

CPU: GenuineIntel Intel(R) Pentium(R) D CPU 3.40GHz
RAM: 2 GB
Server OS: CentOS 4.4
Apache Version: 1.3.37

and here is my httpd.conf:

Code:
ServerType standalone

Timeout 15
KeepAlive On
MaxKeepAliveRequests 200
KeepAliveTimeout 15
MinSpareServers 10
MaxSpareServers 15
StartServers 10
MaxClients 500
MaxRequestsPerChild 0

Is there anyway by which I can optimize my server for better performance and less load?

View Replies!   View Related
Firewall - 300 USD Max
know of any hardware firewall (or suggest) which is under 300 USD and can protect around 5 servers with a total bandwidth capacity of 100 (+/-) Mbps. I am really no security expert

Of course, it should have web based management, online documentation (not really needed) and something special for prevent DoS attacks automatically (really fed up of them).

If possible if you can link me directly to an online store that can ship it Internationally / Europe?

View Replies!   View Related
What Happaned If We Set TTL 300 In ZONE
what happaned if we set TTL 300 in ZONE...

View Replies!   View Related
Can My Server Specs Can Handle 300 + Users?
I have a video sharing site running Intel(R) Core(TM)2 Duo CPU E6550 @ 2.33GHz with 2 gb RAM and 400 gb Hard Disk.

the server load average increase up to 89,00.00.....

and the users online in my site is around 190 online.

do i need quad core server to maximize my site?

View Replies!   View Related
Suhosin And Server With 300+sites, May It Cause A Conflict
Im using RHE 4 + cpanel

Im considering Suhosin, in fact i am using it in other plain server were i have 1 or 2 sites. But this is a very high traffic with 300 + sites, lot of sites are using cms apps..

may it cause conflicts with this apps?

View Replies!   View Related
Where Is The Best Place To Put 300 Permanent Redirects
I have spend 6 hours in the last 24hrs hand coding 300 lines of Permanent Redirects. I am moving my site from flat file (PHP with includes) to Drupal. I was going to drop it into the .htaccess file but am wondering if there is a more efficient place to put it since this is permanent. Should it go into the httpd file/Virtual host file, will cPanel over-ride that file?

View Replies!   View Related
8gb Ram And Large Bandwidth Less Than $300/month
I'm trying to find a server that can offer about 7-8 TB with 6-8 GB of ram. Does anyone know a good provider?

View Replies!   View Related
How To View Webalizer Stats For All Domains (300+) On A Dedicated Server
I have a dedicated server with few hundred domains on it.

How can I automate to view all traffic stats for all of the domains in the server. Currently, I have to manually view the popular domains one by one to see the stats.

Ideally, I want to view daily visitors/per domain by a email report. Is this possible via backend script/cron job?

View Replies!   View Related
ProFTPd
I am running Proftpd on my RedHat. I have disabled anonymous login because i dont need it and its running fine.

I have created a user named test on the server and i try to connect it by typing ftp://myserver/ and then provide the id and pass.

Now it logged-in successfully but cant access any directories on the server. i have been Google around but really getting confused how i properly create a ftp user

i want the test user to access the following directories and he can be able to upload and download files from these directories

/home/usman/public_html/
/home/usman/public_ftp/
/home/usman/cgi-bin/

View Replies!   View Related
ProFTPd
This isn't a major problem but I was just wondering something regarding how ProFTPd functions. I have received a complaint about a user uploading a script, the script creating files and directories, and the user not being able to CHMOD, delete, rename, or do anything to these files.

When files are created through scripts on my server, they are given a default owner permission with "www-data" for the user and group.

Since ProFTPd is set up to only modify files on certain owner permissions according to the user's FTP access, ProFTPd will not allow any other owner permission and if any other owner permissions exist, ProFTPd will not allow those files to be modified or changed in anyway.

Is there a way to fix this? I've been trying to figure it out but I can't.

Just for note, I am using proftpd-mysql and so every user is linked through a MySQL database.

View Replies!   View Related
Proftpd
When connecting via an ftp client I want the directory listed to be /var/www/html but currently it's /home/username. I've tried changing the initial login directory with webmin to /var/www/html but to no avail. How would this be done?

View Replies!   View Related
ProFTPD Security
i use ProFTPD as FTP.

I use webmin as admin panel.

After installation, im worried about the default security config.

Also, i can log as anonym wich is ok, however i can't log using my unix user what i have to do?

Here's my config sample;

Quote:

# This is a basic ProFTPD configuration file (rename it to
# 'proftpd.conf' for actual use. It establishes a single server
# and a single anonymous login. It assumes that you have a user/group
# "nobody" and "ftp" for normal operation and anon.

ServerName"Junky-Monkey"
ServerTypestandalone
DefaultServeron

# Port 21 is the standard FTP port.
Port21

# Umask 022 is a good standard umask to prevent new dirs and files
# from being group and world writable.
Umask022

# 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).
MaxInstances30

# Set the user and group under which the server will run.
Usernobody
Groupnobody

# To cause every FTP user to be "jailed" (chrooted) into their home
# directory, uncomment this line.
DefaultRoot ~

# Normally, we want files to be overwriteable.
<Directory />
AllowOverwriteon
</Directory>

# A basic anonymous configuration, no upload directories. If you do not
# want anonymous users, simply delete this entire <Anonymous> section.
<Anonymous ~ftp>
Userftp
Groupftp

# We want clients to be able to login with "anonymous" as well as "ftp"
UserAliasanonymous ftp

# Limit the maximum number of anonymous logins
MaxClients10

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

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

View Replies!   View Related
ProFTPD And Webmin
I am trying to set up the FTP on my VPS. I am using webmin control pannel and os CentOs 4.

I have created a user called mic and made the home dir of the user /var/www/. then placed the user in the group ftpusers.

I then went into the proFTPD server config but of webadmin and set the user and group. i then tryed to log in to the FTP. SUCSESS.

BUT .... wen i tryed to upload somethink it give me permission denied. and when i try to delete somethink Access denied.

What did i do wrong?

View Replies!   View Related
Proftpd And Plesk
I would like to setup proftpd with mod_sql to access a mysql database for ftp accounts instead of using pam. The server has pleask 8.1 installed with psa-proftpd-xinetd-1.3.0 installed. How do I recompile the psa-proftpd with --with-modules=mod_sql option? Here is the current proftpd configure command:

configure --localstatedir=/var/run --with-libraries=/usr/lib64 --sysconfdir=/etc --with-modules=mod_ratio:mod_readme:mod_quota --with-modules=mod_ratio:mod_readme:mod_quota:mod_tls --enable-buffer-size=8192 --prefix=/usr CC=gcc CFLAGS=-O -pipe -O3 -fexpensive-optimizations -fstrength-reduce -pipe -DPLESK_Linux -I/usr/include/libxml2 -I/home/builder/buildbot/psa-aiconfig-810-fc4x64/build/plesk/lib/dist/usr/include -I/usr/include CXXFLAGS=-O -pipe -O3 -fexpensive-optimizations -fstrength-reduce -pipe -DPLESK_Linux -I/usr/include/libxml2 -I/home/builder/buildbot/psa-aiconfig-810-fc4x64/build/plesk/lib/dist/usr/include -I/usr/include CXX=g++ LDFLAGS= --enable-ltdl-convenience --no-create --no-recursion

View Replies!   View Related
Proftpd RLimitCPU
anyone used this directive?

how did you decide on a decent value to set the limits at?

ideally id just like to stop processes taking up too much cpu, but it seems you cant set it as a %..

View Replies!   View Related
Mysql_mod Missing For ProFTPD
Trying to install ProFTPD with mysql, the problem is after installing it and adding the lines in the config file to use MySQL the service fails to start. The error Im getting is:

"unknown configuration directive 'SQLAuthTypes'"

So it seems like it doesnt recongize the function needed to use mysql with proftpd, which is in mysql_mod.c. I did proftpd -l and the mysql_mod.c was not listed, I did a search on the whole box and couldnt find mysql_mod anywhere. Im on Fedora Core 6 and tried to install proftpd with yum:

yum install proftpd proftpd-mysql

Do I have to compile from source to get this to work? Or did I miss installing something else that would have mysql_mod.c present? I currently have mysql installed and running, tested the login info I had in the config file and everything works on the mysql side.Silly

View Replies!   View Related
ProFTPd To Windows Over SAMBA
We've got a Linux box running ProFTPd reaches a Windows box over SAMBA. This works very well but when the client has a great number of files, the FTP Windows-based FTP clients they use don't always give accurate directory listings (if any at all). I know there's some bug in the way SAMBA works with Windows File Sharing but I don't know what the magic file number is that, when reached, prevents a proper directory listing. Does anyone know what this magic number is or if there's an available, tested fix for this?

View Replies!   View Related
Proftpd Fail On Start
I wanted to upgrade proftpd and dit this.

I followed an how-to on directadminforums:

Code:
cd /usr/local/directadmin/customapache/
wget ftp://ftp.proftpd.org/distrib/source....3.1rc2.tar.gz
tar xzf proftpd-1.3.1rc2.tar.gz
rm -rf proftpd-1.3.1rc2.tar.gz
cd proftpd-1.3.1rc2
./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var/run --with-modules=mod_ratio:mod_readme:mod_tls
make
make install
perl -pi -e "s/^AuthPAM on/#AuthPAM on/g" /etc/proftpd.conf
/etc/rc.d/init.d/proftpd restart
I changed the proftpd-1.3.1rc2 version to the newest version of proftpd.org

When I run /etc/init.d/proftpd start, I get the following:

Code:
Starting proftpd: - mod_tls/2.1.2: compiled using OpenSSL version 'OpenSSL 0.9.7k 05 Sep 2006' headers, but linked to OpenSSL version 'OpenSSL 0.9.7a Feb 19 2003' library
- Fatal: unable to load module 'mod_tls.c': Operation not permitted
[FAILED]

View Replies!   View Related
OpenSSL - CURL, Httpd And Proftpd
so I got OpenSSL 0.9.8k up and installed, no issued:

Quote:

# openssl
OpenSSL> version
OpenSSL 0.9.8k 25 Mar 2009
OpenSSL>

Rebuilt cURL (and then php), httpd and proftpd but all of them are still linking to the older libraries for some reason

Quote:

# curl -V
curl 7.19.4 (x86_64-unknown-linux-gnu) libcurl/7.19.4 OpenSSL/0.9.8g zlib/1.2.3
Protocols: tftp ftp telnet dict ldap http https ftps
Features: IPv6 Largefile NTLM SSL libz

Quote:

[Tue Apr 14 00:11:03 2009] [notice] Apache/2.2.11 (Unix) mod_ssl/2.2.11 OpenSSL/0.9.8g DAV/2 PHP/5.2.9 Apache configured -- resuming normal operations

Quote:

Starting proftpd: - mod_tls/2.2.1: compiled using OpenSSL version 'OpenSSL 0.9.8i 15 Sep 2008' headers, but linked to OpenSSL version 'OpenSSL 0.9.8g 19 Oct 2007' library

proftpd has its own set of issues obviously built with i headers and linked to g headers. Any ideas wtf I did? I recomplined and restarted everything. I removed the g and i libraries completely. OpenSSH seems happy and nothing is actually "wrong", the server is working fine but I'm really anal retentive this way...it's kinda how I feel "safer" at the OS level.

View Replies!   View Related
Proftpd :: Set Up Virtual Hosts
What I want to do is setup virtualhosts for my clients and set the user/group that their files upload as. been on google and im guessing ill need to setup mod_auth?

View Replies!   View Related
Proftpd Install Issue On Cent Os 5
I have been attempting to install Proftpd on linux(cent os 5 32 bit). The issue is i have to use proftpd i can't use vsftp or pure ftp I have downloaded the RPM. I downloaded this one to the server [url]. and i ran the command rpm -ivh proftpd* and it did its thing for a second and told me it was done. But when i run the command /etc/init.d/proftpd start or restart it doesn't wanna start. It just tells me failed. Can anyone help me with this? I'm not sure what else i can do.

View Replies!   View Related
ProFTPd :: Set Group And Permissions
Currently I have

Umask 027

The problem is, how do I get the group to be set as apache on a file/dir upload? I really do not like having other permissions set, as it can be a security risk, allowing others to access someone else's files.

Another issue is, I can't remove privileges, but I can add them.

copy of proftpd.conf:

Code:
ServerName "FTP"
ServerType standalone

Port 21
PassivePorts 35000 35999
UseReverseDNS off
TimesGMT off
TimeoutLogin 120
TimeoutIdle 600
TimeoutNoTransfer 900
TimeoutStalled 3600

#MaxCients 20 "Sorry, the maximum number of allowed users are already connected (%m)"
#MaxClientsPerHost 2
#MaxClientsPerUser 2
MaxConnectionsPerHost 6 "Sorry, you may not have more then 6 connections open at a time"
MaxHostsPerUser 6 "Sorry, you may not connect more than 6 times"

ScoreboardFile /var/run/proftpd/proftpd.pid

TransferLog /var/log/proftpd/xferlog.legacy
LogFormat default "%h %l %u %t "%r" %s %b"
LogFormat auth "%v [%P] %h %t "%r" %s"
LogFormat write "%h %l %u %t "%r" %s %b"

#DON'T modify this log format. Its used by DirectAdmin to determine user usage
LogFormat userlog "%u %b"
ExtendedLog /var/log/proftpd/IP.bytes WRITE,READ userlog

AuthUserFile /etc/proftpd.passwd
DefaultServer on

#AuthPAM off

<IfModule mod_tls.c>
TLSEngine on
TLSLog /var/log/proftpd/proftpd.tls.log
TLSProtocol TLSv1
TLSVerifyClient off
TLSRequired off

#Certificates
TLSRSACertificateFile /etc/exim.cert
TLSRSACertificateKeyFile /etc/exim.key
#TLSCACertificateFile /etc/ftpd/root.cert.pem
</IfModule>

<Global>
DeferWelcome on

RequireValidShell no

DefaultRoot ~
DirFakeUser on ftp
DirFakeGroup on ftp

User ftp
Group ftp
#UserAlias anonymous ftp

AllowStoreRestart on
AllowRetrieveRestart on

ListOptions -a

Umask 027 022
DisplayLogin welcome.msg
DisplayChdir readme
AllowOverwrite on
IdentLookups off
ExtendedLog /var/log/proftpd/access.log WRITE,READ write
ExtendedLog /var/log/proftpd/auth.log AUTH auth

#
# Paranoia logging level....
#
#ExtendedLog /var/log/proftpd/paranoid.log ALL default

</Global>

Include /etc/proftpd.vhosts.conf

View Replies!   View Related
ProFTPd - Login Via SFTP Only? Using Webmin
I have installed ProFTPd through Webmin onto Ubuntu 8.10 Server edition.

I can connect to ProFTPd via FTP on Port 21 no problem, but currently am unable to via SFTP (using WinSCP).

I would like to block all FTP access on Port 21 and only make it only possible to connect via SFTP/SSH on Port 22.

View Replies!   View Related
High Load With Many Proftpd Processes
I have a centos 4.4 server, I noticed the load is high and when I checked the top command I found the following:

Code:
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
17212 root 25 0 11504 6236 908 R 57 0.3 195:58.73 http
27994 ftp 18 0 7624 2232 336 R 48 0.1 0:02.39 proftpd
7056 nobody 15 0 27764 10m 1884 S 8 0.5 0:00.62 httpd
4738 nobody 15 0 25788 8952 1976 S 7 0.4 0:08.01 httpd
7199 root 18 0 6376 3704 760 R 6 0.2 0:02.41 top
7021 nobody 16 0 27240 10m 1964 S 5 0.5 0:01.73 httpd
3999 nobody 16 0 26888 9.9m 2008 S 5 0.5 0:09.39 httpd
7180 nobody 15 0 26524 9524 1700 S 5 0.5 0:00.16 httpd
6330 nobody 15 0 26856 9.8m 1992 S 4 0.5 0:04.34 httpd
6272 nobody 15 0 26764 9912 1968 S 2 0.5 0:05.36 httpd
6239 nobody 15 0 25428 8476 1888 S 1 0.4 0:02.95 httpd
1 root 16 0 2300 96 68 S 0 0.0 4:46.28 init
20323 ftp 16 0 5116 428 312 S 0 0.0 0:00.92 proftpd
22126 ftp 16 0 5512 428 312 S 0 0.0 0:01.03 proftpd
22313 ftp 16 0 5644 424 312 S 0 0.0 0:01.00 proftpd
22781 ftp 16 0 5644 460 304 S 0 0.0 0:01.04 proftpd
22837 ftp 16 0 5644 424 312 S 0 0.0 0:01.02 proftpd
24157 ftp 16 0 5776 432 308 S 0 0.0 0:01.09 proftpd
24176 ftp 16 0 5776 432 308 S 0 0.0 0:01.09 proftpd
24989 ftp 16 0 6040 476 316 S 0 0.0 0:00.91 proftpd
25327 ftp 16 0 6172 548 308 R 0 0.0 0:01.02 proftpd
25526 ftp 16 0 6172 808 308 R 0 0.0 0:01.03 proftpd
26013 ftp 16 0 6172 1128 308 R 0 0.1 0:00.98 proftpd
26152 ftp 16 0 6172 1144 312 R 0 0.1 0:01.00 proftpd
26306 ftp 16 0 6172 1172 308 R 0 0.1 0:01.02 proftpd
26455 ftp 16 0 6172 1420 312 S 0 0.1 0:04.02 proftpd
26860 ftp 16 0 6172 928 308 S 0 0.0 0:01.04 proftpd
26936 ftp 16 0 6172 928 308 S 0 0.0 0:00.91 proftpd
27166 ftp 16 0 6172 800 308 S 0 0.0 0:00.96 proftpd
27329 ftp 16 0 6172 716 308 S 0 0.0 0:01.01 proftpd
15659 ftp 16 0 6172 592 308 S 0 0.0 0:00.99 proftpd
4944 ftp 16 0 6172 544 336 S 0 0.0 0:00.98 proftpd
5163 ftp 16 0 6304 544 336 S 0 0.0 0:00.99 proftpd
18964 ftp 16 0 6304 608 308 S 0 0.0 0:00.96 proftpd
19151 ftp 16 0 6304 620 328 S 0 0.0 0:00.99 proftpd
4986 ftp 16 0 6304 596 308 S 0 0.0 0:00.87 proftpd
30721 ftp 16 0 6436 612 312 S 0 0.0 0:00.94 proftpd
13808 ftp 16 0 6436 644 316 S 0 0.0 0:01.01 proftpd
13905 ftp 16 0 6436 640 316 S 0 0.0 0:00.97 proftpd

also when I checked the `ps aux` command I found a lot in this form:

Code:
ftp 22006 0.0 0.0 5512 424 ? S 01:24 0:01 proftpd: (accepting connections)

View Replies!   View Related
Debian + Plesk + Proftpd Fails
My Plesk version is 8.2 and i use debian 3.1, I check the instructions on

[url]

this faq, it seems added in both inetd configuration file and xinetd.d configuration file in my configuration, also xinetd is working through system but ftp cannot be connectable. It gives "Unable to login server" from remote client and i also check with command line ftp client and service says that "421 Service not available, remote server has closed connection"

I also check this

[url]

faq and port is open:

Quote:

Starting nmap 3.81 [url] at 2007-08-02 16:59 CEST
Interesting ports on xx-server.xxxxxx.net (xxx.xxx.xxx.xxx):
PORT STATE SERVICE
21/tcp open ftp

Nmap finished: 1 IP address (1 host up) scanned in 0.013 seconds

Is there anyone knows how could I solve this situation?

View Replies!   View Related
ProFTPD 1.3.0a Server Append/Restart Not Permitted
I try to upload a big file between 300 and 500 MB by FTP to my dedicated server but connection is broken and when I try to do the resume it's not allowed how can I enable upload big files and resume files in ProFTPD 1.3.0a or am I missing something inthe conf file ?.

Here is the log: ..........

View Replies!   View Related
Proftpd :: Data Socket Error: No Route To Host
i get this error

I no u gotta added 2 lines in proftpd.conf but i can't seem to find it no where! here's my errors!

[L] PASV
[L] 227 Entering Passive Mode (64,85,164,21,193,144).
[L] Opening data connection IP: 64,85,164,21 PORT: 49552
[L] Data Socket Error: No route to Host
[L] List Error
[L] PASV
[L] 227 Entering Passive Mode (64,85,164,21,202).
[L] Opening data connection IP: 64,85,164,21 PORT: 57546
[L] Data Socket Error: No route to Host
[L] List Error
[L] 421 No Transfer Timeout (300 seconds): closing control connection.
[L] Connection lost: 64,85,164,21

i really do not no there's a command for passive mode or something in proftpd.conf can't seem to find it no where!

View Replies!   View Related
Proftpd Config - How To Make Directory Have Read/write Access
Followed the guide over at [url]to get proftpd setup.

It only lists ways to create a single upload directory and a single download directory.

Tried all possible ways to get a directory creating allowing read/write but so far unsuccessful.

how this can be acheived?

Here is my current config.

#start of config

<Directory /home/FTP-shared>
Umask 022 022
AllowOverwrite off
<Limit MKD STOR DELE XMKD RNRF RNTO RMD XRMD>
DenyAll
</Limit>
</Directory>

<Directory /home/FTP-shared/download/*>
Umask 022 022
AllowOverwrite off
<Limit MKD STOR DELE XMKD RNEF RNTO RMD XRMD>
DenyAll
</Limit>
</Directory>

<Directory> /home/FTP-shared/upload/>
Umask 022 022
AllowOverwrite on
<Limit READ RMD DELE>
DenyAll
</Limit>

<Limit STOR CWD MKD>
AllowAll
</Limit>
</Directory>

#end of config

/home/FTP-shared/read-write is the folder I want to be able to read and write data to.

View Replies!   View Related
Copyright © 2005-08 www.BigResource.com, All rights reserved