Update sandbox 2007-2008

May 24th, 2009

src_unpack() {
unpack ${A}
cd /var/tmp/portage/sandbox-1.6-r2/
tar --lzma -xvf distdir/sandbox-1.6.tar.lzma -C ./work
cd "${S}"
epatch "${FILESDIR}"/${P}-disable-qa-static.patch
epatch "${FILESDIR}"/${P}-disable-pthread.patch
epatch "${FILESDIR}"/0001-libsandbox-handle-more-at-functions.patch
}

/usr/portage/sys-apps/sandbox/sandbox-1.6-r2.ebuild

Yordan Georgiev Uncategorized

ssh

April 4th, 2009

ssh, , , . :

ssh-keygen -t rsa1 -f /etc/ssh/ssh_host_key -N ""
ssh-keygen -t dsa -f /etc/ssh/ssh_host_dsa_key -N ""
ssh-keygen -t rsa -f /etc/ssh/ssh_host_rsa_key -N ""

Yordan Georgiev HowTo, Linux

Jail Debian [1]

March 27th, 2009

: !

? ? , ? ?

- " -", , , . - , jail. , . "" . . : http://en.wikipedia.org/wiki/Jail_(computer_security)

"":

  1. N M . : /
  2. - . :
  3. . :
  4. mail(). : .
  5. ssh, . : , .

Yordan Georgiev HowTo, Linux ,

GetDeb apt

March 10th, 2009

, http://www.getdeb.net/ sources.list ;-)

echo "deb http://ubuntu.org.ua/ getdeb/" >> /etc/apt/sources.list
apt-get update
apt-get upgrade

Enjoy!

Yordan Georgiev Uncategorized

XEN:

March 8th, 2009

;)

#kernel = "/usr/lib/xen/boot/hvmloader"
builder = 'hvm'
memory = 512
vcpus = 2
name = "xen"
vif = [ 'type=ioemu, bridge=xenbr0' ]
disk = [ 'phy:drbd0,xvda,w' ] #, 'file:/xen/gentoo.iso,hdc:cdrom,r']
#device_model = '/usr/lib/xen/bin/qemu-dm'
#boot='d'
vnc=1
#vncviewer=1
#dhcp = 'dhcp'

on_poweroff='preserve'
#on_poweroff='restart'

Yordan Georgiev Uncategorized

VoIP: voicelink

March 7th, 2009

:

[general]
register => :@sip.voicelink.biz:5060/voicelink
[voicelink]
type=friend
fromuser=
username=
realm=voicelink
canreinvite=yes
secret=
insecure=very
host=sip.voicelink.biz
disallow=all
allow=ilbc
allow=ulaw
allow=alaw
qualify=yes
outbound=proxy=sip.voicelink.biz
context=incoming

Yordan Georgiev voip

VoIP: bgopen.net

March 3rd, 2009

VoIP asterisk :

[general]
disallow=all
allow=gsm
register =>NOMERA:PAROLATA@sip.bgopen.net:5060/bgopen
useragent=Twinkle/1.2

[bgopen]
type=friend
disallow=all
allow=gsm
dtmfmode=rfc2833
username=NOMERA
secret=PAROLATA
insecure=very
host=sip.bgopen.net
context=incoming

!

Yordan Georgiev voip

February 13th, 2009

November 20th, 2008

October 21st, 2008