firewall

How to remotely connect to my MongoDB in my server with java?

我的未来我决定 提交于 2019-12-24 07:46:37
问题 I want to use my MongoDB on my server from a java application on my laptop. this is my ufw setting aran@Aran:~$ sudo ufw status Status: active To Action From -- ------ ---- OpenSSH ALLOW Anywhere 22 ALLOW Anywhere 80 ALLOW Anywhere 443 ALLOW Anywhere 21/tcp ALLOW Anywhere 27017 ALLOW 1.234.56.78 27017 ALLOW Anywhere OpenSSH (v6) ALLOW Anywhere (v6) 22 (v6) ALLOW Anywhere (v6) 80 (v6) ALLOW Anywhere (v6) 443 (v6) ALLOW Anywhere (v6) 21/tcp (v6) ALLOW Anywhere (v6) 27017 (v6) ALLOW Anywhere (v6

Spark master-machine:7077 not reachable

落花浮王杯 提交于 2019-12-24 07:29:15
问题 I have a Spark Spark cluster where the master node is also the worker node. I can't reach the master from the driver-code node, and I get the error: 14:07:10 WARN client.AppClient$ClientEndpoint: Failed to connect to master master-machine:7077 The SparkContext in driver-code node is configured as: SparkConf conf = new SparkConf(true).setMaster(spark:master-machine//:7077); I can successfully ping master-machine , but I can't successfully telnet master-machine 7077 . Meaning the machine is

which port(s) are used by DirectoryEntry?

北战南征 提交于 2019-12-24 02:06:24
问题 My goal is to get the list of web site names from remote server. But I'm getting the exception: The RPC server is unavailable. Here is the code: public List<string> GetWebSites(string serverIP) { List<string> names = new List<string>(); DirectoryEntry Services = new DirectoryEntry(string.Format("IIS://{0}/W3SVC", serverIP)); Services.Username = "user name"; Services.Password = "password"; IEnumerator ie = Services.Children.GetEnumerator(); DirectoryEntry Server = null; while (ie.MoveNext()) {

how to shrink consecutive B ip classes in bigger one

给你一囗甜甜゛ 提交于 2019-12-24 01:58:09
问题 After reading List of IP Space used by Facebook: "Real" list is the last answer, but I wonder how Igy (with the answer marked as solution) managed to shrink the list a lot by adding consecutive classes into a bigger one (by decreasing accordingly from network mask for each new consecutive network), is there a tool, or only manually ? This is a HUGE improvement for firewall, where number of rules counts (the shorter the better). 回答1: A simple solution is to use netaddr: import netaddr ips =

Error when trying to setup Python pip installation behind corporate firewall

随声附和 提交于 2019-12-24 00:56:02
问题 I am trying to configure global proxy options for python pip installer so that it works behind corporate firewall. The command I tried: pip config --global set proxy "http://user:pass@host:port" The above command gives error with below trace: Traceback (most recent call last): File "c:\users\username\appdata\local\programs\python\python37-32\lib\site-packages\pip\_internal\basecommand.py", line 228, in main status = self.run(options, args) File "c:\users\username\appdata\local\programs\python

Security Cost of Middlebox Traversal

早过忘川 提交于 2019-12-24 00:17:11
问题 I want to calculate the security cost of middlebox traversal when VM migrate from one physical server to another. Middle boxes can be firewalls or IPS/IDS containing rules checking the VM traversing them. Now imagine the most simple scenario that the only problem is to find the cost of checking VM by middlebox rules (this is what I call it security cost), and according to this cost finding the optimum path. However there are already some protocols out there such as BGP or OSPF, but

Whitelisting Fabric & Crashlytics IP

ⅰ亾dé卋堺 提交于 2019-12-23 18:16:56
问题 Question - would like to allow access to Fabric & Crashlytics from our server which means that we need to allow it through our firewall for access. Can anyone share the domains or IPs that we should allow through ? Secondly, we would also like the fabric plugin for Android Studio and Xcode to work, would the above domains and IPs also apply ? 回答1: Mike from Fabric and Firebase here. We don't support IP whitelisting as our IP addresses can and do change quite frequently. You should whitelist

symfony 2: get current logged in user on non secured pages through firewall

浪尽此生 提交于 2019-12-23 12:26:52
问题 how to get the current logged in user on non secured pages? I have only an /account/ page which is secured through the firewall and the other pages are unprotected. My global navigation has the following template (simplified): {% if app.user %} <a href="/account/data">... <a href="/logout>... {% else %} <a href="/account/login">.... {% endif %} Problem: The navigation with the logout link should be accessible on unsecured page too, but there is no UsernamePasswordToken...and symfony displays

Does most firewalls default configuration allow secured TCP the same as HTTPS? [closed]

試著忘記壹切 提交于 2019-12-23 03:34:10
问题 It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center. Closed 8 years ago . I need to implement secure data transfer from client to server (binary data). I'm looking for the solution that doesn't require clients to configure firewall exceptions. Obvious choice is HTTPS. Most firewalls

Building a firewall application

放肆的年华 提交于 2019-12-23 03:33:05
问题 Currently I am working on application for private corporate client who wanted to hand over android devices to its employees with firewall protection: I need to implement two major things where I need your guidance: Restrict few categories application being downloaded/installed whichever is possible Block few websites on browser I have no clue regarding above two, I just need a guidance from where I need to start as I tried surfing over Internet but didn't get anything. Thanks in advance. 回答1: