Find Jobs
Hire Freelancers

Develop a simple nginx module to count received http requests for each IP address

€10-100 EUR

Terminado
Publicado hace más de 8 años

€10-100 EUR

Pagado a la entrega
I need a simple nginx module to be developed The module will need to accomplish a simple task: Counting the number of http requests that an IP address does to a website The requirement is to have available in nginx a new variable: $remote_addr_request_count_today It should count the requests filtering them on daily basis E.g. when IP 1.1.1.1 makes the first HTTP request you'll have: $remote_addr_request_count_today=0 second request: $remote_addr_request_count_today=1 and so on... now imagine you'll end in this at the end of the day: $remote_addr_request_count_today=250 But at midnight, or the next day the count will be reset to 0 (you can implement this simply storing the IP+date as an hash in your storage for the counter stats As storage you can use simple flat file writing, SQLite, memcached, mysql or redis (up to you, pick the simpler, flat file should be good enough but needs to be optimized coding to read/write it, to avoid bottlenecks and cuncurrency issues when there's much traffic. Note: nginx modules are written in C, see here for an example to start, it's a module already working on IP addresses and creating new variables, so this example is very good as a starting point for your work: [login to view URL]
ID del proyecto: 9257343

Información sobre el proyecto

4 propuestas
Proyecto remoto
Activo hace 8 años

¿Buscas ganar dinero?

Beneficios de presentar ofertas en Freelancer

Fija tu plazo y presupuesto
Cobra por tu trabajo
Describe tu propuesta
Es gratis registrarse y presentar ofertas en los trabajos
Adjudicado a:
Avatar del usuario
Hi, I have a lot experience in C programming under Linux. I can make this project with best quality and just in time. Regards, Alexander
€69 EUR en 3 días
5,0 (9 comentarios)
3,9
3,9
4 freelancers están ofertando un promedio de €94 EUR por este trabajo
Avatar del usuario
Hello, I have experience with stuff like this, I have implemented something similar for apache. (I didn't work very much with nginx)
€118 EUR en 2 días
5,0 (4 comentarios)
3,6
3,6
Avatar del usuario
A proposal has not yet been provided
€89 EUR en 3 días
3,6 (4 comentarios)
2,2
2,2
Avatar del usuario
Propunerea nu a fost încă furnizată
€98 EUR en 0 día
0,0 (0 comentarios)
0,0
0,0

Sobre este cliente

Bandera de ITALY
Mignano Monte Lungo, Italy
5,0
19
Miembro desde jul 13, 2011

Verificación del cliente

¡Gracias! Te hemos enviado un enlace para reclamar tu crédito gratuito.
Algo salió mal al enviar tu correo electrónico. Por favor, intenta de nuevo.
Usuarios registrados Total de empleos publicados
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Cargando visualización previa
Permiso concedido para Geolocalización.
Tu sesión de acceso ha expirado y has sido desconectado. Por favor, inica sesión nuevamente.