Project

General

Profile

Actions

Feature #1344

closed

[PATCH] small tweak to inject remote ips into mod_magnet to allow htaccess-style IP filtering

Added by Anonymous over 16 years ago. Updated almost 15 years ago.

Status:
Fixed
Priority:
Normal
Category:
mod_magnet
Target version:
-
ASK QUESTIONS IN Forums:

Description

Since lighttpd doesn't have htaccess, I was looking to use mod_magnet to filter IPs. However, I didn't find any global variable that provided the remote IP to Lua so I tweaked mod_magnet to do so.

-- sprewell


Files

mod_magnet-remoteip.patch (256 Bytes) mod_magnet-remoteip.patch patch to inject remote IPs into mod_magnet -- sprewell Anonymous, 2007-09-09 11:02
mod_magnet-remoteip.2.patch (428 Bytes) mod_magnet-remoteip.2.patch patch to inject remote IPs into mod_magnet (fixed so the changes show up highlighted in trac) -- sprewell Anonymous, 2007-09-09 11:12
mod_magnet-remoteip_formatted.patch (413 Bytes) mod_magnet-remoteip_formatted.patch patch to inject remote IPs into mod_magnet (trying to fix so the changes show up highlighted in trac one last time) -- sprewell Anonymous, 2007-09-09 11:28

Related issues 1 (0 open1 closed)

Is duplicate of Feature #1740: remoteip support for mod_magnetFixedicyActions
Actions #1

Updated by ts77 over 16 years ago

To the devs: is there any chance that this tweak can make it really into 1.4.19?
This could really help to mimic some .htaccess behaviour!

Actions #2

Updated by Anonymous over 16 years ago

+1 - looking at mod_magnet for selective IP blocking

-- jbyers

Actions #3

Updated by norganna about 16 years ago

I have added a patch over at #1307 that covers this issue as well.

Actions #4

Updated by stbuehler over 15 years ago

  • Target version changed from 1.4.20 to 1.4.21
Actions #5

Updated by icy about 15 years ago

  • Target version changed from 1.4.21 to 1.4.22
  • Patch available set to Yes
Actions #6

Updated by stbuehler about 15 years ago

  • Target version changed from 1.4.22 to 1.4.23
Actions #7

Updated by exe almost 15 years ago

  • Assignee deleted (jan)
  • Target version deleted (1.4.23)

Should be the same which was fixed here: http://redmine.lighttpd.net/issues/1740

Actions #8

Updated by icy almost 15 years ago

  • Status changed from New to Fixed
  • Priority changed from High to Normal

Thanks for mentioning exe.

Actions

Also available in: Atom