[ZCM] [ZC] 662/ 2 Wontfix "medusa bug?"

"Collector: Zope Bugs, Features, and Patches ..." <[email protected]>
Newsgroups gmane.comp.web.zope.devel.collector-monitor
Message-ID <[email protected]>
Issue #662 Update (Wontfix) "medusa bug?"
 Status Wontfix, ZServer/bug medium
To followup, visit:
  http://www.zope.org/Collectors/Zope/662

==============================================================
= Wontfix - Entry #2 by tseaver on Dec 19, 2006 2:46 pm

 Status: Pending => Wontfix

This bug is against a version of Zope too old for maintenance, and
on a platform which none of the core developers work with.

Please submit a new bug if you can replicate the problem on a more
modern Zope (2.8+), and without requiring Solaris.
________________________________________
= Request - Entry #1 by Anonymous User on Nov 5, 2002 6:32 am

Another problem with ftp.


i don't know exactly the ftp rfc, but when i try to make a put or a send in zope ftp(medusa), the port of the connection from server to client is made in a random way, despite of i have configured zope to use a certain port (server_port minus one).

i've change that code in ftp_server.py


<pre>
 def make_recv_channel (self, fd):
        pa = self.passive_acceptor
        if pa:
            if pa.ready:
                    # a connection has already been made.
                conn, addr = pa.ready
                cdc = recv_channel (self, addr, fd)
                cdc.set_socket (conn)
                cdc.connected = 1
                self.passive_acceptor.close()
                self.passive_acceptor = None
            else:
                    # we're still waiting for a connect to the PASV port.
                cdc = recv_channel (self, None, fd)
        else:
                # not in PASV mode.
            ip, port = self.client_addr
            cdc = recv_channel (self, self.client_addr, fd)
            cdc.create_socket (socket.AF_INET, socket.SOCK_STREAM)
            #changed by pbenitez*********************************************************
            if self.bind_local_minus_one:
                cdc.bind (('', self.server.port - 1))
            #changed by pbenitez ends*************************
            try:
                cdc.connect ((ip, port))
            except socket.error, why:
                self.respond ("425 Can't build data connection")
        self.client_dc = cdc

</pre>
Is this a bug?

i work in a solaris 2.8 and zope 2.5.1


Thanks in advance.


 pbenitez
[email protected]
==============================================================
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.