Find Jobs
Hire Freelancers

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

€10-100 EUR

完了済み
投稿日: 8年以上前

€10-100 EUR

完了時にお支払い
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: 9257343

プロジェクトについて

4個の提案
リモートプロジェクト
アクティブ 8年前

お金を稼ぎたいですか?

Freelancerで入札する利点

予算と期間を設定してください
仕事で報酬を得る
提案をご説明ください
登録して仕事に入札するのは無料です
アワード者:
ユーザーアバター
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 3日以内
5.0 (9 レビュー)
3.9
3.9
この仕事に4人のフリーランサーが、平均€94 EURで入札しています
ユーザーアバター
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 2日以内
5.0 (4 レビュー)
3.6
3.6
ユーザーアバター
A proposal has not yet been provided
€89 EUR 3日以内
3.6 (4 レビュー)
2.2
2.2
ユーザーアバター
Propunerea nu a fost încă furnizată
€98 EUR 0日以内
0.0 (0 レビュー)
0.0
0.0

クライアントについて

ITALYのフラグ
Mignano Monte Lungo, Italy
5.0
19
メンバー登録日:7月 13, 2011

クライアント確認

ありがとうございます!無料クレジットを受け取るリンクをメールしました。
メールを送信中に問題が発生しました。もう一度お試しください。
登録ユーザー 投稿された仕事の合計
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
プレビューを読み込み中
位置情報へのアクセスが許可されました。
あなたのログインセッションの有効期限がきれ、ログアウトされました。もう一度ログインしてください。