Splunk HEC SSL Certificate Set up

Here is how to set up Splunk HTTP Event Collector (HEC) SSL with your own certificate

In /opt/splunk/etc/apps/splunk_httpinput/local/inputs.conf edit the [http] stanza with these 4 properties

[http]
enableSSL = 1
sslPassword = $1$IA1A1A1A1
privKeyPath = /opt/splunk/etc/auth/splunkweb/hec.mydomain.com.key
serverCert = /opt/splunk/etc/auth/splunkweb/hec.mydomain.com.pem

Verify ownership of a site for Bing in Google Domains

Here is how to verify ownership of a site for bing in Google Domains

There are 3 options

  • Option 1: Place an XML file on your web server
  • Option 2: Copy and paste a
    tag in your default webpage
  • Option 3: Add CNAME record to DNS

Continue reading Verify ownership of a site for Bing in Google Domains

How to ssh from Mac via socks proxy

In order to ssh from Mac via socks proxy you will need to use ncat utility.


You will need to use ncat utility which is not available on OSx by default, and is not directly in homebrew, but you can get it by installing nmap (as nmap installation includes ncat utility with support of socks5)

Install nmap

brew install nmap

Connect to your target host

ssh -v -o 'ProxyCommand=ncat --proxy-type socks5 --proxy proxyhost:proxyport --proxy-auth proxyuser:proxypass %h %p' -p22 username@serverhost

That’s is, the only disadvantage is that you need to fill in your user:pass in the command itself. If you have any idea how to overcome it please let me know.

Reference https://stackoverflow.com/questions/34348720/osx-ssh-to-server-through-socks5-proxy

Sites and Games that teach kids to code

Hi, I have a 7 years old son and wanted to introduce him to coding. So I have started to collect information about Apps, Sites and Games that can teach kids to code or introduce them to coding mindset. Below are the ones that I’ve found. Please help me and others by commenting here or contributing in the GitHub repository and recommending the ones that you are aware of and have used. Continue reading Sites and Games that teach kids to code

Use Gmail with your own domain for free

Well, if you are looking at this post you (1) have your own domain name, (2) love using gmail and want to use it as to send and receive email for your domain and (3) prefer not to pay for this. If not the 3rd point you could easily do it using G-Suite (message me if you want to get a 20% discount code for your first year, as a comment here or on Twitter @IlyaReshet), but then you will have to pay $5/month, but fear not, there is a way to use Gmail with your own domain for free. Continue reading Use Gmail with your own domain for free

Is it healthy to…

I went to donate blood recently and if you have not done so yourself recently (or at all) I strongly recommend you doing it.

Just go to https://www.donateblood.com.au/ to find the closest location to you.

When I came in they said “Hey looks like you have donated blood a lot of times before and currently we have plenty of your blood type in the bank, but would you consider donating plasma today?” I said why not , read some material, signed some forms and proceeded with it.

Later when I came to office (I did the donation 7:30AM on my way there, YES they open this early so there is no excuse not to donate) I decided to google how healthy it is to donate plasma vs regular blood donation.

So I’ve opened a new tab and typed “Is it healthy to” and here is what I’ve got as the suggested searches

Suggested Search results for Australia

Continue reading Is it healthy to…

Books, Movies and other items mentioned in Tim Ferris Blog and Podcast

Books, Movies and other items mentioned in Tim Ferris Blog and Podcast
To easier browse through the list use an app that I’ve created with GlideApps

https://isbyrtimferris.glideapp.io/



Election



Gender Revolution: A Journey with Katie Couric



Three Billboards Outside Ebbing, Missouri



Option B: Facing Adversity, Building Resilience, and Finding Joy



Teenage Mutant Ninja Turtles: The Ultimate Collection, Vol. 1



Open: An Autobiography

Continue reading Books, Movies and other items mentioned in Tim Ferris Blog and Podcast

Completing the GCP Essentials quest on my daily commute

Everyone attending the Google Cloud OnBoard in Sydney.had got an opportunity to get the GCP Essentials badge by completing a QwikLabs quest for free.  I don’t have much time during the day or evening when at home, so I’ve decided I’ll complete the GCP Essentials quest on my daily commute to work.

Continue reading Completing the GCP Essentials quest on my daily commute

Qwiklabs – GCP Essentials – Creating a Persistent Disk – Extending the lab

I really enjoyed the Qwiklabs – GCP Essentials – Creating a Persistent Disk lab, but I think Qwiklabs could extend the lab a bit further by showing how the disk is persistent by blowing  away a VM, starting a new one and reattaching the disk. So I decided to try it. You can follow the steps below  to do just that.

Continue reading Qwiklabs – GCP Essentials – Creating a Persistent Disk – Extending the lab

Qwiklabs – GCP Essentials – Hello Node Kubernetes – Getting the Kubernetes Dashboard Token

The “Hello Node Kubernetes” lab went up until the point where I was supposed to browse to UI. I was required to provide the Kubernetes Dashboard Token

The lab says to run the gcloud container clusters get-credentials command and then to start the proxy  kubectl proxy --port 8081  after which you should be able to access the Kubernetes Dashboard UI at https://<YOUR_SPECIFIC_URL>.appspot.com/ui,

Continue reading Qwiklabs – GCP Essentials – Hello Node Kubernetes – Getting the Kubernetes Dashboard Token