ip-stories.com

  •  

    September 2010
    M T W T F S S
    « Aug    
     12345
    6789101112
    13141516171819
    20212223242526
    27282930  
  • Web Stat Counter

    • Search This Blog :

    • Add url
    • Add Me on FB

      Rahman Isnaini's Facebook profile
    • Hurricane Electric IPv6 Cert

      IPv6 Certification Badge for risnaini
    • comments

    • Visitors Referred From :

    • Geo Stats

    • Categories

    Archive for the 'Linux' Category


    [IPv6] How to do NMAP over IPv6 Network

    Posted by admin on 28th February 2010

    > nmap 2404:170:3::49

    Starting Nmap 4.11 ( http://www.insecure.org/nmap/ ) at 2010-02-28 22:43 GMT
    Invalid host expression: 2404:170:3::49 — colons only allowed in IPv6 addresses, and then you need the -6 switch
    QUITTING!
    > nmap -6 2404:170:3::49

    Starting Nmap 4.11 ( http://www.insecure.org/nmap/ ) at 2010-02-28 22:43 GMT
    Interesting ports on 2404:170:3::49:
    Not shown: 1676 closed ports
    PORT    STATE SERVICE
    22/tcp  open  ssh
    80/tcp  open  http
    443/tcp open  https
    873/tcp open  rsync

    Nmap finished: 1 IP address (1 host up) scanned in 2.694 seconds

    Posted in IPv6, Linux | No Comments »

    [Unix/Linux] Replace some characters/strings to another wanted characters/strings in Unix/Linux Log File.

    Posted by admin on 6th August 2009

    It very easy if we have worked with Microsoft Excel / Notepad / Wordpad ect..
    Linux/Unix Console ?
    Lately, we found IP Address Reverse in a raw log of TCP Dump never been parsed by PHP/Perl script in to a Database
    Need to replace those strings to the real IP.
    Here the Command :

    #cat TD-CPWAN-20090625.log | sed -es’/static-168-230-217.isp.net.id/192.168.230.217/’ > TD-CPWAN-20090625-PTR-217.log
    #mv TD-CPWAN-20090625-PTR-217.log TD-CPWAN-20090625.log

    Now you should see “static-168-230-217.isp.net.id” replaced with “192.168.230.217″ in your raw log.

    a. rahman isnaini r.sutan
    Thanks to Geri Anggara for the Script

    Posted in Linux, Script | No Comments »

    Suggested to be IPv6 Enabled…

    Posted by a. Rahman Isnaini r. Sutan on 25th April 2008

    What I want to be IPv6 Enabled :

    Number #0.1 : ALL INTERNET EXCHANGE, TIERS, NAPS, PROVIDERS, TELCO OPERATORS & WARNETS [How can this be in this categories ? I mean Internet Cafe :)]
    Number #0.5 : BSD, UNIX, LINUX, CISCO, JUNIPER, MICROSOFT, APPLE [WEBsites & All Related Application Running On]

    Number #1 : Google.Com [Most popular & Fastest Search Engine, Earth Map, Mail]
    Number #2 : Yahoo.Com [Most Used Messenger, Mail]
    Number #3 : You Tube and other popular tubes [Most Video Streaming]
    Number #4 : CNN.COM BBC.COM and other NEWS WEBSITES [Most News]
    Number #5 : WORDPRESS.COM, BLOGSPOT, MULTIPLY, RAPIDSHARES [Most BLOGS]
    Number #6 : ALL SOFTWARES PROVIDERS
    Number #7 : ALL CONTENT & GAMES PROVIDERS [PORNS ? YES !] :) & I SHOULD BE AWAY FROM THIS.
    Number #8 : ALL BANKING SYSTEMS

    In INDONESIA :

    Number #0 : ALL NAPS, ISPs, INTERNET EXCHANGES, WARNETS, TELCO OPERATORS
    Number #1 : DETIK.COM [DONE with SIGIT ISNANTO]
    Number #2 : GAME CENTERS PROVIDERS [WHY DIDN'T THEY GO TO SCHOOL THIS LATE ?]
    Number #3 : ALL WEBSITES
    Number #4 : ALL BANKING SYSTEMS
    Number #499 : WWW.17TAHUN.COM ? :) [SORRY NOPE HOSTED HERE :))]

    WHY ?
    Because we are in the shortage of applications to get everybody even an internet dummy interested on the Big Issue of Running Out of IPv4 Address.
    And we are so close to the second, where every electronic boxes need IP for communicate.
    Yes, I Know NAT can do it for now, but it’s limited for some features.

    What I other thing know is still many of engines & boxes in some providers not IPv6 Supported yet.
    Replacement will equal to cost :) And Cost equals to How Revenue Calculated..
    And Gross Profit equals to COGS deducted from Revenue..
    And EBITDA derived from above..
    And ETDA Bocah… [This is BETAWI Languange, just passed to the bottom]…
    And Finally Net Profit Comes Up which might be 10% of Revenue :)) [kacian deh]…

    [I'm not actually sure, I'm a Network Engineer or Finance Expert by looking at above terms :)]

    So… What do you think Boss ?
    Forget Transition !!
    Forget That v6 Engines !! get Back to 4 cilinders ~!

    Matilah… awak…

    rgs
    a. rahman isnaini r.sutan
    NETSOFT NAP OPERATION
    Cyber Bld, 8th Floor
    Jakarta Selatan

    2404:170:253::10

    Posted in CDMA, CentOS, Cisco, Engine, FreeBSD, GPRS, IPv4, IPv6, Juniper, Linux, Slackware | 2 Comments »

    Script Back Up Sample

    Posted by a. Rahman Isnaini r. Sutan on 18th April 2008

    #/bin/bash
    #cd /
    mt -f /dev/st0 status
    sleep 3
    mt -f /dev/st0 rewind
    sleep 3
    tar -cvf /dev/st0 -b 512 /var/www/ /var/lib/mysql/ /etc/httpd/ /var/named/chroot/ /etc/php.ini /etc/named.conf /etc/my.cnf > /var/log/backup/backup-tape-`date “+%Y%m%d”`.txt
    sleep 2
    gzip /var/log/backup/backup-tape-`date “+%Y%m%d”`.txt
    sleep 20
    #chown nmc /var/log/backup/backup-log-`date “+%Y%m%d”`.txt.gz
    mt -f /dev/st0 offline

    Here the data in which will be backed up by the script :

    /var/www/ –> File-file web
    /var/lib/mysql/ –> file-file databases
    /etc/httpd/ –> Configuration Apache Web Server
    /var/named/chroot/ –> Database Record DNS
    /etc/php.ini –> Configuration PHP
    /etc/named.conf –> Configuration DNS server
    /etc/my.cnf –> Configuration MySQL Server

    – IP –

    Posted in Back Up, Engine, FreeBSD, Linux, Script | No Comments »

    CentOS Cannot Resolve Any Domain

    Posted by a. Rahman Isnaini r. Sutan on 19th March 2008

    Brought by our WebMaster Team yesterday.
    The server already has CentOS running on, installed by the team.
    All layer 3 network is working fine.

    Wait, not domain resolving :) The error “Unknown Host”, on and on.. either tracing or pinging a domain name.

    Geri & All team have been trying to fix it up.
    Looking at /etc/resolv.conf file frequently as never seen something at the end which might be usefull to have it deeply analyzed.
    Joko Tri has put his eyes in detail of config.
    We missed : “name” prefix at config :) And the file should be “name server 202.53.253.65″ not  “server 202.53.253.65″.

    Got you !.
    Everything is smoothly coming out.
    All pinging & tracing by domain perfectly resolved.
    Sometimes “short word text” doesn’t speak !.

    Frightenly CentOS suggested to re-install at the begining of finding this issue :))
    Which of course didn’t give yu anygood if missing the “name” prefix at /etc/resolv.conf

    a. rahman isnaini r.sutan
    DEA Bld 11th Floor
    Netsoft Indonesia, PT

    Posted in CentOS, Linux | No Comments »