Project

General

Profile

Feature #1344

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

Added by Anonymous about 12 years ago. Updated over 10 years ago.

Status:
Fixed
Priority:
Normal
Assignee:
-
Category:
mod_magnet
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Missing in 1.5.x:

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

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

Is duplicate of Feature #1740: remoteip support for mod_magnetFixed

Actions

History

#1

Updated by ts77 almost 12 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!

#2

Updated by Anonymous almost 12 years ago

+1 - looking at mod_magnet for selective IP blocking

-- jbyers

#3

Updated by norganna over 11 years ago

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

#4

Updated by stbuehler almost 11 years ago

  • Target version changed from 1.4.20 to 1.4.21
#5

Updated by icy over 10 years ago

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

Updated by stbuehler over 10 years ago

  • Target version changed from 1.4.22 to 1.4.23
#7

Updated by exe over 10 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

#8

Updated by icy over 10 years ago

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

Thanks for mentioning exe.

Also available in: Atom