LIVE FEED :: 11111110.00000000.00000000.00000001

Tugriceri Web Notes

Operational telemetry, Linux internals, forensic carving, and infrastructure automation war stories. by Emre Tugriceri.

88 Field Runbooks 30 System Taxonomies Archive: 2013 – 2026 SYS_HEALTH: OPTIMAL
Emre Tugriceri • • 2 min read
Linux

File Systems form Gentoo page

Gentoo Linux Documentation -- Preparing the Disks

Filesystems?The Linux kernel supports various filesystems. We'll explain ext2, ext3, ReiserFS, XFS and JFS as these are the most commonly used filesystems on Linux systems.

ext2 is the tried and true Linux filesystem but doesn’t have metadata journaling, which means that routine ext2 filesystem checks at startup time can be quite time-consuming. There is now quite a selection of newer-generation journaled filesystems that can be checked for consistency very quickly and are thus generally preferred over their non-journaled counterparts. Journaled filesystems prevent long delays when you boot your system and your filesystem happens to be in an inconsistent state.

Comments (0) Read Playbook →
Emre Tugriceri • • 1 min read
Linux

proc mounts etc mtab

live cd src# grub-install /dev/hda df: warning:cannot read table of mounted filesystems:no such file or directory df: warning:cannot read table of mounted filesystems:no such file or directory could not find device /boot: not found or not a block device chroot olduktan sonra;live cd src# grep -v rootfs /proc/mounts > /etc/mtab Komutu çalıştırılmalı.

Powered by ScribeFire.

Comments (0) Read Playbook →
Emre Tugriceri • • 1 min read
Linux

Proc dev mount and chroot

srv# mount -t proc none /mnt/gentoo/proc
srv# mount -o bind /dev /mnt/gentoo/dev
srv# chroot
/mnt/gentoo /bin/bash
srv# env-update && source /etc/profile


Powered by ScribeFire.

Comments (0) Read Playbook →
Emre Tugriceri • • 1 min read
Linux

iptables ile Port Knocking

$IPTABLES -A INPUT -p tcp --dport 22 -m recent --rcheck --seconds 60 --name SSH -j ACCEPT
$IPTABLES -A INPUT -p tcp --dport 21 -m recent --rcheck --seconds 60 --name SSH -j ACCEPT
$IPTABLES -A INPUT -p tcp --dport 1599 -m recent --name SSH --remove -j DROP
$IPTABLES -A INPUT -p tcp --dport 1600 -m recent --name SSH --set -j DROP
$IPTABLES -A INPUT -p tcp --dport 1601 -m recent --name SSH --remove -j DROP

Comments (0) Read Playbook →
Emre Tugriceri • • 1 min read
Mysql

Mysql user priv.

mysql>GRANT ALL PRIVILEGES ON *.* TO 'monty'@'localhost'
->IDENTIFIED BY 'some_pass' WITH GRANT OPTION;

Powered by ScribeFire.

Comments (0) Read Playbook →