Author Archives: Silver Moon

About Silver Moon

A Tech Enthusiast, Blogger, Linux Fan and a Software Developer. Writes about Computer hardware, Linux and Open Source software and coding in Python, Php and Javascript. He can be reached at [email protected].

Udp Socket Programming in Java – How to Code Client and Server

By | August 5, 2020

UDP – User Datagram Protocol sockets UDP is an alternative protocol to the more commonly used TCP protocol. It is a connection-less protocol where you directly send packets without have to establish a proper connection. UDP packets have smaller headers compared to TCP headers. Also data communication is faster since no acknowledgement is exchanged for… Read More »

How to Code a Simple Socket Client Class in C++

By | August 10, 2020

Wrapper class for socket functions The standard socket library in C comes with a lot of functions for every task like connecting, sending data and receiving data etc. However knowing the syntax of all the functions and calling them again and again and in the right sequence could be a bit intimidating. Using a class… Read More »

How to hack the bsnl router

By | April 15, 2013

BSNL now a days is providing a adsl router made by SemIndia Systems and the model names are similar to DNA-A201 or DNA-A211-1. In this article we are going to hack into this router to learn more about it. You might not know that this small and innocent looking modem is actually a “Linux CPU”…. Read More »

How to Get domain nameservers from commandline in Ubuntu Linux

By | July 22, 2020

Nameservers are special servers running a DNS service to provide the ip address of a particular domain name. Different domains have different nameservers. Usually the nameservers are hosted and managed by the hosting server provider. If you are hosting your website on Bluehost for instance, the nameservers would be those of bluehost. Whereas if you… Read More »

How to Check/Test Port Forwarding with Netcat

By | July 27, 2020

Port Forwarding Port forwarding is a configuration in the router of a LAN such that any connections to a specific port number on the public/wan ip of the router may be forwarded to a specific machine/ip inside the LAN. Most routers have configuration options to enable port forwarding. Testing Port Forwarding After setting up port… Read More »

Scan the local network with arp-scan on ubuntu

By | August 16, 2012

Arp-scan Arp-scan is a commandline utility for linux that can be used to scan the network of a certain interface for alive hosts. It shows the ip address and mac addresses of all the hosts/nodes found. Project website Install on ubuntu $ sudo apt-get install arp-scan The documentation can be found at Usage Quick example… Read More »