How #IoT will challenge the #telco industry https://t.co/b0iqO9hvfL pic.twitter.com/qBXcuPJNmq — Sujith Emmanuel (@sujithemmanuel) April 20, 2017
Posts
Showing posts from May, 2017
Adding services to VMware firewall
- Get link
- Other Apps
These are some of the notes i'd collected from vmware kb site Creating custom firewall rules in VMware ESXi 5.x There is a defined set of firewall rules for ESXi 5.x for Incoming and Outgoing connections on either TCP, UDP, or both. You may be required to open the firewall for the defined port on TCP or UDP that is not defined by default in Firewall Properties under Configuration > Security Profile on the vSphere Client. This article provides instructions on creating custom firewall rules in ESXi 5.x via the command line. Note: Custom firewall rules can be created only for those ports that are defined by default in the Firewall Properties under Security Profile on the vSphere Client. By default, there is a set of predefined firewall rules that can be enabled/disabled for the ESXi host from the vSphere Client. These firewall services can be enabled/disabled for the defined ports (UDP/TCP) from the vSphere Client. However, if you need to enable the service on a protoc
Disabling vmware firewall
- Get link
- Other Apps
~ # esxcli network firewall get Default Action: DROP Enabled: true Loaded: true ~ # esxcli network firewall set --enabled false ~ # esxcli network firewall get Default Action: DROP Enabled: false Loaded: true ~ # esxcli network firewall unload ~ # esxcli network firewall get Default Action: PASS Enabled: false Loaded: false ~ # ~Sujith Emmanuel
Installing SSLyze
- Get link
- Other Apps
Ideally SSLyze should install without much issues. Command: pip3 install sslyze If you get errors regarding cryptography or some certificate errors, try the following Error: fatal error: openssl/opensslv.h: No such file or directory pip3 uninstall sslyze pip3 uninstall cyptography sudo apt-get update && sudo apt-get install libssl-dev pip3 install sslyze Now sslyze commands should work fine if the errors were the ones above. ~Sujith Emmanuel
Curl with proxy
- Get link
- Other Apps
How to use curl with proxy: Method 1: Use export to set the env variable: export http_proxy=http://your.proxy.server:port/ export https_proxy=https://your.proxy.server:port/ Now curl should take the proxy from env variable Method 2: Use command line option -x, --proxy <[protocol://][user:password@]proxyhost[:port]> "-x, --proxy" means that either one can be used Example: curl -x http://proxy_server:proxy_port --proxy-user username:password -L http://url ~Sujith Emmanuel