View Issue Details

IDProjectCategoryView StatusLast Update
0005961Composr[All Projects] General / Uncategorisedpublic2024-09-26 04:01
ReporterAdam EdingtonAssigned To 
SeverityTrivial-bug 
Status non-assignedResolutionopen 
Product Version 
Fixed in Version 
Summary0005961: data_custom/rate_limiter.php
DescriptionThere is a single IP address in this file. What is the purpose of this file and should this IP be in there. It's not mine. I'm not with TalkTalk.
Additional Information<?php

$RATE_LIMITING_DATA=array (
  '92.31.110.27' =>
  array (
    0 => 1713006339,
  ),
);
TagsNo tags attached.
Time estimation (hours)
Sponsorship open

Activities

Patrick Schmalstig

2024-09-26 01:33

administrator   ~0009412

Composr CMS has a rate limiting feature which can be controlled in config_editor.php .

This file stores IP addresses which have been rate-limited (and when).

Adam Edington

2024-09-26 02:24

administrator   ~0009415

Last edited: 2024-09-26 02:42

View 8 revisions

Thanks for the information. I think with there being a single IP in there it was more confusing than if there had been several. Actually thought it might be related to the Composr news RSS or something as the file isn't present in the Git Repo for master/.

I am getting a 404 when trying to access config_editor.php. Not seeing it in Admin Menu's if I'm not supposed to access directly. Okay, it's called Installation options in Menu, so that'll be why I couldn't find it. Logged in, and "The cookie domain must either be blank or start with a dot." Pretty sure it's whatever the default is as I haven't changed anything there.

$SITE_INFO['cookie_domain'] = 'mediafeeder.net';
$SITE_INFO['cookie_path'] = '/';

Stuck a dot in there and I can now access the options. Interestingly, rate limiting is not even selected so no idea why it is active.

Patrick Schmalstig

2024-09-26 03:11

administrator   ~0009416

That is weird. Maybe it was previously active at one point? Or you ran the test suite?

Adam Edington

2024-09-26 04:01

administrator   ~0009420

I never use the test suite, never felt the need. Didn't even know rate limiting was a thing. Just noticed the file in data_custom and was curious.

Issue History

Date Modified Username Field Change
2024-09-25 23:54 Adam Edington New Issue
2024-09-25 23:54 Adam Edington Severity Feature-request => Trivial-bug
2024-09-26 01:33 Patrick Schmalstig Note Added: 0009412
2024-09-26 02:24 Adam Edington Note Added: 0009415
2024-09-26 02:27 Adam Edington Note Edited: 0009415 View Revisions
2024-09-26 02:30 Adam Edington Note Edited: 0009415 View Revisions
2024-09-26 02:32 Adam Edington Note Edited: 0009415 View Revisions
2024-09-26 02:34 Adam Edington Note Edited: 0009415 View Revisions
2024-09-26 02:39 Adam Edington Note Edited: 0009415 View Revisions
2024-09-26 02:42 Adam Edington Note Edited: 0009415 View Revisions
2024-09-26 02:42 Adam Edington Note Edited: 0009415 View Revisions
2024-09-26 03:11 Patrick Schmalstig Note Added: 0009416
2024-09-26 04:01 Adam Edington Note Added: 0009420