firewall

RESTful PUT and DELETE and firewalls

一曲冷凌霜 提交于 2019-12-18 18:55:18
问题 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. 回答1: 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

Git clone error “HTTP code 504 from proxy after CONNECT”

孤街浪徒 提交于 2019-12-18 17:34:36
问题 I'm working in a office behind a corporate firewall. My System is windows7, using componentes consola. Usually I need to set up proxy connections to get GIT working with github. But when I try to clone a repository sored in a private Stash (Atlassian) I get this error: Cloning into 'apptest'... fatal: unable to access 'https://xxx@xxx.xx.xx.xx:xxxx/apptest/apptest.git /': Received HTTP code 504 from proxy after CONNECT I have unsetted git proxy but I'm still facing same problem. Please note

Can I SSH to MySQL with the GUI tools?

时光毁灭记忆、已成空白 提交于 2019-12-18 15:33:08
问题 I have a ubuntu server which I've locked down to only HTTP, HTTPS and SSH (port 30000). On this box I have a MySQL server which 99.9% of the time is only used locally. Every now and then I want to connect to the MySQL instance with the GUI tools, but without touching the firewall. Therefore, it is possible to set things up so that I can connect to the MySQL box with the SSH connection? Is there any sort of port forwarding magic I can do? 回答1: ssh -L localport:127.0.0.1:remoteport user

java.sql.Connection extension for SSH

霸气de小男生 提交于 2019-12-18 11:55:23
问题 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? 回答1: 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

Add to Firewall Exception list

帅比萌擦擦* 提交于 2019-12-18 11:15:11
问题 I got below mentioned code for adding my application to Windows Firewall Exception list. I wanted to know if this will also work for other firewalls eg: Antivirus firewalls etc. If not then please suggest a solution. Note: My application is running with Admin rights but my users are not able to understand firewall settings of quickheal etc. I use Delphi 2007 (Win32). This is the first time I am using this forum. Please excuse+correct any mistakes. Regards Allan Fernandes procedure

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

偶尔善良 提交于 2019-12-18 02:57:28
问题 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 ->

iptables block access to port 8000 except from IP address

雨燕双飞 提交于 2019-12-17 17:24:46
问题 I've never used iptables, and the documentation online seems a bit opaque. I'd like to block all requests to port 8000 on my server except those coming from a specific IP address. How do I do that using iptables? 回答1: This question should be on Server Fault. Nevertheless, the following should do the trick, assuming you're talking about TCP and the IP you want to allow is 1.2.3.4: iptables -A INPUT -p tcp --dport 8000 -s 1.2.3.4 -j ACCEPT iptables -A INPUT -p tcp --dport 8000 -j DROP 回答2:

Open firewall port on CentOS 7

不问归期 提交于 2019-12-17 04:10:41
问题 I am using CentOS 7 and I have to ensure that ports 2888 and 3888 are open. I read this article but this did not work because on CentOS 7 OS there is no iptables save command. Someone told me that the above URL is not valid for CentOS 7. and I should follow this. But this article is not clear to me on exactly what command I need to execute. I also found firewall-cmd --zone=public --add-port=2888/tcp but this does not survive reboots. So how can I open the ports and make it survive reboots?

Open firewall port on CentOS 7

ぐ巨炮叔叔 提交于 2019-12-17 04:10:01
问题 I am using CentOS 7 and I have to ensure that ports 2888 and 3888 are open. I read this article but this did not work because on CentOS 7 OS there is no iptables save command. Someone told me that the above URL is not valid for CentOS 7. and I should follow this. But this article is not clear to me on exactly what command I need to execute. I also found firewall-cmd --zone=public --add-port=2888/tcp but this does not survive reboots. So how can I open the ports and make it survive reboots?

creating a Mac OSX installer so the installed app won't set off the firewall

非 Y 不嫁゛ 提交于 2019-12-13 19:16:44
问题 Right now I'm distributing a .app file to people in my organization. I drag it to /Applications by authenticating as root, but every time the users launch the program they get a firewall warning. (The app checks for updates on launch--very important for us). Since the users aren't admins they can't authenticate to make the messages go away. Will a mpkg-installed application also provoke the firewall in such a way that end-users will need an admin to allow the update check? Is there a post