Project

General

Profile

Actions

Feature #28258

closed

cURL: allow custom curl params

Added by Stefan Neufeind almost 13 years ago. Updated about 8 years ago.

Status:
Rejected
Priority:
Should have
Assignee:
-
Category:
Backend API
Target version:
-
Start date:
2011-07-16
Due date:
% Done:

0%

Estimated time:
PHP Version:
Tags:
Complexity:
medium
Sprint Focus:

Description

curl allows:
CURLOPT_PROXYTYPE Either CURLPROXY_HTTP (default) or CURLPROXY_SOCKS5.

This option is currently not present and would allow using a socks5-proxy.

Testing is possible by using for example the built-in SOCKS5-proxy of OpenSSH with:
ssh -D 8080 user@someservers

Would allow using SOCKS5-proxies and (as said here) also ease things like temporarily tunneling an intranet-server to the outside world (to fetch updates, ...).

PS: Imho implementation should wait for changes from #27988.


Related issues 5 (0 open5 closed)

Related to TYPO3 Core - Feature #27988: Override / add curl options to t3lib_div::getUrlRejectedKilian Hann2011-07-08

Actions
Related to TYPO3 Core - Feature #21775: additional curl options for install toolClosed2009-12-02

Actions
Related to TYPO3 Core - Feature #28839: Add USERAGENT to cURL request in t3lib_div#getURL()Closed2011-08-08

Actions
Related to TYPO3 Core - Feature #31818: Implement curl proxy blacklist in t3lib_div::getUrlClosedTolleiv Nietsch2011-11-15

Actions
Related to TYPO3 Core - Feature #59326: getURL with CURLOPT_SSL_VERIFYPEERClosed2014-06-04

Actions
Actions #1

Updated by Steffen Gebert almost 13 years ago

I think, if we enhance the global configuration of cURL to accept any parameter (and pass them through in getURL), this would be no problem at all. And not restricted to SOCKS proxy.

Actions #2

Updated by Stefan Neufeind almost 13 years ago

Agreed. But since things like proxy username/password are accessible in the installtool we might want to add this field there as well, as part of the comments, or do the handling of those options completely different in the installtool anyhow :-)

Actions #3

Updated by Tolleiv Nietsch almost 13 years ago

  • Complexity set to medium
Actions #4

Updated by Andreas Wolf over 12 years ago

  • Category set to Backend API
Actions #5

Updated by Stefan Neufeind almost 10 years ago

How is the situation in 6.2 meanwhile? Do we have a "general" way for cURL-settings there? Or would this configuration-possibility still require further modifcations?

Actions #6

Updated by Susanne Moog over 8 years ago

  • Subject changed from cURL: allow using a socks-proxy to cURL: allow custom curl params

I changed the feature title and will consolidate the different options here (and close the other tickets with the same topic):

The following options where asked for in tickets:

  • CURLOPT_PROXYTYPE
  • CURLOPT_USERAGENT
  • CURLOPT_SSL_VERIFYPEER
  • CURLOPT_CAPATH

Additionally a blacklist for bypassing the proxy:

  • curlProxyBlackList

Find the descriptions of the use cases in the corresponding tickets. We need a general solution for these options instead of implementing them one by one.

Actions #7

Updated by Susanne Moog over 8 years ago

  • Target version set to 7.5
Actions #8

Updated by Benni Mack over 8 years ago

  • Target version deleted (7.5)
Actions #9

Updated by Benni Mack about 8 years ago

  • Status changed from New to Rejected

we now have guzzle with 8.1 with all kinds of special parameters, should solve all problems now.

Actions

Also available in: Atom PDF