eukky
Goto Top

SQUID mit FTP - löschen oder umbenennen möglich?

Geht es inzwischen, über SQUID Dateien zu löschen/umbenennen?

Hallo,

es gibt zu dem Thema im Internet/auf squid-cache.org sehr wenig Info, hat vielleicht hier jemand Erfahrung:
unterstützt denn SQUID die FTP-Befehle fürs Löschen/Umbenennen, wie DELE ?
Hat jemand evtl. eine Liste der zZ unterstützten FTP-Befehlen?

Danke!

Content-ID: 26734

Url: https://administrator.de/forum/squid-mit-ftp-loeschen-oder-umbenennen-moeglich-26734.html

Ausgedruckt am: 23.12.2024 um 09:12 Uhr

Eukky
Eukky 01.03.2006 um 09:34:43 Uhr
Goto Top
Hier die Erklärung auf meinen Beitrag in SQUID-USERS Mailinglist:
The Problem is, that although I've read (in some old Forums, 2003 and earlier), that there is no DELETE (DELE) through SQUID possible, it works - by me in 2.5 STABLE5 and STABLE 12.
I have made with ethereal a dump of network traffic, there are:
Client->SQUID HTTP-Request DELE Filename
SQUID->FTP FTP-Request DELE Filename
FTP-> SQUID FTP-Response File Filename deleted
And the file is really deleted

Important: works only with "HTTP CONNECT" Client-Method, neither with "HTTP-Proxy with FTP-Support" (TotalCommander - Response auf DELETE - "Not implemented"), nor anything else.
...
Thanks for the help

Important: works only with "HTTP CONNECT" Client-Method, neither with "HTTP-Proxy with FTP-Support" (TotalCommander - Response auf DELETE - "Not implemented"), nor anything else.

If you use CONNECT there is no HTTP involved other than the initial CONNECT request to open the control channel. CONNECT in HTTP is equivalent to CONNECT in SOCKS. It gives you a full duplex "direct"
connection to the requested server.

If you think allowing CONNECT to be used in this manner (the default squid.conf does not for very valid security reasons) I assure you that you would be much better off using a SOCKS proxy.

...
Squid does not implement the DELETE HTTP method on ftp:// URLs.