firewall

What is the IP address range for foursquare API? [closed]

我的未来我决定 提交于 2019-12-02 12:19:34
I'm developing a Web service using a VM behind a firewall on a University. I need to know what a range of IP address to give to our IT guy so we can get access to calls from foursquare. You'll never be able to reliably pin this down. It's not as if they are using one subnet. Your IT guy needs to open up your firewall differently, based on your end, not Foursquare's. Navigate to zoneedit.com in the DNS lookup field enter foursquare.com and in the dropdown select "Ip Address (A)" you will find only one record listed. After further research I found that Foursquare is hosted at Amazon Web Services

How to make a ssh connection to a firewall(router) with java?

◇◆丶佛笑我妖孽 提交于 2019-12-02 09:47:53
For some reason,I need to connect to a firewall(based on Linux) and add some rules with Java. After searching with google for a while, I found that jsch is my best choice.But when I use it to execute a command," show hostname " for example, error is returned.If I execute commands like "ls -l" and "whoami" ,the results are ok.That's to say,I can only connect to the Bash Shell! My question is how can I connect to the firewall shell? My test code as follows: import java.io.InputStream; import com.jcraft.jsch.ChannelExec; import com.jcraft.jsch.JSch; import com.jcraft.jsch.Session; import com

How can you check for existing firewall rules using Powershell

流过昼夜 提交于 2019-12-02 09:36:55
问题 So, I've got this script: function Add-FirewallRule { param( $name, $tcpPorts, $appName = $null, $serviceName = $null ) $fw = New-Object -ComObject hnetcfg.fwpolicy2 $rule = New-Object -ComObject HNetCfg.FWRule $rule.Name = $name if ($appName -ne $null) { $rule.ApplicationName = $appName } if ($serviceName -ne $null) { $rule.serviceName = $serviceName } $rule.Protocol = 6 #NET_FW_IP_PROTOCOL_TCP $rule.LocalPorts = $tcpPorts $rule.Enabled = $true $rule.Grouping = "@firewallapi.dll,-23255"

Firebase analytics network connections (url, port, ip addresses)?

六眼飞鱼酱① 提交于 2019-12-02 08:05:26
Our company will setup mobile devices which use private mobile network (special sim card which blacklist all urls and allow for only specific urls). (Our company has a firewall and it is preventing our enterprise mobile app from sending analytic events to Firebase via the SDK.) We have a scenario to use Firebase-analytic to log user events. So far I am trying to find what are the urls or IP addresses which device will request to firebase-analytics when logging but I could not find any network information. All network information for firebase which I could get is only network for FCM (port 5228

Unable to set specific firewall rules for app-engines

偶尔善良 提交于 2019-12-02 07:40:14
问题 We have a problem setting correct firewall rules for our different app-engine services on GCP, as it does't seem to be possible. Our problem is very simple: we have a default app-engine service that should be publicly accessible and acts as a gateway, and all the other services are only internal and are hosted on the same GCP Project. We tried to set custom networks tags and rules on the VPC firewall sections, but all of those are overruled by the app-engine firewall. Sadly the latest doesn't

ec2: cannot open port 5080 on windows instance

人走茶凉 提交于 2019-12-02 06:47:06
问题 I'm pretty new with ec2, firewall settings etc, so I might be missing something obvious, but: I've created a 'getting started with windows' instance with a security group that has 5080 specified and is associated with an elastic ip On the instance I have a red5 server running. when I run the server it on 127.0.0.1:5080, i can access it from a browser on that instance, so I know the server works. When I run it on the elastic IP however, I can't connect to it, neither from within the instance

How can you check for existing firewall rules using Powershell

ε祈祈猫儿з 提交于 2019-12-02 06:28:52
So, I've got this script: function Add-FirewallRule { param( $name, $tcpPorts, $appName = $null, $serviceName = $null ) $fw = New-Object -ComObject hnetcfg.fwpolicy2 $rule = New-Object -ComObject HNetCfg.FWRule $rule.Name = $name if ($appName -ne $null) { $rule.ApplicationName = $appName } if ($serviceName -ne $null) { $rule.serviceName = $serviceName } $rule.Protocol = 6 #NET_FW_IP_PROTOCOL_TCP $rule.LocalPorts = $tcpPorts $rule.Enabled = $true $rule.Grouping = "@firewallapi.dll,-23255" $rule.Profiles = 7 # all $rule.Action = 1 # NET_FW_ACTION_ALLOW $rule.EdgeTraversal = $false if(*here*) {

iptables script to block all internet access except for desired applications

流过昼夜 提交于 2019-12-02 05:41:50
CONTEXT: I wanted to have a shell script that would block all Inbound/Outbound traffic to my computer, UNLESS I decide I want to use the browser or some other application, in which case I would summon it and only those applications would run. I have researched previous scripts made by smart individuals (links to sources at the end), as well as invested the time to learn to use iptables myself (still working on this front). Here is the result of the work done: RESULTS: before the shell script is run, a group called internet is created: sudo groupadd internet Shell Script: #!/bin/sh #only allow

Unable to set specific firewall rules for app-engines

ぐ巨炮叔叔 提交于 2019-12-02 04:35:52
We have a problem setting correct firewall rules for our different app-engine services on GCP, as it does't seem to be possible. Our problem is very simple: we have a default app-engine service that should be publicly accessible and acts as a gateway, and all the other services are only internal and are hosted on the same GCP Project. We tried to set custom networks tags and rules on the VPC firewall sections, but all of those are overruled by the app-engine firewall. Sadly the latest doesn't allow a per service configuration. Would you know a simple way to do this? Our only solution by now is

Using google maps api behind firewall

柔情痞子 提交于 2019-12-01 23:07:29
I have an application embedding google maps. Works fine. Some users are behind a firewall with very restricted access to the rest of the world. Does anyone know of a valid list of dns-names/ip-addresses used by the google maps api? I can see what dns-names it loads from in firebug's net panel. But it feels a bit unsafe to use just them. Is there a such list that I can add to the firewalls whitelist? ..fredrik EDIT I spoke to someone who was working at the maps-team at google. And he said that it's not possible since the ip addresses changes since the maps service is split over a whole range