For excessively paranoid client authentication.
Updated Apr 5 2019:
because this is a gist from 2011 that people stumble into and maybe you should AES instead of 3DES in the year of our lord 2019.
some other notes:
| #!/bin/bash | |
| # check dyndns name of a host and reset iptables if change was detected | |
| HOSTNAME=<hostname-to-check.dyndns.org> | |
| LOGFILE=/var/run/check_home_ip | |
| Current_IP=$(/usr/bin/dig +short $HOSTNAME) | |
| if [ $LOGFILE = "" ] ; then | |
| iptables-restore </etc/iptables_rules |
| // Example usage: Fetch it's own code from GitHub | |
| JSONP( 'https://api.github.com/gists/1900694?callback=?', function( response ) { | |
| console.log( 'JSONP function:', response.data.files['jsonp.js'].content ); | |
| }); |
| DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE | |
| Version 2, December 2004 | |
| Copyright (C) 2012 Thiemo Mättig <http://maettig.com> | |
| Everyone is permitted to copy and distribute verbatim or modified | |
| copies of this license document, and changing it is allowed as long | |
| as the name is changed. | |
| DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE |