środa, 26 lutego 2014

Netstat hack

Long long time ago I was not quite happy with the default behaviour of netstat for Linux. Those were the days when I was very fond of Gentoo Linux. I am still fond of it, but re-compiling everything from scratch became quite tiring. The program displays only first 20 characters of FQDN. This may be inconvinient, when we try to monitor data flow between our host and the net. I downloaded the latest source and grepped for the number 20. Finally I found the interesting line and changed it to 180.

Brak komentarzy:

Prześlij komentarz