Search Results: "oku"

4 July 2006

NOKUBI Takatsugu: The photos of CodeFest

I uploaded the photos took in CodeFest 2006 Akihabara to Flicker.com. This machine is VAIO TypeU, a small PC with keyboard. I used it for realtime streaming. Unfortunately, my webcams are not satisfyed to use GStreammer because of poor v4l implementation. So I used Windows XP and Windows Media Encoder 9. I need a suitable webcam for GStreammer..

2 July 2006

NOKUBI Takatsugu: CodeFest 2006 Akihabara

From 1st Jul, I joined with CodeFest 2006 Akihabara, a kind of events like Hackathon, Sprint, or something. It has been broadcasting via PeerCast, so if you want to see it, setting up PeerCast and play with the follow link: http://localhost:7144/pls/4345209C975F5665FA9308FDB163F249?tip=61.197.170.97:7144 . Unfurotunately, I couldn't setup Ogg/Vorbis, Theora, so it is using Windows Media Encoder 9. I regret it.

23 June 2006

Erich Schubert: GMail filing invalid spam complaints

Apparently, GMail has been filing invalid spam complaints with DFN (the germany-wide university and research network backbone). This is the second time we were forwarded this complaint all the way down to us. I know exactly which mail it is. The IP is the firewalls "private" IP, so no other service is on that IP (it's not the masquerading IP). The time matches exactly the time of an email delivered to GMail. Therefore I'm 100% sure which mail they are considering to be spam. However, it is not. It's not in the "spam" folder in GMail either. No SPF violation. Valid reverse lookup in the appropriate domain. Single-hop SMTP delivery. Firewall to gmail mailserver. It's our daily snort report, that is considered spam every few weeks. That totally sucks, that a perfectly valid and correctly sent email, that is also delivered correctly, is reported as spam amongst the big ISPs. Unfortunately I don't have any details on who is filing the complaint, but it certainly is somewhere among the big ISPs. And traceroute shows a direct peering of Google with the DFN at DeCIX.

17 June 2006

David Pashley: Invalid Characters in Encoding with JAVA

Imagine you've got some text you've been told is ASCII and you've told java that it's ASCII using:
Reader reader = new InputStreamReader(inputstream, "ASCII");
Imagine your surprise when it happily reads in non-ascii values, say UTF-8 or ISO8859-1, and converts them to a random character.
import java.io.*;
public class Example1  
   public static void main(String[] args)  
      try 
         FileInputStream is = new FileInputStream(args[0]);
         BufferedReader reader 
            = new BufferedReader(new InputStreamReader(is, args[1]));
         String line;
         while ((line = reader.readLine()) != null)  
            System.out.println(line);
          
        catch (Exception e)  
         System.out.println(e);
       
    
 
beebo david% java Example1 utf8file.txt ascii
I t rn ti n liz ti n
beebo david% java Example1 utf8file.txt utf8
I t rn ti n liz ti n
So, I hear you ask, how do you get Java to be strict about the conversion. Well, answer is to lookup a Charset object, ask it for a CharsetDecoder object and then set the onMalformedInput option to CodingErrorAction.REPORT. The resulting code is:
import java.io.*;
import java.nio.charset.*;
public class Example2  
   public static void main(String[] args)  
      try 
         FileInputStream is = new FileInputStream(args[0]);
         Charset charset = Charset.forName(args[1]);
         CharsetDecoder csd = charset.newDecoder();
         csd.onMalformedInput(CodingErrorAction.REPORT);
         BufferedReader reader 
            = new BufferedReader(new InputStreamReader(is, csd));
         String line;
         while ((line = reader.readLine()) != null)  
            System.out.println(line);
          
        catch (Exception e)  
         System.out.println(e);
       
    
 
This time when we run it,we get:
beebo david% java Example2 utf8file.txt ascii
java.nio.charset.MalformedInputException: Input length = 1
beebo david% java Example2 utf8file.txt utf8
I t rn ti n liz ti n
On a slightly related note, if anyone knows how to get Java to decode UTF32, VISCII, TCVN-5712, KOI8-U or KOI8-T, I would love to know.

26 May 2006

Carlos Parra Camargo: Sevilla - Barcarrota

El pasado sábado cargue mi moto con mi portátil y algo de ropa y emprendí un viaje hacia Barcarrota. 185 kilometros con mi moto, una YBR 125 que se portó mejor que bien. Bien es cierto que la velocidad media fue algo baja para mi gusto (alrededor de los 85 km/h) pero no quise acelerar más de la cuenta porque tenía algo de miedo puesto que era la primera ruta medianamente larga que realizaba. Todo fue sin problemas, hice dos paradas, la primera para tomar un café en Santa Olalla y la segunda para repostar gasolina a apenas 30 km del destino. Por cierto, fui con un chaleco bey, cuando llegué a Barcarrota tenía tantos bichos pegados que parecía un dalmata. Allí estaba Teresa, que mientras le llamaba para decirle que al final no iba a ir, llame a su puerta para darle la sorpresa. El resto del fin de semana fue de estudio, de cine (La huella del silencio), más estudio, sudoku, debian-cd, python y una pequeña escapada al campo que se abortó a medio camino porque nos topamos con un toro que nos cortaba el paso... De vuelta el lunes por la mañana descubrí buenas nuevas sobre mi moto, ¡corre mucho más de lo que yo pensaba! En esta ocasión, mi velocidad media fue algo más alta que respecto el viaje anterior, entre Barcarrota y Santa Olalla de 90 km/h y posteriormente, en la autovía de la plata de 100/110 km/h.

23 May 2006

NOKUBI Takatsugu: File-MMagic 1.27

Today I uploaded File-MMagic-1.27.tar.gz to CPAN, tt has two minor bug fix.

16 May 2006

Ross Burton: Contact Lookup Applet 0.14

Contact Lookup Applet 0.14 is released, especially done for sebuild. Translators: Adam Weinberger (en_CA), Clytie Siddall (vi), Daniel Nylander (sv), Francisco Javier F. Serrador (es), Frank Arnold (de), Funda Wang (zh_CN), Gabor Kelemen (hu), Ilkka Tuohela (fi), I aki Larra aga Murgoitio (eu), Jean-Michel Ardantz (fr), Kjartan Maraas (nb), Marcel Telka (sk), Maria Soler (ca), Maxim Dziumanenko (uk), Micha Kastelik (pl), Miloslav Trmac (cs), Takeshi AIHANA (ja), Yavor Doganov (bg), ygimantas Beru ka (lt). You can grab it from the usual place. Debian packages heading towards Sid once I update my pbuilder...

14 May 2006

Adam Rosi-Kessel: Comcast: Human or Automaton?

I’m not the first person with a story about the sad state of Comcast. Since I’m certain I’m never actually going to get a True Human to read my email at Comcast, I’ll just post my brief exchange regarding Comcast’s SMTP servers here. Maybe some future archaeologist of the Internet will point to this exchange as early evidence of the End of Email: I posted the following to Comcast’s website feedback form — apparently there is no publicly advertised email address for communicating with Comcast:
Please forward this email to an engineer responsible for Comcast’s SMTP service. I run an ISP. Email to @comcast.net addresses often bounces with a “556 null byte in data” rejection connecting to gateway-s.comcast. I use postfix from Debian Sarge. This is not a problem on my end. There are numerous reports of this problem in newsgroups (just google ‘556 null byte in data’ ‘comcast’). The problem is independent of mail user agent and ISP. Note that this is *not* an issue of my users attempting to connect to the Comcast SMTP server themselves—I understand there is some issue where Comcast only accepts SMTP/SSL/TLS now for its users. This is a *delivery* problem. I have seen some speculation that Comcast’s SMTP servers are rejecting email with this error because of either large attachments or attachments with long filenames. I have seen the problem occur where the attachments are very small (on the order of 10K), but I haven’t ruled out the latter explanation. Please let me know if there is anything I can do to fix this problem. My users would like to be able to email Comcast customers.
Comcast’s response:
Dear Adam KESSEL, Thank you for taking the time to write us. Comcast is aggressive about protecting its’ subscribers from unwanted and unauthorized emails. In keeping with industry standards and best practices some recent changes to our filters have been made.If you are attempting to send emails to legitimate recipients in the Comcast.net domain, and receive an error message there are 3 likely reasons: 1. Your mail server has been identified as a source of Spam. Our mail filters have been updated to reject all mail from your server until the administrator of your mail server contacts us to request the server be removed. 2. The source of your message has a dynamic email address. Anyone attempting to email into the Comcast domain directly from a Dynamic IP address will receive the following error message: Comcast does not support the direct connection to its mail servers from residential IPs. Your mail should be sent to comcast.net users through your ISP. Please contact your ISP or mail administrator for more information. 3. Your mail server has an invalid rDNS value. What this means is that our mail filters authenticate each message by checking the rDNS value to ensure its’ a legitimate domain and yours wasnot. The error or “bounce” message you receive will indicate which reason the message was rejected. Youwill either be given the address to request Blacklist removal or you will be directed to our rDNS FAQpage. If a domain administrator feels that their IP range has been blocked in error or they would like information on required steps to be removed from our black list, they can contact us at: blacklist_comcastnet@cable.comcast.com If you need assistance setting up email through your ISP?s mail servers please visit their support pages or contact their support group. If you need information on the rDNS block, please visit: http://www.comcast.net/help/faq/index.jsp?faq=Email118405 Thank you for the opportunity to assist you. If you need further assistance with any of your Comcast services please reply to this email and we will be happy to assist you. Thank you again for choosing Comcast we appreciate your business. To visit our local support page including links to contact us via Live Chat, as well as many downloadable forms,and FAQ pages, please visit: http://www.comcast.com/nesupport/ Did you know that Comcast offers its customers a variety of free benefits? These include McAfee Antivirus, Firewall and Privacy software as well the Comcast tool bar that lets you take Comcast.net with you while you surf, and the Desktop Doctor to help you restore lost settings…plus much more, please visit http://www.comcast.net/downloads/ to see all of the extras that we provide. Sincerely,
Irene Comcast Electronic Customer Care - New England You can email us anytime by replying to this email or by clicking the “Contact Comcast” link found on the bottom of all www.Comcast.net and www.Comcast.com webpages. Our Electronic Customer Support teams are available to assist you 24 hours a day 7 days a week. **************************************************
The response contained in this message is intended for the addressee only and may vary from other ponses depending on geography, promotional campaigns or other factors. If you are not the intended recipient of this response, please delete this message. Any unauthorized use or dissemination of the information contained in this message is prohibited.
**************************************************
The last bit about “unauthorized use” is a nice touch. My follow-up:
The 556 null byte SMTP error is *not* a spam or blocking related rejection. My mail server is (1) not a source of spam (2) does not have a dynamic IP address (I assume below whenyou wrote “dynamic email address” you meant “dynamic IP address”); it is not a residential IP but rather a commercial ISP that I run; and (3) the mail server has a valid reverse DNS lookup. To clarify: not every email is being rejected from the ISP’s IP address. In fact, the same sender can send from my ISP multiple times to a Comcast subscriber, and most messages will get through. There appears to be a bug in your SMTP delivery server whereby certain triggering events cause a 556 null byte error. There is at least some evidence that one such triggering event is an email with an attachment with a long filename. This is not a spam filter issue. This is a Comcast SMTP configuration issue. As you will see if you google “‘556 null byte in data’ comcast” this is awidespread problem that is entirely unrelated to Comcast’s zealous efforts to block unsolicited email. Please forward my email to an engineer or technician. Thanks,
Adam
Finally, Comcast’s witty retort:
Dear Adam Rosi-Kessel, Thank you for taking the time to write us. Commercial Email Accounts We have to apologize, but at this time you must contact our Commercial Business support team by calling one of the following toll free numbers 888-824-8105 or 888-824-8155, 1-888-737-8361 Thank you for the opportunity to assist you. If you need further assistance with any of your Comcastservices please reply to this email and we will be happy to assist you. Thank you again for choosingComcast we appreciate your business. To visit our local support page including links to contact us via Live Chat, as well as many downloadable forms,and FAQ pages, please visit: http://www.comcast.com/nesupport/ Did you know that Comcast offers its customers a variety of free benefits? These include McAfee Antivirus, Firewall and Privacy software as well the Comcast tool bar that lets you take Comcast.net with you while you surf, and the Desktop Doctor to help you restore lost settings…plus much more, please visit http://www.comcast.net/downloads/ to see all of the extras that we provide. Sincerely,
Ivonne Comcast Electronic Customer Care - New England You can email us anytime by replying to this email or by clicking the “Contact Comcast” link found onthe bottom of all www.Comcast.net and www.Comcast.com webpages. Our Electronic Customer Support teams are available to assist you 24 hours a day 7 days a week. **************************************************
The response contained in this message is intended for the addressee only and may vary from other responses depending on geography, promotional campaigns or other factors. If you are not the intended recipient of this response, please delete this message. Any unauthorized use or dissemination of the information contained in this message is prohibited.
**************************************************
If anyone has interesting ideas about how to get past Comcast’s front lines, I would like to know.

10 May 2006

Wouter Verhelst: Kerberos II

So about two weeks ago I started playing with Kerberos. And I'm still not finished with it, kerberizing one service after the other. Really fun, that. Kerberizing a network protocol involves somehow sending the Kerberos ticket in-band with the rest of the conversation. This is not entirely defined by the Kerberos protocol, and indeed, different network protocols have come up with different ways of sending the Kerberos ticket to the service. So far, I've encountered SPNEGO for HTTP, GSSAPI for IMAP and SSH, and SASL for LDAP. It sounds like a complex mess, but it really isn't; in general, kerberizing a service involves three steps:
  1. Installing the Kerberos plugin (if any) for both the server and the client;
  2. Generating the service principal, and adding it to a/the keytab;
  3. Configuring the service so that it knows it can do Kerberos, and so that it knows how to act when a Kerberos request is sent
Yes, in the cases I've seen it's really that simple. Although I'm skipping step 0 here–reading the documentation. But I've done that for you already ;-) The hardest part is the initial setup. But even that isn't very hard, because the process is very well documented. For starters, install the krb5-doc package, and read the excellent /usr/share/doc/krb5-doc/README.KDC which explains just enough of the system to get you started. The rest will be explained to you through debconf and the like; and if you want more, the krb5-doc package also contains three info files which explain concepts and usage very well. There's an alternative implentation called heimdal, which I presume works similar; but I haven't tried it, so I don't have much details on that one. The process of installing krb5 is very straightforward; the only thing I'll let you know is that you should ensure that any host you're going to kerberize should have reverse name lookups configured and working correctly; otherwise, you're going to run into a bunch of serious problems. After the initial setup, you'll have a Kerberos realm, usually your domain name in upper case (GREP.BE in my case). You'll now want to set up principals for your users and principals for your hosts. Now, let me show you how to configure Kerberos for LDAP, PAM, HTTP, IMAP, and SSH:
PAM
By installing and using the libpam-krb5 package, you'll log in to kerberos and receive your TGT immediately at login time; the alternative would be having to use kinit (in the krb5-user package) afterwards. pam_krb5.so also takes care of destroying your tickets when you log out, so that you don't have to worry about that. This is very handy, but not really required; you could just use kinit all the time. Of course, using pam_krb5.so also means you have only one password for everything—and that is a very good argument to use it.
Anyway; our three steps:
  1. Installing the plugin
  2. As you've guessed, libpam-krb5 is the package you'll need. That, or the heimdal implementation.
  3. Generating and installing the service principal
  4. In the case of any service such as PAM that will give you a shell (thus, as we'll see later on, also SSH), the principal is supposed to be host/<hostname>@<REALM>. For instance, on rock.grep.be, the principal PAM will use is host/rock.grep.be@GREP.BE. We'll create it with kadmin (which can be done on any kerberized host):
    wouter@rock:~$ sudo kadmin
    Password for root/admin@GREP.BE:
    kadmin:  addprinc -randkey host/rock.grep.be@GREP.BE
    WARNING: no policy specified for host/rock.grep.be@GREP.BE; defaulting to no policy
    Principal "host/rock.grep.be@GREP.BE" created.
    kadmin:  ktadd host/rock.grep.be@GREP.BE
    Entry for principal host/rock.grep.be@GREP.BE with kvno 3, encryption type Triple DES cbc mode with HMAC/sha1 added to keytab WRFILE:/etc/krb5.keytab.
    Entry for principal host/rock.grep.be@GREP.BE with kvno 3, encryption type DES cbc mode with CRC-32 added to keytab WRFILE:/etc/krb5.keytab.
    kadmin:  q
    
    Generating the principal can really be done as any /admin user; but as the same isn't true for writing the keytab, I'm using sudo in the above example to become root.
  5. Configuring
  6. account	required	pam_krb5.so ignore_root
    auth	sufficient	pam_krb5.so ignore_root forwardable
    password optional	pam_krb5.so ignore_root
    session	optional	pam_krb5.so ignore_root
    
    After adding the above lines to the relevant files in /etc/pam.d, you should log off, then log on again, run 'klist', and marvel. If you add the lines to your passwd file as shown above, and don't remove the pam_unix.so lines, then local passwd-based authentication will still work. This can be nice if, for example, the Kerberos server is down, or you're working on a laptop that isn't always within reach of the Kerberos server. It doesn't do any harm; the worst that can happen is that at some point you happen to be on a network where there's a firewall which drops packets on the floor rather than sending you an ICMP port unreachable; in that case, you need to wait for the Kerberos login to time out, which takes half a minute or so (I haven't timed).
SSH
  1. Installation
  2. If you're running unstable, you don't need to do anything. The OpenSSH packages in unstable are all set to understand Kerberos. If, however, you're running stable, you'll want to replace your ssh package by the ssh-krb5 package, which is the regular SSH package plus some patches to enable GSSAPI (read: Kerberos) authentication.
  3. Service principal
  4. If you've done the PAM setup above, you're all set; SSH, being a service which gives you a shell, also uses the host/ service principal.
  5. Configuration
  6. Make sure both the server and the client have the GSSAPIAuthentication option enabled. After you've done so, restart the server.
IMAP
I'm using dovecot as my IMAP server, which has builtin support for GSSAPI authentication (at least in unstable; haven't checked stable in this regard).
  1. Installation
  2. As dovecot comes with everything compiled in, there is no need for installing extra packages.
  3. Service principal
  4. You'll need the imap/ principal (e.g., imap/rock.grep.be@GREP.BE). Note that the host name which is found by doing a reverse lookup on the ip of the server is what counts, not the name of the server as you're using it (so not, e.g., imap/imap.grep.be@GREP.BE)
  5. Configuration
  6. Edit your dovecot.conf, and find the line that starts with "mechanisms" in the auth default stanza. Make sure it contains at least the word gssapi. Restart dovecot. I haven't found a Free (as in speech) IMAP client that supports GSSAPI authentication. My client of choice, offlineimap, doesn't seem to support it; mutt doesn't either (unless I'm missing something); and while thunderbird in unstable is supposed to support it, I haven't been able to configure it correctly yet. Probably me. I have, however, been able to verify that it works by using a non-free software package. Obviously, this isn't good enough. In addition, I found that horde and imp don't like an IMAP server that has GSSAPI enabled if they don't, while enabling GSSAPI in horde requires a PHP extension that isn't packaged in Debian. So I've disabled it for the time being. Stay tuned.
LDAP
  1. Installation
  2. LDAP requires uses SASL for authentication, which doesn't have GSSAPI modules in the default package; for those, you need the libsasl2-modules-gssapi-heimdal package. Attentive readers will have noticed that this package contains the string heimdal in it, rather than krb5, and that this is not the same implementation that I've been using previously. Yes, true. But since there's no libsasl2-modules-gssapi-krb5, and since Kerberos is, after all, a well-defined protocol, this is not an issue—except in that you need a bit more diskspace for the additional libraries. Note that the modules have to be installed on both the client and the server.
  3. Service principal
  4. You need a service principal that starts with ldap/, obviously followed by the hostname and the realm.
  5. Configuration
  6. For those people whom you want to allow to authenticate themselves using Kerberos, make sure they have ' SASL <principal>' in their userPassword attribute set (e.g., I have userPassword: SASL wouter@GREP.BE). You can have that in addition to a regular encrypted password; the userPassword attribute is a multi-value attribute. Now if you use ldapsearch or anything similar, it will try to negotiate GSSAPI authentication as the SASL mechanism. If it doesn't do so, you can force it by adding -Y GSSAPI to the command line.
HTTP
  1. Installation
  2. You need the libapache-mod-auth-kerb or libapache2-mod-auth-kerb modules on the server. For the client, you need a browser which has SPNEGO support; Konqueror and Firefox are two examples of browsers that do.
  3. Service principal.
  4. The prefix here should be HTTP/. That's right, in upper case, contrary to previous examples where this wasn't the case. HTTP is also different in that apache usually isn't running as root. This is a good thing; however, it does mean that the kerberos authentication module is unable to read /etc/krb5.keytab. You'll have to write the service principal to a different keytab for apache; I've used the -k option to the ktadd command in kadmin to specify the keytab as /etc/apache2/keytab; I'll assume you do the same.
  5. Configuration
  6. Something like this, on the server:
    <Location /some/URL>
    	AuthType Kerberos
    	KrbMethodNegotiate on
    	Require valid-user
    	Krb5Keytab /etc/apache2/keytab
    </Location>
    
    This will enable SPNEGO authentication; and if SPNEGO authentication fails for some reason (for example, because the used browser doesn't support SPNEGO, or because the user isn't logged in to Kerberos), it will fall back to Basic Authentication. While the latter is usually a good idea, it's less of a good idea if you're not using SSL, since then your password would be sent over the wire in cleartext. Luckily, the basic authentication can be switched off, by using KrbMethodK5Passwd off. If you go to my webserver logs, you'll see that you'll get a 401 right away, while the HTTPS version of the same allows you to try to log in by using basic authentication. On the client side, if you're using Firefox, you need to go to about:config, and set the option network.negotiate-auth.trusted-uris to a string that will identify the servers that may do SPNEGO authentication in your realm. In my case, I've set it to grep.be. For konqueror, doing something similar is not required—it'll do SPNEGO authentication out of the box.
So, that's what I've got set up on my network currently. Next on the list: NFS4 kerberos auth (requires updated nfs utilities, which aren't in Debian yet because of issues with NFS2, IIRC), PostgreSQL (it does seem to support it), and finding out if or how I can create principals can't be used for one authentication scheme or the other. Phew, that was a long post. I'll stop now.

29 April 2006

NOKUBI Takatsugu: wire-swig 0.20

Today, I joined with PyPy Sprint in Akihabara, Tokyo. It is an event like a Hackathon, CodeFest, or Bug Squash Party. I'v done to adopt wire-siwg with Python, so I released it as version 0.20 I also posted an announce to wire-crawler yahoo groups, but it is not reached yet.

14 April 2006

NOKUBI Takatsugu: wire-swig 0.10

Today I released wire-swig 0.10, multi language binding of libwire. libwire is a part of WIRE, an implementation of Web crawler. I can made my local search engine like google mini with it.

4 April 2006

NOKUBI Takatsugu: libTextCat - guess language

To make search engine with international support, languages are big problem. I maintain Namazu, it is focused to only Japanese and English, but I want to support more languages. In the past, I found TextCat, a perl implementation of language guesser. And yesterday, I can found a new implementation, libTextCat, a C implementation. So I packaged it and placed to:
deb http://www.daionet.gr.jp/~knok/debian ./
deb-src http://www.daionet.gr.jp/~knok/debian/source ./
I'll consider to ITP it.

Ross Burton: Sound Juicer "It's Not Very Pretty I Tell Thee" 2.14.1

Sound Juicer "It's Not Very Pretty I Tell Thee" 2.14.1 is out. Tarballs are available on burtonini.com, or from the GNOME FTP servers. Lots of bug fixes here: Translators: Ales Nyakhaychyk (be), Clytie Siddall (vi), Daniel Nylander (sv), Ivar Smolin (et), Kostas Papadimas (el), Petr Tome (cs), Theppitak Karoonboonyanan (th), Vladimer Sichinava (ka).

22 March 2006

Miguel Gea: Eye in the sky.

In my institute there are installed a server with Windows 2000 with its firewall... Yesteday, we received a port scan:

Tipo de suceso: Advertencia
Origen del suceso:      Control de Microsoft ISA Server
Categor a del suceso:   Filtro de paquetes
Id. del suceso: 15105
Fecha:          22/03/2006
Hora:           9:58:26
Usuario:                No disponible
Equipo: MAIA
Descripci n:
El servidor ISA detect  un ataque de todos los puertos de la direcci n IP (protocolo Internet) 65.54.239.20.  
Para obtener m s informaci n acerca de este evento, vea la Ayuda del servidor ISA.
Datos:
0000: 1f 00 00 00               ....


If you search the name this IP 65.54.239.20 to know who is the owner, you obtain:

TARGET:        65.54.239.20
NAME:          MICROSOFT-1BLK
NUMBER:        65.52.0.0 - 65.55.255.255
CITY:          REDMOND
STATE:         WASHINGTON
COUNTRY:       US
LAT:           47.67
LONG:          -122.12
LAT_LONG_GRAN: City
LAST_UPDATED:  20-Jun-2001
NIC:           ARIN
LOOKUP_TYPE:   Block Allocation
RATING:       =20
DOMAIN_GUESS:  microsoft.com
STATUS:        OK


What's doing Microsoft? Why they scan us? What are they looking for?

8 March 2006

Eduard Bloch: Rewritting apt-cacher

Something in apt-cacher did always suck... I adopted the package short before the Sarge release and tried to make it work better. At that time the package was not in the best state, too many changes have done without big design (or any design?) in mind. I made some changes on the cache structure to make it easier maintainable, introduced a basic signaling mechanism and consistency checks, so it should not get stuck or deliver wrong data any longer. However, there was the one big flaw, and Bug 354925 brought it to daylight. Storing all files in a flat directory was a very cheap way to merge multiple mirror contents and allow users choosing just any valid mirror. But it had also some costs: file collisions on identical names, happening more often since Ubuntu's is out there. The more I looked trough the code to find a good solution, the more I realized a need for a complete overhaul of the internal structure. For example, the simpliest change would be just putting the files into a nested directory structure. Great. But you will have duplicated files everywhere. They can still be re-unified using hardlinks, but that should be done offline since lookups with checksummng cause too much delay. And there was still the problem with persistent connections and forks, LWP does not allow connection reusing in forked clients so you get too many server connections. And the logging has been done synchronously and required flock'ing. Acceptable and not very memory-expensive but causes delays on filesystems with some load. So, the final software architecture for apt-cacher that I came up can be described with few characteristics: But first I need to get past my exams period :-( And I hope the final implementation will not become a memory monster, I didn't have the impression that Perl threads are really memory-efficient in the few first tests.

7 March 2006

NOKUBI Takatsugu: Sent to debian-vote

In the past, I had sent a vote mail to debian-vote list. And I do it again... I need more attention.

Rapha&#235;l Hertzog: About the condorcet votes

I just saw the vote of NOKUBI Takatsugu who posted it by error on debian-vote. The vote ranked “Further discussion” second just after his preferred option. I find such a vote too strong. This vote really means “My option or none”, or in other words: I don’t want any compromise (which is quite strange given that his first option is the “compromise” option). I believe that we should vote with the aim to have a winner in the end and as such we should avoid putting something below “Further discussion”. IMO the only valid reason to put something below is if that option would hurt Debian in one’s own opinion. Just rank the options in your order of preference. I ranked “Further Discussion” last, it’s my way of accepting the diverging opinions within our project. (So there’s nothing personal against Takatsugu, I just took the opportunity of his little mistake to point out something I find important) BTW, if you haven’t voted, please do. Even if you don’t care about the outcome, vote and leave all the fields empty (or rank them equally), that way you’ll express that you’re happy whatever the outcome is and you won’t be part of a silent majority. And the outcome of the vote will be stronger. This leads me to the following question: I wonder if we shouldn’t require DD to vote and if they don’t participate in 2 or 3 consecutive votes, they shall be considered by the MIA team… it would be a kind of implicit “ping of maintainers”. Update: FYI, Takatsugu thanked me by private mail for the explanation and will recast another vote.

5 March 2006

Uwe Hermann: HOWTO: Anonymous communication with Tor - some hints and some pitfalls [Update]

Warning: Very long post ahead. You have been warned! What? Tor is a Free Software project (revised BSD license), developed by Roger Dingledine and Nick Mathewson, which creates an infrastructure for anonymous TCP communication. From the project website:
Tor is a toolset for a wide range of organizations and people that want to improve their safety and security on the Internet. Using Tor can help you anonymize web browsing and publishing, instant messaging, IRC, SSH, and other applications that use the TCP protocol. Tor also provides a platform on which software developers can build new applications with built-in anonymity, safety, and privacy features. Tor aims to defend against traffic analysis, a form of network surveillance that threatens personal anonymity and privacy, confidential business activities and relationships, and state security. Communications are bounced around a distributed network of servers called onion routers, protecting you from websites that build profiles of your interests, local eavesdroppers that read your data or learn what sites you visit, and even the onion routers themselves.
Tor also allows you to set up and/or use a so-called Tor hidden service, i.e., a server which offers some service (a website, ssh access, or similar) without revealing its IP to its users. Why? Why would you want to use Tor? Well, because you probably don't want anybody (neither state agencies, nor companies, nor "hackers", nor any other individuals or groups) to be able to record, analyze, and (ab)use information about your web browsing habits, or any other communication habits. For instance, you don't want Google to have a complete search-profile of you, which — even worse — might some day get in the hands of other parties. In the days of massive data retention you don't want all your electronic traces to be recorded, stored for ages, analyzed, and data-mined for dubious reasons and with even more dubious results and false conclusions drawn which might negatively affect you. If you're a human rights activist in China, you want anonymous communication. If you're a whistleblower, you want anonymous communication. The list is endless. For securing your communications, so that nobody is able to sniff your emails, your chat messages, your passwords, your private documents and conversations, you use encryption. For communicating anonymously you can use Tor. Combine both, and you have secure and anonymous communication. In case you're wondering whether criminals might abuse Tor, read the Tor Abuse FAQ. Short answer: yes, but if you're willing to break the law, you already have anonymity (open access points, stolen/prepaid mobile phones, etc.). You don't need Tor to do bad things if you're a criminal. If you're one of those horrible "oh, but I don't have anything to hide" guys, consider this: Say you have a drug/alcohol problem and want to visit an anti-drugs/anti-alcohol website or forum for help. Would you want the whole world, your neighbors, your co-workers, your boss, to know that, or would you rather want to keep that a secret? Say you have AIDS and want to get information on the web? Or, to make the example even more dramatic: Would you want some random guys to be able to watch you while you fuck your wife? No? So you have something to hide after all, right? My point is: Everyone has something to hide, even more, it is a basic human right to have the ability to hide something. It's called privacy. How? Tor implements a form of onion routing to, basically, push encrypted data through multiple Tor nodes (servers), before it reaches the final destination (e.g. a website). The result is that neither the website owner, nor a local eavesdropper, nor any single Tor server knows who requested that specific website, hence you are communicating anonymously. For more technical details, read the Tor overview and the Tor documentation pages. In order to use Tor, you have to install and run a local Tor client/daemon (this is not necessarily a Tor server!). On Debian, type apt-get install tor, on other systems you can get the respective binary packages or download the sources and compile Tor yourself. Usually Tor is used together with Privoxy, a configurable HTTP proxy which sanitizes your web-browsing experience by removing nasty banner ads, pop-ups, JavaScript, webbugs, cookies etc. etc. So: apt-get install privoxy. After installing and starting Tor and Privoxy, you can now configure your webbrowser to use Privoxy as an HTTP proxy (see below), and Privoxy will in turn use Tor to anonymize your communication if you add "forward-socks4a / localhost:9050 ." to your /etc/privoxy/config. Anonymizing various applications Most (but not all) of the following information is also covered in the very useful Torify HOWTO in the Tor wiki (I will add the missing information there, ASAP). As I'm pretty paranoid, I have checked every single of these configurations with Ethereal to ensure that the traffic is really anonymized. However, if you are paranoid, you shouldn't trust me, but rather test this stuff for yourself! Warning: DNS Leaks:
The biggest problem with many applications is that they leak DNS requests. That is, although they use Tor to anonymize the traffic, they first send a DNS request untorified in order to get the IP address of the target system. Then they communicate "anonymously" with that target. The problem: any eavesdropper with more than three brain cells can conclude what website you visited, if they see that you send a DNS request for rsf.org, followed by some "anonymous" Tor traffic. The solution: use Tor together with Privoxy, that prevents DNS leaks. Many non-HTTP-based applications are usually torified using a small tool called torify (e.g. by typing torify fetchmail), but often this approach has DNS leaking problems, see below. You might also want to check out toraliases, a small shell script you can source from your ~/.bashrc file. It defines some functions and aliases which transparently direct the traffic of some (but not all!) programs through Tor. Applications which cannot easily be torified Anything not using TCP usually cannot be torified, as Tor only works for TCP. Pitfalls to be aware of More information More information is available in the Tor documentation, the Tor wiki, and especially in the Tor FAQ. In addition, there's an IRC channel on Freenode (#tor), some slides and a video (torrent) about Tor you might find interesting. If you would like to help, you can run a Tor server, donate some money, or volunteer to do other things (code, debug, document, translate, and more). That's it for now. I'm very grateful for comments and suggestions, especially for hints on how to anonymize more applications. Also, if you notice any dumb mistakes I made, please leave a comment. Update 2006-03-07: Fixed typos, added link to the toraliases project (thanks Benjamin Schieder).

2 March 2006

NOKUBI Takatsugu: clearsilver on Solaris 10 with sunpro

I'm trying to install Trac with NetBSD pkgsrc, but clearsilver is the big wall for me. cleasilver depends on GNU find and gcc, so I need to modifide some codes. GNU find is called from rules.mk, so I installed it and replaced "find" to "gfind". Then, util/neo_err.h uses __PRETTY_FUNCTION__ macro, it is a gcc extension, so sunpro compiler can't handle it. So i replaced it to __LINE__, it is not so good solution but better than nothing.

23 February 2006

Simon Law: CodeCon 2006, Day 2


House
Originally uploaded by sfllaw.
I woke up to a breakfast of pancakes, cooked by the wonderful [info]riseorbleed. I don't know about you but waking up to a hot breakfast is heavenly. After some morning ablutions, we hailed a cab and along the way we chatted with the cabbie as I looked out the window. Luxor cabbies are really nice, every time I travelled with them, they had some interesting story to tell and big, broad smiles. Smiling is the way to fatter tips! The weather in San Francisco is supposed to be rather variable. You know how that is, rain one minute and then sun the next. Well, the entire time I was there, it was bright and sunny and gorgeous. San Francisco really put on her best to charm me and she really succeeded. I didn't think that postcard-perfect pictures were possible, but I saw them everywhere. I was happy to walk around without needing a winter coat. And everyone else smirked at how happy I was. Daniel seemed to have recovered from the previous night's revelry. His talk on delta was excellent because he's a very good public speaker. Which is good, because he gave two presentations at CodeCon. When I talked to him on Thursday night, he seemed a little embarassed at how successful delta had become since it such a simple piece of software. But people like GCC use it to fare down their bug reports to the lines of code that reproduce its bugs. Rob and Tristan sidled up to my bar and asked me if I could get them some juice. For their laptops. They were working on their presentation all the way until the last minute, which involved a drunken Tristan stumbling around on stage. Except that Tristan doesn't drink, so his imitation was quite poor. They were presenting Djinni, which is their implementation of a fast simulated-annealing algorithm that takes also pressure into account. Sadly, they didn't explain their algorithm but their talk was entertaining nevertheless.

Shoes
Originally uploaded by sfllaw.
At lunch, Spider snuck me out of the building and she showed me around San Francisco. She pointed out the Eagle Tavern with a glimmer in her eye. I think she's trying to corrupt me. Or she's trying to pimp me out. Then we went to Stompers where she tried on some boots. We were stymied, however, by the fact that a very annoying woman and her husband were trying on every single pair of boots in the entire store. iGlance is a real-world video-conferencing and screen-sharing application that has some fairly good usability built into it. It also has a fairly sensible privacy model and does some NAT punching to boot. Although it's only got a Win32 port for now, it's free software so someone will fix it up. Sometime in the afternoon, the beautiful and fair [info]wealhtheow came behind the bar and surprised me with a hug and a sandwich! I was happy with the random hug from a new friend, but the sandwich was wonderful. I had not eaten lunch on Friday so I was very grateful. She put a huge smile on my face. I munched on the sandwich while listening to the OASIS talk. This technology is a locality-aware server-selection resolver, which is pretty good for distributing servers around the world and finding the fastest one. They implement this as a DNS redirector so that lookups are transparent to normal Internet software. This made me feel a little bad for [info]holdenk, whose SelfDirectedProject happens to be on a very similar topic. It does, however, validate his approach. [info]maradydd's presentation about Query by Example was up next. She did a very good introduction to data-mining, which segued into her hack on PostgreSQL where you can specify examples of things you want to search for. That is not how SQL normally works, where you specify constraints. With QBE, you just specify things similiar to what you want, and things similar to what you don't want.

Proposal
Originally uploaded by sfllaw.
I was chatting with Rob Pascual when I noticed Len lining up in the Q&A; queue. Suddenly, my ears perked up as I sensed something important was going to happen. So I pulled out my camera, stepped on some toes, and got into position. When it was his turn at the microphone, he started saying random stuff that wasn't question at all! Something cheesy like how Meredith had changed his life and how he wanted to be with her. Then he got up on stage and asked The Question. It was beautiful. The audience broke out into cheers and applause, except for the heartless bastards beside me. But who cares about them? This was such an awesome occurance that an interview was taped. After teardown, some people were going to head to a franchise Mexican restaurant. Spider insisted that I get real food, so we walked down to the Mission. We made a detour to Good Vibrations which is a San Francisco landmark if ever there was one. I swear that she's trying to corrupt me. Anyway, as we were walking out, I must have mentioned that I was from Canada. Because Cohen, a Torontonian, came out of nowhere and introduced himself to us. Well, what was I to do but to invite my fellow countryman to dinner? So we set off to find a Taqueria that served nopales. This failed since Californians don't seem to like eating cactus. Instead, we went to Pancho Villa where I ate enchiladas and salsa verde and guacamole and churros and I was so very happy! We bid farewell to Cohen after exchanging contact information and tried to find everyone else. Unfortunately, we couldn't reach anyone by cellphone, so we sat around dejected for a while. Then we realised that we could go to Annie's Social Club where an event was happening. This turned out to be a good and a bad idea.

Taqueria
Originally uploaded by sfllaw.
It was a good idea because we found everyone at CodeCon. It was a bad idea because Annie's Social Club double-booked us with bad karaoke! And then were quite rude when we complained. And then kicked out John Gilmore. So I just want to say that Annie's Social Club hates geeks and freedom. So Len hailed a black stretch limousine, we all climbed into it, invited some reporters along and moved the entire party to the XYZ bar. The XYZ staff were very awesome, accommodating an extra hundred patrons and getting an extra bartender. And they were very nice about it. Unfortunately, the bar was full, so I had to lead a bunch of introverts in the fine art of taking over an establishment. We walked in, started talking, I encouraged people to sit down in empty spots on the couches. They did a very admirable job of taking over the back. I got the stunningly adorable [info]akashayi a seat and a drink, before I taked to the people sitting with us. They were a couple who had moved from Florida to San Francisco, and a man from New York who was quite the boor. The man in the couple knew the New Yorker and seemed quite embarassed about him. After twenty minutes of conversation, they excused themselves and bid us good night. This gave us plenty of seating space to talk about geeky things until the manager kindly kicked us out. I made sure Akasha got safely to her hostel and then took a taxi back to the guest room. It was quite the challenge to direct the cab driver, since I had lost the directions back, but I managed!

Next.

Previous.