Welcome! Log In Create A New Profile

Advanced

Dumping request metadata to local port

December 11, 2019 02:32PM
Hi,

I am relatively new to NGINX module development so I apologize if the question may seem trivial.

I would like to dump data/metadata about certain requests that my nginx server receives for a certain location/ config. Can I write a module that creates a regular C udp socket as well as a handler that works as one of the content phase handlers and dumps the data I want to the localhost port using the socket.

Is this safe to do in the first place? Is there any other quicker or easier way to do what I want?
Subject Author Posted

Dumping request metadata to local port

roshansh December 11, 2019 02:32PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 94
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready