Google App Engine (Python)- Strange behaviour of REMOTE_ADDR -
in order make registration process on website easy, allow users enter email address send verification code or alternatively can solve captcha.
the problem in order prevent robots registering accounts (with fake emails) limit number of registrations allowed per ip address , if limit exceeded trigger warning in logs.
however ... seems happening using os.environ['remote_addr'] check remote address -- seems triggering warnings on addresses owned google (66.249.65.xxx). possible happening after change version (but not confirmed). know how/why might happening? shouldn't remote_addr return address of client computer (and in cases this)?
i curious if there behind scenes re-directions going on, , if normal event or if happens when new version installed (perhaps when new version installed original server proxies user new server, therefore creating illusion ip address internal ip?)
i believe have figured out reason seeing many warnings google server ip addresses. seems after new user registers, google crawlers going same (registration) webpage (which send information instead of post reasons not into). of course, since many users registering, there few crawler computers checking periodic updates website, triggering warning messages particular (google) ip accessing registration area repeatedly.
Comments
Post a Comment