This file contains hidden or 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
Starting VMware services: | |
Virtual machine monitor done | |
Virtual machine communication interface done | |
VM communication interface socket family done | |
Blocking file system done | |
Virtual ethernet done | |
VMware Authentication Daemon done | |
Shared Memory Available done |
This file contains hidden or 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
● vmware.service - LSB: This service starts and stops VMware services | |
Loaded: loaded (/etc/init.d/vmware; bad; vendor preset: enabled) | |
Active: active (running) since Min 2016-12-18 20:01:21 WIB; 2min 9s ago | |
Docs: man:systemd-sysv-generator(8) | |
Process: 1394 ExecStart=/etc/init.d/vmware start (code=exited, status=0/SUCCESS) | |
CGroup: /system.slice/vmware.service | |
├─1512 /usr/lib/vmware/bin/vmware-vmblock-fuse -o subtype=vmware-vmblock,default_permissions,allow_other /var/run/vmblock-fuse | |
├─1542 /usr/bin/vmnet-bridge -s 6 -d /var/run/vmnet-bridge-0.pid -n 0 | |
├─1582 /usr/bin/vmnet-netifup -s 6 -d /var/run/vmnet-netifup-vmnet1.pid /dev/vmnet1 vmnet1 | |
├─1594 /usr/bin/vmnet-dhcpd -s 6 -cf /etc/vmware/vmnet1/dhcpd/dhcpd.conf -lf /etc/vmware/vmnet1/dhcpd/dhcpd.leases -pf /var/run/vmnet-dhcpd- |
This file contains hidden or 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
Starting VMware services: | |
Virtual machine monitor failed | |
Virtual machine communication interface done | |
VM communication interface socket family done | |
Blocking file system done | |
Virtual ethernet failed | |
VMware Authentication Daemon done | |
Shared Memory Available done |
This file contains hidden or 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
● vmware.service - SYSV: This service starts and stops VMware services | |
Loaded: loaded (/etc/rc.d/init.d/vmware) | |
Active: failed (Result: exit-code) since Min 2016-12-18 19:01:21 WIB; 6min ago | |
Process: 5928 ExecStart=/etc/rc.d/init.d/vmware start (code=exited, status=1/FAILURE) | |
CGroup: /system.slice/vmware.service | |
├─2128 /usr/lib/vmware/bin/vmware-vmblock-fuse -o subtype=vmware-vmblock,default_permissions,allo... | |
└─2235 /usr/sbin/vmware-authdlauncher | |
Des 18 19:01:21 Dev01 vmware[5928]: Virtual machine monitor[ Failed ] | |
Des 18 19:01:21 Dev01 vmware[5928]: Virtual machine communication interface[ OK ] |
This file contains hidden or 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
import ipaddress | |
from subprocess import Popen, PIPE | |
net4 = ipaddress.ip_network('10.1.1.0/24') | |
for x in net4.hosts(): | |
x = str(x) | |
hostup = Popen(["ping", "-c1", x], stdout=PIPE) | |
output = hostup.communicate()[0] | |
val1 = hostup.returncode | |
if val1 == 0: |
This file contains hidden or 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
import subprocess | |
import os | |
with open(os.devnull, "wb") as limbo: | |
for n in xrange(1, 10): | |
ip="10.1.1.{0}".format(n) | |
result=subprocess.Popen(["ping", "-c", "1", "-n", "-W", "2", ip], | |
stdout=limbo, stderr=limbo).wait() | |
if result: | |
print ip, "inactive" | |
else: |
This file contains hidden or 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
tcpdump -ni <interface>:<noise> | |
tcpdump -ni 0.0:nnnp -s0 host xxxx and port xxx |
This file contains hidden or 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
tcpdump -nni VLANxx -s0 host (non-floating ip_address) and host (server ip address) and port xxx |
This file contains hidden or 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
tcpdump -nni VLANxx -s0 host (client, virtual_server, server dan floating ip_address) and port xxx |
This file contains hidden or 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
-nn : tidak melakukan resolve ip address dan port address | |
-x : melakukan print untuk setiap header packet | |
-s0 : spesifikasi ukuran paket yang akan di-capture 0 untuk meng-capture seluruh paket | |
-S : sequence paket, untuk mendapatkan jika ada output reset | |
-i : mengacu pada interface yang ingin di-capture(bisa berupa interface fiski atau VLAN) |
NewerOlder