本次練習的環境為
- OS X EI Capitan v10.11.3 64bit
- wireshark 2.0.2 64bit
Password_Digest = Base64 ( SHA-1 ( nonce + created + password ) )Below list 2 test vector
Nonce : juVKtZ22NkCZfPadWjVAs2UAAAAAAA==Test Vector 2
created: 2016-03-24T06:16:28.732Z
password = 1234
PasswordDigest: oXq1ma7BR1vYdHBW01Hn1Aa1ppQ=
Nonce : Mdr8Vh3rBzmt1s+3b+nvNJWIlKk=
created: 2016-03-12T11:54:16Z
password = 1234
PasswordDigest: s/bk3KbayLIJb4mK95+g+Feu7+Y=
XMPP與IMPP、PRIM、SIP(SIMPLE)合稱四大IM協議主流,在此4大協定中,XMPP是最靈活的。
Google Talk 使用開放的 XMPP 協議(原名Jabber),VoIP功能使用 XMPP 擴展的Jingle協議,若要開發一個 P2P 的服務,可以直接參考 Google 的 libjingle source code,其URL為 https://code.google.com/p/webrtc/。
The goals of this document are to define a set of common terminology for describing the behavior of NATs and to produce a set of requirements on a specific set of behaviors for NATs.
sudo apt-get install isc-dhcp-server
Your system needs to have a fully qualified domain name (fqdn) in
order to install the var-qmail packages.
Installation aborted.
dpkg:在處理 qmail (--configure) 時發生錯誤:
子程序 installed post-installation script 傳回了錯誤退出狀態 1
dpkg:因相依問題,不能設定 qmail-run:
qmail-run 相依於 qmail (>= 1.06-2.1)﹔然而:
qmail 套件尚未設定。
dpkg:在處理 qmail-run (--configure) 時發生錯誤:
相依問題 - 保留為未設定
No apport report written because the error message indicates its a followup error from a previous failure.
/etc/hostname 的內容
albert-VirtualBox/etc/hosts 的內容
127.0.0.1 albert-VirtualBox.haha.com albert-VirtualBox
sudo apt-get clean
sudo apt-get remove --purge qmail
sudo apt-get update
sudo apt-get install qmail
最方便的作法便是直接拿台Notebook,同時有wired與wireless。
先安裝 VM (此處我使用VirtualBox),並在 VM上安裝 ubuntu 12.04,接著要針對此 VM 分別新增兩張網路卡,一個與內網溝通,一張與 Internet溝通。網路的配置如下:
STUN - Simple Traversal of User Datagram Protocol (UDP) Through Network Address Translators (NATs)
Session Traversal Utilities for NAT (STUN)