It is currently Fri Aug 01, 2014 5:44 am


All times are UTC




Post new topic Reply to topic  [ 35 posts ]  Go to page Previous  1, 2, 3, 4  Next
Author Message
 Post subject: Re: ASA 8.4(2) on QEMU from 7200emu.hacki.at
PostPosted: Sun Dec 25, 2011 3:32 am 
Hi,

I managed to start ASA 842 on 64 bit W7 ,running VMware workstation 7.15 which runs Ubuntu 11.10 64 bits. I have these packages installed via Ubuntu Software center, so no custom patching or anything.

qemu-common 0.14.1+noroms-0ubuntu6 qemu common functionality (bios, documentation, etc)
qemu-kvm 0.14.1+noroms-0ubuntu6 Full virtualization on i386 and amd64 hardware
qemu-launcher 1.7.4-1ubuntu2 GTK+ front-end to QEMU computer emulator
gns3 0.7.4-1 graphical network simulator

Firewall also does not start if I add interface before I start it on gns3 see:

root 2929 2896 0 22:22 pts/0 00:00:00 [qemu] <defunct>


If starts standalone, but if I add interface after that I'm not able to ping router or from router....

ps -ef output.....

root 3082 2896 49 22:26 pts/0 00:00:22 qemu -name ASA1 -m 1024 -hda /tmp/ASA1/FLASH -kernel /home/valdas/Downloads/asa842-vmlinuz -initrd /home/valdas/Downloads/asa842-initrd.gz -append ide_generic.probe_mask=0x01 ide_core.chs=0.0:980,16,32 auto nousb console=ttyS0,9600 bigphysarea=65536 root_dev=0x6802 -net nic,vlan=0,macaddr=00:aa:00:49:9f:00,model=pcnet -net nic,vlan=1,macaddr=00:00:ab:24:a3:01,model=pcnet -net nic,vlan=2,macaddr=00:00:ab:45:0c:02,model=pcnet -net nic,vlan=3,macaddr=00:00:ab:d8:58:03,model=pcnet -serial telnet:127.0.0.1:3000,server,nowait -icount auto

I do see issue with flash, but I don't think it's related:

tarting kernel event manager...Loading hardware drivers...Initializing random number generator... done.
Starting network...
eth0: link up
eth1: link up
eth2: link up
eth3: link up
dosfsck 2.11, 12 Mar 2005, FAT32, LFN
open /dev/hda1:No such file or directory
dosfsck(/dev/hda1) returned 1
mount: mounting /dev/hda1 on /mnt/disk0 failed: No such file or directory
mount: mounting /dev/hda1 on /mnt/disk0 failed: No such file or directory
TIPC: Started in network mode
TIPC: Own node address <1.1.1>, network identity 1234

ciscoasa# sh int ip bri
Interface IP-Address OK? Method Status Protocol
GigabitEthernet0 unassigned YES unset administratively down up
GigabitEthernet1 unassigned YES unset administratively down up
GigabitEthernet2 unassigned YES unset administratively down up
GigabitEthernet3 unassigned YES unset administratively down up
ciscoasa#


ciscoasa# sh ver

Cisco Adaptive Security Appliance Software Version 8.4(2)

Compiled on Wed 15-Jun-11 18:17 by builders
System image file is "Unknown, monitor mode tftp booted image"
Config file at boot was "startup-config"

ciscoasa up 3 mins 30 secs

Hardware: F1-GENERIC, 1024 MB RAM, CPU Pentium II 1000 MHz
Internal ATA Compact Flash, 256MB
BIOS Flash unknown @ 0x0, 0KB


0: Ext: GigabitEthernet0 : address is 00aa.0049.9f00, irq 0
1: Ext: GigabitEthernet1 : address is 0000.ab24.a301, irq 0
2: Ext: GigabitEthernet2 : address is 0000.ab45.0c02, irq 0
3: Ext: GigabitEthernet3 : address is 0000.abd8.5803, irq 0

Licensed features for this platform:
Maximum Physical Interfaces : Unlimited perpetual
Maximum VLANs : 100 perpetual
Inside Hosts : Unlimited perpetual
Failover : Disabled perpetual
VPN-DES : Disabled perpetual
VPN-3DES-AES : Disabled perpetual
Security Contexts : 0 perpetual
GTP/GPRS : Disabled perpetual
AnyConnect Premium Peers : 5000 perpetual
AnyConnect Essentials : Disabled perpetual
Other VPN Peers : 5000 perpetual
Total VPN Peers : 0 perpetual
Shared License : Disabled perpetual
AnyConnect for Mobile : Disabled perpetual
AnyConnect for Cisco VPN Phone : Disabled perpetual
Advanced Endpoint Assessment : Disabled perpetual
UC Phone Proxy Sessions : 2 perpetual
Total UC Proxy Sessions : 2 perpetual
Botnet Traffic Filter : Disabled perpetual
Intercompany Media Engine : Disabled perpetual

This platform has an Unknown license.

Serial Number:
Running Permanent Activation Key: 0x00000000 0x00000000 0x00000000 0x00000000
Configuration register is 0x0
Configuration has not been modified since last system restart.
ciscoasa#


Do i need to add some patch for it to be able to talk to other devices v?

Thanks!




Top
  
 
 Post subject: Re: ASA 8.4(2) on QEMU from 7200emu.hacki.at
PostPosted: Mon Jan 09, 2012 3:02 pm 
Offline

Joined: Mon Jan 09, 2012 2:59 pm
Posts: 2
And 'possible to have shared files asa842-initrd.gz and vmlinuz-asa842 for GNS3?

thanks


Top
 Profile  
 
 Post subject: Re: ASA 8.4(2) on QEMU from 7200emu.hacki.at
PostPosted: Mon Jan 09, 2012 9:55 pm 
Offline

Joined: Tue Dec 01, 2009 3:27 pm
Posts: 48
wtoro00 wrote:
And 'possible to have shared files asa842-initrd.gz and vmlinuz-asa842 for GNS3?

thanks


If you just run the v3 script from 7200emu.hacki.at site in a linux you will get these files, it's to easy. After that just use
kernel options: ide_generic.probe_mask=0x01 ide_core.chs=0.0:980,16,32 auto nousb console=ttyS0,115200 bigphysarea=65536
NIC Model pcnet or e1000
RAM 512 or higher
Qemu options: -icount auto

All info is from the guy who manage to run 8.4.2 in Qemu. The only problem i have is that Qemu uses 100% of 1 core of mu CPU.


Top
 Profile  
 
 Post subject: Re: ASA 8.4(2) on QEMU from 7200emu.hacki.at
PostPosted: Tue Jan 10, 2012 10:16 pm 
Offline

Joined: Wed Jan 04, 2012 1:09 pm
Posts: 6
Hi Maximo,

Where can I get v3 script and repack.v2.sh. searched a lot but, didn't get that file.


Thanks in Advance...


Top
 Profile  
 
 Post subject: Re: ASA 8.4(2) on QEMU from 7200emu.hacki.at
PostPosted: Wed Jan 11, 2012 1:22 am 
Offline

Joined: Wed Jan 04, 2012 1:09 pm
Posts: 6
Finally I got the script V3.



Cheeers.......


Top
 Profile  
 
 Post subject: Re: ASA 8.4(2) on QEMU from 7200emu.hacki.at
PostPosted: Thu Jan 12, 2012 6:14 pm 
Offline

Joined: Wed Jan 11, 2012 3:31 pm
Posts: 1
@valdas

were you able to solve the issue with ASA 8.4(2) not starting after connecting its interface to another device.?

any help will be highly appreciated..


Top
 Profile  
 
 Post subject: Re: ASA 8.4(2) on QEMU from 7200emu.hacki.at
PostPosted: Sat Jan 14, 2012 8:16 am 
Offline

Joined: Sat Jan 14, 2012 8:05 am
Posts: 1
PRAK_2012 wrote:
Hi Maximo,

Where can I get v3 script and repack.v2.sh. searched a lot but, didn't get that file.

Thanks in Advance...



PRAK_2012 how did you find the script? I too cannot find it. I would much appreciate the help.


Top
 Profile  
 
 Post subject: Re: ASA 8.4(2) on QEMU from 7200emu.hacki.at
PostPosted: Sat Jan 14, 2012 2:00 pm 
Offline

Joined: Tue Dec 01, 2009 3:27 pm
Posts: 48
grajandav wrote:
PRAK_2012 wrote:
Hi Maximo,

Where can I get v3 script and repack.v2.sh. searched a lot but, didn't get that file.

Thanks in Advance...



PRAK_2012 how did you find the script? I too cannot find it. I would much appreciate the help.


You have to go to http://7200emu.hacki.at/viewtopic.php?p=33838 and login to the site, then download repack.v4.sh.gz the last version.


Top
 Profile  
 
 Post subject: Re: ASA 8.4(2) on QEMU from 7200emu.hacki.at
PostPosted: Tue Jan 17, 2012 7:10 am 
Offline

Joined: Wed Jan 04, 2012 1:09 pm
Posts: 6
Hi Maxim,

I have successfully emulated the asa842.initrd.gz and vmlinuz file. But when started to use these files in windows 7 gns3 it enforcing to reboot the ASA.. Please help on this...and while rebooting it is showing no directory found...


Top
 Profile  
 
 Post subject: Re: ASA 8.4(2) on QEMU from 7200emu.hacki.at
PostPosted: Tue Jan 17, 2012 7:22 am 
Offline

Joined: Tue Dec 01, 2009 3:27 pm
Posts: 48
Hi PRAK_2012,

Unfortunately i am not the guy who create this script so i can't help you. Try to create the files again or try to run in different gns3 version or change NIC model, Qemu options & Kernel cmd line. If you go to the original site http://7200emu.hacki.at/viewtopic.php?t ... &start=135 and login you can post your message there. I suggest you first to try all of these and then post to the site.




Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 35 posts ]  Go to page Previous  1, 2, 3, 4  Next

All times are UTC


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group

phpBB SEO