I'm making a strawpoll site. I'm using IP addresses to check if a user already voted on a poll or not. For the moment I'm using an external API with a JSON callback which returns the user IP. The problem here is that some ADBlockers will block the http request to the external site leading in a user "without" an IP bound to him. I would like a function which would give me the user IP without the use of an external site.  Is this possible? And how would I go about implementing it?
8984
I need to somehow retrieve the client's IP address using JavaScript; no server side code, not even SSI.  However, I'm not against using a free 3rd party script/service.
884
I need to find my external IP address from a shell script. At the moment I use this function:   myip () {      lwp-request -o text checkip.dyndns.org | awk '{ print $NF }' }   But it depends on perl-libwww, perl-html-format, perl-html-tree installed. What other ways can I get my external IP?
26685
There are many sites on the web these days that show a different face to you depending on where you are located around the world.    For example I'm in Australia and there are a number of US based sites I would like to see exactly as would someone living in the United States.  I've heard that most sites use your IP address to determine your country.  If so this would appear to make defeating Geo-blocking very difficult.   One of the only options I can think of is using a third party website that you visit that is based in the country you are interested in.  This site then serves a proxied view of the page.  I don't know of any sites that do this though.  Any ideas / thoughts / links?
95764
I'm trying to see if a user account has been locked out, using the command line.  I thought that I could do this with the net command, but when I run the command   NET USER username /domain   it processes the request on my domain controller; whereas the user that I want to check is on a different domain.  I cannot find a command/option to use the right domain (controller).  How do I check a user account on different domain to see whether it has been locked out?
71652
Can we hit a local/private server using IP address with HTTP request in Salesforce ?? or the server should always be public.... can we access a private IP address of local host/server using the HTTP methods that salesforce.com provides. how to hit the local server...  I have make the callout which was written in .Net (hosted on localserver) which will get the data from stored procedure in SQL.  When i was trying to get the data from SQL to Salesforce , i was able to get the data when i was using the advanced rest tool. But when i tried in salesforce callouts http methods  with end point url after  setting remotesitesetting , i could not get the  data.User-added image  it gives me an error of '503 service unavailable'.  ,when i tried to execute a block of code in Salesforce, i  made callout to  the .Net webservice  file  to test the data, i got an error 'Server unavailable,status code = 503'.  My another important question is ''If the Webservice is hosted on the local or intranet, will the salesforce API (which is on the cloud) able to access that webservice  Thanx in advance
99149
When I type mynewdomain.com into my browser I believe the following happens.   My computer sends a request to my ISP's name servers to find the IP address of mynewdomain.com My ISP name server sends a request to the "." name server. The "." sends a response back to the ISP name server, saying try using the com. nameserver. My ISP name server sends a request to the com. nameserver. The com. nameserver finds mynewdomain.com. and sends my ISP nameserver back the A record. My ISP nameserver sends this back to my computer.    My question is about step 5. How does mynewdomain.com. get into the list on the com. nameserver? And given that there are hundreds of millions of registered .coms, how does it find mine in such a short time?
124134
I want to change my IP so that if anyone tries to track my location they can't find me. Is there a way to do this?  I know it is possible by changing IP address, but I don't have any idea how to do this. I am trying to download some torrents which are not available in my country.
1454
There is someone harassing me through emails and I need to know if there is a legal/legitimate way I can obtain their true IP address. They started masking their IP address after I used the email header to find out who it was initially. But now I'm at a loss. Any advice or suggestions or help would be tremendously appreciated. Thank you for your time.
71920
I'm trying to block a range of IP that is sending tons of spam to my blog. I can't use the solution described  because it's a shared hosting and I can't change anything to the server configuration. I only have access to a few options in Remote IIS.  I see that the URL Rewrite module has an option to block requests, so I tried to use it. My rule is as follows in web.config:              &lt;rule name="BlockSpam" enabled="true" stopProcessing="true"&gt;                 &lt;match url=".*" /&gt;                 &lt;conditions logicalGrouping="MatchAll" trackAllCaptures="false"&gt;                     &lt;add input="{REMOTE_ADDR}" pattern="10\.0\.146\.23[0-9]" ignoreCase="false" /&gt;                 &lt;/conditions&gt;                 &lt;action type="CustomResponse" statusCode="403" /&gt;             &lt;/rule&gt;   Unfortunately, if I put it at the end of the rewrite rules, it doesn't seem to block anything... and if I put it at the start of the list, it blocks everything! It looks like the condition isn't taken into account.  In the UI, the stopProcessing option is not visible and is true by default. Changing it to false in web.config doesn't seem to have any effect.  I'm not sure what to do now... any ideas?
6771
Looking at the source of urllib2 it looks like the easiest way to do it would be to subclass HTTPRedirectHandler and then use build_opener to override the default HTTPRedirectHandler, but this seems like a lot of (relatively complicated) work to do what seems like it should be pretty simple.
112958
Is it possible to redirect connections to a specific IP/port to an external IP/port?  Example:   Server A has the external IP xxx.xxx.xxx.xxx Server B has the external IP yyy.yyy.yyy.yyy User sends a request to server A on port 2106, I want to redirect it to server B at port 2106.
96307
My IP xxx.xxx.xxx.xx is pointing to example.com at GoDaddy but I just noticed that when I type the IP in browser, it doesn't redirect to the website, how can do this? I am sure this will happen through httpd.conf but unsure about what I need to add.
11607
My two main questions:  Are all URLs that include your User Id tracked?  Can the visitors who use the tracked URLs have Stack Exchange accounts?   Specifically: Recently the ability to earn badges for sharing links to posts on Stack Exchange sites . I'd like to know when and how this tracking works. It's clear that if you go to a question, and make use of the link button, you will get a URL with your User ID that will be tracked if a visitor uses it to get to SO. For example, let's use  as an example. It's regular URL is:  https://stackoverflow.com/questions/309300/defend-php-convince-me-it-isnt-horrible  If you go to that page and use &quot;save link as&quot; in the link section of the question you will be given a tracked url with your User ID:  https://stackoverflow.com/q/309300/[USER ID]  My question is, are there other URLs that would be tracked? All of the following URLs take you to the Question / Answer, but are they tracked? For example what if I just tack my User ID onto the long url?  https://stackoverflow.com/questions/309300/defend-php-convince-me-it-isnt-horrible/[USER ID]  What if I add my User ID to an answer URL?  https://stackoverflow.com/questions/309300/defend-php-convince-me-it-isnt-horrible/309622#309622/[USER ID]  or even  https://stackoverflow.com/q/309622/[USER ID]   Is there a way to know that a URL is being tracked? Is there some sort of format to follow? Are the only tracked URLs the ones provided in the Question links? Finally, does this sentence from the blog post mean that visitors cannot have an account?  Also, the tracked IPs must originate from outside our existing network.
4416
What's the best way to validate that an IP entered by the user is valid?  It comes in as a string.
41799
OK, so I noticed that on every page load (at least here and on Stack Overflow but guess on any Stack Exchange site) there is request for that external JS file:   () Who are we signalling to? For what purpose?  Seriously now, this JS is generating a pixel aka  but I couldn't find anywhere what Stack Exchange is doing with this information or who can access it. I went through the  and found reference to Google Analytics which is totally fine, but the beacon or  (beacon host) are not mentioned there. This is a sample of the data passed using the beacon:    The marked number is the same on all sites and doesn't change per page so it's either user based or machine based. Can I get some details about this? Update: following  I checked the page source and indeed c2 appears to be the Stack Exchange ID: _comscore.push({ c1: &quot;2&quot;, c2: &quot;17440561&quot; });  So from what I see, they just measure amount of page hits, without actually collect anything user or browser related.
89182
When you don't want users to use any web services it seems like you can turn off the permission to Use Remote Interfaces. However that permission does not mention REST.  This made me wonder if there was any way to turn it off, at any level. I did some searching but couldn't find anything.   Besides that, even Limited Access grants Use Remote Interfaces. So as soon as some permissions are broken, they are granted that permission even though the perhaps stripped permission level does not grant it.  So, do you know any way to turn off the possibility to use the REST API? Either at farm level, site level or via permissions. And is there any real secure way to turn off Use Remote Interfaces?
70403
Is it possible to block one cookie on a domain, without blocking all cookies on that domain? (I want to block the tracking cookies, without blocking the cookies that are required for functionality.) I'm using Chrome on Windows.  I'm aware of  but the answers given don't directly address the question.