Showing posts with label anonymity. Show all posts
Showing posts with label anonymity. Show all posts

Tuesday, September 25, 2012

send email anonymously with tormail

http://tormail.org/


Tuesday, August 21, 2012

Thursday, April 14, 2011

encrypted partition with macosx

ง่ายมากเลย เพียงท่านเปิดโปรแกรม Disk Utility ขึ้นมาแล้วทำการสร้าง disk image ใหม่ขึ้นมา ในหน้าฟอร์มการสร้างนั้นจะมี option ให้เลือกว่าต้องการ encrypted disk image : ) เมื่อสร้างเสร็จเวลาต้องการใช้งานก็เพียง double click disk image นั้นขึ้นมามันจะ prompt ถาม passphrase เมื่อกรอกเสร็จก็จะเห็นเป็นอีก partition หนึ่งใน Finder

อ้างอิง

Friday, September 10, 2010

how to set up crypted partition under Ubuntu 8.04 or Debian stable (5.0)

Install cryptsetup:

# apt-get install cryptsetup

Load 2 modules:

# modprobe dm-crypt 
# modprobe dm-mod

Use luks to format partition and map it to a device:

# luksformat -t ext3 /dev/sdb1
# cryptsetup luksOpen /dev/sdb1 crypteddisk


crypteddisk is a user defined name.  You can name it whatever you want.  It will be found under /dev/mapper.

I put this line in /etc/crypttab:

crypteddisk /dev/md0 none luks,noauto

I also put this line in /etc/fstab:

/dev/mapper/crypteddisk /data ext3 defaults,noauto 0 0 

Make sure you have /data/ directory and maybe prevent it to be used before being mounted by chattr +i /data.

Now you can mount your new encrypted partition by:

cryptdisk_start crypteddisk
mount /data


Note that I config fstab and crypttab in such a way that it won't automatically mount the encrypted partition at boot time.  You know why?  Thinking about when the machine you are working on is a server located in some data centre (no need to be so far away from your house).  If you set it to be auto mount, it will ask you to enter the LUKS passphrase at boot time which means you won't be able to ssh to the machine as it will just wait there forever until you enter the password lol

Wednesday, August 25, 2010

how to disable sshd authentication log

Platform:
  • grml 2010.04 Release Codename Grmlmonster [2010.04.29] (debian based)
I don't want the system to log when I ssh to it.  Normally, when I ssh to the server, there will be authentication logs get logged to:

/var/log/auth.log

Below is the sample logs when I logged on via ssh:

Aug 23 11:21:01 grmllinuxrocks sshd[18155]: pam_sm_authenticate: Called
Aug 23 11:21:01 grmllinuxrocks sshd[18155]: pam_sm_authenticate: username = [grml]
Aug 23 11:21:01 grmllinuxrocks sshd[18155]: Accepted password for grml from 192.168.1.139 port 1074 ssh2

which I want to get rid of.

In order to get rid of this authentication log, you have to edit this file:

/etc/rsyslog.conf

Open it and look for the lines:

auth,authpriv.*          /var/log/auth.log
*.*;auth,authpriv.none   -/var/log/syslog

And change them to:

auth,authpriv.*          /dev/null
*.*;auth,authpriv.none   -/dev/null

And that's it.  Enjoy your anonymity.

how to disable caching of squid

You can disable caching by adding these 2 lines below in your squid's configuration (/etc/squid/squid.conf):

cache deny all
cache_dir null /tmp

how to disable squid's logs

For the extreme anonymity, ones might also want to disable all the logs generated by squid.  Here is the easiest way I found to disable the logs.  In squid's configuration file which is, for my case:

/etc/squid/squid.conf

Replace
access_log /var/log/squid/access.log squid
with
access_log /dev/null squid

Replace
cache_log /var/log/squid/cache.log
with
cache_log /dev/null

Replace
cache_store_log /var/log/squid/store.log
with
cache_store_log /dev/null

"/dev/null" is a magic device file in unix.

Thursday, July 22, 2010

Surfing websites anonymously with Tor

I completely don't understand why my government (in Thailand) has to invest a considerable amount of money on blocking undesirable websites.  As per my clear technical knowledge, it is impossible to do such thing.  Even within The Great Firewall of China, anyone who want to enjoy their activities on the Internet freely can, at least, subscribe to a pretty cheap and affordable VPN service from any providers outside China and then route their traffics through the VPN gateway instead and live a happier life since.

I'd like to introduce you of how to browse websites anonymously (which also bypasses the Internet Censorship somehow) through a well-known proxy system, Tor.

Regardless of how complexity Tor is which you will never really have to concern and if you run Grml Linux, you are coming to a right way.  The set up is very easy as follow:
  • grml_2009.10 (Hello-Wien) - I'd assume for any newer versions of grml, it should be relatively easy still
  • # agi tor
  • # /etc/init.d/privoxy start
  • # /etc/init.d/tor start
  • Install Torbutton for Firefox
Now when you want to browse website anonymously via Tor, you can just click at the Torbutton on the bottom-right corner of Firefox (just make sure privoxy daemon and tor daemon are up and  running).

Tuesday, July 21, 2009

browsing website anonymously

Bah! Stop searching for an anonymous web browsing service, here is the best one:

HIDE MY ASS

http://www.hidemyass.com

Reliable, fast and etc

Now, you can browse porn sites safely!

HA HA HA