Eston son algunos de los programas que siempre tengo en mente, para hacer troubleshooting, sacar información útil, etc.:
Network
- nload: te muestra un resumen del uso de las interfaces de red, en cuando a tráfico de entrada y salida. Útil para ver el ancho de banda que consumido
- iptraf: muy útil para monitorizar el tráfico de las interfaces
- tcpdump: el clásico todopoderoso sniffer.
- -X para analizar los paquetes en ascii
- -A es muy útil para analizar tráfico http
- -i <iface> para monitorizar una determinada interfaz
- -nn para no traducir nombres ni puertos
- -v, -vv para dar más información
- y por supuesto las potentísimas expresiones que soporta (host, src, dst, host, ether…)
- tcpdump -i any -nn port 22
- tcpdump -i any -nn -A port 80 and host www.google.es
- tcpdump -i eth0 -nn ether host 11:22:33:44:55:66 and dst port 3344 –> con el parámetro «ether» no se puede poner «-i any» !!!
- iperf: para hacer benchmarkings de red
- iftop: te muestra el ancho de banda ocupado por cada conexión
- nethogs: Net top tool grouping bandwidth per process
- jnettop: parecido al anterior
- tcpflow: para seguir flujos de conexiones tcp (tcpflow -i eth0 -C port 80 and host <ipaddr>)
- tshark: parecido a tcpdump. Muy útil también
- tcpick. Parecido a tcpflow. Incluso me gusta más
- scapy (paquete python-scapy): potentísimo programa hecho en python que te permite generar, modificar y capturar paquetes de red
- netdiscover – an active/passive arp reconnaissance tool (ej: netdiscover -r 10.0.0.0/8)
- swaks – Swiss Army Knife SMTP, the all-purpose smtp transaction tester. Genial para mandar correos en un equipo que no tiene un mta instalado
- wondershaper – limita el ancho de banda de una interfaz de red
- trickle – lanza una aplicación limitando el ancho de banda
- bwbar, bwm, bwm-ng, iftop, iperf, ipfm, speedometer, cbm, ibmonitor, pkstat, mactrack, jnettop – varios programas para monitorizar el ancho de banda
- ifstat – Report InterFace STATistics
- axel – alternativa «multihilo» de wget: http://www.quintoblog.com/downloads/axel-2.4.tar.gz. Ver https://fasterdata.es.net/data-transfer-tools/other/ y https://fasterdata.es.net/data-transfer-tools/standard-unix-tools/
- dot11decrypt – WEP/WPA2(AES and TKIP) on-the-fly decrypter. Para monitorizar tráfico wifi con tcpdump. Lo tengo que probar pero si funciona es muy útil
- psad – Port Scan Attack Detector
- nm-tool y nmcli: para administrar Network Manager desde el comand line
- woof – A small, simple, stupid webserver to share files
System monitoring
- atop – AT Computing’s System & Process Monitor
- iotop – simple top-like I/O monitor. Para monitorizar el uso de i/o, por ejemplo para ver el uso de i/o en disco por proceso
- iostat – Report Central Processing Unit (CPU) statistics and input/output statistics for devices, partitions and network filesystems (NFS)
- cpulimit — limits the CPU usage of a process
- ionice – set or get process I/O scheduling class and priority
- incron: this program is an «inotify cron» system. It consists of a daemon and a table manipulator. You can use it a similar way as the regular cron. The difference is that the inotify cron handles filesystem events rather than time periods: http://www.cyberhades.com/2009/01/30/tutorial-de-incron/
- daemonfs – A real time file monitoring software
- iWatch: a realtime filesystem monitor (ej: iwatch -e all_events -r .)
- smem – memory reporting tool. Muy útil para ver la swap y memoria real que usa cada proceso. Descargar
- nmon – systems administrator, tuner, benchmark tool
- auditd – The Linux Audit daemon. Para monitorizar archivos. Muy potente
- dstat – versatile replacement for vmstat, iostat and ifstat
- logtop – tool analyzing line rate on stdin
- memusage – lanza un comando y monitoriza la memoria que usa: http://sourceforge.net/projects/musket/files/utils/ o bien http://www.quintoblog.com/downloads/memusage.tar.gz.GNU time (/usr/bin/time) también proporciona valores de memoria (TIME=’\t%E real,\t%U user,\t%S sys,\t%K amem,\t%M mmem’ /usr/bin/time ls)
- pidstat: Report statistics for Linux tasks
- psacct: Utilities for monitoring process activities. Para ver por ejemplo el histórico de los recursos que usan los procesos
- MultiTail – browse through several files at once
Utils
- generador de passwords: pwgen -B
- backupninja + ninjahelper: hacer distintos tipos de backups via cron
- https://www.ldap-account-manager.org. Administra tu ldap via web
- molly-guard – protects machines from accidental shutdowns/reboots. Para no reiniciar por ssh la máquina equivocada…
- pv – Shell pipeline element to meter data passing through. Para hacer barras de progreso
- rvtools: display information about your vmware virtual machines and ESX hosts (wow! se ha colado un programa windows!!)
- dansguardian – Web content filtering
- sarg – squid analysis report generator
- baobab – el treesize de linux
- ncdu – el treesize de linux en modo texto
- durep – create disk usage reports
- dumpe2fs – dump ext2/ext3/ext4 filesystem information
- ts (moreutils package) – ts adds a timestamp to the beginning of each line of input. Muy útil por ejemplo para un tail -f
- vidir (moreutils package) – allows editing of the contents of a directory in a text editor. Para cambiar nombres de archivo por ejemplo
- ifdata (moreutils package) – get information about the interface, such as its IP address
- sipcalc – Advanced console-based ip subnet calculator
- blkid – Para saber el tipo de un filesystem sin montarlo (lo mismo con file -s)
- ccze – A robust log colorizer. Conveniente usarlo así: ccza -A < filename.log | less -R
Alternativas: grc, source-highlit, colortail - lsblk – The command prints all block devices (except RAM disks) in a tree-like format by default
- plowshare – command-line downloader and uploader for some of the most popular file hosting & sharing websites
- youtube-dl – command-line program to download videos from YouTube.com and a few more sites (http://rg3.github.io/youtube-dl/supportedsites.html)
- xbmc-send: send commands to XBMC (i.e. xbmc-send -a «Notification(Testing,XBMC Command Success.)» ) See http://kodi.wiki/view/List_of_built-in_functions
- meld: graphical interface for diff file comparison
- binwalk – tool for searching binary images for embedded files and executable code
- hydra – very fast network logon cracker
- fdupes – finds duplicate files in a given set of directories
- ranger – visual file manager (python)
- photorec – Recover lost files from harddisk, digital camera and cdrom
- foremost – forensic program to recover lost files
- scalpel – fast filesystem-independent file recovery
- tcpxtract – extract files from network traffic based on file signatures
Management
- kanif – cluster management and administration swiss army knife
- pdsh – Efficient rsh-like utility, for using hosts in parallel
- clustershell (clush)
- sysv-rc-conf – el equivalente de chkconfig en debian. SysV init runlevel configuration tool for the terminal
- mod_security: genial mod de apache para análisis y bloqueo de tráfico http: https://github.com/SpiderLabs/ModSecurity/wiki/Reference-Manual
Multimedia
- IP webcam para android, para usar el teléfono como webcam – https://play.google.com/store/apps/details?id=com.pas.webcam&hl=es&rdid=com.pas.webcam
- IP camera adapter: http://ip-webcam.appspot.com Un adaptador de camara IP para windows, muy útil para usar con el programa anterior
Programas para recordar