1. stupid all around
    1. what monkey?
    2. who monkey?
    3. where monkey?
    4. when monkey?
    5. why monkey?
    6. whow monkey?
  2. stupidity from the public
    1. can i have an account?
    2. what can i leech from monkey?
    3. how do i view monkey SSL-protected web pages?
  3. stupidity from our own users
    1. how should i login to monkey?
    2. what is there to do on monkey?
    3. what about all this SPAM?
    4. what about web or IMAP e-mail?
    5. how do i set up a webpage on monkey?
    6. what CGI scripts are available on monkey?
    7. could i get access to this modern 70s “database” technology?
    8. how can i keep people from leeching my junk?
    9. what about backups?
    10. how do i get monkey to remind me about certain dates?
  1. stupid all around
    1. what monkey?

      monkey.org is a thing run by dugsong, dirt, jim, dros and others on 1-3 crappy PCs (suk) running OpenBSD (leet). our machines are naughty, funky, filthy, and occasionally wacky. monkey.org is what we and its users need. if you get anything out of it, consider yourself a lucky monkey.

    2. who monkey?

      we have over 200 users, all personal friends. with few exceptions, we have met every single one of our users FTF, and have them under our strict mind control.

    3. where monkey?

      monkey is in overcast, poopy ahm nabro, meeshigun. open your right hand, palm up. point at it. there. "pop". "ruhf". "fuhyer". "graeyam". "geeked". "ch-ching!". these goddamn midwesterners.

    4. when monkey?

      monkey had its start sometime in 1995 or 1996, when it originally ran on a funky portable 486 box (like a Network General sniffer) running Debian GNU Linux (ugh). we then migrated to FreeBSD, then OpenBSD. like you care.

    5. why monkey?

      perhaps dcopp answers it best with this monkey koan:

      Monkeys cause me to be both angry and happy.
      It is much like a piece of metal stuck in your eye.
      You like the metal because it is shiny,
      but you also hate it because it is causing you a great deal of pain.

      think about it.

    6. whow monkey?

      wash, you filthy mute! wash!

  2. stupidity from the public
    1. can i have an account?

      no. shut up, human.

    2. what can i leech from monkey?

      whatever you want. try http://monkey.org/ for some lame jonks. try http://monkey.org/warez for some 0-d@y w4r3z.

    3. how do i view monkey SSL-protected web pages?
      1. go to the SSL-protected page you want to see. accept our server's remote mind-control implant ("certificate"). answer 'OK' to all the prompts. do as i say, human.
      2. pee your pants, do a little dance. make that booty clap.
  3. stupidity from our own users
    1. how do I login to monkey?

      we currently support SSH. SSH is a secure replacement for telnet and the r-commands (rlogin, rsh, rcp). see the monkeyhelp SSH page for info on how to use SSH.

      S/Key one-time-password logins. refer to the monkeyhelp S/Key page.

    2. what is there to do on monkey?
    3. what about all this SPAM?

      we currently support SpamAssassin (SA) on our main login server. we are currently investigating a solution for our remote clients and will update as we know more. when you set up SA on our system per our installation script, it will tag things above a certain threshold as SPAM, and throw them into a folder called SPAM.

      in order to set up SA, run nospam:

      % nospam Hello, <username>! SpamAssassin can filter your incoming e-mail, and put any messages it believes to be spam in a new e-mail folder called "SPAM" (~/mail/SPAM, for you Unix types), instead of your inbox. You will need to periodically review and clean out the contents of your "SPAM" folder - it will NOT be deleted automatically for you. This is because SpamAssassin occassionally makes mistakes, and identifies good e-mail messages as SPAM. Do you want me to enable SpamAssassin for you now? [yes/no] yes SpamAssassin configured.

      if you already have a .procmailrc or a .forward file, nospam may complain and refuse to run. in that case, feel free to drop us a line.

      you can also run nospam to turn SPAM filtering back off. why you would want to do this, we don't know, but we don't ask too many questions around here. if you've modified your .procmailrc or .forward file, nospam will inform you that you need to look into disabling things on your own.

      when SA misses a SPAM, save it into a folder called MISSED (this corresponds to ~/mail/MISSED) and then run despam at the prompt:

      % despam Reclassifying mail............................... Learned from 28 message(s) (28 message(s) examined).

      if you require further knowledge of SA, please visit the SA wiki.

    4. what about web or IMAP e-mail?

      why yes, we have both services, and they're so closely related that if you switch to IMAP-based e-mail, you automatically will be able to use our webmail services. e-mail root@ for account setup.

      once the account is setup, you'll take one of two paths:

      click here if you have a .procmailrc file already, or you've run the nospam command above and have the subsequently created .procmailrc file in your home directory.

      if you're not using procmail:

      1. edit the .forward file in your home directory
      2. set the contents of the file to be:

        monkey-<user>@imap.monkeymail.org
      3. install the monkey CA cert
      4. change your password via the monkeymail web interface:
        1. log in with your <user>@monkey.org account and temporary password
        2. click on Options
        3. click on Change Password
      5. set up your imap e-mail client
      6. e-mail root@ if you have any questions!

      if you have a .procmailrc file already, or you've run the nospam command above and have the subsequently created .procmailrc file in your home directory:

      1. edit the .procmailrc file
      2. add one of the following lines to the end of your .procmailrc file:

        if you wish to copy messages to the IMAP server:

        :0 c ! monkey-<user>@imap.monkeymail.org

        if you wish to just relay all messages to the IMAP server:

        :0 ! monkey-<user>@imap.monkeymail.org
      3. install the monkey CA cert
      4. change your password via the monkeymail web interface:
        1. log in with your <user>@monkey.org account and temporary password
        2. click on Options
        3. click on Change Password
      5. set up your imap e-mail client
      6. e-mail root@ if you have any questions!

    5. how do i set up a webpage on monkey?

      put your HTML webpage files in ~/Public/html. the URL to your homepage is: http://monkey.org/~username/(where username is your username).

      IMPORTANT NOTE: any time you add files to this directory, they will be created with strict permissions, such that only you can read them. You need to run the 'fixpublic' program everytime you want to make your Public data available to the world - 'man fixpublic' for more information.

    6. what CGI scripts are available on monkey?

      so far, just two - HTMaiL for forms-based mail, and counter, the standard counter CGI.

      if you want statistics on how much traffic your homepage is generating, see wwwreport instead.

      you can also run PHP scripts (v.4.2.3). any file with a .php extension will be processed as such.

      hey! maybe you should check out server side includes.

    7. could i get access to this modern 70s “database” technology?

      e-mail root@monkey for setup.

      once you have the database set up, you can log into it from our login servers by typing in the following:

      % mysql -p -h db.monkey.org [database name] Enter password: Reading table information for completion of table and column names You can turn off this feature to get a quicker startup with -A Welcome to the MySQL monitor. Commands end with ; or \g. Your MySQL connection id is 8836 to server version: 4.0.20 Type 'help;' or '\h' for help. Type '\c' to clear the buffer. mysql>

      you can get a list of available databases to you by typing:

      mysql> show databases; +-------------+ | Database | +-------------+ | test | +-------------+ 1 rows in set (0.00 sec) mysql>

      if you don't specify the database name, you can choose it at this point by typing:

      mysql> use <database name>; Database changed mysql>

      to list the available tables in a given database, type:

      mysql> show tables; +----------------+ | Tables_in_test | +----------------+ | bob | | bob2 | | bob3 | | bob4 | | bob5 | +----------------+ 5 rows in set (0.00 sec) mysql>

      finally, for those of you who wish to use the database in conjunction with PHP, you would specifically be interested in the mysql family of PHP functions. For example:

      <?php $connection = mysql_connect('db.monkey.org', '<user>', '<password>'); mysql_select_db('test', $connection); $query = 'select * from bob'; $results = mysql_query($query, $connection); while ($row = mysql_fetch_assoc($result)) { /* do something */ } mysql_free_result($results); mysql_close($connection); ?>
    8. how can i keep people from leeching my junk?

      on occasion, pesky people link directly to your resources instead of your web page without asking. this requires a little bit of advanced web-fu, but you can whack them in the knees tonya-harding style.

      for example, if your website were www.monkey.org, you would want to make an .htaccess file that contained the following:

      SetEnvIfNoCase Referer "^http://www.monkey.org/" locally_linked=1 SetEnvIfNoCase Referer "^http://www.monkey.org$" locally_linked=1 SetEnvIfNoCase Referer "^http://monkey.org/" locally_linked=1 SetEnvIfNoCase Referer "^http://monkey.org$" locally_linked=1 SetEnvIfNoCase Referer "^$" locally_linked=1 <FilesMatch "\.(gif|png|jpe?g|mrw|tif+)$"> Order Allow,Deny Allow from env=locally_linked </FilesMatch> <FilesMatch "^\.htaccess$"> Order Allow,Deny Deny from all </FilesMatch>

      the first clause with all the SetEnvIfNoCase commands sets up a variable called locally_linked. locally_linked is set to 1 if any of the following conditions are met:

      • the page referring to the resource starts with http://www.monkey.org/
      • the page referring to the resource is http://www.monkey.org/
      • the page referring to the resource starts with http://monkey.org/
      • the page referring to the resource is http://monkey.org/
      • there is no referring page, and the resource is accessed directly

      the second clause sets up a control for files ending with the following extension that allows them to only be accessed if locally_linked is set to 1:

      • gif
      • png
      • jpeg
      • jpg
      • mrw
      • tif
      • tiff

      the third clause ensures that nobody can access the .htaccess file itself

    9. what about backups?

      did you delete your just completed novel? we can help!

      in your home directory are several links - .snapshot-daily, .snapshot-weekly and .snapshot-mail. follow them to older versions of your home directory and mbox files.

      the snapshots live on a separate disk. not only does this allow us to provide you an easy method of file recovery, but it protects against main disk failure. neat!

      do we have any older backups? yes. speak to root@monkey for assistance.

    10. how do i get monkey to remind me about certain dates?

      use the calendar program on monkey. if you don't know what it is, chances are you have something better to help you with this task.