Re: ftps server and using tls v1.1 by recompiling with open ssl version 1.0

2012-11-20 Thread Sai Pullabhotla
If you are using Sun JRE 1.7.x, TLS 1.1 and 1.2 are enabled by default for server side connections. Please refer to this link for more information: http://docs.oracle.com/javase/7/docs/technotes/guides/security/SunProviders.html Scroll to the subsection titled Protocols under the main section -

Re: [jira] [Commented] (FTPSERVER-433) Issues with data transfer for explicit SSL connections

2012-08-03 Thread Sai Pullabhotla
Based on the file name you are uploading, I'm assuming it is 150 MB. If you have not done already, can you upload a small file and let us know the result? It appears that it might be something to do with the TLS_CLOSE_NOTIFY signal/message. Looks like the client (FileZilla) is negotiating for a TL

[jira] [Created] (FTPSERVER-411) Support CCC command

2011-04-19 Thread Sai Pullabhotla (JIRA)
Support CCC command --- Key: FTPSERVER-411 URL: https://issues.apache.org/jira/browse/FTPSERVER-411 Project: FtpServer Issue Type: New Feature Components: Core Reporter: Sai Pullabhotla

[jira] [Updated] (FTPSERVER-411) Support CCC command

2011-04-19 Thread Sai Pullabhotla (JIRA)
[ https://issues.apache.org/jira/browse/FTPSERVER-411?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sai Pullabhotla updated FTPSERVER-411: -- Attachment: FTPS-CCC.patch This is a preliminary patch for the team to review. I

[jira] [Updated] (FTPSERVER-410) Support digital certificate authentication with or without passwords

2011-04-15 Thread Sai Pullabhotla (JIRA)
[ https://issues.apache.org/jira/browse/FTPSERVER-410?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sai Pullabhotla updated FTPSERVER-410: -- Attachment: FTPS-CERT-AUTH.patch This is the preliminary code for team's revi

[jira] [Created] (FTPSERVER-410) Support digital certificate authentication with or without passwords

2011-04-15 Thread Sai Pullabhotla (JIRA)
Type: New Feature Components: Core Reporter: Sai Pullabhotla Assignee: Sai Pullabhotla Attachments: FTPS-CERT-AUTH.patch Please see the discussion on the mailing list at - http://www.mail-archive.com/ftpserver-users@mina.apache.org/msg01507.html -- This

[jira] Commented: (FTPSERVER-357) Implement IP Filtering based on black or white list

2011-02-22 Thread Sai Pullabhotla (JIRA)
[ https://issues.apache.org/jira/browse/FTPSERVER-357?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12998022#comment-12998022 ] Sai Pullabhotla commented on FTPSERVER-357: --- Can this marked as done

[jira] Updated: (FTPSERVER-371) Create a specialized FtpReply to send to Ftplets after login finishes

2011-02-22 Thread Sai Pullabhotla (JIRA)
[ https://issues.apache.org/jira/browse/FTPSERVER-371?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sai Pullabhotla updated FTPSERVER-371: -- Attachment: FTPSERVER-371.patch I've worked on this several months ago, and

[jira] Commented: (FTPSERVER-360) When no passive ports are available error out immediately rather than waiting for a port to become available

2011-02-22 Thread Sai Pullabhotla (JIRA)
[ https://issues.apache.org/jira/browse/FTPSERVER-360?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12998020#comment-12998020 ] Sai Pullabhotla commented on FTPSERVER-360: --- I think this was already f

[jira] Created: (FTPSERVER-399) DefaultFtpHandler.sessionOpened does not check if the Ftplet returned a FtpletResult.SKIP

2011-02-22 Thread Sai Pullabhotla (JIRA)
Project: FtpServer Issue Type: Bug Components: Core Affects Versions: 1.0.5 Reporter: Sai Pullabhotla Assignee: Sai Pullabhotla Fix For: 1.0.6 I was trying to use an Ftplet to send a custom welcome message using the

Re: Question about enhancements to the APPE command and a new CHECKSUM command

2010-10-06 Thread Sai Pullabhotla
Well, the OP wanted to get checksum on part of a file, I don't think our MD5 command supports it, does it? On Wed, Oct 6, 2010 at 11:20 AM, Niklas Gustavsson wrote: > On Wed, Oct 6, 2010 at 12:08 AM,   wrote: >> (2)    A new command that can be used to obtain checksum of all or part >> of a file

Re: Question about enhancements to the APPE command and a new CHECKSUM command

2010-10-06 Thread Sai Pullabhotla
I'm a bit confused on what exactly you meant by - I can't use the REST command because it only sets the offset for the file in the local system and not in the remote system. If you want to implement such things, they have to custom commands supported by your FTP Server, which should work as long

Re: [VOTE] Release Apache FtpServer 1.0.5, take 2

2010-09-28 Thread Sai Pullabhotla
[ ] +1, release FtpServer 1.0.5

Re: [VOTE] Release Apache FtpServer 1.0.5

2010-09-27 Thread Sai Pullabhotla
ltFtpServerContext.(DefaultFtpSe rverContext.java:100) at org.apache.ftpserver.FtpServerFactory.(FtpServerFactory.java:51 ) at org.apache.ftpserver.main.CommandLine.getConfiguration(CommandLine.ja va:115) at org.apache.ftpserver.main.CommandLine.main(CommandLine.java:56) Please adv

Re: FtpServer 1.0.5 release planning

2010-09-20 Thread Sai Pullabhotla
I think it is a major issue, and I recommend including it in the patch, if possible. FYI, I've been using this patch in production for quite some months now. On Mon, Sep 20, 2010 at 12:47 AM, Niklas Gustavsson wrote: > On Mon, Sep 20, 2010 at 7:18 AM, Chandraprakash Bhagtani > wrote: >> is FTPSE

Re: Allowing only AUTH SSL in ftpserver

2010-09-14 Thread Sai Pullabhotla
While this should work with most clients, there is still a need to just secure authentication process (especially the user name and password). Once the authentication is finished, a client might want to switch back to plain old FTP if there is no confidential data. So having an option or two on the

Re: Allowing only AUTH SSL in ftpserver

2010-09-14 Thread Sai Pullabhotla
t this is a niche behaviour that would be best > implemented in an ftplet, and not something that be available all the time, > to be configured in the element? > > On 14 September 2010 16:18, Sai Pullabhotla > wrote: > >> You should be able to this with an Ftplet that ca

Re: Allowing only AUTH SSL in ftpserver

2010-09-14 Thread Sai Pullabhotla
You should be able to this with an Ftplet that captures the beforeCommand (USER command) event, and make sure the session is secured. If the session was not secured already, send a 5xx/4xx reply from the Ftplet, and optionally close the session. FtpSession.isSecure() is the method you need to use f

[jira] Commented: (DIRMINA-789) Possible Deadlock/Out of memory when sending large amounts of data using Nio

2010-06-14 Thread Sai Pullabhotla (JIRA)
[ https://issues.apache.org/jira/browse/DIRMINA-789?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12878603#action_12878603 ] Sai Pullabhotla commented on DIRMINA-789: - Well, your statements do not matc

[jira] Commented: (DIRMINA-789) Possible Deadlock/Out of memory when sending large amounts of data using Nio

2010-06-14 Thread Sai Pullabhotla (JIRA)
[ https://issues.apache.org/jira/browse/DIRMINA-789?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12878568#action_12878568 ] Sai Pullabhotla commented on DIRMINA-789: - I understand what you are saying,

[jira] Commented: (DIRMINA-789) Possible Deadlock/Out of memory when sending large amounts of data using Nio

2010-06-14 Thread Sai Pullabhotla (JIRA)
[ https://issues.apache.org/jira/browse/DIRMINA-789?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12878555#action_12878555 ] Sai Pullabhotla commented on DIRMINA-789: - It looks like there is no easy wa

[jira] Commented: (DIRMINA-789) Possible Deadlock/Out of memory when sending large amounts of data using Nio

2010-06-11 Thread Sai Pullabhotla (JIRA)
[ https://issues.apache.org/jira/browse/DIRMINA-789?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12877907#action_12877907 ] Sai Pullabhotla commented on DIRMINA-789: - Not to criticize or blame any one,

[jira] Commented: (DIRMINA-789) Possible Deadlock/Out of memory when sending large amounts of data using Nio

2010-06-11 Thread Sai Pullabhotla (JIRA)
[ https://issues.apache.org/jira/browse/DIRMINA-789?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12877861#action_12877861 ] Sai Pullabhotla commented on DIRMINA-789: - If I change the line 155 in the se

Re: Help needed with OutOfMemory error and/or GC Issues/Dead Locks

2010-06-11 Thread Sai Pullabhotla
I've attached a couple of simple classes, one server, and one client to reproduce this lockup/OOM, at https://issues.apache.org/jira/browse/DIRMINA-789. I appreciate your time and help looking into this. On Thu, Jun 10, 2010 at 6:32 PM, Emmanuel Lecharny wrote: > On 6/11/10 1:10

[jira] Updated: (DIRMINA-789) Possible Deadlock/Out of memory when sending large amounts of data using Nio

2010-06-11 Thread Sai Pullabhotla (JIRA)
[ https://issues.apache.org/jira/browse/DIRMINA-789?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sai Pullabhotla updated DIRMINA-789: Attachment: RandomDataServer.java MinaClient.java Classes to reproduce

[jira] Created: (DIRMINA-789) Possible Deadlock/Out of memory when sending large amounts of data using Nio

2010-06-11 Thread Sai Pullabhotla (JIRA)
Issue Type: Bug Components: Core Affects Versions: 2.0.0-RC1 Environment: Windows Vista 64-bit Java 5 and Java 6 Reporter: Sai Pullabhotla This is a followup to the post on the DEV mailing list, http://old.nabble.com/Help-needed-with-OutOfMemory-error-and-or-GC

Help needed with OutOfMemory error and/or GC Issues/Dead Locks

2010-06-10 Thread Sai Pullabhotla
Guys, I've been fighting with various issues using Mina over the past couple of weeks, and a couple of them are - 1) OutOfMemory on Heap 2) Possible dead lock (it could just be a GC issue). Application does not make any progress nor any error is reported. 3) When running under Java 6, I often am

Custom NioScoketSession

2010-05-25 Thread Sai Pullabhotla
I've been trying to use the MINA API in one of my projects, and have the following question: Is it possible to create a custom NioSocketSession when NioSocketAcceptor accepts a connection from a client? My idea is to have a sub class of NioSocketSession and some how attach it to the Acceptor. This

Re: [VOTE] Release SSHD 0.4.0 (third try)

2010-05-11 Thread Sai Pullabhotla
+1 Regards, Sai Pullabhotla On Mon, May 10, 2010 at 9:44 PM, Guillaume Nodet wrote: > I've uploaded a RC for SSHD 0.4.0 at >  https://repository.apache.org/content/repositories/orgapachemina-026/ > > The release notes are available at >  https://cwiki.apache.or

Re: svn commit: r942690 - in /mina/ftpserver/trunk/core/src: main/java/org/apache/ftpserver/impl/FtpIoSession.java test/java/org/apache/ftpserver/clienttests/LoginTest.java

2010-05-10 Thread Sai Pullabhotla
+1 for this. Most of the code that is currently checked is not formatted using the published formatter. It should be easy to reformat all the sources and check them in. Regards, Sai Pullabhotla On Mon, May 10, 2010 at 4:45 AM, Emmanuel Lecharny wrote: > On 5/10/10 11:41 AM, David Lato

Re: SFTP problems

2010-05-06 Thread Sai Pullabhotla
hould put me back in "/" (whose real path is "C:\"). But the directory is unchanged. The "cd .." works well for directories that are deeper than one level. In other words, if my current dir is "/dev/apis" and doing a "cd .." puts me back in "/dev&

Re: [VOTE] Release SSHD 0.4.0 (2nd try)

2010-05-05 Thread Sai Pullabhotla
want to steal. It is org.apache.ftpserver.util.DateUtils.getUnixDate(long). Regards, Sai Pullabhotla On Wed, May 5, 2010 at 11:15 AM, Guillaume Nodet wrote: > Which dates ? I've fixed the "Jan 01 ..." thing if that's why you're > referring to. > But using file

Re: [VOTE] Release SSHD 0.4.0 (2nd try)

2010-05-05 Thread Sai Pullabhotla
Oh, by the way, it works fine for me with just putting (sending) the path just once in the buffer. Tried with native sftp client on Ubuntu Linux as well as Putty's SFTP command line client, which is what FileZilla uses internally. I wonder why that does not work for you. Regards, Sai Pullab

Re: [VOTE] Release SSHD 0.4.0 (2nd try)

2010-05-05 Thread Sai Pullabhotla
How about the dates on the files? Regards, Sai Pullabhotla On Wed, May 5, 2010 at 10:13 AM, Guillaume Nodet wrote: > Fixed, let me know if you find any other easily fixed issues. > > On Wed, May 5, 2010 at 16:41, Sai Pullabhotla > wrote: > >> I just noticed that the

Re: [VOTE] Release SSHD 0.4.0 (2nd try)

2010-05-05 Thread Sai Pullabhotla
I just noticed that the code checked in just replaces "\" with "/". I think for best compliance on all operating systems and file systems, it should replace File.separatorChar with "/". Not sure if there are any file systems that use a separator other than "/&

Re: [VOTE] Release SSHD 0.4.0 (2nd try)

2010-05-05 Thread Sai Pullabhotla
Attrs(buffer, file); send(buffer); } Regards, Sai Pullabhotla On Wed, May 5, 2010 at 8:45 AM, Sai Pullabhotla wrote: > I removed the second call to place the path in the buffer and seems to > be working fine. > > Regards, > Sai Pullabhotla >

Re: [VOTE] Release SSHD 0.4.0 (2nd try)

2010-05-05 Thread Sai Pullabhotla
I removed the second call to place the path in the buffer and seems to be working fine. Regards, Sai Pullabhotla

Re: [VOTE] Release SSHD 0.4.0 (2nd try)

2010-05-05 Thread Sai Pullabhotla
to determine whether or not we should prepend another "/" to the path. Also, the currently checked in code puts the path into the buffer twice. I'm not sure if that is needed. Regards, Sai Pullabhotla On Wed, May 5, 2010 at 8:18 AM, Sai Pullabhotla wrote: > Okay, I got the fix

Re: [VOTE] Release SSHD 0.4.0 (2nd try)

2010-05-05 Thread Sai Pullabhotla
"C:\Users\sai\opensource\sshd\LICENSE.txt" "C:\users\sai\temp\LICENSE.txt" Error: C:\Users\sai\opensource\sshd/C:\Users\sai\opensource\sshd\LICENSE.txt: open for read: failure Trace: FileTransferParseResponse() Trace: CSftpControlSocket::ResetOperation(2) Trace: CControlSocket::ResetO

Re: [VOTE] Release SSHD 0.4.0 (2nd try)

2010-05-05 Thread Sai Pullabhotla
Is this SFTP fix checked into trunk or 0.4 tag? I do not see any changes to the SVN. Regards, Sai Pullabhotla On Wed, May 5, 2010 at 4:52 AM, Guillaume Nodet wrote: > I've uploaded a RC for SSHD 0.4.0 at >  https://repository.apache.org/content/repositories/orgapachemina-0

Re: [VOTE] Release SSHD 0.4.0

2010-05-04 Thread Sai Pullabhotla
ot;/", and that is why FileZilla is blowing up. In short, the question is - should SSH_FXP_REALPATH return the path (virtual or absolute) instead of just the name? Regards, Sai Pullabhotla On Tue, May 4, 2010 at 8:19 AM, Guillaume Nodet wrote: > I've uploaded a RC for SSHD

[jira] Assigned: (FTPSERVER-371) Create a specialized FtpReply to send to Ftplets after login finishes

2010-04-24 Thread Sai Pullabhotla (JIRA)
[ https://issues.apache.org/jira/browse/FTPSERVER-371?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sai Pullabhotla reassigned FTPSERVER-371: - Assignee: Sai Pullabhotla > Create a specialized FtpReply to send to Ftpl

[jira] Created: (FTPSERVER-371) Create a specialized FtpReply to send to Ftplets after login finishes

2010-04-24 Thread Sai Pullabhotla (JIRA)
Type: New Feature Components: Core, Ftplets Reporter: Sai Pullabhotla Fix For: 1.1.0 As an addition to https://issues.apache.org/jira/browse/FTPSERVER-253, I think it would be nice to have a specialized reply that could be sent to the Ftplets. The reply could

Re: FTPServer handling of multiple concurrent connections.

2010-04-23 Thread Sai Pullabhotla
I'm pretty sure it is checked into the trunk. Regards, Sai Pullabhotla On Fri, Apr 23, 2010 at 7:35 AM, Peter van der Velde < peter.vanderve...@anachron.com> wrote: > L.S. > > Is there an ETA for this change? > > Greetings, > > Peter van der Velde > > --

[jira] Commented: (FTPSERVER-315) Pass FtpSession information to the UserManager.authenticate method

2010-04-16 Thread Sai Pullabhotla (JIRA)
[ https://issues.apache.org/jira/browse/FTPSERVER-315?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12857883#action_12857883 ] Sai Pullabhotla commented on FTPSERVER-315: --- As a temporary (coul

Re: [jira] Created: (FTPSERVER-367) RFC: FTP HASH command (similar to MD5, which is already supported)

2010-04-15 Thread Sai Pullabhotla
This looks good. We should have these defined years ago, but better late than never! Regards, Sai Pullabhotla On Wed, Apr 14, 2010 at 2:38 AM, Ant Bryan (JIRA) wrote: > RFC: FTP HASH command (similar to MD5, which is already suppor

[jira] Commented: (FTPSERVER-357) Implement IP Filtering based on black or white list

2010-04-13 Thread Sai Pullabhotla (JIRA)
[ https://issues.apache.org/jira/browse/FTPSERVER-357?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12856533#action_12856533 ] Sai Pullabhotla commented on FTPSERVER-357: --- Niklas, Any preference on

[jira] Commented: (FTPSERVER-357) Implement IP Filtering based on black or white list

2010-04-07 Thread Sai Pullabhotla (JIRA)
[ https://issues.apache.org/jira/browse/FTPSERVER-357?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12854506#action_12854506 ] Sai Pullabhotla commented on FTPSERVER-357: --- I've refactored all c

[jira] Commented: (FTPSERVER-357) Implement IP Filtering based on black or white list

2010-04-06 Thread Sai Pullabhotla (JIRA)
[ https://issues.apache.org/jira/browse/FTPSERVER-357?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12853928#action_12853928 ] Sai Pullabhotla commented on FTPSERVER-357: --- Does this chang

[jira] Commented: (FTPSERVER-362) Add a configuration option for maximum number of threads the server is allowed to create

2010-04-06 Thread Sai Pullabhotla (JIRA)
[ https://issues.apache.org/jira/browse/FTPSERVER-362?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12853915#action_12853915 ] Sai Pullabhotla commented on FTPSERVER-362: --- Okay, it is checked into

[jira] Assigned: (FTPSERVER-360) When no passive ports are available error out immediately rather than waiting for a port to become available

2010-04-05 Thread Sai Pullabhotla (JIRA)
[ https://issues.apache.org/jira/browse/FTPSERVER-360?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sai Pullabhotla reassigned FTPSERVER-360: - Assignee: Sai Pullabhotla > When no passive ports are available error

[jira] Assigned: (FTPSERVER-357) Implement IP Filtering based on black or white list

2010-04-05 Thread Sai Pullabhotla (JIRA)
[ https://issues.apache.org/jira/browse/FTPSERVER-357?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sai Pullabhotla reassigned FTPSERVER-357: - Assignee: Sai Pullabhotla > Implement IP Filtering based on black or wh

Re: Assigning JIRA issues

2010-04-05 Thread Sai Pullabhotla
Thanks, Niklas! Regards, Sai Pullabhotla On Mon, Apr 5, 2010 at 3:36 PM, Niklas Gustavsson wrote: > On Mon, Apr 5, 2010 at 10:16 PM, Sai Pullabhotla > wrote: >> Is there a way I can assign some of the open issues in JIRA to myself. >> I'm planning on working on s

[jira] Assigned: (FTPSERVER-362) Add a configuration option for maximum number of threads the server is allowed to create

2010-04-05 Thread Sai Pullabhotla (JIRA)
[ https://issues.apache.org/jira/browse/FTPSERVER-362?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sai Pullabhotla reassigned FTPSERVER-362: - Assignee: Sai Pullabhotla > Add a configuration option for maximum number

Assigning JIRA issues

2010-04-05 Thread Sai Pullabhotla
Is there a way I can assign some of the open issues in JIRA to myself. I'm planning on working on some of the items that I opened recently and want to make sure nobody else is/would work on them. Regards, Sai Pullabhotla

[jira] Commented: (FTPSERVER-357) Implement IP Filtering based on black or white list

2010-04-05 Thread Sai Pullabhotla (JIRA)
[ https://issues.apache.org/jira/browse/FTPSERVER-357?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12853525#action_12853525 ] Sai Pullabhotla commented on FTPSERVER-357: --- Cool, I can do that. I

[jira] Commented: (FTPSERVER-357) Implement IP Filtering based on black or white list

2010-04-05 Thread Sai Pullabhotla (JIRA)
[ https://issues.apache.org/jira/browse/FTPSERVER-357?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12853522#action_12853522 ] Sai Pullabhotla commented on FTPSERVER-357: --- I like those. I will go a

[jira] Commented: (FTPSERVER-357) Implement IP Filtering based on black or white list

2010-04-05 Thread Sai Pullabhotla (JIRA)
[ https://issues.apache.org/jira/browse/FTPSERVER-357?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12853515#action_12853515 ] Sai Pullabhotla commented on FTPSERVER-357: --- How about calling the inter

[jira] Created: (FTPSERVER-365) Overload FtpIoSession.getDataConnection to indicate whether or not a new DataConnectionFactory be created

2010-04-05 Thread Sai Pullabhotla (JIRA)
/jira/browse/FTPSERVER-365 Project: FtpServer Issue Type: Improvement Components: Core Affects Versions: 1.0.4 Reporter: Sai Pullabhotla Priority: Trivial Fix For: 1.0.5 It would be nice to overload the above mentioned method

[jira] Commented: (FTPSERVER-357) Implement IP Filtering based on black or white list

2010-04-05 Thread Sai Pullabhotla (JIRA)
[ https://issues.apache.org/jira/browse/FTPSERVER-357?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12853469#action_12853469 ] Sai Pullabhotla commented on FTPSERVER-357: --- may not be a bad idea to

[jira] Commented: (FTPSERVER-357) Implement IP Filtering based on black or white list

2010-04-05 Thread Sai Pullabhotla (JIRA)
[ https://issues.apache.org/jira/browse/FTPSERVER-357?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12853427#action_12853427 ] Sai Pullabhotla commented on FTPSERVER-357: --- I'm wondering if w

[jira] Updated: (FTPSERVER-362) Add a configuration option for maximum number of threads the server is allowed to create

2010-04-02 Thread Sai Pullabhotla (JIRA)
[ https://issues.apache.org/jira/browse/FTPSERVER-362?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sai Pullabhotla updated FTPSERVER-362: -- Attachment: FTPSERVER-362.patch For the most part I made the patch work like we

[jira] Created: (FTPSERVER-364) Incorrect behavior when max logins limit is reached

2010-04-01 Thread Sai Pullabhotla (JIRA)
: Core Affects Versions: 1.0.4 Reporter: Sai Pullabhotla Priority: Minor Fix For: 1.0.5 When max logins limit is reached, the server currently behaves as below: Accepts connections from new clients and keeps them open Let's the new clients issue some com

Re: svn commit: r928769

2010-04-01 Thread Sai Pullabhotla
Wouldn't you use HTML tags/pre-formatted text for those types of docs? Regards, Sai Pullabhotla On Thu, Apr 1, 2010 at 1:47 PM, Emmanuel Lecharny wrote: > On 4/1/10 2:37 PM, Sai Pullabhotla wrote: >> >> I've imported this formatter, but this does not auto-format t

[jira] Created: (FTPSERVER-363) Incorrect Javadoc for ConnectionConfigFactory.get/setMaxAnonymousLogins

2010-04-01 Thread Sai Pullabhotla (JIRA)
Issue Type: Bug Components: Core Affects Versions: 1.0.4 Reporter: Sai Pullabhotla Priority: Trivial Fix For: 1.0.5 The current javadoc for the above mentioned methods is: "The maximum number of time an anonymous user can fail to login b

[jira] Created: (FTPSERVER-362) Add a configuration option for maximum number of threads the server is allowed to create

2010-04-01 Thread Sai Pullabhotla (JIRA)
Project: FtpServer Issue Type: New Feature Components: Core Affects Versions: 1.0.4, 1.0.3, 1.0.2, 1.0.1, 1.0.0, 1.0.0-RC2, 1.0.0-RC1, 1.0.0-M4, 1.0.0-M3, 1.0.0-M2, 1.0.0-M1 Reporter: Sai Pullabhotla Fix For: 1.0.5 Currently the max threads

Re: svn commit: r928769

2010-04-01 Thread Sai Pullabhotla
e the code? Regards, Sai Pullabhotla On Tue, Mar 30, 2010 at 3:21 AM, Dave Roberts wrote: > On 29/03/2010 22:35, Sai Pullabhotla wrote: >> >> Of course, a Source Code Formatter posted to the MINA web site would >> definitely be a plus as I do want to format and still keep

Re: FTPServer handling of multiple concurrent connections.

2010-03-31 Thread Sai Pullabhotla
Since I did not hear back anything on this, I will ask again :). Are you guys okay with the proposed short term solution? Regards, Sai Pullabhotla On Tue, Mar 30, 2010 at 10:10 AM, Sai Pullabhotla wrote: > Since changing everything over to MINA could be quite a bit of work, > and the

Re: FTPServer handling of multiple concurrent connections.

2010-03-30 Thread Sai Pullabhotla
, Sai Pullabhotla On Tue, Mar 30, 2010 at 8:33 AM, Niklas Gustavsson wrote: > On Tue, Mar 30, 2010 at 2:22 PM, David Latorre wrote: >> I would rather go for a solution that make it impossible to block >> FTPServer rather than making it 'more difficult'. >> For

Re: FTPServer handling of multiple concurrent connections.

2010-03-30 Thread Sai Pullabhotla
What would be the benefit of using MINA compared to the traditional sockets, especially for passive connections? Regards, Sai Pullabhotla On Tue, Mar 30, 2010 at 7:33 AM, Niklas Gustavsson wrote: > On Tue, Mar 30, 2010 at 10:33 AM, Sai Pullabhotla > wrote: >> I don'

Re: FTPServer handling of multiple concurrent connections.

2010-03-30 Thread Sai Pullabhotla
I don't think that was intended. If this is in fact an issue, we should probably consider adding a configuration option such as maxThreads as the default max we choose may not be the best in all cases. Regards, Sai Pullabhotla On Tue, Mar 30, 2010 at 3:29 AM, David Latorre wrote: &g

Re: svn commit: r928769

2010-03-30 Thread Sai Pullabhotla
Cool, thanks. Regards, Sai Pullabhotla On Tue, Mar 30, 2010 at 3:21 AM, Dave Roberts wrote: > On 29/03/2010 22:35, Sai Pullabhotla wrote: >> >> Of course, a Source Code Formatter posted to the MINA web site would >> definitely be a plus as I do want to format and still

Re: svn commit: r928769 - in /mina/ftpserver/trunk/core/src: main/java/org/apache/ftpserver/config/spring/ main/java/org/apache/ftpserver/ipfilter/ main/java/org/apache/ftpserver/listener/ main/java

2010-03-29 Thread Sai Pullabhotla
BTW, do you know why Hudson is complaining about the test failure on trunk? I did not get that error locally. Regards, Sai Pullabhotla On Mon, Mar 29, 2010 at 4:06 PM, Niklas Gustavsson wrote: > On Mon, Mar 29, 2010 at 9:39 PM, Emmanuel Lecharny > wrote: >> Otherwise, if yo

Re: svn commit: r928769 - in /mina/ftpserver/trunk/core/src: main/java/org/apache/ftpserver/config/spring/ main/java/org/apache/ftpserver/ipfilter/ main/java/org/apache/ftpserver/listener/ main/java

2010-03-29 Thread Sai Pullabhotla
but in case. Of course, a Source Code Formatter posted to the MINA web site would definitely be a plus as I do want to format and still keep the unchanged stuff as is. Regards, Sai Pullabhotla On Mon, Mar 29, 2010 at 2:34 PM, Niklas Gustavsson wrote: > On Mon, Mar 29, 2010 at 2:31 PM,   wrote

[jira] Commented: (FTPSERVER-323) Add a new configuration option for enabling/disabling IP check when accepting passive data connections

2010-03-29 Thread Sai Pullabhotla (JIRA)
[ https://issues.apache.org/jira/browse/FTPSERVER-323?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12850909#action_12850909 ] Sai Pullabhotla commented on FTPSERVER-323: --- Looks like this feature is

Re: [jira] Created: (FTPSERVER-361) Provide more information on command execution to Ftplets - especially file created in STOU

2010-03-29 Thread Sai Pullabhotla
I think this should have been taken care of with the https://issues.apache.org/jira/browse/FTPSERVER-222. You might want to try building from the trunk and see if this works out better. Regards, Sai Pullabhotla On Mon, Mar 29, 2010 at 4:56 AM, Richard Evans (JIRA) wrote: > Provide m

[jira] Commented: (FTPSERVER-360) When no passive ports are available error out immediately rather than waiting for a port to become available

2010-03-28 Thread Sai Pullabhotla (JIRA)
[ https://issues.apache.org/jira/browse/FTPSERVER-360?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12850734#action_12850734 ] Sai Pullabhotla commented on FTPSERVER-360: --- Okay, I think I got a test

[jira] Commented: (FTPSERVER-360) When no passive ports are available error out immediately rather than waiting for a port to become available

2010-03-28 Thread Sai Pullabhotla (JIRA)
[ https://issues.apache.org/jira/browse/FTPSERVER-360?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12850728#action_12850728 ] Sai Pullabhotla commented on FTPSERVER-360: --- Niklas, Are you looking f

Checking out Maven Projects with MyEclipse

2010-03-26 Thread Sai Pullabhotla
dition, but what plugin do you use that works nicely with existing SVN/MVN projects? Thanks in advance for your help. Regards, Sai Pullabhotla

[jira] Updated: (FTPSERVER-360) When no passive ports are available error out immediately rather than waiting for a port to become available

2010-03-26 Thread Sai Pullabhotla (JIRA)
[ https://issues.apache.org/jira/browse/FTPSERVER-360?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sai Pullabhotla updated FTPSERVER-360: -- Attachment: FTPSERVER-360.patch Here is a patch to try out to see if the server

[jira] Created: (FTPSERVER-360) When no passive ports are available error out immediately rather than waiting for a port to become available

2010-03-26 Thread Sai Pullabhotla (JIRA)
://issues.apache.org/jira/browse/FTPSERVER-360 Project: FtpServer Issue Type: Bug Affects Versions: 1.0.4 Reporter: Sai Pullabhotla Fix For: 1.0.5 Based on the filed issue, http://issues.apache.org/jira/browse/FTPSERVER-359, we probably want to quick fix the

Re: Converting an IP range to CIDR notation

2010-03-22 Thread Sai Pullabhotla
.2/31 192.168.1.4/30 192.168.1.8/30 192.168.1.12/32 I downloaded the source code of Apache James too, and did not find anything that would do this. Regards, Sai Pullabhotla On Mon, Mar 22, 2010 at 12:10 PM, Rick Bullotta wrote: > Would this work for you? > > http://labs.karmasphere.org/

Converting an IP range to CIDR notation

2010-03-22 Thread Sai Pullabhotla
Does any one have Java code for converting a given range of IP addresses to CIDR notation, like the one here http://ip2cidr.com/. Thanks. Regards, Sai Pullabhotla

[jira] Updated: (FTPSERVER-357) Implement IP Filtering based on black or white list

2010-03-19 Thread Sai Pullabhotla (JIRA)
[ https://issues.apache.org/jira/browse/FTPSERVER-357?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sai Pullabhotla updated FTPSERVER-357: -- Attachment: ftpserver-ipfilter2.patch Here is the take 2. Hope this is better than

[jira] Commented: (FTPSERVER-357) Implement IP Filtering based on black or white list

2010-03-19 Thread Sai Pullabhotla (JIRA)
[ https://issues.apache.org/jira/browse/FTPSERVER-357?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12847396#action_12847396 ] Sai Pullabhotla commented on FTPSERVER-357: --- Well, I don't thi

[jira] Commented: (FTPSERVER-357) Implement IP Filtering based on black or white list

2010-03-19 Thread Sai Pullabhotla (JIRA)
[ https://issues.apache.org/jira/browse/FTPSERVER-357?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12847377#action_12847377 ] Sai Pullabhotla commented on FTPSERVER-357: --- Well, I thought about

[jira] Commented: (FTPSERVER-357) Implement IP Filtering based on black or white list

2010-03-19 Thread Sai Pullabhotla (JIRA)
[ https://issues.apache.org/jira/browse/FTPSERVER-357?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12847365#action_12847365 ] Sai Pullabhotla commented on FTPSERVER-357: --- Okay guys, I think I updated

[jira] Commented: (FTPSERVER-357) Implement IP Filtering based on black or white list

2010-03-18 Thread Sai Pullabhotla (JIRA)
[ https://issues.apache.org/jira/browse/FTPSERVER-357?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12847107#action_12847107 ] Sai Pullabhotla commented on FTPSERVER-357: --- I think I can get it to

[jira] Commented: (FTPSERVER-357) Implement IP Filtering based on black or white list

2010-03-18 Thread Sai Pullabhotla (JIRA)
[ https://issues.apache.org/jira/browse/FTPSERVER-357?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12847103#action_12847103 ] Sai Pullabhotla commented on FTPSERVER-357: --- I think I can get it to

[jira] Commented: (FTPSERVER-357) Implement IP Filtering based on black or white list

2010-03-18 Thread Sai Pullabhotla (JIRA)
[ https://issues.apache.org/jira/browse/FTPSERVER-357?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12847102#action_12847102 ] Sai Pullabhotla commented on FTPSERVER-357: --- Oh, BTW, I missed an else b

Re: Black/White List in FTP Server

2010-03-18 Thread Sai Pullabhotla
Done. Regards, Sai Pullabhotla On Thu, Mar 18, 2010 at 1:32 PM, Niklas Gustavsson wrote: > On Thu, Mar 18, 2010 at 7:20 PM, Sai Pullabhotla > wrote: >> Attached is the alpha release ;) for the black/white lists for your >> review. > > Create a JIRA issue and attach

[jira] Updated: (FTPSERVER-357) Implement IP Filtering based on black or white list

2010-03-18 Thread Sai Pullabhotla (JIRA)
[ https://issues.apache.org/jira/browse/FTPSERVER-357?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sai Pullabhotla updated FTPSERVER-357: -- Attachment: ftpserver-ipfilter.patch Please review this and provide your feedback

[jira] Created: (FTPSERVER-357) Implement IP Filtering based on black or white list

2010-03-18 Thread Sai Pullabhotla (JIRA)
Components: Core Reporter: Sai Pullabhotla Fix For: 1.1.0 Create a new IP Filter based on black or white list to deny or allow incoming client connections. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.

Re: Black/White List in FTP Server

2010-03-18 Thread Sai Pullabhotla
. I appreciate any feedback. Regards, Sai Pullabhotla On Tue, Mar 16, 2010 at 7:18 AM, Niklas Gustavsson wrote: > On Tue, Mar 16, 2010 at 1:05 PM, Sai Pullabhotla > wrote: >> Does this mean you want to wait until Mina 3.0, or should we start >> working on the FTP Server ri

Re: Black/White List in FTP Server

2010-03-16 Thread Sai Pullabhotla
of this event, why not an Ftplet? I agree that Ftplet authors should know what they are doing when using this method, but do not see any harm in making this event available. Just throwing in my ideas for discussion/evaluation, not that I really want it to be included. :) Regards, Sai Pullabhotla

Re: Black/White List in FTP Server

2010-03-16 Thread Sai Pullabhotla
. session created Currently, we call the Ftplet.onConnect from the sessionOpened method. May be we should add yet another method to the Ftplets to indicate a sessionCreated event, in case if some one wants to use it? Regards, Sai Pullabhotla On Tue, Mar 16, 2010 at 7:38 AM, Niklas Gustavsson wrote

Re: Black/White List in FTP Server

2010-03-16 Thread Sai Pullabhotla
ets. To be precise, the client does get the server's certificate before onConnect is called. I was wondering if this should be done differently so no data is exchanged (read/written) unless onConnect of all Ftplets are executed. What do you think? Regards, Sai Pullabhotla On Tue, Mar 16,

Re: Black/White List in FTP Server

2010-03-16 Thread Sai Pullabhotla
Does this mean you want to wait until Mina 3.0, or should we start working on the FTP Server right away and share relevant code with MINA? Regards, Sai Pullabhotla On Tue, Mar 16, 2010 at 1:13 AM, Niklas Gustavsson wrote: > On Mon, Mar 15, 2010 at 7:27 PM, Sai Pullabhotla > wrote: &

Black/White List in FTP Server

2010-03-15 Thread Sai Pullabhotla
week to work on this if we finalize on something. Thanks & Regards, Sai Pullabhotla

Re: [VOTE] Release FtpServer 1.0.4 - take 2

2010-03-08 Thread Sai Pullabhotla
+1 Let's go for it! Regards, Sai Pullabhotla On Sun, Mar 7, 2010 at 2:23 PM, Niklas Gustavsson wrote: > Hey, > > Alright, I've fixed the issues found by Sai, here's take 2 on this release > vote. > > You can find the distributions and Maven artifacts here

  1   2   3   >