firewall

RESTful PUT and DELETE and firewalls

怎甘沉沦 提交于 2019-11-30 17:08:41
In the classic "RESTful Web Services" book (O'Reilly, ISBN 978-0-596-52926-0) it says on page 251 "Some firewalls block HTTP PUT and DELETE but not POST." Is this still true? If it's true I have to allow overloaded POST to substitute for DELETE. Firewalls blocking HTTP PUT/DELETE are typically blocking incoming connections (to servers behind the firewall). Assuming you have controls over the firewall protecting your application, you shouldn't need to worry about it. Also, firewalls can only block PUT/DELETE if they are performing deep inspection on the network traffic. Encryption will prevent

How to enable “World Wide Services (HTTP)” in the firewall using command line?

丶灬走出姿态 提交于 2019-11-30 17:02:55
I'm trying to share my site in the local network. I want to use command line tool to perform this action. Manually: To enable http access through Windows Firewall on Windows 7. From the start menu begin typing "Allow a program through Windows Firewall". Scroll the bottom of the list and look for World Wide Web Services (HTTP) and enable it on your networks. It works fine. Command line doesn't work: >> netsh advfirewall firewall set rule name="World Wide Web Services (HTTP)" new enable=yes Error: No rules match the specified criteria. What is wrong in the command line? I had same problem when i

How to enable “World Wide Services (HTTP)” in the firewall using command line?

[亡魂溺海] 提交于 2019-11-30 16:24:52
问题 I'm trying to share my site in the local network. I want to use command line tool to perform this action. Manually: To enable http access through Windows Firewall on Windows 7. From the start menu begin typing "Allow a program through Windows Firewall". Scroll the bottom of the list and look for World Wide Web Services (HTTP) and enable it on your networks. It works fine. Command line doesn't work: >> netsh advfirewall firewall set rule name="World Wide Web Services (HTTP)" new enable=yes

How to allow Python.app to firewall on Mac OS X?

老子叫甜甜 提交于 2019-11-30 13:56:32
When I run a python application on Mac, it shows many dialogs about want "Python.app" to accept incoming network connections. Even I Allow it many times, it shows again and again. How to allow it one time and not show any more? Edit I found this question: Add Python to OS X Firewall Options? I followed the accepted answer to do but finally when I run codesign -s "My Signing Identity" -f $(which python) , it said: /usr/bin/python: replacing existing signature error: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/codesign_allocate: can't create output file

My firewall is blocking network connections from the docker container to outside

时光毁灭记忆、已成空白 提交于 2019-11-30 11:40:21
问题 For me this is a very standard setup, I had a ubuntu machine running docker and ufw as my firewall. If my firewall is enable the docker instances is unable to connect to outside $ docker run -i -t ubuntu /bin/bash WARNING: Docker detected local DNS server on resolv.conf. Using default external servers: [8.8.8.8 8.8.4.4] root@d300c5f17207:/# apt-get update Err http://archive.ubuntu.com precise InRelease 0% [Connecting to archive.ubuntu.com] W: Failed to fetch http://archive.ubuntu.com/ubuntu

How do I force an iOS app to use 3G instead of WiFi?

爱⌒轻易说出口 提交于 2019-11-30 10:06:33
I want to use a messaging protocol that works fine over 3G, but not over some corporate firewalls. How can my app force the use of the cellular network when it fails to connect over WiFi even in the case that the WiFi network is reachable? EDIT: After reading through the implementation of the Reachability class I remain unsure whether the two are indeed mutually exclusive. It could well be possible to discover both interfaces via gethostbyname() , which I might try just to see what comes out. Use getifaddrs to enumerate the network interfaces. Look for ifa_name that starts with "pdp." This

How can I remove specific rules from iptables?

ぐ巨炮叔叔 提交于 2019-11-30 10:02:52
问题 I am hosting special HTTP and HTTPS services on the ports 8006 and 8007 respectively. I use iptables to "activate" the server; i.e. to route the incoming HTTP and HTTPS ports: iptables -A INPUT -i eth0 -p tcp --dport 80 -j ACCEPT iptables -A INPUT -i eth0 -p tcp --dport 443 -j ACCEPT iptables -A INPUT -i eth0 -p tcp --dport 8006 -j ACCEPT iptables -A INPUT -i eth0 -p tcp --dport 8007 -j ACCEPT iptables -A PREROUTING -t nat -i eth0 -p tcp --dport 80 -j REDIRECT --to-port 8006 iptables -A

How to secure access from App Service To Azure Sql Database using virtual network?

∥☆過路亽.° 提交于 2019-11-30 09:35:52
Scenario I want to use virtual network in order to limit access to Azure Database only from my App Service, so that I can turn of "Allow access to App Services" in firewall settings What I have done: I went to App Service -> Networking -> VNET Integration -> Setup -> Create New Virtual Network I've created new VNET with default settings. When VNET was created I went to App Service -> Networking -> VNET Integration and ensured that the VNET is connected I went to SQL Firewall settigs -> Virtual Network -> Add existing Virtual Newtork and selected my VNET. I've left default subnet and address

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

断了今生、忘了曾经 提交于 2019-11-30 05:19:23
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 an easy solution so I would prefer a simplified one. sorin The solution I found was to use PuTTY to

java.sql.Connection extension for SSH

十年热恋 提交于 2019-11-30 05:11:14
I have a MySQL database behind a firewall which can only be accessed via an SSH connection. Does anyone know of an implementation of java.sql.Connection which would allow me to make an SSH connection to this database? Steve K You can use SSH's port forwarding to do this. While not a pure java.sql.Connection, it will allow you to tunnel the connection through ssh. ssh -L 3306:localhost:3306 remote.mysql.host.com This will forward port 3306 on your local machine to port 3306 on remote.mysql.host.com. This will allow you to connect to port 3306 on your local machine, and it will be tunnelled to