dmitri alenitchev

September 17, 2006

zsh and xterm window title

Filed under: FreeBSD, OpenBSD, Ubuntu — Dmitri Alenitchev @ 16:55

If you want see information from your shell (like current directory, user and hostname) in xterm window title just place the following lines in your ~/.zshrc file:

case $TERM in
    *xterm*)
        precmd () {print -Pn "\e]0;%n@%M: %~\a"}
        ;;
esac

P.S.: I use “*xterm*” in this example, because i have TERM like “color_xterm”, “xterm-sun” and “xterm-hp”, see /etc/termcap file.

September 13, 2006

New toys

Filed under: Default — Dmitri Alenitchev @ 16:32

At work I got two new toys. ;-)
DKVM-16 and DKVM-IP1. Testing in progress…
P.S.: I’m waiting for Cisco Catalyst 3560.

September 12, 2006

Many Common Names (CN) in one SSL certificate

Filed under: FreeBSD, OpenBSD, Ubuntu — Dmitri Alenitchev @ 21:08

Here is tip how to make one ssl certificate for many Common Names (CN).

You need add following strings to your openssl.cfg:

[ req_distinguished_name ]
0.commonName_default            = www.first-domain.com
0.commonName_max                = 64
1.commonName_default            = www.second-domain.com
1.commonName_max                = 64

..and use this config file for making certificate.

September 11, 2006

Very nice holidays

Filed under: Default — Dmitri Alenitchev @ 7:35

I was drunk since Friday. ;-)

September 8, 2006

Scan with Netcat

Filed under: FreeBSD, OpenBSD, Ubuntu — Dmitri Alenitchev @ 13:47

nc(1) can be used for simple and fast network scan. Here is sample of localhost scan (ports range: 1-1024).

$ nc -v -z 127.0.0.1 1-1024
localhost [127.0.0.1] 80 (www) open
localhost [127.0.0.1] 25 (smtp) open
localhost [127.0.0.1] 22 (ssh) open

September 7, 2006

PATCH: DWL-G630 support

Filed under: OpenBSD, Photo — Dmitri Alenitchev @ 21:44

This patch add D-Link DWL-G630 (H/W Ver. D1) support to ath(4) driver in OpenBSD-current kernel.

Before patch:

Atheros Communications, Inc., AR5001-0000-0000, Wireless LAN Reference Card, 00 (manufacturer 0×271, product 0×12) vendor “Atheros”, unknown product 0×001a (class network subclass ethernet, rev 0×01) at cardbus0 dev 0 function 0 not configured

After patch:

ath0 at cardbus0 dev 0 function 0 “Atheros Communications, Inc., AR5001-0000-0000, Wireless LAN Reference Card”: irq 10
ath0: AR5213 7.8 phy 4.5 rf2112a 5.6, FCC2A*, address 00:13:46:6e:a4:ef

Secure Surfing from public place

Filed under: FreeBSD, OpenBSD, Ubuntu — Dmitri Alenitchev @ 13:59

Use OpenSSH port forwarding to browse web from public place.

ssh(1) can act as a SOCKS server. SOCKS4 and SOCKS5 protocols are supported. All you need is shell access to remote machine.

Example:

ssh -D 4545 user@IP

Now you can specify “localhost” as SOCKS host and “4545” as SOCKS port in connections settings of your browser.

Security Engineering – The Book

Filed under: Default — Dmitri Alenitchev @ 12:42

Available online now for downloading by chapters.

Security Engineering: A Guide to Building Dependable Distributed Systems

September 4, 2006

NEW: emulators/pearpc

Filed under: OpenBSD — Dmitri Alenitchev @ 0:20

Yesterday night i make my new port for OpenBSD: pearpc, powerful powerpc emulator.

Only package building done now, needed many patching work. I want add flavors for variousĀ  UI. Here initial revision in Russian OpenBSD Team SVN: pearpc

September 2, 2006

Too many work..

Filed under: Default — Dmitri Alenitchev @ 19:58

Have not enough time now for participating in projects. :(

« Newer PostsOlder Posts »

Blog at WordPress.com.