Kategorie Howtos

Hier finden sich kurze Beiträge und Informationen zu den Themen Informationssicherheit, Datenbanken, Linux, Debian, Cisco, VPN, iptables, mysql, lvm, hping, nmap

MyPhoneExplorer, Cyanogenmod 10.1 und ADB = Verbindungsprobleme via USB

Mit dem Update auf Android 4.2.2, eines der letzten Nightlies von Cyanogenmod 10.1, kommt auch eine neues Sicherheitsfeature. Damit kann keine unautorisierte Verbindung über ADB mehr durchgeführt werden. Bei einem Verbindungsversuch kommt vorerst eine Abfrage, die am Smartphone bestätigt werden muss. Sonst kann keine Verbindung mehr hergestellt werden!

Howto NAT VPN Traffic on a Cisco ASA

Say you have to setup a Site-to-Site VPN to a third party who can't accept traffic from the subnet you have created on your internal network because your network overlaps with theirs, or as in my case, they just want one address coming over to their network. The answer is to NAT that VPN traffic using a non-overlapping IP address.

Cisco ASA Firmware Update on Failover Cluster

First we need to copy the firmware update and the ASDM on the Units. Please note these are not synced unlike the configuration. With savings via ASDM once again on the active to the passive IP and then upload it via browser, alternatively via CLI and tftp:

Cisco PIX/ASA Causes SMTP Banner Corruption

Traffic inspection rules on a Cisco PIX or ASA firewall will sometimes cause the SMTP banner to appear corrupted. When testing access to your mail server trough AsA, you may notice that the SMTP banner looks like this:

Hping2 eine Einführung

Hping ( http://www.hping.org ) ist ein Programm, mit welchem Sie selber IP-Pakete erstellen und analysieren können. In diesem Text werde ich eine kurze Beschreibung dieses Programms mit Beispielen aus der Praxis zeigen. Die Möglichkeit mit Hping Pakete erstellen zu können die nicht der Norm entsprechen, machen es zu einem sehr interessanten und zugleich gefährlichen Werkzeug. Dies Soll eine Einführung in Hping sein.

Reiserfs – Dealing with Bad Blocks

Now, for some odd reason, in reiserfs you have to do the scan for bad blocks manually, instead of just letting fsck take care of it for you with the -c switch. I don’t know why this is the case…

MySQL verteilte Daten

Anbei eine kleine Idee für alle, die verteilte Datenhaltung haben, und dazu eine architektonisch recht einfache Synchronisation brauchen. Manchmal kommt aus diversen Gründen ein Replikationsmechanismus nicht in Frage. Dafür nun die folgende Idee. Wir nutzen dabei aus, dass MySQL bei zusammengesetzten Indizes einen AUTO_INCREMENT-Wert pro distinktem Schlüsselpräfix zählt.

load_file() spielereien

Da mancher Orts noch das Verständnis fehlt, warum es eben nicht nur ein paar Datensätze betrifft, wenn jemand Zuriff über einen SQL Account hat, möchte ich hier mal kurz aufzeigen welche Möglichkeiten prinzipiell zur Verfügung stehen. Eine sehr schöne und einfache Variante ist mittels load_file() und angeschlossene.