Software :: Is There API Can Use To Do Http Request.
May 21, 2010Is there an linux API I can use to do a http request?Say I want to display URL...throught the API
View 1 RepliesIs there an linux API I can use to do a http request?Say I want to display URL...throught the API
View 1 Replieshow to redirect all client http request to https request in squid
View 1 Replies View RelatedUsing netcat, nc(1), craft a valid http/1.1 request for getting http headers (not the html file itself!) for the main index page of www dot aalto dot fi. What request method did you use? Which headers did you need to send to the server? What was the status code for the request? Which headers did the server return? Explain the purpose of each header.
nc -v www dot aalto dot fi 8080
HEAD / HTML/1.1
host: www dot aalto dot fi
And it returns:
200 OK
Content-Length: 858
Content-Type: text/html
Last-Modified: Thu, 02 Sep 2010 12:46:01 GMT
[Code]....
I really don't know what does it mean. Question 2: Using netcat, nc(1), start a bogus web server listening on the loopback interface port 8080. Verify with netstat(, that the server really is listening where it should be. Direct your browser to the bogus server and capture the User-Agent: header "Direct your browser to the bogus server and capture the User-Agent: header" I don't understand this question.
are there any linux command to have how many http request are sent and received??
View 4 Replies View RelatedI can ssh to my server which is on a LAN accessing the'Net through a Linksys modem/router.I want to be able to configure the Router by using the it's web interface, but the server only has a Command Line Interface and I can only run text browsers like Lynx,hich, although I can log onto the router, the Javascript routines mean that I can't configure the router.I can't access the router's web interface from the 'Net because the router is set up to pass any requests on port 80 to the server.Is there any way I can communicate with the router by sending HTTP requests from my browser external to the LANhaving these relayed to the router by the server and then the server relaying the responses back to my browser.
View 2 Replies View RelatedDear all,
My application has to listen to http request and it must be able to read the http header and then forward the request from proxy. All these things must be done on C/C++. please help me. Awaiting for your reply.
Thank in advance
Hi,
In squid i have blocked some sites like facebook and ......I want to know is there any way when user type in his browser like www.facebook.com instead it show something like following it automatically redirect to www.google.com
Error
The requested URL could not be retrieved
The following error was encountered:
Access Denied.
Basically I want to redirect the http request so the user should not see the page not found error but www.google.com page may open automatically.
thanks
garden
hi
i want to redirect the packet to proxy server. can u help me.
Present network.
MY internal network ==> switch ==> proxyserver ==> router ==> internet.
(for internet i use
to connect proxy, in web browser==> lan settings ==> proxy server ip address )
What i want is
My internal network ==> getway or firewall ==> switch ==> proxy server ==> router==> internet. ( where this getway or firewall i can configure for forward http request to proxy server.)
so that i can separate my internal network from intranet but able to access the internet.
help me out
raghu
Cannot get vmware server to work properly running on ubuntu server 9.04
Trying to access the web interface have to highlight the url and keep hitting enter several times to get to the login and after logging in it is real slow and nothing works cannot create virtual machines
I added vmware server to an existing LAMP server
ettercap can see http request but not response
I'm trying to see regular http responses from my wireless ipad (victim) from my wired pc (attacker). Everything's working great but I can only see the http requests not the responses.
I've done much reading and googling and tried registering in more relevant forums but some forums were shutdown, so I've come here.
Code:
# setup ip forwarding
echo 1 | sudo tee /proc/sys/net/ipv4/ip_forward
# use ettercap to do the mitm using only mitm
sudo ettercap --iface eth0 --text --plugin autoadd --only-mitm --mitm arp:remote /192.168.0.1/ /192.168.0.155/
[Code]....
I have to retrieve a http request from a particular port using libcurl. I'm using localhost .I am done with retrieving http request using socket programming. how to start integration of libcurl in simple socket programming code.
View 1 Replies View RelatedHi, is it possible to send a request to a http server without using sockets?
View 7 Replies View Relatedi am forwarding HTTP request to a internal server, it is quiet successful but access logs donot show the ip of the external m/c. Rather it shows the ip of the machine on which i have enabled port forwarding.
View 2 Replies View RelatedThere is a segmentation fault error while receiving http request side program. Following is the code:
Code:
#include<iostream>
#include <sys/types.h>
[code]...
I am trying to istall litb for P2020DS. I got an error the following error:
[hwtesting@HWLSRV1 ~]$ cd /home/hwtesting/ltib-p2020ds-20091119
[hwtesting@HWLSRV1 ltib-p2020ds-20091119]$ ./ltib
Don't have HTTP::Request:ommon
Don't have LWP::UserAgent
Cannot test proxies, or remote file availability without both
HTTP::Request:ommon and LWP::UserAgent
add folowwing line to User Privilage section:
hwtesting ALL = NOPASSWD: /bin/rpm, /opt/freescale/ltib/usr/bin/rpmvisudo
I edit the sudoers by visudo command and insert this line just under the following line:
root ALL = (ALL) All
But still I am getting the following:
Don't have HTTP::Request:ommon
Don't have LWP::UserAgent
Cannot test proxies, or remote file availability without both
HTTP::Request:ommon and LWP::UserAgent
I installed WordPress 3.x on my localhost/Apache server, but I can neither install plugins nor update anything.This happens with both the stable WP3.0 version and the 3.1 beta. When I try to search the Plugin Directory from the WP dashboard, I get this message: An Unexpected HTTP Error occurred during the API request.When I run an update, I get a page asking for the login credentials for the ftp user ("To perform the requested action, WordPress needs to access your web server. Please enter your FTP credentials to proceed. If you do not remember your credentials, you should contact your web host."). Since I'm part of the 'ftp' group on the system, I enter my system login information, click Proceed -- and get a blank page that does nothing.
I've gone to YaST, and I see that the system ftp user has a 6-character password (which may or may not be mine). I'm afraid to change it and risk screwing up other ftp-related functions. I'm running openSUSE 11.3, and am obsessive about updating. I will note that I have an old 2WIRE router that often requires me (including Zypper repos) to enter IP addresses instead of DNS-based URLs to successfully download stuff. Not sure if this is related, but just in case...
I have proxy running. I have seen LAN machines sending packets by iftop -P -F 192.168.10./24
[Code]....
How do i set my iptables so that I can only send and recieve http,smtp,ssh,dns,dhcp request in and out of the proxy
[Code]...
when I try to access any page even small html pages it stays like 3 seconds in HTTP request sent; waiting for response. state..even when I use Lynx locally on the server..bypassing any possible network issues..logs dont show a thing..the server itself is a high end server with nothing running on it apart from apache which is not serving anny clients now, firewall is disabled and hostnamelookups are set to OFF.
View 1 Replies View RelatedI installed Nagios on my Ubuntu 10.04 server using apt-get and when I accessed the web console, everything was OK. I made some changes to apache (creating some new virtual sites) and since then Nagios gives me a warning message for HTTP with the message, HTTP WARNING: HTTP/1.1 404 Not Found. The sites that I created are working perfectly. I noticed that the attemps are 4/4. Does this need to be reset or does Nagios automatically reset that once it detects the issue is resolved?
View 1 Replies View RelatedI am new in linux,I installed apache-tomcat on fedora.I can view all web pages on localhost:8080 but when I try to view them by server's url address from another computer, I don't get respond.Can it be a firewall problem or something else?
View 4 Replies View RelatedIs it possible to request a package for Fedora? I know it probably would be slight change they will add it but I could always try it, but I not really understand where to do it on their website.
View 14 Replies View RelatedI have a VPS CentOS 5.5 32 bits. It does not answer any DNS request made to the server.
I need to configure Bind to answer these requests.
I have been reading about that for several days and here: [URL]
But it is uncompleted.
I need to configure these too:
chroot DNS with BIND avoid cache poisoning avoid being an open resolver port randomization
I have found several tutorials but all of them have different points of view.
I am looking for a good tutorial that has everything:
Setting up bind on CentOS 5.5 chroot DNS with BIND avoid cache poisoning avoid being an open resolver port randomization configure iptables for bind
Where can i request for a free RedHat linux Cd's
View 5 Replies View RelatedThe last attempt to build oprofile for F12,oprofile-0.9.6-2.fc12 wcohen 2009-12-11 20:46:06 failed.What's the best way to request another build attempt?dd_wizard
View 2 Replies View RelatedWhere can i put a request for a package update?
gnutls has been upgraded to 2.8.6, however, there is no rpm available for it,, only 2.8.5
where can i put the request for the [ FC15] build of:
alien [URL]
dependencies for po-debconf:
Code:
perl(Debconf::AutoSelect) is needed by po-debconf-1.0.16-5.fc15.noarch
perl(Debconf::Config) is needed by po-debconf-1.0.16-5.fc15.noarch
perl(Debconf::Db) is needed by po-debconf-1.0.16-5.fc15.noarch
perl(Debconf::Template::Transient) is needed by po-debconf-1.0.16-5.fc15.noarch
[Code].....
when I boot my PC I get two password request, one is for it to be able to log in the wifi catcher and the other is just a pain in the ***, how can I set it to get just one again,
View 1 Replies View RelatedI have this annoying problem, when I boot my PC I get two password request, one is for it to be able to log in the wifi catcher and the other is just a pain in the ***, how can I set it to get just one again, or what could have happened? because I before I just got one.
View 2 Replies View RelatedJust trying to get some packages upgraded on Debian/Lenny, esp. PHP5, but I always get the NO_PUBKEY error from php53.dotdeb.org.
I resolved the same problem with security.debian.org by doing:
apt-get install debian-keyring debian-archive-keyring
apt-key update
but no luck on dotdeb. trying:
gpg --keyserver keys.gnupg.net --recv-key A2098A6E
I'm running Fedora Core 8 (fc8) and when i make ping to that server, sometimes i get time request timeout and i don't know why...
I have the CPU of this picture and the network device is integrated look my CPU
[url]