Dynagen在數度難產后終于誕生了0.11版本,這是個里程碑似的版本,他整合了confDynagen和Pemuwrapper,使得我們在搭建復雜安全環境下的拓撲變得更容易和易于調整。
confDynagen的具體介紹這里就從略了,我們著重看下Pemuwrapper的問題。
==========================非常賤的分割線==========================
1、安裝好Dynagen后,著手來測試整合pemu的特性。在配置好net文件后啟動,你會看到pix在非常虔誠的erase flash,不要開心,后面的事情會告訴你這些都是無效的。
2、在進入系統后,你開始配置各種信息,然后輸入Activation Key,wr,然后重啟。
3、重啟后,你看到:
flashfs[7]: found corrupted block[0] (byte 0, sector 0), fixing...
flashfs[7]: found corrupted block[1] (byte 0, sector 0), fixing...
flashfs[7]: found corrupted block[2] (byte 0, sector 0), fixing...
flashfs[7]: found corrupted block[3] (byte 0, sector 0), fixing...
flashfs[7]: found corrupted block[4] (byte 0, sector 0), fixing...
flashfs[7]: found corrupted block[5] (byte 0, sector 0), fixing...
flashfs[7]: found corrupted block[1] (byte 0, sector 0), fixing...
flashfs[7]: found corrupted block[2] (byte 0, sector 0), fixing...
flashfs[7]: found corrupted block[3] (byte 0, sector 0), fixing...
flashfs[7]: found corrupted block[4] (byte 0, sector 0), fixing...
flashfs[7]: found corrupted block[5] (byte 0, sector 0), fixing...
……………………
進入系統后,配置全丟,flash不可讀寫。
4、然后你開始找原因,查pemu.ini,查flash,查Activation Key……
5、網上講的一些方法全部無效,任何重啟都是錯誤的flash塊,而你每次erase還是format或者fcsk;換來的重啟后錯誤都是一樣的。
==========================再次非常賤的分割線==========================
那么我們來分析下原因。
Pemuwrapper啟動后會在兩個位置出現臨時文件,一是temp下的\....2007-07-15\,二是你指定或者默認和你net文件在一個目錄下的FW1(你定義的實例名)目錄。
在temp下的有一整套pemu文件,不過很可惜,Pemuwrapper僅僅用了里面的mybios和bios;
FW1下則實用了flash和pemu.ini。
flash文件的問題是確定的,不管key對不對,我們首先要解決flash的問題,flash文件具體為什么會出現這樣的問題,時間不允許我去仔細看結構,也沒必要;我們本著快速解決問題的態度,先找一個健康的flash:
[分享]帶ASDM的PEMU所用的UR版的FLASH文件[url]http://www.netemu.cn/bbs/viewthread.php?tid=834[/url]
這個論壇沒帳號的也不用繼續玩pemu了,要知道那個上面的資源量。
下到的flash帶了一個asdm521的flash,這個版本已經不適合現在的pix802的系統了,不管,我們后面再升級。【沒有這些軟件的可以加我qq】
有了這個flash,就可以順利啟動了,當然,其實我們只要里面的文件結構,有沒asdm或pix無所謂,你有更好的地方可以下也行。
flash不報錯,自然config也可以保存了,不過為什么在dir all后看到running-config仍然是0,希望有高手給與指點。
==========================還是非常賤的分割線==========================
情況好轉了很多,我們可以繼續往下面走。
這個版本的flash是帶了激活的,不過對我們的pix802不太好用,我們得換一個好使的key。
網上有人很開心的用這個
serial=0x1c9f971c
key=0xa94b7db5,0x17d768ea,0x63f6e081,0x6d9fadd5
key=0xa94b7db5,0x17d768ea,0x63f6e081,0x6d9fadd5
大家睜大眼睛看看:
Licensed features for this platform:
Maximum Physical Interfaces : 10
Maximum VLANs : 100
Inside Hosts : Unlimited
Failover : Active/Active
VPN-DES : Disabled
VPN-3DES-AES : Disabled
Cut-through Proxy : Enabled
Guards : Enabled
URL Filtering : Enabled
Security Contexts : 2
GTP/GPRS : Disabled
VPN Peers : Unlimited
This platform has an Unrestricted (UR) license.
Maximum Physical Interfaces : 10
Maximum VLANs : 100
Inside Hosts : Unlimited
Failover : Active/Active
VPN-DES : Disabled
VPN-3DES-AES : Disabled
Cut-through Proxy : Enabled
Guards : Enabled
URL Filtering : Enabled
Security Contexts : 2
GTP/GPRS : Disabled
VPN Peers : Unlimited
This platform has an Unrestricted (UR) license.
你vpn的幾個加密都是Disable的,你打算怎么做IPsec的實驗呢?
所以我們得用一個好用的序列號和key
Serial Number: 810472609
Running Activation Key: 0x2733d415 0x0acfde2d 0x14f832fb 0xd743b72a
Running Activation Key: 0x2733d415 0x0acfde2d 0x14f832fb 0xd743b72a
在pemu.ini(注意是FW1里面的)設置后,啟動pix,然后在系統里要再次:
Activation Key 0x2733d415 0x0acfde2d 0x14f832fb 0xd743b72a
得到:
Licensed features for this platform:
Maximum Physical Interfaces : 3
Maximum VLANs : 10
Inside Hosts : Unlimited
Failover : Disabled
VPN-DES : Enabled
VPN-3DES-AES : Enabled
Cut-through Proxy : Enabled
Guards : Enabled
URL Filtering : Enabled
Security Contexts : 0
GTP/GPRS : Disabled
VPN Peers : Unlimited
Maximum Physical Interfaces : 3
Maximum VLANs : 10
Inside Hosts : Unlimited
Failover : Disabled
VPN-DES : Enabled
VPN-3DES-AES : Enabled
Cut-through Proxy : Enabled
Guards : Enabled
URL Filtering : Enabled
Security Contexts : 0
GTP/GPRS : Disabled
VPN Peers : Unlimited
This platform has a Restricted (R) license.
故障倒換不能用就算了,反正pemu目前也沒提供serial接口。
本文轉自 beansprouts 51CTO博客,原文鏈接:http://blog.51cto.com/netwalk/66519,如需轉載請自行聯系原作者