The main point is to save the SSL/TLS keys those used by the web browser (SSLKEYLOGFILE=/tmp/tmp-google/.ssl-key.log
).
In the example below we run brand new instance of Google Chrome (--user-data-dir=/tmp/tmp-google
do the trick):
SSLKEYLOGFILE=/tmp/tmp-google/.ssl-key.log /Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome --user-data-dir=/tmp/tmp-google
Then run the Wireshark and open the Preferences -> Protocols -> SSL, where we put the path to the SSL keys log file into the (Pre)-Master-Secret log filename
field.
Now all SSL/TLS traffic from this browser instance will be decrypted.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
as sudo user | |
sh-3.2# scutil | |
> list | |
subKey [0] = Plugin:IPConfiguration | |
subKey [1] = Plugin:InterfaceNamer | |
subKey [2] = Plugin:KernelEventMonitor | |
subKey [3] = Setup: | |
subKey [4] = Setup:/ | |
subKey [5] = Setup:/Network/Global/IPv4 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
root@msenthil-ub16:~/Python-2.7.16# cat Modules/Setup.local | grep -v '^#' | grep -v '^$' | |
DESTLIB=$(LIBDEST) | |
MACHDESTLIB=$(BINLIBDEST) | |
DESTPATH= | |
SITEPATH= | |
TESTPATH= | |
MACHDEPPATH=:$(PLATDIR) | |
EXTRAMACHDEPPATH= | |
TKPATH=:lib-tk | |
OLDPATH=:lib-old |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Base Image: | |
Edit /lib/cirros/ds/ec2 or /etc/cirros-init/ds-ec2 based on image (MAX_TRIES=5, SLEEP_TIME=2) | |
v6 support (How dhcpcd was built is not captured here): | |
scp [email protected]:/sbin/dhcpcd /sbin/ | |
scp [email protected]:/sbin/cirros-dhcpc /sbin/cirros-dhcpc | |
scp -r [email protected]:/libexec / | |
dhcpcd-run-hooks 100% 8436 8.2KB/s 00:00 | |
10-wpa_supplicant 100% 2866 2.8KB/s 00:00 | |
30-hostname 100% 3450 3.4KB/s 00:00 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1) Set ANSIBLE_KEEP_REMOTE_FILES env before executing the playbook and run the playbook with -vvvv | |
for eg: | |
ANSIBLE_KEEP_REMOTE_FILES=1 ansible-playbook -i inventory/ playbooks/install_contrail.yml -vvvv | |
2) Look for PUT message in the logs corresponding to the task... | |
for eg: | |
<10.87.69.8> (0, 'sftp> put /root/.ansible/tmp/ansible-local-279680i0RrK/tmpXVp8uT /root/.ansible/tmp/ansible-tmp-1559855484.58-20011953793704/AnsiballZ_docker_service.py\n' | |
3) On the remote host cd to the directory and unzip the file | |
for eg: | |
cd /root/.ansible/tmp/ansible-tmp-1559855484.58-20011953793704/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
571 git clone [email protected]:Juniper/contrail-dev-env | |
572 cd contrail-dev-env/ | |
573 ./vm-dev-env/init.sh | |
596 cd ../contrail/third_party/ | |
610 yum group install -y "Development tools" | |
611 python fetch_packages.py | |
616 cd ../contrail-dev-env/ | |
617 make sync | |
618 make fetch_packages | |
619 make setup |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
touch /etc/sysconfig/bash-prompt-screen | |
chmod +x /etc/sysconfig/bash-prompt-screen | |
on each host you want to ssh into | |
ansible all -i 10.0.0.5,10.0.0.6,10.0.0.7,10.0.0.8,10.0.0.9,10.0.0.10,10.0.0.11,10.0.0.12,10.0.0.13 -m shell -e 'ansible_ssh_pass=c0ntrail123' -a 'touch /etc/sysconfig/bash-prompt-screen; chmod +x /etc/sysconfig/bash-prompt-screen' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Ubuntu Desktop environment: | |
* apt-get update && sudo apt-get upgrade | |
* apt-get install ubuntu-desktop gnome-panel gnome-settings-daemon metacity nautilus gnome-terminal | |
Setup VNC server environment: | |
* apt-get install vnc4server | |
* adduser sanity (passwd: c0ntrail123) | |
* usermod -G sudo sanity | |
As user sanity do the below | |
* vncserver |
NewerOlder