Archive for September 23rd, 2015

Volkswagen Passat TDI Fuel Efficient – Clean Diesel

Mittwoch, September 23rd, 2015

Linux tcpdump command – capturing for viewing with Wireshark

Mittwoch, September 23rd, 2015

Linux tcpdump command – allows you to save the packets that are captured so that you can use it for future analysis the saved file can be viewed by the same tcpdump command and you can also use open source software like Wireshark to read the tcpdump pcap files

See the list of interfaces on which tcpdump can listen:
# tcpdump -D

Listen on interface eth0:
# tcpdump -i eth0

Print a timestamp, as hours, minutes, seconds, and fractions of a second since midnight, preceded by the date, on each dump line:
# tcpdump -tttt

Record the packet capture to a file called „capture.cap“:
# tcpdump -w capture.cap

Display IP addresses and port numbers instead of domain and service names when capturing packets:
# tcpdump -nn

Capture any packets where the source host is 192.168.221.29.:
# tcpdump src host 192.168.221.29

Capture any packets where the destination host is 192.168.221.29.:
# tcpdump dst host 192.168.221.29

Capture any packets where the source network is 192.168.221.0/24. Display IP addresses and port numbers:
# tcpdump -nn src net 192.168.221.0/24

Capture any packets where the source port is is between 5000 and 5999 inclusive. Display IP addresses and port numbers:
# tcpdump -nn src portrange 5000-5999

Capture any packets with source IP 192.168.221.29 and destination port 5102. Display IP addresses and port numbers
# tcpdump -nn „src host 192.168.221.29 and src port 5102“

Capture all bytes of data within the packet:
# tcpdump -s 0

Capture network traffic every 60 seconds and write it to trace file which has time format directives:
# tcpdump -nn -G 60 -w ‚capture_%Y%m%d-%H%M%S.cap‘

Capture network traffic every 60 seconds and write it to rotating file which has time format for every minutes directives:

# tcpdump -i eth0 -G 3600 -w tcpdump-%H.pcap

Implement max file size limits and “log Rotation”:
# tcpdump -nn -C 100 -W 50 -w capture.cap

Kill process by name:
# killall tcpdump

tcpdump_01

The 21 Bitcoin Computer – is the first computer with native hardware and software support for the Bitcoin protocol

Mittwoch, September 23rd, 2015

BitcoinComputer_01