Entradas

Mostrando las entradas etiquetadas como Linux

Awesome 3.5 con conky (sin widgets lentos de vicious)

Imagen
Vamos a configurar los widgets de la barra de estado de awesomewm con conky. Busca esto en .config/awesome/rc.lua .Añade myconkywidget, y comenta con  --  los widgets siguientes, cpuwidget,memwidget,mytextclock.     myconkywidget = wibox.widget.textbox()     myconkywidget:set_text("initial text") for s = 1, screen.count() do     -- Create a promptbox for each screen     mypromptbox[s] = awful.widget.prompt()     -- Create an imagebox widget which will contains an icon indicating which layout we're using.     -- We need one layoutbox per screen.     mylayoutbox[s] = awful.widget.layoutbox(s)     mylayoutbox[s]:buttons(awful.util.table.join(                            awful.button({ }, 1, function () awful.layout.inc(layouts, 1) end),                       ...

Seguridad wireless ( segunda parte )

Imagen
Configurar cliente openvpn. Cliente linux dentro de /etc/openvpn/client.conf client port 1194 proto udp dev tap remote 192.168.10.1 resolv-retry infinite nobind user nobody group nobody persist-key persist-tun keepalive 15 60 mute-replay-warnings up /etc/openvpn/client.up up-restart down /etc/openvpn/client.down down-pre ca /etc/openvpn/easy-rsa/keys/ca.crt cert /etc/openvpn/easy-rsa/keys/client1.crt key /etc/openvpn/easy-rsa/keys/client1.key ns-cert-type server # If a tls-auth key is used on the server # then every client must also have the key. ;tls-auth ta.key 1 comp-lzo no verb 3 mute 5 copiar client.up y client.down de openvpn2.1 copiar los archivos ca.crt client1.crt client1.key. ejecutamos: ifconfig weth 192.168.10.x route add default gw 192.168.10.1 openvpn --daemon --config /etc/openvpn/home.ovpn Si hemos hecho todo correcto nos conectaromes por vpn dentro de una wifi insecura.

Seguridad wireless ( primera parte )

Imagen
Proteger wireless sin encriptación con vpn. En esto caso usaremos un linksys wrt54gs con el firmware tomato vpn ( http://www.linksysinfo.org/forums/showthread.php?t=53233 red wireless 192.168.10.* red interna 192.168.1.* Activamos jffs Desactivamos dhcp Introducimos: dentro de script firewall: iptables -I INPUT -i eth1 -p udp --dport 1194 -j ACCEPT dentro de script wan up: insmod tun.o brctl delif br0 eth1 ifconfig eth1 192.168.10.1 netmask 255.255.255.0 killall nas nas -P /var/run/nas.pid -l eth1 -H 34954 -i eth1 -A -m 128 -k yourwpa2key -s youraccespointname -w 4 -g 3600 & openvpn --mktun --dev tap0 brctl addif br0 tap0 ifconfig tap0 0.0.0.0 promisc up ln -s /usr/sbin/openvpn /tmp/myvpn /tmp/myvpn --config /jffs/openvpn.conf dentro de /jffs/openvpn.conf : cd /jffs port 1194 proto udp dev tap0 tls-server ca ca.crt cert server.crt key server.key dh dh1024.pem server-bridge 192.168.1.1 255.255.255.0 192.168.1.100 192.168.1.200 client-config...

Com crear certificat per a courier-imap-ssl

Primer canvia les dades del certificat a /etc/courier-imap/imapd.cnf Després executa: mkimapdcert mv /usr/share/imapd.pem /etc/courier-imap/ Distribució linux: archlinux