Questions tagged [http]

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

Filter by
Sorted by
Tagged with
0 votes
0 answers
34 views

ufw rule supposed to block traffic but iptables allows it

As a test I wanted to temporarily block access to my website. So, I deleted http/https rules using ufw delete command. ufw is set to default deny incoming. The only remaining rule is the one allowing ...
Faxopita's user avatar
  • 177
0 votes
1 answer
67 views

Debian (and ubuntu) having throubles in downloading apt-get updates if I use https

As stated in the previous question: How can i force apt-get or apt to use only https connections deb https://deb.debian.org/debian bookworm main deb https://security.debian.org/debian-security ...
user3450548's user avatar
  • 2,816
0 votes
0 answers
59 views

why do I have requests from inside apache server with source ports 80 and 443

On one machine, I have a web server running (apache) and responding on ports 80 and 443. On this machine, I have a firewall (shorewall) that blocks everything except what I authorize, and I therefore ...
Chris972's user avatar
0 votes
0 answers
222 views

How to stream local audio to HTTP

How can I set up a HTTP audio streaming server that I can access on http://localhost:8080 without specialized software or configuration on the local side? (the remote side, which streams the audio, ...
wjwrpoyob's user avatar
  • 420
0 votes
1 answer
50 views

what should be the format of http logs of a proxy?

In this specific case I am using fabio and nginx and apache http proxy that just proxies requests to destinations. Both the "Combined Log Format" and "Common Log Format" do not ...
KamilCuk's user avatar
  • 860
0 votes
1 answer
44 views

Http outperformed Http2 ,why, please help me to figure out?

I'm currently conducting performance testing on my NGINX web server container and I'm encountering some unexpected results. My tests show that HTTP performance is outperforming HTTP/2, despite SSL and ...
Mhd HZ's user avatar
  • 1
1 vote
1 answer
351 views

UEFI HTTP Boot clarity?

I'm interested in learning more about UEFI HTTPBoot and setting it up for my LAN as a netboot option, but the details are notably sparse. The best docs I've found are Suse Docs for configuring an HTTP ...
eriknelson's user avatar
0 votes
1 answer
621 views

A simple command-line utility to show HTTP request/responses on a specific port

I have a simple API that listens on http://localhost:5000 and I have the Nginx as a reverse proxy that listens on https://example.com. I have configured Nginx to send headers to my API: location / ...
Saeed Neamati's user avatar
1 vote
2 answers
435 views

UEFI HTTP boot only: GRUB2 used a mysterious HTTP agent "UefiHttpBoot/1.0" to load initrd and failed to completely read large initrd

I was using GRUB for UEFI PXE boot or UEFI HTTP boot of a Linux Live OS (made by Ubuntu Focal or Bionic or Jammy). I used the same grub.cfg for both methods. It worked well under UEFI PXE boot, but ...
osexp2000's user avatar
  • 472
0 votes
1 answer
892 views

HTTP version for CURL command on server and docker image

When I'm doing a CURL call curl https://example.com from a docker container, I got the error curl: (92) HTTP/2 stream 0 was not closed cleanly: HTTP_1_1_REQUIRED (err 13). But when I'm running the ...
noonenine's user avatar
0 votes
0 answers
140 views

Unable to parse HTTP packet using netfilter hooks in kernel module

I am trying to parse HTTP packets using netfilter hooks in my kernel module. I came across this code snippet on How to print data from TCP packets which I modified to make it build. However, I am ...
goodman's user avatar
  • 101
0 votes
0 answers
91 views

How to use command line to trigger/request a jsp web page?

My friend asked me when need to sync files and then open a webpage like: Http://foo.my_friend_server/request_to_sync.jsp then his program will start the sync operations. but I need to do this in the ...
Mark K's user avatar
  • 843
0 votes
0 answers
15 views

Is the concept of file permission only applicable when access is via shell? [duplicate]

So in Linux we have a concept of file permission. There are three classes: user, group, and others, and there are three types of permissions: read, write, and execute. Now consider this. You are on a ...
Noob_Guy's user avatar
  • 103
-1 votes
1 answer
69 views

Is the concept of file permission only applicable when access is via shell?

So in Linux we have a concept of file permission. There are three classes: user, group, and others, and there are three types of permissions: read, write, and execute. Now consider this. You are on a ...
Noob_Guy's user avatar
  • 103
2 votes
0 answers
263 views

How do you fetch a large file over http in parallel?

Question: Since HTTP supports resuming at an offset, are there any tools (or existing options for commands like wget or curl) that will launch multiple threads to fetch the file in parallel with ...
KJ7LNW's user avatar
  • 313
2 votes
1 answer
483 views

Some secret service is taking over port 80... I can't identify which one?

I have an nginx service that resides on ports 80 and 443 and has done som for years. Yesterday I suddenly just got a plain text page with a 404 page not found message Headers: HTTP/2 404 content-type: ...
JoSSte's user avatar
  • 173
0 votes
0 answers
176 views

Error Trying to load http url using curl

I am beginner. I am trying to load HTTP URL using curl in my Ubuntu terminal. The command I am using is curl -L 'http://google.com' But instead of getting source code. I am getting below error curl: ...
hmmbhaskar's user avatar
1 vote
0 answers
68 views

apache2 crit error file util_ldap.c, line 85, assertion "0" failed

I have simple webservice with one index.html file with hello world And I'm trying to make this website accessible only with LDAP authentication, but when I trying to access website errors start occur....
robotiaga's user avatar
  • 111
0 votes
2 answers
67 views

why iptables commands yield seemingly contradictory results on my embeded Linux?

I'm running an Embedded Linux system, whose kernel is 3.18.21, with some applications on top it on MIPS. When I run iptables & ip6tables on the Linux, such as the following: iptables -A INPUT -p ...
li_jessen's user avatar
  • 203
0 votes
0 answers
353 views

How to redirect all http traffic to Burp Suite?

How to redirect all HTTP requests to Burb Suite? I am using a Ubuntu OS running on VM installed on my macOS machine, and I have tried the following IPTables commands to do that, without success: sudo ...
1n4ho12's user avatar
0 votes
1 answer
201 views

How does it works the "HTTP 101 Protocols Switching" in a client server communication?

I'm developing a web site that is served by the web server NGINX installed on a Linux platform. One of the service provided by the web site is base on a WebSocket backend server. To be more specific ...
User051209's user avatar
1 vote
1 answer
6k views

Curl returning with no response and does not wait for `wait=x seconds`

I call an async service that takes ~80 seconds to respond. I run: curl -v -X POST https://hostname.com/service/v2/predict \ -H 'x-api-key: somekey' \ -H 'x-request-id: longfiles' \ -H "...
Franck Dernoncourt's user avatar
1 vote
0 answers
41 views

Has the target of a HTTP CONNECT tunnel to be reachable from both client and proxy?

I am trying to tunnel ssh via HTTP. My apache virtual host config looks as follows: <VirtualHost *:443> ServerName proxy.example.org ProxyRequests On AllowCONNECT 22 <Proxy *&...
Big X's user avatar
  • 11
0 votes
1 answer
116 views

How to define HTTP_PROXY uppercase as http_proxy lowercase in macos?

How to define HTTP_PROXY uppercase as http_proxy lowercase in macos? Is there a way to set HTTP_PROXY to work similarly as http_proxy?
1n4ho12's user avatar
1 vote
0 answers
930 views

Upload file to SFTP directly from HTTP using cURL

I am struggling with uploading a file to an SFTP from a URL. All steps work independently but when I combine them they seem to be split into two separate tasks, downloading the file and then ...
justClickingButtons's user avatar
0 votes
1 answer
801 views

Intercept and edit http requests on the fly

Is there a tool that'll let me programatically inspect and edit http requests being emitted from my box on the fly? I'm hoping to create the ability to access mirrors of commonly downloaded files when ...
Zain Rizvi's user avatar
1 vote
2 answers
337 views

Print output of httpie command, then pipe to grep

how can I print output of httpie request then pipe to grep to check if request has succeeded or failed? http --print=hb POST http://localhost:8080 | grep -c "HTTP/1.1 200" && echo &...
sc0rp10n.my7h's user avatar
0 votes
1 answer
529 views

how to make sure the proxy works or not in macOS iterm

Now I am set the proxy in .zshrc like this: alias proxy='export all_proxy=socks5://127.0.0.1:7890' and check using the env command in terminal, shows the proxy env value like this: all_proxy=socks5://...
Dolphin's user avatar
  • 589
0 votes
1 answer
34 views

How do I set up my raspberry pi so that I can connect to its ip address via a domain

Let me explain what I want to happen. I have an http server program that displays a website every time I connect to my raspberry pi's ip address on port 8080. But this only works on my current network....
Nick M's user avatar
  • 35
0 votes
0 answers
289 views

firewalld not blocking http and https access

I am running a httpd container on this machine, but http or https aren't enabled on firewalld. But I can still access the website from another machine that is on the same network. Why is this behavior?...
TheRoguePrince's user avatar
0 votes
1 answer
2k views

Curl Parallel requests using links source file

I have this script to go through a list of URLs and the check return codes using Curl. Links file goes like this: https://link1/... https://link2/... https://link200/... (...) The script: INDEX=0 DIR=...
markfree's user avatar
  • 325
0 votes
1 answer
340 views

Server responses with IP Address instead of host name

I have a Backend which is used as a REST API. When I make a request to the server (GET https://subdomain.server.com/users/all) I get this response from the server: GET https://87.69.152.36/users/all ...
Daniel's user avatar
  • 1
1 vote
0 answers
2k views

why could access url using curl but faild in the google chrome broswer

I am config the localhost url in the nginx on macOS like this: ➜ nginx git:(master) cat conf.d/reddwarf-admin.conf server { listen 8083; server_name admin.reddwarf.com; ...
Dolphin's user avatar
  • 589
0 votes
1 answer
472 views

Streaming audio files over HTTP with Media Player Daemon fails - 'Not found'

I'm trying to set up a simple MPD instance to stream audio files over HTTP. What I'd like to be able to do is put in a URL in my browser, which will stream the audio file - as simple as possible. I've ...
takahe's user avatar
  • 1
0 votes
0 answers
174 views

since when CentOS has a welcome page with the default http server

On my network, I have many CentOS VMs with various versions dating from very recently to 10-15 years ago. For some of them I don't have credentials but I want to check if I should keep them by the ...
Noam Yizraeli's user avatar
0 votes
1 answer
225 views

How to obtain data from a site that uses javascript?

What I want is to query metallum to obtain a plain list of songs that contain x word, let's say spider, so the query for the browser would be https://www.metal-archives.com/search?searchString=spider&...
ape1's user avatar
  • 41
0 votes
1 answer
923 views

Open URL as if with browser from command line

I am having roughly the same problem as in this question, where the problem is, there is a certain URL that, when called in the browser, will download a file, but when called from the command line ...
user56834's user avatar
  • 135
0 votes
1 answer
9k views

Return status code and body in curl

Is it possible to use curl to call a REST service (POST method) and get: The HTTP status code. The response body. Other information like headers, methods, etc. are not relevant for my use case and ...
Joe DiNottra's user avatar
0 votes
0 answers
148 views

Sniffing traffic at embedded linux

Are there any sniffers out there? I'm looking for something that can be compiled for an embedded device. Important: I'm not limited in space. Therefore it can be any-size sniffer that can be compiled ...
Higherous's user avatar
1 vote
0 answers
2k views

How to use curl to access a webpage behind a login form?

There is this webpage I'm trying to scrape but it is behind a login form that needs user/password. I used Firefox debug mode to find HTTP requests. Upon entering the credentials, there is a POST ...
Zeta.Investigator's user avatar
-1 votes
1 answer
152 views

Why can't http be changed to https in ubuntu?

Why can't http be changed to https in ubuntu? Err:1 https://ports.ubuntu.com/ubuntu-ports focal InRelease Could not connect to ports.ubuntu.com:443 (91.189.91.38). - connect (111: Connection refused)...
user487583's user avatar
1 vote
1 answer
260 views

Website served on port 80 unreachable from my phone in the local subnet

I'm building a website on my laptop. To see how it renders, I serve it locally on port 80 with lighttpd. I can then open it in my laptop's browser via any IP or URL referring to the laptop http://...
L. Levrel's user avatar
  • 1,473
0 votes
0 answers
126 views

Is it real to redirect http request like this?

e.g. Main server runs nginx and checks http request hostname. If hostname matches exampleX.com - redirects to needed local server with its own nginx on board. Local server returns page content. Is it ...
Alexander's user avatar
0 votes
0 answers
599 views

Compiling curl with http3 - stuck on step with ngtcp2

I'm trying to compile curl with the experimental http3/quic stack. I've read and followed cookbook examples in a couple of places (most specifically here(https://github.com/curl/curl/blob/master/docs/...
Quantum SPCA Cat Protectors's user avatar
1 vote
1 answer
7k views

How to send curl request with post data imported from a file

I have a below curl command which works fine and I get the response back. I am posting json data to an endpoint which gives me response back after hitting it. curl -v 'url' -H 'Accept-Encoding: gzip, ...
David Todd's user avatar
1 vote
1 answer
965 views

PHP shell_exec() Command not found

I need to execute a program using php, the file in question is ClustalW (clustalw2). My apache user is http using fish shell, so I moved clustalw2 to /srv/http/Clustal and added the dir to fish path. ...
reallynewbie's user avatar
-1 votes
1 answer
58 views

Can an open port be hacked to get access to the command line?

Assume I run a custom app on an arbitrary port on a linux box - let's say 7890. This is a go language web server. Runs an app on top of HTTP. No HTTPS. It runs as a dedicated but "normal" ...
transient_loop's user avatar
1 vote
1 answer
520 views

How do I serve *nothing* on a server's bare IP with Apache2 virtual hosts?

I am hosting several project sites on a machine running Apache. Of course I am using virtual hosts and they work as expected. However, currently accessing the bare IP of the machine yields the first ...
MattDahEpic's user avatar
0 votes
1 answer
40 views

nginx re-direct to API server in EC2

I have an EC2 server (in Private subnet) from where I run some Python microservice. From my application running on an Apps EC2 (in public subnet) I am trying to access the Python microservices. I ...
user14013917's user avatar
0 votes
1 answer
662 views

Ubuntu sudo required for listening on port 80 but not on other unused ports

On my Ubuntu desktop, I'm able to successfully run a small C++ webserver on unused ports like this: ./myserver 127.0.0.1 3050 This problem is that if I run on port 80, I must run as sudo like this: ...
Elizabeth Martinez's user avatar

1
2 3 4 5
7