Tags:
create new tag
, view all tags
Sometimes you would like to find the IP address of a user (e.g. a student of a university site that has made some damage).

Often they are hidden beyond a proxy and you find in the wiki logs only the proxy IP.

To get the user's IP from a non-anonimizer Proxy you can change a line both in TWiki.pm and Store.pm

    my $remoteAddr = $ENV{'HTTP_X_FORWARDED_FOR'} || $ENV{'REMOTE_ADDR'} || "";

-- AndreaSterbini - 24 Jun 2003

This isn't sufficient. (I don't have a need at this time to put a better fix in, but this is in case someone else needs it) The X-Forwarded-For header was introduced by squid, and at around the same time various other people implemented different things including X-Client-IP and Client-IP. FWIW, I can think of several large groups of users who would actually need the above to be looking for a Client-IP header instead.

-- MichaelSparks - 24 Jun 2003

This sounds like a feature enabled by a new flag in TWiki.cfg.

-- PeterThoeny - 24 Jun 2003

I might work on this. After taking the idea of hacking the WIKIWEBLIST I've started making local webs have customisable front ends. (Default is simple/friendly, but if a user sets preferences they can make it spartan, hostile/etc) Clearly however I don't want my UI choice changing things that for other people... (This is of course an interaction between the feature musing above and remember remote user.)

-- MichaelSparks - 09 Jul 2003

Edit | Attach | Watch | Print version | History: r4 < r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r4 - 2003-07-09 - MichaelSparks
 
  • Learn about TWiki  
  • Download TWiki
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2017 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.