firewall

MySQL unable to connect with remote server

本小妞迷上赌 提交于 2019-12-04 19:14:12
问题 We have a MySQL server in one of the remote Virtual Machine (Windows Server 2008). Till yesterday we were able to connect to the MySQL server, with the help of workbench installed in our local machine. Yesterday there was a restart to the machine which has the Virtual Machine installed. After that we are unable to connect to MYSQL. Though I can ping and remote connect this particular VM. I can even execute the queries inside the workbench installed in the VM. I am not too good at networking

How could one create a firewall app in Android?

て烟熏妆下的殇ゞ 提交于 2019-12-04 18:55:42
I'm building a parental control app that blocks access to certain sites - aka a simple firewall for Android. What do you think the simplest method of doing this would be? I've seen other applications use VpnService to monitor the traffic - but I'm looking for any and all suggestions, methods and ideas related to this subject. Thus far I've built the UI for the application - it stores all the user data necessary for each user profile - now it's time to make it function and block some traffic (for example - when a kid logs onto a porn site after midnight!) Any and all ideas / input is greatly

How to remotely update azure SQL firewall with local IP via powershell or C#

若如初见. 提交于 2019-12-04 15:32:05
How can I remotely update my azure SQL firewall with my local PCs IP address for administration either via powershell or C#. I have had a look over the documentation but I can only find out how to do it from the actual server itself, not remotely. I can get visual studio to pop up and ask me if I want to add my IP address to the firewall randomly, but most the time it simply fails and does not ask me so I am looking for a solution other than manually logging into the azure portal whenever my IP address changes. Looking for either an example or a link to documentation that shows which libraries

Making a program that intercepts network traffic in Windows

我们两清 提交于 2019-12-04 12:10:58
问题 Sort of what I'm asking is "how to make a software firewall for Windows," but something not so complex. I'm surprised I can find so little when searching for this, only the occasional mention of hooks. So it'd be much appreciated if someone could point me in the right direction. I expect to do this with C (though if there's another language you think would work better, I'm all ears). I want to make an application that watches network traffic, can extract the IP address (source for incoming,

UDP hole Punching

▼魔方 西西 提交于 2019-12-04 11:51:55
问题 I've got some questions regarding hole punching with UDP. Based on the wiki http://en.wikipedia.org/wiki/UDP_hole_punching 1) To set up a UDP session between two parties (the client which is behind NAT, server which is non-NAT) does the client simply have to send a packet to the server and then the session is allowed both ways (send & receieve) through the firewall? Meaning the client can receive too from the server. 2) UDP Hole punching: Two clients first conenct to the server, then the

Block Application access to network via a Cocoa API (LittleSnitch APIs)?

こ雲淡風輕ζ 提交于 2019-12-04 11:07:01
问题 I am using OS X 10.5 and I am looking for a way to detect if an application attempts to access the Internet. At this point I would like to block the application if it matches a set of rules that I will define. There is the ipfw Unix command that I realise can be used to block access to certain ports, but that affects ALL applications. I read the man pages and didn't see a way to use ipfw to block access but limit it to a specific application. My main problem lies in detecting which

Questions about add firewall exception in wix installer by firewall extension

荒凉一梦 提交于 2019-12-04 09:37:33
I am new to Wix installer . I am trying to add firewall exception for my program. My code is as follow: <Component Id="_VIEW.EXE" Guid="*" Transitive="yes"> <File Id="view.exe" Name="view.exe" KeyPath="yes" Source="$(var.INSTALLSOURCE)\view.exe"> <fire:FirewallException Id="view_firewall_domain_tcp" Name="View" Protocol="tcp" Scope="any" IgnoreFailure="yes" Profile="domain" /> <fire:FirewallException Id="view_firewall_domain_udp" Name="View" Protocol="udp" Scope="any" IgnoreFailure="yes" Profile="domain" /> <fire:FirewallException Id="view_firewall_private_tcp" Name="View" Protocol="tcp" Scope

Writing a Personal Firewall in Java that drop network packet [closed]

人盡茶涼 提交于 2019-12-04 07:09:59
问题 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 would like to write a Personal Firewall on Java that can drop network packet. Is it possible? I want to capture a packet on jpcap, but how can i do drop packet? Is there a library in this event on java? And

Programmatically add an application to all profile Windows Firewall (Vista+)

感情迁移 提交于 2019-12-04 05:49:47
I have searched around and there are similar questions on SO, however, no one talks about how to add exception to "All Profile" (windows 7, AKA "Any Profile" on Vista/Windows Server 2008). Examples on internet talk about add to current profile only. The reason for this is I have a problem with one of my virtual machine: windows 2008 x86, current firewall profile is Domain, and my application is added to Exception list of Domain. (Firewall setting is as default: block any inbound calls that are not in exception list.) However, inbound calls are still blocked unless : 1. turn off firewall on

Installing gems from behind a corporate firewall

梦想与她 提交于 2019-12-04 05:27:28
I suspect that the corporate firewall is preventing gems from getting installed. I have HTTP_PROXY defined and I'm able to view remote gems via the following command: jruby -S gem list -r But when I go to install a gem, I get a 404: jruby -S gem install rails Is there a good workaround for resolving this issue other than maintaining an internal gem repository? for ruby gems, placing this in my gem.bat this works for me @"%~dp0ruby.exe" "%~dpn0" %* --http-proxy http://domainname.ccc.com:8080 for jruby gems this works @"%~dp0jruby.exe" "%~dpn0" %* -p http://domainname.ccc.com:8080 Also setting