Stupid me, nvm I got it!
Just have:
newSocket, adresse = my_socket.accept()
newSocket.sendall("220 This is the proxy. \r\n")
Then the proxy will receive data (USER <username> \r\n ) and so on and the connection is established...
:)
Okay I am a bit new to python and not really a programmer so if my question seem stupid please bear with me :p
So I am trying to program a proxy ftp (for now anyway) but I have a problem. Here is how a connection is established in ftp (took it from the RFC):
Connection Establishment...
Yeah, I also tried with the ip anyway, and with ip:port. Thanks for your quick answer though :)
It's not so important as I can run a db on the locahost anyway but I like to finish what I start and I would love to know why this doesnt work.
Okay so I am running some website on fedora with VMWARE and my main OS is windows server 2003. I am trying to use db on the windows server but whenever I try to connect to it from fedora I get bug messages.
"Warning ! [2003] - Can't connect to MySQL server on 'ep038' (13)
Server unavailable...
Well for a reason I couldnt access this forum from work so I wasnt able to answer till now. Yeah I restarted the service after each change and set the rights correctly (hell I even tried with FULL rights for everyone), I even got some guy to check and he didnt understand why it wouldnt work...
Hey all I have a small problem and was wondering if someone could answer a few questions.
So I have httpd running, I made a new directory for my website in the var folder (lets say /var/mywebsite) and changed the DocumentRoot in httpd.conf to match the new path. I also added index.php in the...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.