Tag: network

  • Kubernetes – Useful Network Policy Generator

    Kubernetes – Useful Network Policy Generator

    Kubernetes policy’s are hard, wouldn’t it be awesome if there were some graphical tool to visualize a new policy? Wait, there is! The editor is available at: https://editor.cilium.io/ Firewall, ish ?

  • Kubernetes – Port-Forward To Kubernetes Service

    Kubernetes – Port-Forward To Kubernetes Service

    Kubernetes service only available inside the cluster? Do you need to connect and test something? Port-forward from your client to the cluster! Only using kubectl. The syntax is as follows: So let’s say you want to connect to a MySQL Service only available in the cluster network. And the service is called “mysql-service”: The MySQL…

  • How To: Netcat – Check for open ports with the command line

    Kitty Port-checking When troubleshooting a network integration or any other connection issue in Linux, step one is usually a matter of checking to see if the network port on the other side is even responding. Netcat -The network Swiss Army knife (Hobbit, not nmap)- is the right tool for the job. Before we begin, NetCat…

  • How To: Monitor NetCat File Upload Progress using PV

    Using NetCat to upload files can sometimes be handy, however it would be awesome if you could track the upload ETA and not just stare patiently for a prompt. PV, or “Pipe Viewer”, is a handy little command that allows you to track the progress of any Unix pipe. Using it as an replacement for…

  • How To: Send and receive files with Ncat (formerly NetCat)

    As with any application in Linux, piping the output from an application to a logfile or perhaps another application. Can sometimes clarify what is going on. It would be even better if you could “cat” any output over the Network (Ncat, get it?) to another computer. That is where Ncat comes in. First, some basics…