One can use iptables to forward a specific port to another port using NAT PREROUTING chain. This can be used to make a server available read more
Linux iptables is a user-space application program that allows a system administrator to configure the tables provided by the Linux kernel firewall (implemented as different read more
Sometime ssh shell become unresponsive when left for too long. It is little annoying to close the terminal to kill the ssh session. To kill read more
Unix utility nc (netcat) is a pretty handy utility for many network tasks. One such use is to see what headers are being sent by read more
Here are some cool python one liners. Parse apache log using python: print 5th field python -c “import csv,sys;f=csv.reader(sys.stdin, delimiter=’ ‘); print ‘\n’.join([r for r read more
Copyright © 2018 InfoHeap.
Powered by WordPress