Advanced search  

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Pages: [1]   Go Down

Author Topic: What is msg_hdr_ip?  (Read 4187 times)

0 Members and 1 Guest are viewing this topic.

redhair

  • Contributor
  • Coppermine novice
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 27
    • subMerged
What is msg_hdr_ip?
« on: October 20, 2006, 03:53:35 pm »

Just a small question related to my hunt for banning a spammer.
« Last Edit: October 20, 2006, 11:07:34 pm by GauGau »
Logged
redhair

Swim around in subMerged.

Nibbler

  • Guest
Re: What is msg_hdr_ip?
« Reply #1 on: October 20, 2006, 06:23:31 pm »

The IP address of the comment poster.
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: What is msg_hdr_ip?
« Reply #2 on: October 20, 2006, 08:09:16 pm »

Regular support question. Belongs into support board. Moving accordingly.
Logged

redhair

  • Contributor
  • Coppermine novice
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 27
    • subMerged
Re: What is msg_hdr_ip?
« Reply #3 on: October 20, 2006, 08:13:15 pm »

ok .. the ip, but I also spot (many different) IP's at msg_raw_ip.
Whats the difference between both?
Logged
redhair

Swim around in subMerged.

Nibbler

  • Guest
Re: What is msg_hdr_ip?
« Reply #4 on: October 20, 2006, 08:17:37 pm »

What do you mean?
Logged

redhair

  • Contributor
  • Coppermine novice
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 27
    • subMerged
Re: What is msg_hdr_ip?
« Reply #5 on: October 20, 2006, 08:25:47 pm »

I see in mysql two rows related to IP's.
One beeing msg_raw_ip and the other msg_hdr_ip.
I am beeing honoured by a spammer that likes to leave comments on my photography.
The field 'msg_raw_ip' is always different, while msg_hdr_ip continous to be the same (of that same user).
So I was wondering..
I guess my spammer found a way to have different msg_hdr_ip's, but cannot escape from msg_raw_ip.
Logged
redhair

Swim around in subMerged.

Nibbler

  • Guest
Re: What is msg_hdr_ip?
« Reply #6 on: October 20, 2006, 08:31:20 pm »

raw ip is from $_SERVER['REMOTE_ADDR']
header ip is from $_SERVER['HTTP_X_FORWARDED_FOR'] if available.
Logged

redhair

  • Contributor
  • Coppermine novice
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 27
    • subMerged
Re: What is msg_hdr_ip?
« Reply #7 on: October 20, 2006, 08:41:21 pm »

Thank's!

Is there a mod that will hang the spammer by it's balls? (not a serious question).

It's very frustrating to have my pictures commented with the kind of comments he leave...
Logged
redhair

Swim around in subMerged.

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: What is msg_hdr_ip?
« Reply #8 on: October 20, 2006, 10:14:11 pm »

As suggested various times, there are 4 options to fight the spam problem:
1) Disable anonymous comments
2) Apply the captcha plugin or mod
3) Apply the Akismet mod
4) If you're adventurous and not afraid of alpha-stage software, check out the devel branch of the SVN and use the comment approval feature there (keep in mind that the devel version goes completely, utterly unsupported)
Logged

redhair

  • Contributor
  • Coppermine novice
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 27
    • subMerged
Re: What is msg_hdr_ip?
« Reply #9 on: October 20, 2006, 10:59:51 pm »

Yeah! thanks for that as well.
I had some oxygen, and feel a lot better now.
I'm gonne have a look at these solutions later on.
Logged
redhair

Swim around in subMerged.

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: What is msg_hdr_ip?
« Reply #10 on: October 20, 2006, 11:08:19 pm »

Another suggestion: don't even bother to ban spammers by IP, they spoof it anyway and will return later with another set of IP addresses.
Logged
Pages: [1]   Go Up
 

Page created in 0.019 seconds with 20 queries.