LOC records allow WGS84 location to be published via the Domain Name Service. They are defined in RFC 1876. If a host has a LOC record, it can be looked up via dig -t loc: LOC records are expressed in terms of Degrees-Minutes-Seconds, not decimal latitude and longitude. You can convert them using a tool […]
Category: Networking
Python: MIME/SMTP
Send a MIME-encoded email in HTML and plain text using Python’s smtplib (Python 2.x). Just call ‘mailer’ with a return address, list of recipients, message subject and body.
Python LDAP Lookups
An example of a Python LDAP lookup, Python 2.x. This one uses the on-campus LDAP service at UC Davis, so just change the LDAPServer and searchBase for another LDAP server. Or you can print the results a little more nicely:
Online Analytics Tools
AbuseIPDB The Robtex – The Robtex Swiss Army Knife Internet Tool Norsecorp Cyberattack Map GeoTrace – Uses WHOIS, Hostip.info, LOC records, and TRACEROUTE to track IP address to physical location IP Chicken – A quick “what’s my IP” type of thing (or you could look at my page footer) Internet Traffic Report MX Toolbox – […]
Install SquirrelMail
————— Update July 2017: SquirrelMail seems to have been abandoned by its developer. I’d strongly consider using Roundcube instead. ————— So now you have an Ubuntu 12.04 mail server set up with Postfix, Dovecot, virtual users, and a spam filtering system. But you have another problem: your IT department at work won’t let you add […]
Ubuntu Email Server with Postfix, Dovecot, and MySQL
————— Update November 2021: Added instructions for using Dovecot and Postfix with Let’s Encrypt. Also adjusted Postfix config to block auth attempts over port 25. This setup will get you 90%+ on mail server security tests. ————— ————— Update November 2020: If you’re on Ubuntu 20.04, these instructions still mostly work as written. There is […]