Home Private Messages Search
CPG Dragonfly™ CMS stopsoftwarepatents.eu petition banner
Toggle Content
 
Forums ⇒ DragonflyCMS ⇒ Problems AFTER Install/Upgrade ⇒ [fixed] IPs entered on security page become 127.255.255.255


[fixed] IPs entered on security page become 127.255.255.255
Issues that happen after DragonflyCMS upgrade/install.
DO NOT post module installation issues here!

Go to page 1, 2  Next
Post new topic    Reply to topic    Printer Friendly Page     Forum Index ⇒  Problems AFTER Install/Upgrade

View previous topic :: View next topic  
Author Message
brainchaos
Newbie
Newbie

Offline Offline
Joined: Apr 02, 2008
Posts: 2

PostPosted: Wed Apr 02, 2008 4:21 am
Post subject: [fixed] IPs entered on security page become 127.255.255.255

I just upgraded to 9.2.1 from, um, some version that didn't include the Security page. I tried to ban an IP, and when I enter it, what ends up in the ban list is "127.255.255.255". I determined that this happens on any IP entry field in Security.

I tried looking at admin/security.php, but my PHP skills are pretty much nil. Any clue what's going on here?


brainchaos's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
FreeBSD c7 6.3-RELEASE/x.x/5.0.51a/4.4.8/9.2.1
Back to top
View user's profile Visit poster's website
NanoCaiordo
Developer
Developer

Offline Offline
Joined: Jun 29, 2004
Posts: 3878
Location: Melbourne, AU
PostPosted: Wed Apr 02, 2008 5:00 am
Post subject: Re: All IPs entered on security page become 127.255.255.255

Forums != bug reports.

_________________
.:: I met php the 03 December 2003 :: Unforgettable day! ::.

Linux 64bit / Apache 2.2 / PHP 5.4 / MySQL 5.5.22 / v9, v10
Linux 32bit / Apache 2.2 / PHP 5.3.10 / MySQL 5.5.22 / v9, v10
Windows 64bit / IIS 7.5 / PHP 5.3.10 / MySQL 5.5.22 / v9, v10


NanoCaiordo's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
mixed
Back to top
View user's profile Visit poster's website Photo Gallery
brainchaos
Newbie
Newbie

Offline Offline
Joined: Apr 02, 2008
Posts: 2

PostPosted: Wed Apr 02, 2008 5:51 pm
Post subject: Re: All IPs entered on security page become 127.255.255.255

NanoCaiordo wrote:
Forums != bug reports.

I submitted it to the forums, because I thought there was a possibility I had configured something wrong, since this is a rather blatant error, that nobody else seems to have hit (based on thorough forum searches)*. And I posted it in Security rather than this forum because while it was after an upgrade, it was after an upgrade from a version without the Security page.


* Actually, one person seems to have hit it, but was ignored because his English was poor.


brainchaos's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
FreeBSD c7 6.3-RELEASE/x.x/5.0.51a/4.4.8/9.2.1
Back to top
View user's profile Visit poster's website
Phoenix
• Many Posts •
• Many Posts •

Offline Offline
Joined: Apr 19, 2004
Posts: 8799
Location: Netizen
PostPosted: Wed Apr 02, 2008 10:43 pm
Post subject: Re: All IPs entered on security page become 127.255.255.255

Please provide a bug report.

People also get ignored because they don't provide verifiable web addresses or DF version etc.

(an odd but true observation - poor english seems to be more common from the english speaking countries)


Phoenix's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Back to top
View user's profile Visit poster's website Photo Gallery
Nismo
Newbie
Newbie

Offline Offline
Joined: May 21, 2008
Posts: 17
Location: Southern Oregon, USA
PostPosted: Thu Oct 08, 2009 8:42 pm
Post subject: BUMP -- All IPs entered become 127.255.255.255, unresolved?

*bump*

I apologize for bumping a post, however I am having issues
trying to report a bug - I hit report a bug, it brings me
directly to the search-first screen, with no link to
actually file a report.

Perhaps that's a bug?

Back on topic:
The case in which brainchaos brought up as the topic of this
thread, is the same issue that I am now having.
Whenever I add an IP to the IP manager within the site, it
lists the IP 127.255.255.255, instead of what I enter into
the field. This happens for both single IPv4 & IPv4 Ranges.
Not all are like this, only the last 5 IP's that I have
banned (due to open forum spam). (/admin.php?op=security&ips)

I would like to know if this is simply a visual display
error, or if the IP's I submit to the ban list are NOT being banned... for the time being I am using our host's IP deny
manager, however I would like to be able to restore use of DF's IP manager.

Currently using
DragonflyCMS 9.2.1 (latest version)
Apache version 2.2.13 (Unix)
PHP 5.2.11
SQL 5.0.81
No changes have been made in a few months, this just
randomly started happening with the last few IP's I have
attempted to ban.

I have included a screen shot of what I am referring to
www.xtremist-2.com/nis...{expletive removed}.jpg

Is there anything I can do to resolve this? A search of the
forums simply turned up this thread, as well as another
poor-English thread that seems to have been ignored for the
most part, both of which with no resolutions.

Any and all help is appreciated.

PS - If somebody could find me the appropriate link to the
bug report form, I will gladly file this as a report and not
a post. I bumped this post in an effort to consolidate the
issue, instead of creating another thread of the same
subject. My apologies, I can't seem to figure out the bug
report. Sad

_________________
Nismo
www.Xtremist-2.com - Website Admin; Co-Founder
soda.datsun510.com - Website Admin; Founder

Nismo's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Linux / Apache 2.0 / SQL 5.0.45 / PHP 5.2.6 / CMS 9.2.1
Back to top
View user's profile Visit poster's website MSN Messenger
Dizfunkshunal
Platinum Supporter
Platinum Supporter

Offline Offline
Joined: Mar 23, 2006
Posts: 2064

PostPosted: Fri Oct 09, 2009 12:56 am
Post subject: Re: All IPs entered on security page become 127.255.255.255

the link is there but does not stand out. Smile

[djmaze]Removed link

_________________
Diz Web Design Status: Open (Use of resources requires registration.)

Dizfunkshunal's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Multiple Setups
Back to top
View user's profile Send e-mail Visit poster's website Yahoo Messenger
DJ Maze
Developer
Developer

Offline Offline
Joined: Apr 19, 2004
Posts: 5683
Location: http://tinyurl.com/5z8dmv
PostPosted: Fri Oct 09, 2009 7:36 pm
Post subject: Re: BUMP -- All IPs entered become 127.255.255.255, unresolved?

Nismo wrote:
I apologize for bumping a post, however I am having issues
trying to report a bug - I hit report a bug, it brings me
directly to the search-first screen, with no link to
actually file a report.

Perhaps that's a bug?

Because it is wisely to search first.
If someone already reported a similar bug, yours gets deleted very soon.

That's why the link is less visible so that people search first and then get presented with a "post bug..."

_________________
There are two paths, the short one and the long one.
When you choose the short path you will notice it takes longer then the long path.
So READ the FAQ and Wiki first Razz

DJ Maze's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Fedora 15 / 2.2.22 / 5.5.20 / 5.3.10 / CVS
Back to top
View user's profile Visit poster's website Yahoo Messenger Photo Gallery
greenday2k
Forum Admin
Forum Admin

Offline Offline
Joined: Aug 11, 2005
Posts: 489
Location: CO
PostPosted: Sat Oct 10, 2009 7:07 pm
Post subject: Re: All IPs entered on security page become 127.255.255.255

This seems to be caused by the type of field on your SQL table:
cms_security* (not sure)? The field maybe is "int" but should have been "int unsigned".

_________________
www.greenday2k.net


greenday2k's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Back to top
View user's profile Visit poster's website MSN Messenger Yahoo Messenger
hqarrse
Diamond Supporter
Diamond Supporter

Offline Offline
Joined: Mar 20, 2005
Posts: 177

PostPosted: Thu Jan 07, 2010 3:15 pm
Post subject: Re: All IPs entered on security page become 127.255.255.255

I have this problem on my live system, but not on my local test system. Everything should be identical - the files certainly are and the database table definition also is. The content is now about a month's worth of use different.

I did think this may be related to Forums Plus (I just upgraded), but it's not - I also have it on my older 9.2.1 running the standard forums. I don't know when I started getting the problem as I have only just tried banning for the first time in a good long while.

I haven't posted a bug as given the fact that it works locally but not online it may not be a bug at all but some other strange factor.

Any ideas? Thanks

_________________
Olive Net
British Army
Royal Navy
Military Clothing and Equipment - This Tribe

hqarrse's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Slackware 12 / CentOS, PHP 5.6, MySQL 5, Apache 2
Back to top
View user's profile Send e-mail Visit poster's website
NanoCaiordo
Developer
Developer

Offline Offline
Joined: Jun 29, 2004
Posts: 3878
Location: Melbourne, AU
PostPosted: Thu Jan 07, 2010 9:47 pm
Post subject: Re: All IPs entered on security page become 127.255.255.255

Using a local 32bit OS but a 64bit server?

PHP used?

DragonflyCMS version?

Whats the result when diffing database structures?

_________________
.:: I met php the 03 December 2003 :: Unforgettable day! ::.

Linux 64bit / Apache 2.2 / PHP 5.4 / MySQL 5.5.22 / v9, v10
Linux 32bit / Apache 2.2 / PHP 5.3.10 / MySQL 5.5.22 / v9, v10
Windows 64bit / IIS 7.5 / PHP 5.3.10 / MySQL 5.5.22 / v9, v10


NanoCaiordo's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
mixed
Back to top
View user's profile Visit poster's website Photo Gallery
hqarrse
Diamond Supporter
Diamond Supporter

Offline Offline
Joined: Mar 20, 2005
Posts: 177

PostPosted: Fri Jan 08, 2010 10:24 am
Post subject: Re: All IPs entered on security page become 127.255.255.255

Both 64 bit processors and 64 bit OS. Local Ubuntu, server CentOS.

Both local and server are using 9.2.1, both with Forums Plus.

2nd live site is 9.2.1, but with standard forums and has the same problem.

Local running PHP 2.2.0 plus Zend Optimizer (needed for another site)

Remote running PHP 2.1.0 with eAccelerator.

I will install eAccelerator locally to see if this could be a cause. Otherwise I wonder if there is a DNS difference. I might be able to test this by tunneling in to my remote server and seeing if it affects the local version.

_________________
Olive Net
British Army
Royal Navy
Military Clothing and Equipment - This Tribe

hqarrse's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Slackware 12 / CentOS, PHP 5.6, MySQL 5, Apache 2
Back to top
View user's profile Send e-mail Visit poster's website
hqarrse
Diamond Supporter
Diamond Supporter

Offline Offline
Joined: Mar 20, 2005
Posts: 177

PostPosted: Fri Jan 08, 2010 10:27 am
Post subject: Re: All IPs entered on security page become 127.255.255.255

Database structures are identical.

_________________
Olive Net
British Army
Royal Navy
Military Clothing and Equipment - This Tribe

hqarrse's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Slackware 12 / CentOS, PHP 5.6, MySQL 5, Apache 2
Back to top
View user's profile Send e-mail Visit poster's website
hqarrse
Diamond Supporter
Diamond Supporter

Offline Offline
Joined: Mar 20, 2005
Posts: 177

PostPosted: Fri Jan 08, 2010 2:56 pm
Post subject: Re: All IPs entered on security page become 127.255.255.255

Tested eaccelerator - doesn't affect anything.

_________________
Olive Net
British Army
Royal Navy
Military Clothing and Equipment - This Tribe

hqarrse's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Slackware 12 / CentOS, PHP 5.6, MySQL 5, Apache 2
Back to top
View user's profile Send e-mail Visit poster's website
NanoCaiordo
Developer
Developer

Offline Offline
Joined: Jun 29, 2004
Posts: 3878
Location: Melbourne, AU
PostPosted: Fri Jan 08, 2010 3:57 pm
Post subject: Re: All IPs entered on security page become 127.255.255.255

is ip2long32 function in cmsinit.inc?

are you entering the same ip? whats the ip?

try to clean the administration from blocks

comparing even table's columns type (specially security tables)?

_________________
.:: I met php the 03 December 2003 :: Unforgettable day! ::.

Linux 64bit / Apache 2.2 / PHP 5.4 / MySQL 5.5.22 / v9, v10
Linux 32bit / Apache 2.2 / PHP 5.3.10 / MySQL 5.5.22 / v9, v10
Windows 64bit / IIS 7.5 / PHP 5.3.10 / MySQL 5.5.22 / v9, v10


NanoCaiordo's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
mixed
Back to top
View user's profile Visit poster's website Photo Gallery
hqarrse
Diamond Supporter
Diamond Supporter

Offline Offline
Joined: Mar 20, 2005
Posts: 177

PostPosted: Fri Jan 08, 2010 7:53 pm
Post subject: Re: All IPs entered on security page become 127.255.255.255

database tables identical.

The first 8 bits is the critical part - IPs up to 127.x.x.x work OK. 128.x.x.x will cause the 127.255.255.255 erroneous entry.

I've removed all blocks from the admin. No change. No debug errors.

Function is there, but it can't be the files in theory anyway - both the local and server versions are running the exact same version from a subversion repository.

I'll have a deeper look tomorrow.

_________________
Olive Net
British Army
Royal Navy
Military Clothing and Equipment - This Tribe

hqarrse's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Slackware 12 / CentOS, PHP 5.6, MySQL 5, Apache 2
Back to top
View user's profile Send e-mail Visit poster's website
Display posts from previous:   
Post new topic    Reply to topic    Printer Friendly Page    Forum Index ⇒  Problems AFTER Install/Upgrade
Page 1 of 2
All times are GMT
Go to page 1, 2  Next



Jump to:  


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum


 
   Toggle Content User Info

Welcome Anonymous

Nickname
Password
(Register)

   Toggle Content Last CVS commits
· Fixed .ico Expires header.
· Removed domain name from cookies so subdomains wont access them anymore.
· CSS and JS, case insensitives.
· CSS and JS, send correct HTTP 1.1 headers and fixed issues where themes and...
· Further security class improvements.
· 301 redirects on LEO changes
· Option to force 3xx http status codes
· Validate googlebot.com and google.com crawlers.
· CCBot
· Rss with etag and atom.

קרא יותר...

   Toggle Content Community

Support for DragonflyCMS in a other languages:

Deutsch
Español

   Toggle Content X-links
UltraEdit Browse Happy logo Firefox MySQL PostgreSQL Valid CSS! Valid XHTML 1.0! Unicode Encoded Badge NukeBiz Resources Raven DragonflyCMS Dedicated Now InsideSupport Lampe Berger

You are seeing squares or questionmarks on this page?

All content of this website is copyrighted by the Creative Commons NC-SA
The logos and trademarks used on this site are the property of their respective owners
We are not responsible for comments posted by our users, as they are the property of the poster.
Our server runs on a P3 1.2GHz with 512MB RAM with no accelerators
Support GoPHP5.org
Interactive software released under GNU GPL, Code Credits, Privacy Policy