https proxy server lazarus / 38-Networking and Web Programming ---------------------------------------------------------------------- benohb · 2015-06-13 13:03 I have tested TIdHTTPProxyServer from indy-10  library but it is consume 100% cpu I did not find enough information to create a ProxyServer (inet +Synapse) I need a way to Read all requests from Browsers (Capture files private extensions)                               server                                   |                                            |                        local proxy server                            /               \              pdf.zip..     /                  \  html.php...                         /                     \                download                   Browsers           manager                                        I need some help ---------------------------------------------------------------------- benohb · 2015-06-15 14:46 I have found an example from synapse http://www.openlcb.org/trunk/scratchpads/jkueneman/Components/synapse4 0/source/demo/httpproxy/ProxyThrd.pas Everything works well ..But The example does not deal with FTP protocol + I want the browser use proxy at the same port (FTP and HTTp) . I do not want you writing code example. i need Only a simple information Suggestions - Make a FTP proxy inside synapse example - Redirection raw TCP data if  browser request a FTP link - Changing http header When answering and demand to browser To ignore the proxy <- possible What is the right proposal and whether there are others ---------------------------------------------------------------------- Thaddy · 2015-06-15 16:03 You simply can't do that very easily. You need to 2 ports, one for (s) ftp one for http(s). Or you have to device a way that the proxy accepts just raw data, analyzes it for protocol and forward it to the correct server port. It is simply a bad idea and against all specifications to have two protocols running on the same port. You may be interested in tunneling ftp over http. Not for the fainthearted https://opentools.java.net/contentswitch/modules/httptunnel/HTTPTunnel .html