Category Archives: Linux

Debian Upgrade 8 to 9

Note: Disable Network Bonding at switch and OS


# aptitude search '~o'

# apt-get update
# apt-get upgrade
# apt-get dist-upgrade

# dpkg -C

# apt-mark showhold

/etc/apt/sources.list
STRETCH:
deb http://httpredir.debian.org/debian stretch main
deb http://httpredir.debian.org/debian stretch-updates main
deb http://security.debian.org stretch/updates main

# apt-get update

# apt list --upgradable

# apt-get upgrade
# apt-get dist-upgrade

# aptitude search '~o'
# aptitude purge ~o (removes obsolete packages)

# apt-get autoremove

Remove ^rc packages
# dpkg --list |grep "^rc" | cut -d " " -f 3 | xargs sudo dpkg --purge

# reboot

Passbox

usage: passbox [action]

Passbox – command line password manager utility

ACTIONS

add-field Update an existing entry to add additional fields to
delete Remove an entry from the password database
get Get a particular password entry by it’s name
generate Generate a new random password
new Prompt to create a new passbox entry
remove-field Update an existing entry to remove additional fields
search Search the password database for a particular string, returns all matching entries
update Update an existing entry in the password database

Xcompile RPI Kernel on Debian

Building an RPI 3.6.11 kernel with PPS support on GPIO pin 24.

Straight forward instructions with no BS and no fancy crap.

PSA: To people writing how-to’s, keep your shiny Linux CLI kung-fu on your resume and off your blog.

If you are interested in compiling a custom kernel for other reasons just skip/replace the PPS specific junk below.

Install Debian.

Add Emdebian to sources.list:

# Xcompile Toolchain
deb http://www.emdebian.org/debian/ squeeze main

Install the packages we need:

apt-get install emdebian-archive-keyring
apt-get install gcc-4.4-arm-linux-gnueabi

Create directories for your build:

mkdir /admin
mount 10.1.1.104:/NAS/admin /admin

Email Server Attack

Type: Brute Force
Protocol: POP3
OS: Linux 3.6.11+ armv6l
Platform: Pi Rev. B
Memory: 512M
Daemon: Dovecot 2.1.7-7
Backend Daemon: MySQL 5.5
Backend OS: Linux 2.6.32-5-amd64
Backend Platform: Generic AMD A4-3400 APU Dual Core
Backend Memory: 3.5G
Total Attempts: 13356
Avg. Attempt/s: 2.71

Postmortem:
67.136.48.186 was *unable* to successfully authenticate to any valid user.
Attack was mitigated at the firewall (DROP).
abuse@integratelecom.com was contacted about this event.