cURL is an HTTP client library and command line tool.
0
votes
1answer
27 views
On my virtual EC2 instance, what is my IP will a webpage detect if I curl it?
I have one small server on EC2.
Let's say I cURL facebook.com. What IP will facebook see as the "client address"?
Is it random?
0
votes
1answer
13 views
How to update curl version on ubuntu 8.04?
On my system 8.04, curl 7.18.0 is installed:
curl --version shows:
curl 7.18.0 (i486-pc-linux-gnu) libcurl/7.18.0 OpenSSL/0.9.8g zlib/1.2.3.3 libidn/1.1
Protocols: tftp ftp telnet dict ldap ldaps ...
0
votes
0answers
18 views
Stange stream of HTTP GET requests in apache logs, from amazon ec2 instances
I just had a look at my apache logs, and I see a lot of very similar requests:
GET / HTTP/1.1
User-Agent: curl/7.24.0 (i386-redhat-linux-gnu) libcurl/7.24.0 \
NSS/3.13.5.0 zlib/1.2.5 libidn/1.18 ...
-1
votes
1answer
16 views
Perform HTTP request through non-default gateway (CURL? WGET?) [closed]
I have two ISPs /two routers on my LAN with Windows boxes. Switching default gateway (per PC) works fine, so I can choose my outgoing traffic from particular PC to be initiated from whichever ISP I ...
1
vote
0answers
37 views
Is there a known issue resuming downloads from IIS with curl?
I am seeing an issue when trying to resume a download using curl as follows:
curl -L -s -C - -o 'file.data' 'https://sever/file'
The issue is only with IIS. I tried several other web servers on OSX ...
0
votes
1answer
33 views
DNS failure crashing web site - CURL requests
My PHP keeps throwing random errors which relate to slow scripts. nginx/php5-fpm report in their error logs that the child has been terminated due to script timeout.
PHP5-FPM slow error log reports ...
0
votes
1answer
44 views
SSL error curl/wget unknown protocol/wrong version number
I've been trying to use local hosted https urls in command line/cron jobs and i get those errors. curl output is similar. The same commands, when used in other servers works perfectly.
Default
...
0
votes
1answer
25 views
Network request intercept preventing local connections
I'm experiencing a really weird issue on my Ubuntu 10.04 web server where something appears to be intercepting my network requests. Most importantly it's preventing me from performing local ...
-1
votes
0answers
12 views
How to add self signed certificate to certificate bundle? [migrated]
How to add self signed certificate to certificate bundle so that the Curl http client can verify the self signed certificate as valid one?
0
votes
1answer
38 views
curl fails to take self signed certificate
I've installed apache 2 server with self signed certificate.My browser is showing 'It works!' when I tried to connect to the sever. But from an application when I issued cur_easy_perform() the call ...
0
votes
5answers
102 views
Executing script remotely with “curl | bash” feedback
I'm working on a platform that uses a lot such commands:
ssh login@server.com 'curl http://some_server/script.sh | bash'
This is really clean and handy to execute scripts remotely, however, I don't ...
0
votes
1answer
29 views
Limiting IP choice from CURLOPT_INTERFACE
I have a server with 6 ip addresses added via cPanel. I'm having troubles limiting the IP address my clients can use as an outgoing IP address in their PHP script. Some of them are running proxies and ...
0
votes
1answer
81 views
libcurl Reporting Different Version Between Commands
I previously had cURL 7.22.0 on Ubuntu 12.04 Server.. but I now need to upgrade to cURL 7.30.0.
I've done the following to compile this version for Ubuntu:
wget ...
0
votes
1answer
33 views
Executing cURL upon Git Push
I'm very new to running a Git server, and I needed to trigger a Jenkins build upon pushing to Git.
A tutorial says to do this command:
curl http://[jenkins]/git/notifyCommit?url=[job]
but it ...
0
votes
1answer
108 views
How to send HTTP request issued by cURL through VPN?
Please excuse me for (probably) the noob question, but I am very new to Linux networking. I've already spent a few days searching the Internet for an answer to my question, but was unable to find one, ...
0
votes
0answers
79 views
Compiling Php solr client with Php 5.4: cURL missing
Php gives a warning:
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php5/20100525/solr.so' - /usr/lib/php5/20100525/solr.so: undefined symbol: curl_easy_getinfo in Unknown on ...
0
votes
1answer
33 views
Check whether CDN is working or not
Is there any way to find whether the static content is being served by CDN or not. Using curl, can i find whether the static file is being served by CDN or by the webserver.
0
votes
1answer
40 views
SSL with authentication without encryption
Is it possible to setup lighttpd server and curl client so that both the client and the server verify each other's self-signed SSL certificate but the file is downloaded without SSL encryption?
How ...
0
votes
0answers
30 views
WAMP server won't load php_curl extension [closed]
php_curl is enabled as a PHP extension in WAMPs menu.
When I view the php.ini file for WAMP curl is uncommented. eg
;extension=php_bz2.dll
extension=php_curl.dll
And yet phpinfo() makes no ...
0
votes
1answer
68 views
Get a URL with variables via Linux Command Line
Sorry if this seems to be a very simple command, but I have been searching for hours without any solutions and exhausted my very limited knowledge of Linux. :-)
I need to use some command to process ...
0
votes
1answer
116 views
How to check ip blacklist using curl/wget request to mxtoolbox?
I would like to add cron job to check server ip on blacklist.
something like
curl 'http://mxtoolbox.com/SuperTool.aspx?action=blacklist%3a142.11.193.83' | grep 'you are on a blacklist.'
wget ...
0
votes
1answer
116 views
Can download with Firefox, can't download with curl (NTLM authentication)
I want to download a file from a SharePoint server (url).
I manage to download it using Firefox.
I can't manage to download it using curl.
Sounds surprising, but the same URL works on Firefox, fails ...
0
votes
0answers
81 views
OSX + cURL + PHP + OpenSSL = SSL_write() returned SYSCALL, errno = 32
I'm programming using OSX and noticed an error while upload files on SSL server if the file is >= 1MB of size. I've tried to update libcurl on my laptop but it didn't change anything.
I think it's a ...
1
vote
2answers
46 views
Download and save a file with proof that it was downloaded from a specific server/url on a specific date?
Assuming the file was downloaded over http is this possible? I'm guessing there could be some way to do it using a hash and a timestamp however I'm not sure how you could prove nothing was tampered ...
-1
votes
2answers
32 views
Curl don't work on cron execution
I have bash a script like the following
#!/bin/bash
date
curl http://lab.nextt.com.br/somefile1.html -z ../public_html/somefile1.html -o ../public_html/somefile1.html --silent --show-error ...
-1
votes
1answer
61 views
enabling the php curl ext in php.ini causes subsequent localhost php requests to error [closed]
When I enable extension=php_curl.dll in my php.ini, the following causes problems.
request a php page that uses the curl extension (such a request is aborted and fails)
request any other php page ...
0
votes
2answers
31 views
Testing if a server is up with curl and grep. Grep adds headings?
Hi I'm trying to see if a server I'm running has been stopped (if it has, it returns a 502 Bad Gateway message.)
So I tried to do this :
curl http://MY_URL | grep "502"
The curl part returns what ...
0
votes
1answer
43 views
Curl, matching a string in website response content [closed]
Is there any way that i can verify the contents of a page, if they exist in it? like if i open google.com, if its page content has "Error" in it, then i can know that the page is not opened correctly. ...
3
votes
4answers
116 views
Download a file from the shell when button click is required
I have a link to a file that I would like to download from the shell. Unfortunately, the URL redirects to a software license agreement page which requires clicking an accept button. This is fine when ...
0
votes
2answers
67 views
Default CA Cert Bundle Location
I need to add a .pem cert file to my default CA cert bundle but I don't know where the default CA Cert bundle is kept.
I need to append my new .pem file to this default bundle. I'd rather do that ...
0
votes
1answer
325 views
Upgrade curl to latest on CentOS 6.3
Thought this would be a simple process, but I guess not. I need the latest version of CURL (7.23 or newer) on CentOS 6.3.
If I do this:
sudo yum upgrade curl
It just tells me there is nothing ...
0
votes
2answers
127 views
CURL in PHP chroot'ed environment
How can I find out what files or sockets are needed by Curl when running in a chroot'ed PHP environment on Mac OSX?
I recently secured my website by chrooting PHP but now every call to Amazon S3 ...
-1
votes
1answer
83 views
How to handle 600+ domains requests to one server? [closed]
We are a medium size company and we handle 621 different domains on 621 different servers. We now want to install a plugin on each website that will request a remote call to a server that we will buy. ...
1
vote
2answers
490 views
Is there a built-in command-line tool under Windows like wget/curl?
I come from a Linux/Unix background and I have been wondering if Windows has a binary that can download files from the console.
I would like to automate a certain process and one of my requirements ...
6
votes
1answer
231 views
DNS issues on Google compute engine
I'm experiencing some interesting network issues, which I can reproduce and work around, although not explain - therefore I ask you! :)
I have a setup with two servers, both located in Google's ...
0
votes
1answer
61 views
can not curl large files
I am using the following curl syntax to copy a file to another server and it is working as expected.
curl -F file=@/home/abc.txt.gz http://1.2.3.4/upload.php
But if the file abc.txt.gz is more than ...
0
votes
1answer
101 views
PHP curl showing wrong version
Hi I have been trying to get Curl with SSL support on CentOS 5.9 server . I have in the process updated php to 5.4.11 using the remi repo. The system is running plesk and when I do I look at phpinfo() ...
1
vote
1answer
87 views
HTTP Request Header limit hard coded in Apache 2.2
I looked up some other question concerning this on SF, they revolved around a maximum limit being set for LimitRequestFieldSize and LimitRequestLine at 8K.
httpd's documentation confirms the limit, ...
1
vote
1answer
279 views
Why is my curlftpfs write only?
I have mounted a FTP backup solution to /opt/backup and it seems to be write only (even as root, as shown).
# touch foo
# ls -l
-rw-r--r-- 1 root root 0 Feb 19 16:00 foo
# cat foo
cat: foo: ...
1
vote
1answer
886 views
Curl: disable certificate verification
I am developing and I need to access https://localhost. I know the certificate will not match. I just want curl to ignore that. Currently it gives me the following error message:
curl: (51) SSL peer ...
1
vote
1answer
178 views
installing composer failes. Unable to access http://
I am trying to install composer with the command:
curl -s https://getcomposer.org/installer | php
And I am getting this error:
PHP Warning: Directive 'safe_mode' is deprecated in PHP 5.3 and ...
0
votes
1answer
158 views
cURL error on OpenIndiana: “error: error setting certificate verify locations”
I was trying to git clone a repository using https:// on OpenIndiana, and got the following error:
Initialized empty Git repository in /home/gak/vagrant/.git/
error: error setting certificate verify ...
0
votes
2answers
450 views
Execute curl requests in parallel in bash
What is the best way to execute 5 curl requests in parallel from a bash script? I can't run them in serial for performance reasons.
1
vote
1answer
102 views
Ubuntu 12.04 and 12.10 don't have new Thawte intermediary certs?
I recently swapped my sites SSL certificate over to a new Thawte 2048 bit cert.
Ubuntu/libcurl doesn't seem to be able to verify it. Web browsers and OSX is fine.
I had to manually update the cert ...
0
votes
1answer
183 views
cURL looking for CA in the wrong place
On Redhat Linux, in a PHP script I am setting cURL options as such:
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, True);
curl_setopt($ch, CURLOPT_CAINFO, '/home/andrew/share/cacert.pem');
Yet I am ...
0
votes
0answers
310 views
WordPress: Enable Curl PHP Ubuntu/Lemp
I have a default WordPress install Running on EC2/RDS with NGINX & PHP5-FPM on http://seolinktools.com, and spent most of the day configuring it. It's lightning fast.
I went to install W3 Total ...
1
vote
1answer
459 views
Using curl -s in *nix command line not working for some reason
I am trying to install composer (though to be honest I really have no idea how it fully works and documentation seems to be quite poor) on my MediaTemple DV machine. I am using their instructions
...
0
votes
1answer
170 views
cURL gives Access denied: follow redirect to /public/
I'm running an apache web server on ubuntu server 12.04 LTS.
If I try to
/usr/bin/curl http://mysite.com/script.php
I get the error message
Access denied: follow redirect to /public/
What can ...
0
votes
0answers
379 views
libcurl.4.dylib version on Mac [closed]
I installed nginx on my Mac (Snow Leopard) but it looks like I messed up with libcurl in process. Now when I try to use git I'm getting this error:
dyld: Library not loaded: /usr/lib/libcurl.4.dylib
...
0
votes
2answers
258 views
How to test a HTTPS URL with a given IP address
Let's say a website is load-balanced between several servers. I want to run a command to test whether it's working, such as curl DOMAIN.TLD. So, to isolate each IP address, I specify the IP manually. ...