Acerca de Linux, BSD y notas personales

Archives for January, 2008

nmap tip

nmap -sP 189.151.132.188-200 -v -n

freesshd para windows

Hay muchos programas para controlar ordenadores de forma remota, sin embargo FreeSSH Server te permite hacerlo de una forma segura y encriptada cosa que no hacen otros programas. El usuario puede abrir una consola remota o acceder a sus archivos ya que el programa incorpora un servidor SFTP.http://freesshd.com/index.php

sdf.lonestar.org

The Super Dimension Fortress is a networked community of free software
authors, teachers, librarians, students, researchers, hobbyists, computer
enthusiasts, the aural and visually impaired. It is operated as a federally
recognised non-profit 501(c)(7) and is supported by its members.

sdf.lonestar.org

Netdiscover

Netdiscover is an active/passive address reconnaissance tool, mainly developed for those wireless networks without dhcp server, when you are wardriving. It can be also used on hub/switched networks.

Requerimientos:

sudo yum search libpcap

sudo yum install libnet libpcap-devel

[download]
http://nixgeneration.com/~jaime/netdiscover/

 

yum clean - limpiando centos

From the yum manual:

“CLEAN OPTIONS
The following are the ways which you can invoke yum in clean mode.

yum clean packages
Eliminate any cached packages from the system. Note that pack-
ages are not automatically deleted after they are downloaded.

yum clean headers
Eliminate all of the files which yum uses to determine the
remote availability of packages. Using this option will force
yum to download all the headers the next time it is run.

yum clean all
Runs yum clean packages and yum clean headers as above.”

The “yum clean all” command will not only remove cached packages, but also any headers. i do it occasionally to totally flush out everything in case there are obsolete headers - which can also take up space, albeit not very much. The reason it takes a little longer next time you run “yum update” is because that cache of headers needs to be replenished. Run “yum clean packages” next time, and you can avoid this extra wait, because the headers will still be cached on your box.

speedtest

Esta mona esta página:

http://www.speedtest.net/

Cómo configurar Squid


 Resumen:

http_port 3128
# ACCESS CONTROLS
acl miredlocal src 192.168.1.0/255.255.255.03
http_access allow miredlocal


Read more… »

Install Firefox 2 in CentOS 5

*Primero descarga Firefox2 :

Descargar aqui Firefox2

*Descomprimimos y movemos el paquete:

# tar -xzvf firefox-2.0.0.3.tar.gz
*Esta es la version que me baje, osea que cambia.

#mv firefox /usr/local/lib

Ahora instalamos la libreria ‘libstdc++.so.5′; si al instalarlo nos sale con este nombre:’ libstdc++-33′, no hay problema:

# yum install /usr/lib/libstdc++.so.5

Re nombramos la carpeta plugins:

# mv /usr/lib/mozilla/plugins /usr/lib/mozilla/plugins-1.5

Creamos enlace desde la carpeta plugins(renombrada) a nuestra carpeta plugins dentro de Firefox2:

# ln -s /usr/local/lib/firefox/plugins /usr/lib/mozilla/plugins

Renombrados el binario existente :

# mv /usr/bin/firefox /usr/bin/firefox15

Creamos enlace en /usr/bin que tire a nuestro binario de Firefox2 y no al de Firefox1.5

# ln -s /usr/local/lib/firefox/firefox /usr/bin/firefox

Y listo ya tienes Firefox2, lo puedes ejecutar desde el menú de Centos, ya que el enlace esta en la carpeta /usr/bin y desde ahí es donde jala el icono en el menú.

SSH Port Forwarding

Dynamic SSH

$ssh -D 9999 username@ip-address-of-ssh-server

En firefox usar red manual
solamente

localhost:9999 socks 4

Firefox
—————————————————————————

Desktop ssh -L 9999:localhost:8000 miservidorseguro.com Server miservidorseguro.com —————————————————

Para squid:

Desktop ssh -L 9999:localhost:3128 squidserver.com servidor squid squidserver.com