Proxy Check

xF2 Add-on Proxy Check 1.4.2

No permission to download

ENXF NET

Administrator
Staff member
Administrator
Moderator
+Lifetime VIP+
S.V.I.P.S Member
S.V.I.P Member
V.I.P Member
Collaborate
Registered
Joined
Nov 13, 2018
Messages
24,714
Points
823

Reputation:

ilona

Collaborate
Collaborate
Registered
Joined
Mar 15, 2023
Messages
93
Points
28

Reputation:

Not working with cf :/
 

BattleKing

Spirit of darkness
Staff member
Administrator
Moderator
+Lifetime VIP+
S.V.I.P Member
Collaborate
Registered
Joined
May 24, 2020
Messages
3,529
Points
523

Reputation:

View previous replies…

Ave12

Active member
Registered
Joined
Jun 8, 2023
Messages
37
Points
18

Reputation:

ok, but this has another fix inside which was requested by some users.

The cloudflare stuff should work too, but I guess it depends on the settings.
BattleKingDoes not work, access to the site is also available when using any vpn
 

BattleKing

Spirit of darkness
Staff member
Administrator
Moderator
+Lifetime VIP+
S.V.I.P Member
Collaborate
Registered
Joined
May 24, 2020
Messages
3,529
Points
523

Reputation:

Does not work, access to the site is also available when using any vpn
Ave12It depends which VPN, some will not be recognized, but if you are admin or a moderator they are not affected ;) and bypass the check.
 

Zer01ne

Collaborate
Collaborate
Registered
Joined
Nov 25, 2022
Messages
720
Points
253

Reputation:

Thanks a lot, it working as I expected!
I deeply admire your skills and efforts.
 

CSAdmin

Member
Registered
Joined
Jun 2, 2022
Messages
14
Points
13

Reputation:

Unfortunately, installing the add-on took my site down and I had to delete the add-on via cPanel. My XF server log has a large number of these entries:

1693315477141.png
 

BattleKing

Spirit of darkness
Staff member
Administrator
Moderator
+Lifetime VIP+
S.V.I.P Member
Collaborate
Registered
Joined
May 24, 2020
Messages
3,529
Points
523

Reputation:

Unfortunately, installing the add-on took my site down and I had to delete the add-on via cPanel. My XF server log has a large number of these entries:

View attachment 36652
CSAdminI need to check this, possibly nothing has been configured whitelisted in the ACP
 

BattleKing

Spirit of darkness
Staff member
Administrator
Moderator
+Lifetime VIP+
S.V.I.P Member
Collaborate
Registered
Joined
May 24, 2020
Messages
3,529
Points
523

Reputation:

BattleKing

Spirit of darkness
Staff member
Administrator
Moderator
+Lifetime VIP+
S.V.I.P Member
Collaborate
Registered
Joined
May 24, 2020
Messages
3,529
Points
523

Reputation:

Which version of PHP did you have installed.

Anyone else got that problem?
BattleKingIt looks like, that the addon was not installed completely.
I guess the option has not been added, therefore, please try again to install it, if the problem still exist, then disable all addons via the config.php

$config['enableListeners'] = false;

After that check the option page of the addon, if everything is there.
 

CSAdmin

Member
Registered
Joined
Jun 2, 2022
Messages
14
Points
13

Reputation:

This might help.

Stack trace
#0 src/addons/XFDev/ProxyCheck/Listener.php(42): XF::handlePhpError(2, '[E_WARNING] Und...', '/
#1 src/addons/XFDev/ProxyCheck/Listener.php(13): XFDev\ProxyCheck\Listener::checkAllowedIp('xxx.xxx.xxx.xxx')
#2 src/XF/Extension.php(81): XFDev\ProxyCheck\Listener::proxyCheck(Object(OzzModz\GlobalUserIgnore\XF\Entity\User))
#3 src/XF/App.php(2994): XF\Extension->fire('visitor_setup', Array, NULL)
#4 src/XF/Repository/User.php(34): XF\App->fire('visitor_setup', Array)
#5 src/XF/App.php(2054): XF\Repository\User->getVisitor(335, Array)
#6 src/XF/Pub/App.php(159): XF\App->getVisitorFromSession(Object(XF\Session\Session))
#7 src/XF/App.php(2483): XF\Pub\App->start(true)
#8 src/XF.php(524): XF\App->run()
#9 index.php(20): XF::runApp('XF\\Pub\\App')
#10 {main}
 
Last edited:

BattleKing

Spirit of darkness
Staff member
Administrator
Moderator
+Lifetime VIP+
S.V.I.P Member
Collaborate
Registered
Joined
May 24, 2020
Messages
3,529
Points
523

Reputation:

Stack trace
#0 src/addons/XFDev/ProxyCheck/Listener.php(42): XF::handlePhpError(2, '[E_WARNING] Und...', '/home/cs/public...', 42)
#1 src/addons/XFDev/ProxyCheck/Listener.php(13): XFDev\ProxyCheck\Listener::checkAllowedIp('174.243.181.165')
#2 src/XF/Extension.php(81): XFDev\ProxyCheck\Listener::proxyCheck(Object(OzzModz\GlobalUserIgnore\XF\Entity\User))
#3 src/XF/App.php(2994): XF\Extension->fire('visitor_setup', Array, NULL)
#4 src/XF/Repository/User.php(34): XF\App->fire('visitor_setup', Array)
#5 src/XF/App.php(2054): XF\Repository\User->getVisitor(335, Array)
#6 src/XF/Pub/App.php(159): XF\App->getVisitorFromSession(Object(XF\Session\Session))
#7 src/XF/App.php(2483): XF\Pub\App->start(true)
#8 src/XF.php(524): XF\App->run()
#9 index.php(20): XF::runApp('XF\\Pub\\App')
#10 {main}
CSAdminI reproduced it, if I delete that option, I get the same error, therefore I think the installation was bad, see comment above
 
Last edited:
View previous replies…

BattleKing

Spirit of darkness
Staff member
Administrator
Moderator
+Lifetime VIP+
S.V.I.P Member
Collaborate
Registered
Joined
May 24, 2020
Messages
3,529
Points
523

Reputation:

Ok, I see that there must be some lag in posts so I didn't see your comment.
CSAdminI reproduced it, if I delete that option key (xfdev_checkproxy_whitelistip), I get the same error, therefore I think the installation was bad, see comment above
 

Toasty

SVIP Member
S.V.I.P Member
Registered
Joined
Apr 12, 2021
Messages
16
Points
13

Reputation:

Is there a way to implement this code with the cloudflare tokens? The layout is nice, just need to know if its possible to change the cloudflare fields to my own.


Using this URL to test code: https://onecompiler[DOT]com/html


php file is in attached-zip
 

BattleKing

Spirit of darkness
Staff member
Administrator
Moderator
+Lifetime VIP+
S.V.I.P Member
Collaborate
Registered
Joined
May 24, 2020
Messages
3,529
Points
523

Reputation:

Is there a way to implement this code with the cloudflare tokens? The layout is nice, just need to know if its possible to change the cloudflare fields to my own.


Using this URL to test code: https://onecompiler[DOT]com/html


php file is in attached-zip
ToastyWill check, but what in detail you want to get?
 
Last edited:

CSAdmin

Member
Registered
Joined
Jun 2, 2022
Messages
14
Points
13

Reputation:

With this statement,

<center><p>Protected by <strong><a href="{link}" target="_blank">{copyright}</a>

a link is added behind the copyright. When I enter the link in the "options", the link is appended to my website address (e.g., www.website.com/www.link.com). Is this correct?
 

BattleKing

Spirit of darkness
Staff member
Administrator
Moderator
+Lifetime VIP+
S.V.I.P Member
Collaborate
Registered
Joined
May 24, 2020
Messages
3,529
Points
523

Reputation:

With this statement,

<center><p>Protected by <strong><a href="{link}" target="_blank">{copyright}</a>

a link is added behind the copyright. When I enter the link in the "options", the link is appended to my website address (e.g., www.website.com/www.link.com). Is this correct?
CSAdminI need to check that
 

BattleKing

Spirit of darkness
Staff member
Administrator
Moderator
+Lifetime VIP+
S.V.I.P Member
Collaborate
Registered
Joined
May 24, 2020
Messages
3,529
Points
523

Reputation:

bymyny

New member
Registered
Joined
Aug 31, 2023
Messages
1
Points
1

Reputation:

Неверный обработчик XF\Option\Email::verifyOption (error_invalid_class).
 

BattleKing

Spirit of darkness
Staff member
Administrator
Moderator
+Lifetime VIP+
S.V.I.P Member
Collaborate
Registered
Joined
May 24, 2020
Messages
3,529
Points
523

Reputation:

Top