euglug.org

[작성자:] admin

  • [Eug-lug] Gentoo hardened



    Jacob MeuserThu Aug 5 20:24:46 PDT 2004

    On Thu, Aug 05, 2004 at 07:54:28PM -0700, larry price wrote:
    > So matthew was generous and has made a box available to us,
    > I'm sitting here at the conference room of 43 W. B'way watching it run memtest
    > 
    > specs on the box are not spectacular 
    > it's a Celeron 333mhz and will run the tests with either 128MB or 256MB
    > (depending on how the memory proves out)
    > It has a disk drive that can be mangled at will 3.2GB
    > a network card, a 32MB video card and a soundcard.
    > 
    > So it's a fairly limited computer, but it should serve the purpose.
    > 
    > I'm going to get another wiki set up. now.
    
    Cool.  I guess the next step would be deciding what tests we want to
    run?
    
    I'll try to make it to the next few clinics.
    
    -- 
    <jakemsr at jakemsr.com>
    
  • [Eug-lug] Gentoo hardened



    larry priceThu Aug 5 19:54:28 PDT 2004

    So matthew was generous and has made a box available to us,
    I'm sitting here at the conference room of 43 W. B'way watching it run memtest
    
    specs on the box are not spectacular 
    it's a Celeron 333mhz and will run the tests with either 128MB or 256MB
    (depending on how the memory proves out)
    It has a disk drive that can be mangled at will 3.2GB
    a network card, a 32MB video card and a soundcard.
    
    So it's a fairly limited computer, but it should serve the purpose.
    
    I'm going to get another wiki set up. now.
    
    -- 
    http://Zoneverte.org -- information explained
    Do you know what your IT infrastructure does?
    
  • [Eug-lug] External SATA



    T. Joseph CARTERThu Aug 5 18:42:19 PDT 2004

    On Thu, Aug 05, 2004 at 04:03:39PM -0700, Garl Grigsby wrote:
    > I am just now starting to dig into Firewire. I have found that the 
    > Oxford 911 chipset (ide to firewire bridge) appears to be well 
    > supported. Now I simply need to find a external case that uses this 
    > chipset and a Firewire card that has solid Linux support.
    
    http://www.pcmicrostore.com/CBC.aspx?q=b:1477;c:36232
    
    These have the advantage of being dirt cheap, but not being too annoying
    to work with.  I wouldn't put a 10 krpm drive in the Triumph Diamond combo
    USB2 and Firewire enclosure mentioned on that page, given that I can tell
    that the enclosure is touchably warm on a 7200 drive in my air-conditioned
    room, but it's an enclosure for IDE drives, and I have yet to see 10 krpm
    available in IDE.  Note, the enclosure in question is really small, but
    only because the (proprietary!) power brick is external.  Still, for $35
    and an Oxford 911, what do you want?  (You'll bleed for Oxford 922 and
    Firewire 800..)
    
    Now 10 krpm IS available in SATA, and if you have a more roomy enclosure,
    that may be fine.  I really don't like the Highpoint e.SATA use of 4 to 6
    firewire, but at least I know where to get the cables.  The claim made in
    one review was that there was no standard and Highpoint seems to be
    establishing the use of the firewire cable.  Bull.  I've seen alternative
    enclosures that use this sort of thing from just about everyone else:
    
    http://www.newegg.com/app/viewproductdesc.asp?DEPA=0&description=17-155-101&ATT=External+Enclosure&CMP=OTC-C173T
    
    That looks to be a normal unpowered SATA cable to me.  Unless it were
    simply an external power supply and passthrough, though, I see no reason
    to buy any more devices which support IDE drives.  SATA is getting quite
    affordable quickly.  =)
    
    
  • [Eug-lug] Fun stuff/Lemmings the game



    Mr OThu Aug 5 18:32:35 PDT 2004

    Try Pingus instead. Better graphics, less load time. Challening
    as well.
    
    
    --- Alan Crandall <alanore at comcast.net> wrote:
    
    > Tried it and it works with Opera/Mozilla/Firefox/ for some
    > reason Konqueror 
    > does not render correctly
    > 
    > http://193.151.73.87/games/lemmings/
    
    
    __________________________________________________
    Do You Yahoo!?
    Tired of spam?  Yahoo! Mail has the best spam protection around 
    http://mail.yahoo.com 
    
  • [Eug-lug] Gentoo hardened



    Jacob MeuserThu Aug 5 18:09:07 PDT 2004

    On Thu, Aug 05, 2004 at 05:41:16PM -0700, larry price wrote:
    > On Thu, 5 Aug 2004 16:15:53 -0701, Jacob Meuser <jakemsr at jakemsr.com> wrote:
    > > On Thu, Aug 05, 2004 at 03:55:52PM -0700, larry price wrote:
    > 
    > > > I would be curious to see the difference in performance between the
    > > > hardened gentoo and a plain vanilla install that's been secured to
    > > > adequate standards (no xinetd running wideopen, a standard firewall,
    > > > smtpd basics etc.).
    > > 
    > > There are immense differences.  The hardened stuff is a whole other
    > > level of security.  It's still important to use firewalls and basic
    > > hardening techniques along with the kernel and ld.so enhancements.
    > > 
    > Yes, one would expect a hit, but it's not a necessary hit in  every case
    > after all the speed of an algorithm is not necessarily coupled with
    > it's security.
    
    I didn't mean to suggest that.  The "immense differences" are in
    the method of security as compared to shutting down services, firewalls,
    etc.
    
    > > > What would be the variables that could be tested that would tell you
    > > > something worthwhile?
    > > >
    > > > partial list:
    > > > 1. read/write speed (also open, close, and sync)
    > > 
    > > Heh, 2^10 small reads and writes, then pull the plug.  How long did the
    > > reads and writes take, and did the filesystem get corrupted.
    > >
    > Or N reads/writes/close  on /mnt/tmp;  umount /mnt/tmp; mount
    > /mnt/tmp; check files
    > > > 2. speed to respond to  a network request ( how many requests/second
    > > > before failure)
    > > 
    > > what kind of "network request"?
    > > 
    > apache serving a standard page? 
    > echo request.;  chargen ? 
    > 
    > > > 3. speed of opening network sockets ( how many open, write, close
    > > > cycles in a given t)
    > > 
    > > would require "native" code for each platform.
    > > 
    > I would think a perl or python script, or a posix-compliant  C program
    > would work,
    > this would be more in the nature of testing "real world performance"
    > so a scripting language would actually be a good measure of likely
    > performance.
    
    yes, measuring "real world" performance is probably more meaningful.
    
    > > > 4. speed of performing a standard numeric benchmark
    > > 
    > > standard in what sense?
    > well there is the LINPACK benchmark, or the calculation of  a set
    > number of digits of pi
    > > 
    > > > 5. fork and exec benchmark (how fast, how many, privilege checking)
    > > 
    > > would require "native" code for each platform.
    > > 
    > see #3 above
    > 
    > > > Of course to be at all meaningful all other variable would need to be
    > > > constrained...
    > > 
    > > Well, for starters, we'd need each OS to have dedicated disks, all
    > > identical.  We couldn't just install them all on the same disk, as
    > > position on the disk would skew disk access times.
    > > 
    > > > It would be somewhat interesting way to compare OS's
    > > > if we could count on having a standard reference box available
    > > > it might be a good clinic project.
    > > 
    > > It would be a fun and teaching challenge.  It would probably be
    > > expensive to do it "Really Right" though.
    > > 
    > well, I'll ask around and see if we can get OPN to loan us a low-end
    > box and just do one OS a week for several weeks, on the premise that 
    > actually hitting the limits of a slower older box will tell us more
    > about the overhead imposed by the OS.
    
    I think it would be interesting also, to see what kind of increases
    can be made by changing configurations, without recompiling.  For
    example, in OpenBSD, there are limits on open files, amount of memory
    in use, etc, that can be controlled by plain text configuration files.
    
    -- 
    <jakemsr at jakemsr.com>
    
  • [Eug-lug] Gentoo hardened



    larry priceThu Aug 5 17:41:16 PDT 2004

    On Thu, 5 Aug 2004 16:15:53 -0701, Jacob Meuser <jakemsr at jakemsr.com> wrote:
    > On Thu, Aug 05, 2004 at 03:55:52PM -0700, larry price wrote:
    
    > > I would be curious to see the difference in performance between the
    > > hardened gentoo and a plain vanilla install that's been secured to
    > > adequate standards (no xinetd running wideopen, a standard firewall,
    > > smtpd basics etc.).
    > 
    > There are immense differences.  The hardened stuff is a whole other
    > level of security.  It's still important to use firewalls and basic
    > hardening techniques along with the kernel and ld.so enhancements.
    > 
    Yes, one would expect a hit, but it's not a necessary hit in  every case
    after all the speed of an algorithm is not necessarily coupled with
    it's security.
    
    > > What would be the variables that could be tested that would tell you
    > > something worthwhile?
    > >
    > > partial list:
    > > 1. read/write speed (also open, close, and sync)
    > 
    > Heh, 2^10 small reads and writes, then pull the plug.  How long did the
    > reads and writes take, and did the filesystem get corrupted.
    >
    Or N reads/writes/close  on /mnt/tmp;  umount /mnt/tmp; mount
    /mnt/tmp; check files
    > > 2. speed to respond to  a network request ( how many requests/second
    > > before failure)
    > 
    > what kind of "network request"?
    > 
    apache serving a standard page? 
    echo request.;  chargen ? 
    
    > > 3. speed of opening network sockets ( how many open, write, close
    > > cycles in a given t)
    > 
    > would require "native" code for each platform.
    > 
    I would think a perl or python script, or a posix-compliant  C program
    would work,
    this would be more in the nature of testing "real world performance"
    so a scripting language would actually be a good measure of likely
    performance.
    
    > > 4. speed of performing a standard numeric benchmark
    > 
    > standard in what sense?
    well there is the LINPACK benchmark, or the calculation of  a set
    number of digits of pi
    > 
    > > 5. fork and exec benchmark (how fast, how many, privilege checking)
    > 
    > would require "native" code for each platform.
    > 
    see #3 above
    
    > > Of course to be at all meaningful all other variable would need to be
    > > constrained...
    > 
    > Well, for starters, we'd need each OS to have dedicated disks, all
    > identical.  We couldn't just install them all on the same disk, as
    > position on the disk would skew disk access times.
    > 
    > > It would be somewhat interesting way to compare OS's
    > > if we could count on having a standard reference box available
    > > it might be a good clinic project.
    > 
    > It would be a fun and teaching challenge.  It would probably be
    > expensive to do it "Really Right" though.
    > 
    well, I'll ask around and see if we can get OPN to loan us a low-end
    box and just do one OS a week for several weeks, on the premise that 
    actually hitting the limits of a slower older box will tell us more
    about the overhead imposed by the OS.
    
    Just went to set up a wiki page to edit benchmark, but wiki is gone, oh well.
    
  • [Eug-lug] External SATA



    T. Joseph CARTERThu Aug 5 17:08:22 PDT 2004

    On Thu, Aug 05, 2004 at 03:07:56PM -0700, Garl Grigsby wrote:
    > 
    >   Does anybody have an experience with SATA drives under Linux? 
    > Specifically I am looking at getting a HighPoint Rocket 1511 e.SATA and 
    > a couple of  RocketMate 1100 External Disk cases to use as offsite 
    > backup. My experience with USB2.0 has been nothing but a disaster and I 
    > want nothing more of it. Presently I see my options as either Firewire 
    > or e.SATA. I need something that is hot swappable and is reliable. 
    > Anybody have a suggestions?
    
    I have two internal SATA drives, one external Firewire HD, one combo
    Firewire and USB2 microdrive-based thiny (my iPod mini), and a USB2
    multi-card reader.
    
    SATA is the way to go for cost and performance.  Firewire is acceptable
    speed, but it is a bus and the bus is shared.  SATA gives full bandwidth
    to an individual port.  Even Firewire 800 can't match that.
    
    Note, I don't use these things with Linux regularly but they did work with
    Linux 2.6.5 when I last used it.
    
    
  • [Eug-lug] Gentoo hardened



    Jacob MeuserThu Aug 5 16:16:53 PDT 2004

    On Thu, Aug 05, 2004 at 03:55:52PM -0700, larry price wrote:
    > On Thu, 5 Aug 2004 15:14:19 -0700, Jacob Meuser <jakemsr at jakemsr.com> wrote:
    > > If it doesn't break the apps you want to use, it would prbably be
    > > useful.  Note the last line of the Project Goals, "These solutions
    > > will be available in Gentoo once they've been tested for security
    > > and stability by the Hardened team."
    > > 
    > > In OpenBSD, these things are there by default.  They are tested and
    > > they work.  They are part of the default install, and if there are
    > > problems, they are fixed.  I wonder how much support you'd get if
    > > say, you install mozilla, or kde, and it doesn't work on hardened
    > > gentoo, but it does work without the hardened stuff.
    > 
    > I would be curious to see the difference in performance between the
    > hardened gentoo and a plain vanilla install that's been secured to
    > adequate standards (no xinetd running wideopen, a standard firewall,
    > smtpd basics etc.).
    
    There are immense differences.  The hardened stuff is a whole other
    level of security.  It's still important to use firewalls and basic
    hardening techniques along with the kernel and ld.so enhancements.
    
    > And or OpenBSD vs. FreeBSD 4.10 vs. Slackware vs. Debian
    > 
    > It seems like there would be some performance hit for more advanced
    > features (like ACL's for instance) and possibly for some of the
    > relatively basic things (if it takes 3 times longer to open a file
    > under one regime, that's a severe hit for some applications).
    > 
    > What would be the variables that could be tested that would tell you
    > something worthwhile?
    > 
    > partial list:
    > 1. read/write speed (also open, close, and sync)
    
    Heh, 2^10 small reads and writes, then pull the plug.  How long did the
    reads and writes take, and did the filesystem get corrupted.
    
    > 2. speed to respond to  a network request ( how many requests/second
    > before failure)
    
    what kind of "network request"?
    
    > 3. speed of opening network sockets ( how many open, write, close
    > cycles in a given t)
    
    would require "native" code for each platform.
    
    > 4. speed of performing a standard numeric benchmark
    
    standard in what sense?
    
    > 5. fork and exec benchmark (how fast, how many, privilege checking)
    
    would require "native" code for each platform.
    
    > Of course to be at all meaningful all other variable would need to be
    > constrained...
    
    Well, for starters, we'd need each OS to have dedicated disks, all
    identical.  We couldn't just install them all on the same disk, as
    position on the disk would skew disk access times.
    
    > It would be somewhat interesting way to compare OS's 
    > if we could count on having a standard reference box available 
    > it might be a good clinic project. 
    
    It would be a fun and teaching challenge.  It would probably be
    expensive to do it "Really Right" though.
    
    -- 
    <jakemsr at jakemsr.com>
    
  • [Eug-lug] External SATA



    Garl GrigsbyThu Aug 5 16:03:39 PDT 2004

    Garl Grigsby wrote:
    
    >   Does anybody have an experience with SATA drives under Linux? 
    > Specifically I am looking at getting a HighPoint Rocket 1511 e.SATA 
    > and a couple of  RocketMate 1100 External Disk cases to use as offsite 
    > backup. My experience with USB2.0 has been nothing but a disaster and 
    > I want nothing more of it. Presently I see my options as either 
    > Firewire or e.SATA. I need something that is hot swappable and is 
    > reliable. Anybody have a suggestions?
    
    While I know it is in poor taste to reply to your own posts, here is 
    what I have found through further research.
    
    External SATA (e.SATA) is a neat idea but it falls down in a lot of 
    places. The cables that HighPoint are using are actually 4-6 pin 
    Firewire cables. The 4 pin connectors seem a tad fragile to me. Hotpoint 
    lists Linux support for the 1511 card but only through binary drivers 
    and only for older kernels (Redhat 9 is the newest). They do not support 
    hot swapping (that is a killer right here).  [1]
    
    USB 2.0 for external harddrives seems to be hit and miss. There are some 
    of the bridging chipsets that work good, some that work marginally, and 
    others (the one I bought, DOH!) that don't work worth a damn. The 
    problem with this that nobody lists what chipset is in what case. So you 
    either get lucky or you return the case. With the particular chipset I 
    have (Genesys: Remember that name and avoid it) it seems to like to 
    timeout during longer transfers and bork the entire usb system. This can 
    sometimes be fixed by rmmod'ing the usb-storage and sd-mod modules and 
    then modprobe them back in, but other times the only solution is to 
    reboot. Currently there is a patch out for the 2.6.7 kernel, but I am 
    not prepared for the 2.6 upgrade.
    
    I am just now starting to dig into Firewire. I have found that the 
    Oxford 911 chipset (ide to firewire bridge) appears to be well 
    supported. Now I simply need to find a external case that uses this 
    chipset and a Firewire card that has solid Linux support.
    
    Comments appreciated.
    Garl
    
    [1] http://www.dansdata.com/esata.htm
    
    
  • [Eug-lug] Gentoo hardened



    larry priceThu Aug 5 15:55:52 PDT 2004

    On Thu, 5 Aug 2004 15:14:19 -0700, Jacob Meuser <jakemsr at jakemsr.com> wrote:
    > If it doesn't break the apps you want to use, it would prbably be
    > useful.  Note the last line of the Project Goals, "These solutions
    > will be available in Gentoo once they've been tested for security
    > and stability by the Hardened team."
    > 
    > In OpenBSD, these things are there by default.  They are tested and
    > they work.  They are part of the default install, and if there are
    > problems, they are fixed.  I wonder how much support you'd get if
    > say, you install mozilla, or kde, and it doesn't work on hardened
    > gentoo, but it does work without the hardened stuff.
    
    I would be curious to see the difference in performance between the
    hardened gentoo and a plain vanilla install that's been secured to
    adequate standards (no xinetd running wideopen, a standard firewall,
    smtpd basics etc.).
    
    And or OpenBSD vs. FreeBSD 4.10 vs. Slackware vs. Debian
    
    It seems like there would be some performance hit for more advanced
    features (like ACL's for instance) and possibly for some of the
    relatively basic things (if it takes 3 times longer to open a file
    under one regime, that's a severe hit for some applications).
    
    What would be the variables that could be tested that would tell you
    something worthwhile?
    
    partial list:
    1. read/write speed (also open, close, and sync)
    2. speed to respond to  a network request ( how many requests/second
    before failure)
    3. speed of opening network sockets ( how many open, write, close
    cycles in a given t)
    4. speed of performing a standard numeric benchmark
    5. fork and exec benchmark (how fast, how many, privilege checking)
    
    Of course to be at all meaningful all other variable would need to be
    constrained...
    
    It would be somewhat interesting way to compare OS's 
    if we could count on having a standard reference box available 
    it might be a good clinic project. 
    
    -- 
    http://Zoneverte.org -- information explained
    Do you know what your IT infrastructure does?