Hello,

the Code to allow port forwarding of ftp connections (as stated in the
CHANGES and the manpage) did not make it into the 2.4.0 source code
release!

CHANGES:
        * Implemented FTP forwarding (secure tunnels are dynamically
          created for data connections and port numbers are spoofed in
          the command channel).

manpage:
       -L [protocol/]port:host:hostport
                                                  [...] The pro<AD>
              tocols implemented are  tcp  (default,  no  special
              processing) and ftp (temporary forwardings are cre<AD>
              ated for ftp data  channels,  effectively  securing
              the whole ftp session).

source code:
  if (strcasecmp(c->fwd->protocol, "tcp") != 0)
    {
      if (strcasecmp(c->fwd->protocol, "http") == 0)
        {
          ssh_warning("forwarding protocol \"http\" defaults to \"tcp\"");
        }
                [ ... 25 empty lines deleted ... ]
      else 
        {
          ssh_warning("forwarding protocol \"%s\" defaults to \"tcp\"",
                      c->fwd->protocol);
        }
    }

It's a pitty. I'd really like to see a working implementation of ftp
port forwarding in the source.

Greetings
        Markus

-- 
Markus Germeier
[EMAIL PROTECTED]

Reply via email to