Blogging All About BSDs
  • About
  • Blog Submission
  • Contact

Posts in category Takizo

Reverse DNS Lookup with Dig

Jan 22, 2011 ~ Written by takizo
Reverse DNS, in simple explanation it means that resolve your IP address into hostname. Nowaday it became a must have requirement for mail server’s IP address. It is also one of the method to determine your mail server IP is glue to the hostname. Here is how to find out the reverse DNS IP address is pointed to which DNS (Read more...)
~ read more ~

Detect DDoS Source & Destination ...

Jun 26, 2008 ~ Written by takizo
Detect DDoS Source & Destination IP Address with OURMON We have OURMON running on one of network segment for quite some time, it is very helpful and resourceful when DDoS attack happened, especially to help our customer to find out which destination is targeted on the attack and from which sources. Below is the graph that we previously captured while running OURMON version 2.70. OURMON Version [...]
~ read more ~

split – but no destination parameter ...

Apr 22, 2008 ~ Written by psyber.monkey
first : cd /destination/directory second : split /source/directory/big-huge-file prefix-to-apply-onto-splited-files Voila !!! (use the parameter -b to specify the size of splited files in BYTES, NOT kb, mb or gb)
~ read more ~

cron & time zone

Apr 18, 2008 ~ Written by psyber.monkey
after changing time zone (tzsetup), restart cron (/etc/rc.d/cron restart) to let it know the changes or else the cron jobs will use the previous time zone.
~ read more ~

convert epoch using date command

Apr 13, 2008 ~ Written by psyber.monkey
date -d ‘<Unix epoch> <epoch date> sec’ e.g. date -d ’1970-01-01 988822888 sec’ would dated “Wed May 2 17:31:28 MYT 2001″ 20080430 : get a particular date in epoch, e.g. date -d ‘Apr 30 2008 00:00:00′ ‘+%s’
~ read more ~

Forget / forgot / cannot remember roo...

Apr 08, 2008 ~ Written by psyber.monkey
On a FreeBSD server 1. reboot server 2. choose to boot into single user mode 3. mount -o rw <root partition> e.g. mount -o rw / 4. passwd <root account> e.g. passwd root 5. mount -o ro <root partition> e.g. mount -o ro / 6. reboot server again Voila !!!
~ read more ~

How to dig SRV record after creating ...

Apr 06, 2008 ~ Written by psyber.monkey
dig <record type> <host.name> e.g dig SRV _someservice._port.hostname.domainame.com.my OR dig SRV _https._ICMP.host.takizo.com
~ read more ~

ls & rm with regular expression

Apr 04, 2008 ~ Written by psyber.monkey
e.g. rm -rf backup-20070[8-9]-* would delete : backup-200708-morning backup-200708-evening backup-200709-night backup-200709-latenight but not : backup-200706-morning backup-200707-afternoon backup-200711-midnight e.g. ls backup-20070[1-9] would list all backup starting from January to September but leave October, November & [...]
~ read more ~

sed with multiple criteria

Apr 03, 2008 ~ Written by psyber.monkey
sed -e 1d -e 50d -e ‘/junks/d’ would remove first and 50th line & any line(s) with the word “junks”. update 20080821 : sed -e ‘/^$/d’ would remove every empty line
~ read more ~

ssh client hang after a few minutes o...

Apr 02, 2008 ~ Written by psyber.monkey
specify the parameter “ServerAliveInterval 60″ in /etc/ssh_config or /etc/ssh/ssh_config. for more info, man ssh_config
~ read more ~

Exim – anti-spam per domain setting

Apr 01, 2008 ~ Written by psyber.monkey
acl_check_rcpt: blah … blah … blah … deny message = rejected as $sender_host_address is blacklisted in $dnslist_domainn$dnslist_text domains = domain-one.com : domain-two.com : domain-three.com dnslists = sbl-xbl.spamhaus.org blah … blah … blah … reference link : http://www.exim-new-us [...]
~ read more ~

Pages

  • About
  • Contact
  • Blog Submission
  • Book review – Absolute OpenBSD 2nd Edition
  • Book review – DNSSEC Mastery

 Subscribe in a reader

Categories

  • aboutBSD.net
  • alp's notes
  • blog.netbsd.org
  • blog.pcbsd.org
  • BSDTalk
  • chfl4gs
  • Dan Langille's Other Diary
  • dan.langille.org
  • DragonFlyBSD Digest
  • Dru Lavigne – A Year in the Life of a BSD Guru
  • FreeBSD
  • FreeBSD Foundation
  • freebsd.stokely.org
  • meetBSD: meet the BSD systems
  • Murray's FreeBSD Notes
  • NetBSD
  • NetBSD Blog
  • nixCraft : FreeBSD
  • Official PC-BSD Blog
  • OpenBSD
  • OpenBSD Journal
  • PC-BSD
  • PsyberMonkey
  • Takizo
  • The FreeBSD Diary
  • Uncategorized
  • Warner's Random Hacking Blog
  • www.alp-notes.blogspot.com
  • www.bsdimp.blogspot.com
  • www.bsdtalk.blogspot.com
  • www.cyberciti.biz
  • www.freebsd.org
  • www.freebsddiary.org
  • www.freebsdfoundation.org
  • www.meetbsd.org
  • www.netbsd.org
  • www.pcbsd.org
  • www.scratching.psybermonkey.net
  • www.shiningsilence.com/dbsdlog
  • www.systems.takizo.com
  • www.undeadly.org

Pure Line theme by Theme4Press  •  Powered by WordPress Blogging All About BSDs