You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mina.apache.org by "DevNull43 (JIRA)" <ji...@apache.org> on 2010/03/04 01:36:27 UTC

[jira] Updated: (FTPSERVER-352) IDNT command for control channel delegation.

     [ https://issues.apache.org/jira/browse/FTPSERVER-352?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

DevNull43 updated FTPSERVER-352:
--------------------------------

    Attachment: IDNTCommand.txt

IDNT patch

> IDNT command for control channel delegation.
> --------------------------------------------
>
>                 Key: FTPSERVER-352
>                 URL: https://issues.apache.org/jira/browse/FTPSERVER-352
>             Project: FtpServer
>          Issue Type: New Feature
>          Components: Core
>    Affects Versions: 1.0.3
>            Reporter: DevNull43
>         Attachments: IDNTCommand.txt
>
>
> FTP protocol contains 2 channels, one for control and a second one for data.
> Channels can be bounced in 2 ways:
> 1- Full bounce: A bouncer in between client and FtpServer acts as a man in the middle and forwards both channles, getting all the traffic from control and data.
> 2- Control bounce: A bouncer in between client and FtpServer acts as a man in the middle and forwards ONLY control channel, data channel uses realHost IP for PASV and sends data channel directly to client, not getting all traffic from data side.
> FtpServer works correctly with bouncers of type 1, however in order to work delegating control channels it needs to implement IDNT command.
> When a bouncer for control channel connects to FtpServer, it sends as first command:
> IDNT ident@HOSTIP:HOSTIP
> With the attached patch, FtpServer uses bouncer IP for sending control channel (default), but stores in session.IDNT.clientHost variable name, the InetAddress of real client.
> From now on a developer can read from session this variable, and send data channel to original client.
> Further patches will check if this variable exist and use as appropiate.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.