mount unknown filesystem type ‘exfat’ raspberry

mount unknown filesystem type ‘exfat’

pi@igla:~ $ sudo apt-get -qq update
pi@igla:~ $ sudo apt-get -qq install exfat-fuse
Selecting previously unselected package exfat-fuse.
(Reading database ... 136219 files and directories currently installed.)
Preparing to unpack .../exfat-fuse_1.1.0-2+deb8u1_armhf.deb ...
Unpacking exfat-fuse (1.1.0-2+deb8u1) ...
Selecting previously unselected package exfat-utils.
Preparing to unpack .../exfat-utils_1.1.0-2+deb8u1_armhf.deb ...
Unpacking exfat-utils (1.1.0-2+deb8u1) ...
Processing triggers for man-db (2.7.0.2-5) ...
Setting up exfat-fuse (1.1.0-2+deb8u1) ...
Setting up exfat-utils (1.1.0-2+deb8u1) ...
pi@igla:~ $

VoilĂ !

dd *very* slow write speed on Mac OS X?

simply use /dev/rdiskX instead of /dev/diskX, like following:

$ time sudo dd if=~/Downloads/kali-2.1.2-rpi2.img of=/dev/rdisk2 bs=1m
Password:
7000+0 records in
7000+0 records out
7340032000 bytes transferred in 435.829733 secs (16841513 bytes/sec)

real 7m18.005s
user 0m0.039s
sys 0m5.829s
$

… about ~7G in ~7min, not bad huh?)

logstash json example

root@457165ff1c3e:/# cat /etc/logstash/conf.d/* | grep -v \#

input {
gelf { codec => “json” }
}

filter {
json {
source => “message”
}
}

output {
elasticsearch { hosts => [“0:9200”] }
}
root@457165ff1c3e:/#

securing elasticsearch without shield

search and replace:

$ grep --after-context=3 ports docker-compose.yml
ports:
- "5601:5601"
- "9200:9200"
- "5044:5044"
$

&

$ grep --after-context=3 expose docker-compose.override.yml
expose:
- "5601"
- "9200"
- "5044"
$

HSTS is HTTP Strict Transport Security: a way for sites to elect to always use HTTPS.

HTTP Strict Transport Security – The Chromium Projects

chrome://net-internals/#hsts