2013年6月21日 星期五

Network Troubleshooting Tools, IPv4 and IPv6

A summary of various troubleshooting commands for common client operating systems for both IPv4 and IPv6.

Apple OS X, *BSD

Ping for IPv4/sbin/ping
Ping for IPv6/sbin/ping6
Traceroute for IPv4/usr/sbin/traceroute
Traceroute for IPv6/usr/sbin/traceroute6
Interface Info/sbin/ifconfig
IPv4 Route table/usr/sbin/netstat -f inet -rn
IPv6 Route table/usr/sbin/netstat -f inet6 -rn
IPv4 arp table/usr/sbin/arp -an
IPv6 ndp table/usr/sbin/ndp -an

Windows: Vista, 7, Server 2008 and higher

Ping for IPv4ping -4
Ping for IPv6ping -6
Traceroute for IPv4tracert -4
Traceroute for IPv6tracert -6
Interface Infoipconfig /all
IPv4 Route tablenetsh interface ipv4 show route
IPv6 Route tablenetsh interface ipv6 show route
IPv4 arp tablearp -a
IPv6 ndp tablenetsh interface ipv6 show neighbors

Linux

Ping for IPv4ping
Ping for IPv6ping6
Traceroute for IPv4traceroute -4
Traceroute for IPv6traceroute -6
Interface Infoip address show
IPv4 Route tablenetstat -A inet -rn
IPv6 Route tablenetstat -A inet6 -rn
IPv4 arp tablearp -an
IPv6 ndp tableip -6 neighbor show
Notes:
  • Paths differ between distributions.
  • traceroute6 is usually installed as a hard link to traceroute and defaults to using the -6 flag. Forcing the -4 or -6 options is useful to make sure you are using the correct ip version during troubleshooting.

Solaris

Ping for IPv4/usr/sbin/ping -A inet
Ping for IPv6/usr/sbin/ping -A inet6
Traceroute for IPv4/usr/sbin/traceroute -A inet
Traceroute for IPv6/usr/sbin/traceroute -A inet6
Interface Info/bin/netstat -ain
IPv4 Route table/bin/netstat -f inet -rn
IPv6 Route table/bin/netstat -f inet6 -rn
IPv4 arp table/bin/netstat -pn -f inet
IPv6 ndp table/bin/netstat -pn -f inet6

2013年6月2日 星期日

在MAC OS上開啟su 最高權限設定

啟動root作法如下:

1.在$後鍵入sudo passwd root
按下

2.看到提示 Password:
輸入你個人的管理者密碼

3.接著看到
Changing password for root.
New password:
輸入root要使用的新密碼,然後在驗證一次

4.已經啟動root帳號了

往後只需輸入su再輸入password,就可登入root

DNSSEC安全技術簡介 作者:游子興 / 臺灣大學計算機及資訊網路中心網路組約聘幹事 DNS 是一套已經廣泛使用的Internet 服務,但因先天的技術限制導致容易成為駭客攻擊的目標。本文主要在介紹DNSSEC 之緣起與技術背景,及其使用的加解密技術如何確保資料的完整...