firewall

How to know export proxy working or Not

喜你入骨 提交于 2019-11-29 12:52:45
To download some opensource code behind the office firewalls I am exporting the Proxy like this export http_proxy=http://username:passwdatXYZ.com:portnumber export https_proxy=http://username:passwdatXYZ.com:portnumber export HTTP_PROXY=://username:passwdatXYZ.com:portnumber export HTTPS_PROXY=://username:passwdatXYZ.com:portnumber How do I know wether my this export with the above password and login is correct or not or working or not! My pasword has a special character - " ! " e.g it is -> abcd!efgh , so do I have to supply the password as abcd%21efgh (where 21 is the unicode for special

C# - How to chceck if external firewall is enabled?

好久不见. 提交于 2019-11-29 12:32:01
We want to use Cisco NAC and need to check if client Desktop has a firewall installed. This may be not the default Windows Firewall. Is there some Windows registry key that can be checked? For non-Windows firewalls, you can use WMI API to detect the presence of a firewall if it's registered with Windows. Namespace = "Root\SecurityCenter2" (might be "Root\SecurityCenter" on pre-vista) Query = "SELECT * From FirewallProduct" And you can use this little gem to detect if it's actually on or off. For Windows Firewall detection, it's INetFwMgr and friends. Maybe just check if you can establish

Getting error while trying to push to Heroku

喜夏-厌秋 提交于 2019-11-29 12:29:04
When I type in "git push heroku master" I get an error that says: ssh: Could not resolve hostname heroku.com: nodename nor servname provided, or not known I am on my computer at work and I believe this problem has to do with proxies/firewall. Does anybody know of a way around this error in the command line? Or any other type of fix? Thanks. try ssh'ing directly to heroku from your command line ssh git@heroku.com -T if you don't get a response ! You can only access Heroku by ssh via git push and pull commands. then it's connectivety issue or a firewall in the way that's blocking your requests.

Is it possible to write a firewall in python?

生来就可爱ヽ(ⅴ<●) 提交于 2019-11-29 03:02:53
问题 Is it possible to write a firewall in python? Say it would block all traffic? 回答1: Yes, yes it is. I have some Python code that interacts with Linux iptables to perform firewalling duties, using nfqueue. I can use a rule in iptables that looks like: iptables -A INPUT -j NFQUEUE --queue-num 1 And then have some Python code that looks like: import nfqueue from dpkt import ip q = None def cb(dummy, payload): # make decision about if the packet should be allowed. in this case, drop everything:

How can you use php xdebug if you are on NAT behind a firewall?

牧云@^-^@ 提交于 2019-11-29 02:53:34
问题 I have the following use case for debugging a PHP application: The developer does have a private IP address The developer can connect only to a limited number of ports from the server, like 80, 8080, 3128, others being limited by the outgoing firewall. Still if the outgoing requests are HTTP he could use a proxy that does not have this limitation. the server machine is fully configurable Is is possible to use xdebug in this circumstance? How? It is possible to establish a VPN but this is not

Programmatically add IP to Server 2008 firewall rule

故事扮演 提交于 2019-11-28 23:57:30
Anybody know how to programmatically add an IP address to a Server 2008 Windows Firewall with Advanced Security rule? i.e. I've setup a Block Action firewall rule which has some IP addresses listed under the "Remote IP address" section of the Scope. I want to be able to programmatically add (or perhaps remove) IP addresses from this list. Are there .NET objects available to do this? The Windows Firewall with Advanced Security Start Page can be found at: http://msdn.microsoft.com/en-us/library/ff956124(v=VS.85).aspx Specifically, it seems you need the INetFwRule Interface which is described at:

All localhost pages via WAMP blocked?

大憨熊 提交于 2019-11-28 23:28:56
I've been trying to fix a weird 403 Forbidden error I get when I try to go to one of my pages via WAMP on the localhost. After adding a rule to open up port 80 via Windows Firewall, which apache uses, I notice that this does NOT fix my problem and instead gives me a 403 forbidden for ALL my pages via localhost. Removing the rule I just made (which caused this to begin with) does not fix it. Disabling Windows Firewall does not fix it. Restarting my computer does not fix it. Any ideas? EDIT2: I AM able to go to localhost/phpmyadmin for whatever that's worth. EDIT3: The contents of my httpd.conf:

How to bypass firewall and NAT with reverse SSH Tunnel

眉间皱痕 提交于 2019-11-28 17:57:51
问题 I'm trying to generate an SSH server in a machine behind a router. First I tried to bind the SSH to my public IP address: ssh -R 10002:localhost:22 <ip_address> Then I'm prompted with a password request, however my username password doesn't seem to work. Obviously I know my username password, so it seems to me that it's trying to authenticate in another computer under the same network. Any suggestions how to fix this? It would also help me any alternative on how to create an SSH server behind

Add firewall rule programmatically

生来就可爱ヽ(ⅴ<●) 提交于 2019-11-28 11:32:05
问题 I am developing an application for Mac, and wants to add firewall rule when my application launches, would like to know the entry point, if anyone has any idea, I guess, i need to modify /Library/Preferences/com.apple.sharing.firewall.plist But this file is not present in my Machine and any info about structure of this file ? Requirement is something like this When it runs, then browser shouldn't allow to open some particulars website, so i believe, this is going to be a application level

Firewall Port 1433 not opening

不羁岁月 提交于 2019-11-28 09:19:05
I am using MS Server 2008 with MSSQL 2008-R2 as database server. Each time for some work i have to login to server via Remote connection.I tried to configure the SQL Server remote connection on, followed the following steps.... 1.Created Inbound and outbound rules for tcp port 1433. 2.In sqlserver configuration manager ,all is set for IP address and POrt no properties. 3.Set the SqlServer instance for remote connections. But still its not working. Also when i checked port 1433 for tcp on local computer it is shown closed. thanks in advance....... In the SQL Server Configuration Manager->SQL