Showing posts with label Network Stuff. Show all posts
Showing posts with label Network Stuff. Show all posts

Sep 23, 2013

Mikrotik - automatischer WPA Key Wechsel


Jeder der schon mal automatisch seinen Wlan Schlüssel wechseln lassen wollte, kann dies mit dem angefügten Script lösen.

Ich starte es jeden Tag um Mitternacht und stelle somit für mein Gäste Wlan den Schlüssel auf den jeweiligen Tag ein. Dies erlaubt mir eine geringfügig bessere Sicherheit als ein statischer Schlüssel, welcher täglich gleich bleibt...

:global wlankey [:pick [/system clock get]]
/interface wireless security-profiles set wpa-pre-shared-key=$wlankey wpa2-pre-shared-key=$wlankey  numbers=wlan-profile
Der output wäre hier für Heute sep/23/2013

Ab Mitternacht ist das Passwort sep/24/2013

Nov 1, 2012

Remote Sniffertrace with tcpdump and netcat

sometimes there is the need to capture network traffic on a remote host, but the host hasn't got enough disk space or resources to handle the traffic. for this issue we can work with a remote capture host using netcat and tcpdump!

Situation: 1x Client ( local ) - 1x Server ( remote )


netcat has to be installed on the local client and the syntax should be as follow: