ITU and WCIT’2012 summary by a Journalist

  With various mentions of the ITU and the WCIT this past week at LISA, here's a summary of the situation as seen from a journalist's viewpoint: In Internet freedom fight, why the ITU matters (for now) (By Danny O'Brien/CPJ Internet Advocacy Coordinator)  

How to redirect a single computer to a different IP using BIND

So a major webfilter vendor has a huge bug where they do not filter https connections that include an '&' in the URL. For a school district this is a very bad thing because we are not filtering any connections to google sites (e.g. images and videos are the big ones). The solution is to set up BIND to only redirect www.google.com to nosslsearch.google.com. This forces the connection to a non-https connection so the webfilter will work correctly. Continue reading

MacOS using AD logins and duplicate names

I work for a K-12 school district that uses Macs as the primary client machines. Currently our students log into the Macs with a generic account and use their AD account to attach to the file server. We are migrating our Mac laptops and desktops to use AD domain logins so the students can start logging in to the Macs with their AD account. One of our wonderful students decided to log in with their full name instead of their user id (student id) and it worked. Please note that you cannot login with the full name on a Windows machine joined to the domain so this is a Mac strangeness thing.
Continue reading

lisa12

  Registered for Lisa12, looking forward to going to the conference.    

Guess encoding of a file

  #!/usr/bin/perl   # Name: guess_encoding.pl # Author: Aleksey Tsalolikhin # Date: 19 Oct 2012 # Description: guess encoding of a file (for example, to answer # the question is the encoding UTF-8 or Latin-1?).  This script # uses the "file" utility but it is  more precise than just # running "file" on your input…

Continue reading

Little perl script to print lines containing non-ASCII characters

#!/usr/bin/perl # Name: print-non-ascii.pl # Description: print lines containing non-ASCII characters (anything # other than 000 – 127). # Could be useful when working with Western Latin / UTF8 / etc. # encoded files and troubleshooting encoding issues. while ($line=<STDIN>) { if ($line !~ /^[x00-x7F]+$/) { print $line; } }