All about programs and services that use the Hypertext Transfer Protocol.

learn more… | top users | synonyms

0
votes
1answer
21 views

how to see a http reponse message using telnet command? [duplicate]

I am trying to telnet to different web servers and see what http response messages I get. I've tried telnet some_host_name 80, and then the shell says connected to some_host_name escape character is ...
3
votes
1answer
16 views

Reassemble images forwarded though Linux router?

In 2003-2004 I used a Linux app that reassembled images from HTTP traffic forwarded through a Linux router, displaying them live. Just a command line app that threw up an X window, showing the images ...
1
vote
1answer
32 views

Apache Web Server Load Testing ( Running on Centos6) [closed]

How can i easily test how many requests my web server ( Apache) setup can handle without dropping a connection or timing out. Is there any simple bash script or i have to use some sophisticated ...
0
votes
0answers
32 views

Scanning files over http by suricata or snort

I want to use IDS or IPS system like Snort or Suricata for the purpose of scanning files which are send by HTTP (or different way). Let's assume that files are not encrypted by the way. Any rule or ...
0
votes
1answer
36 views

can not access HTTP site with squid3

I have a problem here, i have installed squid3 but it cant access http site like http://kompas.com , but it can access https like https://google.com here is my squid.conf #acl localnet src ...
0
votes
1answer
24 views

Can't access web sites when running iptables script!

I have wrote script for protecting my machine: #!/bin/bash ssh=1.1.1.1 http='1.1.1.1 2.2.2.2' # Clear any previous rules. iptables -F # Default drop policy. iptables -P INPUT DROP iptables -P ...
1
vote
1answer
39 views

Managing iptables for specific ips and ports

I disable firewall like so: #!/bin/bash iptables -F iptables -X iptables -P INPUT ACCEPT iptables -P OUTPUT ACCEPT iptables -P FORWARD ACCEPT Update I also enable my firewall: #!/bin/bash ...
0
votes
0answers
42 views

Google Drive HTTP Error when downloading .zip file with Firefox

I'm using openSUSE 42.1 and opened a fresh install of Firefox, but somehow when I try to download a zip file from my Google Drive, an error is shown: Could not download "[filename]". HTTP error. ...
0
votes
0answers
82 views

wget failing with 404 File not found

I have two instances of jboss running on the same server with two different ports. ( 8280 & 10580). I am facing issue while downloading a file using wget on Port 10580 , but the file is getting ...
0
votes
0answers
17 views

How to enable http for Synology via ssh

I have problems connecting to my Synology NAS via https, to fix it I'd like to connect to the NAS by HTTP, but it's currently disabled. Is there a way to enable HTTP connections from terminal ...
2
votes
2answers
51 views

Find IP owners from apache log file

I have the top 10 IPs making the most requests and the number of requests made from Apache log file example. I used this bash command to handle a request: cat access_log|cut -d' ' -f1|uniq -c|sort ...
1
vote
1answer
80 views

GET URI from webserver by IP address not matching hostname's IP

Using curl, I would like to request a URI from a web server via a specific IP address that does not necessarily match the forward DNS of the hostname. For example, suppose the hostname ...
0
votes
2answers
26 views

Apache map a port to a public directory

I have this directory in a vm /www/app1 and I want to be able to go to http://192.168.1.1:7778 and go to that directory how do I configure that using CentOS 7 minimal install? I just went through ...
0
votes
1answer
45 views

Download files from the file with same path directory

I need a simple command/script which allows me to download hundreds of files from the file in the same path structure as on the remote server. For example: ...
1
vote
2answers
60 views

99% file download

We have server under Ubuntu 12.04 with Apache HTTP 2.2 installed there. Kernel 3.2.0. Faced with weird behavior during dowloading some files. Virtualhost config: <Directory /var/www/name/*> ...
1
vote
1answer
37 views

Mount HTTP directory on Raspbian?

Is there a way to mount an HTTP resource in Raspbian (default Raspberry Pi OS)? I have an HTTP server hosting music, and I would like to be able to have read-only filesystem access to that music on ...
0
votes
2answers
79 views

How to get the contents of a webpage but after running javascript?

I am trying to download the contents of a web page using curl but it seems l am missing some content that l suspect to be generated by JavaScript. If the page runs on the browser l am able to get all ...
0
votes
1answer
102 views

Puppet Master: TCPServer Error: Address already in use - bind(2) - WEBrick 1.3.1

I rebooted Puppet Master several times but always this error [root@puppet-master04 ~]# service httpd restart Stopping httpd: [ OK ] Starting httpd: ...
1
vote
4answers
493 views

how am i able to telnet to http port 80

After searching in google I found out that we can telnet to web-server to its http port and use GET to retrieve a html page. For ex: $ telnet web-server-name 80 But I am not able to understand ...
0
votes
2answers
19 views

try download a file from server if the pathname is known

I access a webpage by this url http://someRandomName.no.meaning:20025/hello.html The location of the hello.html that is displayed is /var/some/fulder/hello.html. (I mean in the server it is ...
6
votes
3answers
611 views

Using telnet to get website header

I have question, is it possible to get header of website by using telnet? Website looks like this domain.name.server.com/~USER (just example). And I want to get it header by telnet. telnet ...
0
votes
1answer
44 views

Unwanted and or Abusive Web Requests

We have been contacted by our server host provider about Unwanted and or Abusive Web http Requests going out from our server. The information they gave us are. Block Type: New Ban Time: 2015-10-01 ...
1
vote
1answer
39 views

Iptables dropping HTTP 302 packages contain suspicious domain string

The HTTP 302 packages I want to block have: Header HTTP/1.1 302 Found Location: ...
0
votes
3answers
59 views

Call an URL on debian from command shell

I need a command which will just send http request to required web directory? Does something like this exist?
0
votes
1answer
50 views

Browser (HTTP client) with support of bzip2 or lzma2 compression?

What browsers (HTTP clients) support HTTP compression using bzip2 or lzma2? (HTTP compression for page requests) I have only heard of Firefox patch, but I am not sure if it actually supports ...
0
votes
0answers
30 views

How do I create a deflate file suitable for HTTP?

Say I have index.html. How do I obtain index.html.deflate appropriate for serving through HTTP with the "deflate" encoding? I am coding a simple web server and I don't want to implement streaming ...
1
vote
1answer
90 views

Large downloads interrupted on nginx reload

I'm running nginx 1.9.3. When downloading a large file (in this case, 1GiB), and reloading nginx via "nginx -s reload", the download gets interrupted in numerous browsers, including (but potentially ...
3
votes
0answers
95 views

Using socat to Tunnel/Proxy TCP want to split send/receive into separate files

I'm using socat to dump plain TCP (e.g. HTTP) traffic: socat -v tcp-listen:$PORT,reuseaddr,fork,keepalive tcp:$TARGET_HOST:$TARGET_PORT At the moment all send and receive traffic is dumped into ...
1
vote
1answer
239 views

logrotate every 2 hours

I'm trying to make httpry logs every 2 hours. I added this to my logrotate.conf file: /var/log/httpry/*.log { rotate 1 weekly create 640 root admin missingok notifempty } I ...
1
vote
1answer
140 views

Redirect outbound traffic on LAN going to port 443 to port 80 or 8080 instead

How would I achieve this, I've tried using iptables a bit but have had no success at all. Any help at all would be appreciated. I basically just want it so that whenever a user on my LAN attempts to ...
6
votes
1answer
538 views

IPtables - new vs new, established, related

I'm «pretty» new to IPtables, or I have used IPtables a few years, but never with advanced features. I understand the concept of stateful IPtables rules, but recently I discovered that some people ...
1
vote
3answers
504 views

echo text after curl command on same line

#!/bin/bash echo "$(curl -s -I https://google.com|grep Server)" abc returns: abcer: gws and bash -x shows: ++ grep Server ++ curl -s -I https://google.com ' abco 'Server: gws abcer: gws but ...
0
votes
1answer
184 views

Using curl with xargs connection hanging sometimes - any way to retry?

echo $LIST | xargs -I{} -n 1 -P 8 sh -c 'curl -o backup.dump http://url.com' I am running this for a large amount of files (around 300). After a while, sometimes curl hangs and won't progress for a ...
1
vote
0answers
153 views

Bash CGI script won't run [closed]

I have made a webpage to control the GPIO pins of my raspberry pi to control a rc car. I use cgi scripts written in bash. I can let the car drive forwards with this script: #!/bin/bash gpio -g write ...
1
vote
1answer
149 views

Upload from shell to HTTP Server

I use scp command to upload file from my local computer to my ftp server is there any tools to do the same thing with http server (like Apache server ) like scp do ?
1
vote
1answer
310 views

get original creation date of html file

Can I find the creation/last modified date of an html file? For example, I would like to know when some index.html file from some website was created, not when I downloaded it.
3
votes
3answers
101 views

How can I list every port serving a web page

I have a number of servers, all with various HTTP(S) services accessible on a variety of ports. It's incredibly difficult to keep track of which service is available under which host and what port. ...
0
votes
1answer
40 views

Apache ReverseProxy ssl

I have the following ReverseProxy set up which works for http requests: NameVirtualHost *:80 <VirtualHost *:80> ServerName sub.domain.com ProxyRequests Off ProxyVia Off <Proxy *> Order ...
0
votes
0answers
50 views

Aria2 download html page

I'm trying to download a video using aria2, but it download the html page of the link instead the video. I've also tried the link from browser and I can download it normally. Why?
0
votes
2answers
358 views

How to simulate periodically clicking a button on a webpage?

I need to go to a webpage, and click a button (called "Generate Daily Trends", as shown in the picture below), and click it again every 1 minute. Is there any way (e.g., script or code) that I can ...
1
vote
1answer
215 views

How to get the http dump of a website and the header both from a single curl command?

I have to fetch a website (multiple redirections possible using -L) and save the html content in a file named as [HTTP_Status_code]_[Website_name].html Currently I am using two curl calls one for the ...
1
vote
0answers
104 views

why do I have so many open socket handlers and netstat DGRAM entries?

I run on a RPi (Raspbian 3.12.35+ #730 PREEMPT Fri Dec 19 18:31:24 GMT 2014 armv6l GNU/Linux) a daemon in Python 2.7.8 which queries various APIs via requests and provides itself an API for another ...
0
votes
0answers
317 views

Best way to transparently redirect traffic to proxy

I've implemented a wireless router using hostapd on Debian Wheezy running on a Banana-PI. To access the internet, this router is attached to another network that I haven't any control of via ethernet. ...
0
votes
2answers
485 views

linux curl POST request not working

I am trying to make a POST request using curl to retrieve exam results from the page : result odd .... I am using the following syntax but various errors are showing up (like content has moved ...
2
votes
1answer
324 views

Problem with pkg behind a chunking proxy

I have a freshly installed FreeBSD 10.1 at work in a VM. As it is behind a corporate proxy, I had to set HTTP_PROXY in environment and it began to run fine. But no way to get pkg to work correctly. I ...
0
votes
2answers
110 views

Simple http server from the command line that will always cause a timeout

Regarding the question Simple command line http server I would like to know, what is the simplest method for creating a http server listening on a specified port that will always cause timeout (it ...
0
votes
0answers
34 views

Tinymce with SSL: blank pop-ups

I am running Mezzanine with the main site on http and the admin site on https powered by Nginx. I have set up these in the local_settings.py file: SSL_ENABLED = True SSL_FORCE_URL_PREFIXES = ...
2
votes
0answers
116 views

TCP, UDP, etc. works, HTTP(S) does not

I have been trying to set up Debian Jessie on an old Dell Inspiron 300m. Right now the problem I have is, the ethernet connection only works partially. ICMP works. I can ping IPs and FQDNs. UDP ...
0
votes
0answers
163 views

web container options for war file in CentOS 7

I know that Tomcat and NginX are both able to host web applications that are defined by war files. But can httpd also host a war-file-based web application on a CentOS 7 server? If so, how would you ...
1
vote
0answers
207 views

Grab http requests by lynx

I need to grab and debug all HTTP-requests and responds which i make from lynx or another text-based browser. How can i save all request url's, redirects, headers and page sources for analyze and ...