How to know cellular provider by a given IP? - mobile

Is there any web service / API / other way to figure out a cellular Internet provider / carrier (id / name / anything else) for a given mobile browser request? Both client-side and server-side solutions will be acceptable. For example, maybe there is something similar to determining an location by IP (just count a carrier instead).
If the tags of this question aren't correct - please advice. If there is any other site worth checking - please share the appropriate URL.

Try http://www.maxmind.com/, their database of IP info provides both geo location and MNO (Mobile Network Operator) provider. You can test by going to their home page and putting in the IP of your phone. Of course, if a phone is connected using WiFi you won't get the MNO.
You need to get the ISP database. http://www.maxmind.com/app/isp

Related

Error while using Teams connector in Logic app - Not able to connect global.consent.azure-apim.net or logic-apis-westerurope.consent.azure-apim.net

While using Teams connector in Logic App - not able to authenticate getting below error
Not able to connect to global.consent.azure-apim.net or logic-apis-.consent.azure-apim.net
I faced this issue hence want to share the solution as well.
It seems it is system related issue. We can verify that by pinging the URLs causing the issue we will not get the IP address.
we can ask someone in the team to ping these URLs and provide us the IP address
Put these IP Address :
logic-apis-.consent.azure-apim.net
global.consent.azure-apim.net
in host file in the location -
c:\windows\system32\drivers\etc

I want to point exact location of an IP address on Google maps

I want to point exact location of an IP address on Google Maps or any other service. I want the marker to be exact. How can I do it, using which service, either at cost or free of cost?
Just to make the answer official, no geo-location service can reliably provide that kind of accuracy. You can be reasonably sure of the city/town and that's about it... assuming no deliberate attempt to hide their location like VPN, TOR, etc.
If your users are cooperating, then you could build your own geo-location service that, for example, uses GPS from a phone when it is connected through a WiFi router and reports that back to your service.
fecth geolocations tags and youre good to go

Can my Google App receive Traffic from Single IP address

I want to host an SMS application on GAE and all my traffic will come
from a SMS GATEWAY with a single IP address.
Is that fine(I'm expecting 500 dynamic requests/sec) ?
Will there be any problems like unusual traffic errors or any other issues ?
EDITED
More info:
My users send queries through SMS which will be routed to my app from SMS GATEWAY(single IP address).
My app processes those queries and reply back through SMS (again through SMS GATEWAY).
I can reply using URL FETCH(not a problem) but what i'm worried about is if I receive some 500 dynamic requests/sec from single IP address , GAE might block them thinking them as Dos(denial of service) attack .
GAE either asks the user to enter a captcha at https://www.google.com/accounts/DisplayUnlockCaptcha or redirects to sorry.google.com and displays an error message itseems if it receives unusual traffic from single IP . But my users access app only through SMS.
Please look at this production issue filed.
It would be technically doable - your app can detect the user's IP via the REMOTE_ADDR environment variable, and if it's the one you want, show them the actual page (showing them a 403 otherwise). Your second question is a bit trickier to answer - your App Engine app could handle it assuming you wrote it in a scalable manner (not a trivial assumption!) and if you can afford the amount of traffic you're trying to throw at it.
You're right to be concerned that getting that level of traffic from a single IP might set off some form of DoS protection - it shouldn't, but it's impossible to rule it out. If it were to happen, you could file a production issue, and we'd take care of it.

How can I read a website as a different IP address?

I am using Nokogiri to screen scrape a few websites.
My website is hosted on US servers, and so when it fetches the website, the website responses as if the user was a US user. I need the website to responds as if I was an Australian user, even though the server is located in the US.
When running locally it works fine because locally it responds as if it was Australian.
How can I read the site using Nokogiri as if I was from another country?
You have to run your requests through a proxy in Australia.
This doesn't have anything to do with Nokogiri - it applies no matter how you're trying to scrape a page. HTTP travels over TCP, which is a bi-directional protocol so you can't spoof its IP address. If you tried to spoof the IP address of a TCP packet, you would never get your response back.
You can configure Tor to always use exit nodes from a specific country. Please, however, do not use this method if this will put the Tor network under some serious strain (i.e. fetching the pages continually); in this case please consider buying an (Austrlia-based) annonimizing service (or simply a proxy).

Get position data from mobile browser

I am developing a web app that will be hit frequently by mobile browsers. I am wondering if there is a way to get enough information from the browser request to lookup position data (triangulation or GPS) Not from the request directly, of course. A colleague suggested there some carriers supply a unique identifier in the request header that can be sent to a web service exposed by said provider that will return position data if the customer has enabled that. Can anyone point me in the right direction for this or any other method for gleaning position data, even very approximate. Obviously this is app candy, e.g. if the data is not available the app doesn't really care...
Or perhaps a web service by carrier that will provide triangulated data by IP?
Google has ClientLocation as part of their AJAX APIs. You'll need to load Google's AJAX API (requires an API key) and it'll try to resolve the user's location data for you.
I've got blackberry gps to javascript working OK in a GMaps mashup. Pretty simple, actually. http://www.saefern.org/tickets/test4.php -- help yrself to view source.
(I don't currently have a bb. A user emailed me with "... it seems to be polling every 15 seconds or so, so it keeps adding new locations ... ".)
I'm looking for javascript gps info on an iPhone equivalent. And Nokia, and ... .
Any information appreciated.
I have used this javascript library sucessfully:
http://code.google.com/p/geo-location-javascript/
The examples work great. The user will always be prompted to share their location--don't know a way to avoid that.
Use the source IP address to approximate a network location. No, you won't get latitude and longitude in an HTTP request from an iPhone. Not unless you write a 3rd party app and ask them to run it.
You might be better off just running a poll on your website.
I know that some providers in Japan have a tracking service for location of cellphones.
I also know that the information is not public. I think you need to have a very good reason before the provider gives that information free as it is in my opinion sensitive personal data. Of course they will give the information to police officers but not to the general public.

Resources