I had heard talk about how the Bash vulnerability might affect DHCP clients. I guess this is what they meant: https://www.trustedsec.com/september-2014/shellshock-dhcp-rce-proof-concept/
I had heard talk about how the Bash vulnerability might affect DHCP clients. I guess this is what they meant: https://www.trustedsec.com/september-2014/shellshock-dhcp-rce-proof-concept/
Launch Xming server on local desktop (Windows)
Turn on X11 forwarding in putty.
(I did not have to set any local DISPLAY environment variables)
sudo yum install xorg-x11-xauth.x86_64 xorg-x11-server-utils.x86_64 xterm
I think I logged out and then ssh’d back in at this point (with X11 forwarding on).
Then I just did an “xterm”. That should open a new terminal window. From that you should be able to run commands that need to open new windows without having to set additional environment variables. The window took a bit to open. If it doesn’t pop up, look at your task bar to make sure it didn’t start minimized. I think that may be an Xming thing…
For a really slow browsing experience (or to run an installer that needs a web browser):
sudo yum install firefox
Then run firefox from the xterm….
http://www.troyhunt.com/2014/09/everything-you-need-to-know-about.html
This is intended to be an ongoing check list of tasks (with implementation notes) to perform when creating a new Linux instances on AWS
env x='() { :;}; echo vulnerable’ bash -c “echo this is a test”
This should give an error if the system is patched. Otherwise, it will echo vulnerable\n this is a test
virsh autostart instancename
virsh autostart instancename –disable
I now have a working USB 3.0 drive on my Windows 7 guest using QEMU 2.1. Here is what I think is the working “Recipe” for this on Ubuntu 14.04:
Get the newest (at the time of this writing) Seabios: from http://http.us.debian.org/debian/pool/main/s/seabios/seabios_1.7.5-1_all.deb
sudo dpkg -i seabios_1.7.5-1_all.deb
sudo add-apt-repository ppa:jacob/virtualisation
sudo apt-get update
sudo apt-get dist-upgrade
I then got my Windows 7 driver from http://plugable.com/drivers/renesas. I chose the driver for the older card listed on that page: “Plugable PCI-e cards purchased before 10/16/2012 are µPD720200 based and require the 2.1.39.0 driver package.” The direct link for the download is https://s3.amazonaws.com/plugable/bin/2014-03-Plugable-Renesas-USB-3.0-200-2.1.39.0.zip
After installing the driver, everything worked!
Other notes:
I am not using passthrough (although I will probably test this later to see if there is any performance difference).
I am using Virt-Manager from the ppa above (THANK YOU Jacob Zimmermann!)
I have the usb controller set to usb 3.0 in the VM configuration.
There was much rejoicing — but I will spare the world any and all images of my happy dance… NO ONE wants to see that..!
Learned a couple things about Chrome that I didn’t know.
chrome://net-internals/#DNS
chrome://flags (disable async DNS)
So apparently I may need a new version of Seabios (1.7.5) to use the new version of qemu from the ppa I was tryng…
I can’t find a Trusty port, so I’m going to use a .deb package from “Jessie” which is (I think) the version Ubunutu 14.04 is based off of.
http://http.us.debian.org/debian/pool/main/s/seabios/seabios_1.7.5-1_all.deb
sudo dpkg -i seabios_1.7.5-1_all.deb
sudo add-apt-repository ppa:jacob/virtualisation
sudo apt-get update
sudo apt-get dist-upgrade
Well, it doesn’t crash…
It recognizes the USB controller, but I can’t see the either USB memory stick or my external drive…
Note that the problems I’m having with this ppa are more likely something I’ve done wrong. I’m hoping properly add, then remove the ppa with ppa-purge. That should, in theory downgrade me back to the original versions of qemu. Otherwise, I may just remove them, and force reinstall the parts I think I need to get back to the old Windows VM working. Then I might try the PPA again.
Proper way to add:
sudo add-apt-repository ppa:jacob/virtualisation
sudo apt-get update
sudo apt-get dist-upgrade
ppa-purge ppa:jacob/virtualisation
apt-get remove –purge qemu*
apt-get remove –purge virt-manager virt-viewer sudo apt-get install libvirt-bin
apt-get remove –purge spice-vdagent virt-viewer libspice-client-gtk-3.0-4 virt-manager qemu-system spice-client spice-client-gtk python-spice-client-gtk
apt-get autoremove
apt-get update
apt-get dist-upgrade
sudo add-apt-repository ppa:jacob/virtualisation
sudo apt-get update
sudo apt-get dist-upgrade
apt-get install spice-vdagent virt-viewer libspice-client-gtk-3.0-4 virt-manager qemu-system spice-client spice-client-gtk python-spice-client-gtk libvirt-bin qemu
ppa-purge ppa:jacob/virtualisation
AT THIS POINT THINGS WORKED — I was apparently back the state I was in before adding the ppa. Now, glutton for punishment that I am, I’m trying again:
sudo add-apt-repository ppa:jacob/virtualisation
sudo apt-get update
sudo apt-get dist-upgrade
No joy…
so…
sudo ppa-purge ppa:jacob/virtualisation
sudo apt-get update
sudo apt-get dist-upgrade
And back to working… Still no usb 3… Maybe if I syspreped the windows image or installed fresh from this version of qemu????
Recent Comments