Skip to main content

Questions tagged [http]

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

Filter by
Sorted by
Tagged with
0 votes
1 answer
21 views

Simple systemd socket activation from HTTP request

I want to use systemd socket activation to start a service whenever an HTTP request is received on the listening socket. The incoming message is not important and can be discarded by systemd or the ...
tsj's user avatar
  • 163
0 votes
0 answers
24 views

Can an HTTP Request work with RSYNC?

So I know RSYNC daemon which negates the usage of SSH in order to send or receive files. However, I'm seeing there's some HTTP GET traffic along with a web-scanning user agent over port 873 to these ...
Linuxnoob's user avatar
0 votes
1 answer
37 views

Bot crawling getting 301/redirects instead of 404 so it's hiding from fail2ban. How is it getting 301 intead of 404?

I have fail2ban setup and it's working great for most scanning. It triggers off any 4xx in the nginx error log. However, note the following bot scan. Somehow THIS bot is triggering my server to return ...
Chris's user avatar
  • 103
0 votes
0 answers
39 views

How to send custom HTTP messages to servers from the Linux command line?

Greetings I've been recently learning the concept of HTTP message sections, due to its importance in the field of socket programming and HTTP server production. I would like to experiment writing ...
KhodeNima's user avatar
  • 101
0 votes
2 answers
30 views

ProxyPass return 404, but one name OK

Good day to all. I'll give you an example, I tried it There are 2 entries for BalanceMember in /etc/hosts. Of course, don’t look at these virtual machines, it’s a black box. All requests return to 404 ...
Tsunani's user avatar
0 votes
0 answers
13 views

Invoke cockpit APIs to obtain stats for network, CPU, and memory

I've installed the base cockpit package on an Ubuntu server, and I'd like to gather network, CPU, and memory stats onto one page. Is there a way to invoke the APIs to obtain - either whole HTML ...
DannyNiu's user avatar
  • 620
0 votes
0 answers
81 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
  • 179
0 votes
1 answer
180 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,944
0 votes
0 answers
96 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
532 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
  • 440
0 votes
1 answer
192 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
46 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
999 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
2k 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
875 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
  • 532
0 votes
1 answer
2k 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
285 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
-1 votes
1 answer
77 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
  • 203
2 votes
0 answers
445 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
  • 495
2 votes
1 answer
841 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
  • 195
0 votes
0 answers
293 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
89 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
109 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
  • 213
0 votes
0 answers
489 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
398 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
9k 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
54 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
140 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
1k 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
1k 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
415 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
714 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
  • 607
0 votes
1 answer
36 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
343 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
3k 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
  • 365
0 votes
1 answer
378 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
3k 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
  • 607
0 votes
1 answer
566 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
232 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
329 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
1k 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
2 answers
14k 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
192 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
3k 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
166 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
319 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,503
0 votes
0 answers
133 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
684 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
9k 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
1k 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
2 3 4 5
7