Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

curlopt_proxytype(3) [mojave man page]

CURLOPT_PROXYTYPE(3)					     curl_easy_setopt options					      CURLOPT_PROXYTYPE(3)

NAME
CURLOPT_PROXYTYPE - proxy protocol type SYNOPSIS
#include <curl/curl.h> CURLcode curl_easy_setopt(CURL *handle, CURLOPT_PROXYTYPE, long type); DESCRIPTION
Pass one of the values below to set the type of the proxy. CURLPROXY_HTTP HTTP Proxy. Default. CURLPROXY_HTTPS HTTPS Proxy. (Added in 7.52.0 for OpenSSL, GnuTLS and NSS) CURLPROXY_HTTP_1_0 HTTP 1.0 Proxy. This is very similar to CURLPROXY_HTTP except it uses HTTP/1.0 for any CONNECT tunnelling. It does not change the HTTP version of the actual HTTP requests, controlled by CURLOPT_HTTP_VERSION(3). CURLPROXY_SOCKS4 SOCKS4 Proxy. CURLPROXY_SOCKS4A SOCKS4a Proxy. Proxy resolves URL hostname. CURLPROXY_SOCKS5 SOCKS5 Proxy. CURLPROXY_SOCKS5_HOSTNAME SOCKS5 Proxy. Proxy resolves URL hostname. Often it is more convenient to specify the proxy type with the scheme part of the CURLOPT_PROXY(3) string. DEFAULT
CURLPROXY_HTTP PROTOCOLS
Most EXAMPLE
TODO AVAILABILITY
Always RETURN VALUE
Returns CURLE_OK SEE ALSO
CURLOPT_PROXY(3), CURLOPT_PROXYPORT(3), libcurl 7.54.0 February 06, 2017 CURLOPT_PROXYTYPE(3)

Check Out this Related Man Page

CURLOPT_HEADEROPT(3)					     curl_easy_setopt options					      CURLOPT_HEADEROPT(3)

NAME
CURLOPT_HEADEROPT - set how to send HTTP headers SYNOPSIS
#include <curl/curl.h> CURLcode curl_easy_setopt(CURL *handle, CURLOPT_HEADEROPT, long bitmask); DESCRIPTION
Pass a long that is a bitmask of options of how to deal with headers. The two mutually exclusive options are: CURLHEADER_UNIFIED - the headers specified in CURLOPT_HTTPHEADER(3) will be used in requests both to servers and proxies. With this option enabled, CURLOPT_PROXYHEADER(3) will not have any effect. CURLHEADER_SEPARATE - makes CURLOPT_HTTPHEADER(3) headers only get sent to a server and not to a proxy. Proxy headers must be set with CUR- LOPT_PROXYHEADER(3) to get used. Note that if a non-CONNECT request is sent to a proxy, libcurl will send both server headers and proxy headers. When doing CONNECT, libcurl will send CURLOPT_PROXYHEADER(3) headers only to the proxy and then CURLOPT_HTTPHEADER(3) headers only to the server. DEFAULT
CURLHEADER_SEPARATE (changed in 7.42.1, ased CURLHEADER_UNIFIED before then) PROTOCOLS
HTTP EXAMPLE
TODO AVAILABILITY
Added in 7.37.0 RETURN VALUE
Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not. SEE ALSO
CURLOPT_HTTPHEADER(3), CURLOPT_PROXYHEADER(3), libcurl 7.54.0 February 03, 2016 CURLOPT_HEADEROPT(3)
Man Page

15 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Proxy

Are there any decent proxy programs out there that will filter domains and forward them to specific ip addresses and ports? I'm looking for a proxy that can be configured to take a request, examine the domain it is going to and then forward it to be proxied through other machines on the network... (6 Replies)
Discussion started by: rado
6 Replies

2. UNIX for Dummies Questions & Answers

how to set Proxy for Pop3, SMTP etc

I'm ok to linux but not too much. I want to know that I ve running the Linux(RedHat 9.0) Based server install for Proxy(Interconnection Sharing) I had implement Squid for HTTP Proxy on which some services like IE, NetScape, Yahoo Messenger, MSN messenger and Get Right are running but I want to run... (2 Replies)
Discussion started by: rkashifj
2 Replies

3. IP Networking

Proxy ARP Difficulties

edited ... (7 Replies)
Discussion started by: TheMaskedMan
7 Replies

4. UNIX for Advanced & Expert Users

Coomand to download from HTTP(URL)

Hi, What is the UNIX command to download a file or data from HTTP location. CURL(Linux) did not work. Thank You (4 Replies)
Discussion started by: skm123
4 Replies

5. UNIX for Advanced & Expert Users

Application layer proxy

Hi , I am trying to identify an application proxy in Linux equivalent to MS ISA proxy. Proxy should mediate communication b/w various protocols based on port and ip adress, viz. SMTP, MSSQL , LDAP, HTTP etc. Have googled and found DeleGate, Zorp and Squid etc. Application layer, transparent... (2 Replies)
Discussion started by: Crazy_murli
2 Replies

6. UNIX for Dummies Questions & Answers

Reverse Proxy difficulty

Hi I am trying to set up two hosts in a reverse proxy. The reverse proxy already has 8 servers running perfectly, but they are all simply mapping pure addresses, which I have registered internally and externally. The latest two I wish to add are a bit different, they are app servers, one... (1 Reply)
Discussion started by: rboekdrukker
1 Replies

7. Web Development

Apache: Forward Proxy Via Virtualhost

I've set up a forward proxy within a VirtualHost (see below) on Apache 2.2.11. I then browse using mydomain.com:80 as the proxy - I've also tried using the IP address of the VirtualHost xxx.xxx.xxx.xxx:80. It works fine, the only problem is that in both cases the server's main IP address is always... (2 Replies)
Discussion started by: krunksta
2 Replies

8. Red Hat

Proxy auth fails in shell

hi I am using RHEL 5.5. I updated the http-proxy like this http_proxy=http://username:password@IP:port/ When i do ping www.google.com PING www.l.google.com (74.125.236.177) 56(84) bytes of data. then it goes blank. I dont know why. But in the same linux, in gui mode. In... (2 Replies)
Discussion started by: gnanagurus
2 Replies

9. Shell Programming and Scripting

SIMPLE HTTP PROXY SERVER CHECKER (Completed)

Simple Http Proxy Server Checker Script with curl mirror proxies-scripts/proxc at master * Anoncheg1/proxies-scripts * GitHub output in terminal HTTP, HTTP Connect (HTTPS not supported) command line: proxc filename where filename is file like 119.110.69.185:8080 119.235.16.41:8080... (4 Replies)
Discussion started by: 654321
4 Replies

10. Shell Programming and Scripting

To enable proxy for a specific URL

(4 Replies)
Discussion started by: Anusha M
4 Replies

11. What is on Your Mind?

What is My IP Address?

Hi. Just added this feature, which you can find in many sites on the net; but I think our format looks a bit better. What is My IP If you would like for us to including other information that can be derived from the IP address, please reply in this thread. (16 Replies)
Discussion started by: Neo
16 Replies

12. AIX

Configure HTTP proxy in SUMA

Hi, I am trying to configure an HTTP_PROXY so that suma can reach out beyond our intranet and pull updates from the IBM website. Currently, our suma config is the default as it's not been used before. When I attempt to issue the following command sudo suma... (7 Replies)
Discussion started by: JAR1
7 Replies

13. IP Networking

Using Another Account as Internet Proxy

We cannot access our local servers from our LAN, but we CAN access them from everywhere else! Every once in awhile, our local access to our servers drops, but if I SSH into an external Linux account I have, I can then SSH back into the server right in the next room. We've been trying to deal... (20 Replies)
Discussion started by: gmark99
20 Replies

14. Red Hat

Set Proxy In The Terminal & problem Package Installing

Centos Behind The Proxy Server In My System , How Can I Set In Terminal Proxy ( Username & Password ) When Using The Command yum & rpm online I Will Respond Error Thank You For Your Guidance (28 Replies)
Discussion started by: mnnn
28 Replies

15. Shell Programming and Scripting

Echo not printing the variables with delimiters as required

This is the file which contains only neccessary values from the output of curl command i.e TEMP_FILE Proxy Hostname server0123.domain.com Proxy IP address XXX.XXX.XX.XX port 0000 Proxy Version SGOS X.X.X.X Proxy Serial # ... (5 Replies)
Discussion started by: ramprabhum
5 Replies