Forum Moderators: DixonJones
Does anyone have information on the ip range they use and/or user agent? I cannot seem to spot it in my log... I might need to make an acception to that script and allow their IP range in...
It also has the annoying behavior in that it does NOT use any user agent or referer. I've asked them to consider using one (not holding my breath). This news is important to anyone using htaccess blocking for visitors with no user agent or referer (your IPN notification won't get through!)
I have to go figure out now how to modify this to either rDNS the bot or just allow access to the IPN script to anyone :(
# Forbid if blank (or "-") Referer *and* UA
RewriteCond %{HTTP_REFERER} ^-?$
RewriteCond %{HTTP_USER_AGENT} ^-?$
RewriteRule .* - [F]
Adding the following conditions will bypass the rule if a request comes from a PayPal IP or the request is for your script:
RewriteCond %{REMOTE_ADDR} !^65\.206\.2(2[89]¦[34][0-9]¦5[0-5])\.
RewriteCond %{REQUEST_URI} !^/path_to_your_script
RewriteCond %{REQUEST_METHOD} !^HEAD$
Jim