Archive for May, 2010

Linus Torvalds buy Windows 7

Posted: May 30, 2010 in My live

Microsoft tried to torpedo the success of the Japan Linux Symposium by launching their Windows 7 product that same day. They even had setup a big promotion booth across the street from the conference center.

During a break, we decided to make some fun of Microsoft and dragged Linus over there. When we arrived there, Linus was sold immediately on the product as you can see in the picture. At least that’s what the sales guy thought. He obviously had no idea who he was dealing with. But in the end Linus surprisingly did not buy a copy. Wise man!

Advertisements

My *Unix GURUz

Posted: May 29, 2010 in 1

I have found my Unix GURUz ;p

GURUz

GURUz

Vmware 2 on ubuntu 9.10 64

Posted: May 27, 2010 in Debian

I have problem install vmware server on ubuntu server 9.10 64 (2.6.31-21-server)

i have googling aroud the world to find the answers and this is the best right now..

if you have download vmware server 2 and found this problem

unable to load vmnet

Execution aborted.

follow this guid and it will work ..

http://radu.cotescu.com/2010/01/19/how-to-install-vmware-server-ubuntu-fedora-opensuse/

I love to use zenwalk as my simple server but after install slapt-get i always have problem

with libgpm.so. Googleing about 2 3 hours i found this and after install all done.

lipgpm.so

http://ftp.vim.org/ibiblio/distributions/amigolinux/download/Libs/gpgme-1.0.3/gpgme-1.0.3-i486-1.tgz

ZenServer RocK

I have install Freebsd 8.0 to act as a firewall / gateways for my local lan.

I have googling about 1 days to made working pf.conf

(I only learn freebsd from Uncle G and youtube hahaha :p about a few month ago)

This is my working pf.conf

#######################################################################

### macros
# internal and external interfaces (run ‘ifconfig’ to find interfaces)
int_if = “le1”
ext_if = “le0”

# Ports we want to allow access to from the outside world on our local
# system (ext_if)
tcp_services = “{ 22, 80 , 3389}”

# ping requests
icmp_types = “echoreq”

# Private networks, we are going to block incoming traffic from them
priv_nets = “{ 127.0.0.0/8, 192.168.0.0/16 }”

### options
set block-policy return
set loginterface $ext_if
set skip on lo0

scrub in all

### nat/rdr
# NAT traffic from internal network to external network through external
# interface
nat on $ext_if from $int_if:network to any -> ($ext_if)
nat on $ext_if from !($ext_if) -> ($ext_if:0)

# redirect traffic to proxy on localhost:8080
rdr on $int_if proto tcp from any to any port 80 -> 127.0.0.1 port 8880
rdr pass on $ext_if inet proto tcp from any to $ext_if port 3389 -> 192.168.1.35

pass in on $int_if inet proto tcp from any to 12.0.0.1 port 8880 keep state
pass out on $ext_if inet proto tcp from any to any port www keep state
pass out on $int_if inet proto tcp from any to 192.168.1.35 port 3389

### filter rules
block all

# block incoming traffic from private networks on external interface
block drop in quick on $ext_if from $priv_nets to any

# block outgoing traffic to private networks on external interface

block drop out quick on $ext_if from any to $priv_nets

#accept ssh incoming

pass in log quick on $ext_if proto tcp from any to $ext_if port 22 keep state

# allow in ping replies
#pass in inet proto icmp all icmp-type $icmp_types keep state

# allow all traffic from internal network to internal interface
pass in  on $int_if from $int_if:network to any keep state
pass out on $int_if from any to $int_if:network keep state

# allow all traffic out via external interface
pass out on $ext_if proto tcp all modulate state flags S/SA
pass out on $ext_if proto { udp, icmp } all keep state

#######################################################################

i will update how to install squid + dansguardian + clamav + pf…

give me some time. :p