OpenBSD Journal

OpenBSD 3.3 tagged in CVS

Contributed by jose on from the hoovering-source dept.

blkwolf writes:
"OpenBSD 3.3 is now tagged in the CVS repository, so anyone who wants to build a stable system before the cd's come out now's your chance."
Yep, if you're too impatient to wait for a CD, you can run this command:
cd /usr
cvs checkout -P -rOPENBSD_3_3_BASE src
to get the 3.3-release source tree. See the anonCVS page on the OpenBSD website for info on mirrors. Buying a CD, however, gets your assistance into the tree, helps you keep a set of code around in an easy to use format, and allows you to more easily share OpenBSD with people new to the system. Plus you get cool stickers and songs.

(Comments are closed)


Comments
  1. By tony () tony@777h.org on mailto:tony@777h.org

    I'm especially excited to use PF with tables so I can finally block all those obnoxious worms in a sane automated fashion.

    What is everyone using for a recipe to catch them? Mine is: cat *-error_log | egrep "(cmd|root).exe|default.ida" | awk '{print $8}' | cut -f 1 -d ] | sort | uniq

    run that puppy from a cron job every 5 minutes or so, scp over the file to my firewall, and viola.

    Comments
    1. By Anonymous Coward () on

      mine will be

      egrep "(cmd|root).exe|default.ida" *-error_log | awk '{print $8}' | cut -f 1 -d ] | sort -u

      Comments
      1. By awk fu yoo () on

        no grep needed.

        awk -F "[][ ]+" '/(cmd|root).exe|default.ida/ {print $9}' *-error_log | sort -u

        Comments
        1. By sort bad too () on

          no sort needed

          Comments
          1. By Anonymous Coward () on

            Sure it is, to eliminate multiple instances.

    2. By cl () on

      how 'bout this for building a file with hosts that tried to relay mail through your sendmail server? i suppose it would have to be included in the syslog rotate routine so it would run each time the mail log was rotated. inspired by the previous post.

      cd /var/log
      egrep denied maillog | awk '{print $10}' | cut -f 1 -d ] | cut -c 2-

    3. By Anonymous Coward () on

      is there a rule to add to pf.conf that you can add so that it block the request? in two weeks i get 5000 requests quite annoying

      Comments
      1. By tony () tony@777h.org on mailto:tony@777h.org

        well when youre blocking the culprits, it wont be a big deal anymore.. if you uniq all those requests, im sure you'll see they come from the same hosts over and over again. i remember daniel saying that the number of hosts in the table doesnt affect the speed...

    4. By shamim () on www.drones.com

      Why not just use awk , instead of adding cat , egrep and cut ?
      awk '/(cmd|root).exe|default.ida/{print substr($8, 1, length($8)-1)}' /var/www/logs/error_log | sort | uniq
      Or you could tr -d '[' instead of using awk's substr() ...

  2. By Anonymous Coward () on

    I though this happened days ago. Didn't the master cdr go out just after the latest Sendmail source was added to the codebase?

    Comments
    1. By Anonymous Coward () on

      Nope, master cdr was sent out the day after sendmail 8.12.9 (or whatever it was) was integreated in the tree.

  3. By Anonymous Coward () on

    do we get more then A song this time?

    Comments
    1. By Anonymous Coward () on

      No.

  4. By Anonymous Coward () on

    doing this command after running cvsup isnt working for me:
    cvs checkout -P -rOPENBSD_3_3_BASE src

    gets:
    cvs checkout: cannot find module `src' - ignored

    "ls -al" gets:
    total 34
    drwxr-xr-x 18 root wheel 512 Nov 5 00:23 .
    drwxr-xr-x 17 root wheel 512 Jan 4 21:23 ..
    drwxr-xr-x 6 root wheel 512 Apr 12 2002 X11R6
    drwxr-xr-x 2 root wheel 6656 Dec 19 18:19 bin
    drwxrwx--- 4 root cvs 512 Nov 5 11:10 cvs
    drwxr-xr-x 3 root wheel 1024 Dec 19 18:18 games
    drwxr-xr-x 34 root bin 3072 Dec 19 18:16 include
    drwxr-xr-x 5 root wheel 5120 Dec 19 18:19 lib
    drwxr-xr-x 6 root wheel 512 Apr 13 2002 libdata
    drwxr-xr-x 7 root wheel 1536 Dec 19 18:19 libexec
    drwxr-xr-x 2 root wheel 512 Apr 13 2002 lkm
    drwxr-xr-x 17 root wheel 512 Jan 5 07:37 local
    drwxr-xr-x 2 root wheel 512 Dec 19 18:19 mdec
    drwxrwxr-x 16 root wsrc 512 Dec 19 16:52 obj
    drwxr-xr-x 41 root wheel 1024 Mar 28 14:44 ports
    drwxr-xr-x 2 root wheel 3584 Dec 19 18:19 sbin
    drwxr-xr-x 23 root wheel 512 Dec 19 18:19 share
    drwxrwxr-x 20 root wsrc 512 Nov 5 12:00 src


    Comments
    1. By tedu () on

      don't mix cvsup and cvs. cvs doesn't like checking things out if you already have files there.

      rm -rf src
      cvs -d anoncvs@anoncvs.org -z 3 co -rOPENBSD_3_3

      Comments
      1. By Anonymous Coward () on

        the guide at openbsd.org uses cvsup then cvs together?

        Comments
        1. By Anonymous Coward () on

  5. By Anonymous Coward () on

    I'll probably get flamed for this post, with the usual why-don't-you-buy-a-CD flames. But anyway.

    Does anyone know how to fetch the CVS tree and package it into a bootable OpenBSD CD?

    Comments
    1. By Anonymous Coward () on

      Does anyone know how to fetch the CVS tree and package it into a bootable OpenBSD CD?

      cvs(1) - for getting the src
      tar(1) - for packaging the src
      release(8) - for building release sets from the src
      mkhybrid(8) - for making the cd
      cdrecord(1) - for burning the cd (it's in ports)

      In addition, you'll need reading skills, basic unix skills, time, and a brain.

      Comments
      1. By Anonymous Coward () on

        silly question,

        which port is mkisofs
        in now for 3.3?

        didn't see /usr/ports/misc/cdrecord in current

        Comments
        1. By Anonymous Coward () on

          /usr/ports/sysutils/cdrtools

        2. By GPS () on

          You can find this out yourself by running in /usr/ports or your $PORTSDIR the following command: make search key=cdr

      2. By Anonymous Coward () on

        that's all you need ?

      3. By Anonymous Coward () on

        Thanks!

    2. By Anonymous Coward () on

      > Does anyone know how to fetch the CVS tree and package it into a bootable OpenBSD CD?


      Why yes. Yes I do.

      Comments
      1. By Anonymous Coward () on

        you took the words right out of my mouth.
        I do to.
        (but i bought the cd anyway)
        ;P

  6. By Anonymous Coward () on

    I've seen there are two tags: OPENBSD_3_3 and OPENBSE_3_3_BASE.
    What is the difference?

    Comments
    1. By Anonymous Coward () on

      _3_3 is -stable while _3_3_BASE is release. And suggestion people to get release via cvs is just pointless, use _3_3 for your safety.

  7. By Noob () on

    Does this mean that OPENBSD_3_3_BASE is locked and nothing more will be added? How can you tell when this phase has been reached? Do I have to fish through all the cvs commit messages?

    Comments
    1. By tedu () on

      base is what was used to make cds. once tagged, it doesn't change. i'm not sure it matters when the lock happened. why does that matter?

      Comments
      1. By mirabile () mirabile@bsdcow.net on http://www.bsdadvocacy.org/~mirabile/

        FWIW, _this_ time _BASE was changed after it was
        tagged the first time.
        Sendmail (new) went in.

        This changes nothing on the definition of _BASE as
        being what is on the CDs, though.

  8. By SFNative () on

    I'm fairly new to OpenBSD. Been using 3.2 for a few months. I liked it so much I've pre-ordered 3.3. I've even cleared a space over my desk at work for the poster.

    However, this post leaves me with one question.

    Songs?

    Comments
    1. By Anonymous Coward () on

      Starting with 3.0, a song has been included with each release.

      ftp://ftp.openbsd.org/pub/OpenBSD/songs

Credits

Copyright © - Daniel Hartmeier. All rights reserved. Articles and comments are copyright their respective authors, submission implies license to publish on this web site. Contents of the archive prior to as well as images and HTML templates were copied from the fabulous original deadly.org with Jose's and Jim's kind permission. This journal runs as CGI with httpd(8) on OpenBSD, the source code is BSD licensed. undeadly \Un*dead"ly\, a. Not subject to death; immortal. [Obs.]