Menu

OT: What are my users sharing?

2004-04-06
2004-04-06
  • Martin Fiedler

    Martin Fiedler - 2004-04-06

    Hello,

    Thanks so far, this is a great project! Slightly offtopic, but is it possible to actually "see" what my users are sharing?

    Take for example the edonkey protocol. There are many legal uses, but a lot of my users abuse it to download games, movies etc. I had a quick look at the sources and found in match_edonkey.c the define TYPE_HASH. Is it possible to log the hash somehow to syslog? This would imho require a ipt_p2p_log module but IANAKH (i am not a kernel hacker)...

    I don't know the amount of work this would take, maybe you know of other projects that might be interesting for me?

    Thanks again,
    Martin

     
    • Filipe Almeida

      Filipe Almeida - 2004-04-06

      That doesn't seem hard, although I am not found of adding it to the module because of the privacy implications.
      You can try a simple utility function that converts that hash into a string and uses printk to print it.

       

Log in to post a comment.