euglug.org

[카테고리:] Uncategorized

  • [Eug-lug] New kernel 2.6.12 going to be out soon



    Jacob MeuserWed May 4 11:46:47 PDT 2005

    On Wed, May 04, 2005 at 02:13:54AM -0700, T. Joseph CARTER wrote:
    > On Sun, May 01, 2005 at 01:41:09PM -0700, Jacob Meuser wrote:
    > > > It was absolutely tiny by modern standards, but it was a relatively full
    > > > CD which provided a pretty full system.  What it didn't provide was the
    > > > huge redundancy the average linux user associates with "power" because it
    > > > interfered with what the average non-linux user associates with "usable".
    > > > It had more in common with Ubuntu than it would with something like DSL,
    > > > I'd guess.
    > > 
    > > you know, the BSDs have operated with this mentality for some time.
    > 
    > I know--and if not for the vastly greater number of drivers offered by
    > Linux (Linux supports more crap by far than Windows on ia32 at this point,
    > though it is not a clear superset), I would probably take a closer look at
    > FreeBSD.  The main thing preventing this is that I'm not much interested
    > in rtfm-style answers to questions, especially to questions with short
    > answers that would be easier to have answered by a knowledgable person
    > than to dig up tfm to r.
    
    the OpenBSD manpages are very good.  I'll bet you can find these little
    things there, or in the FAQ -> http://www.openbsd.org/faq.html faster
    than asking on a mailing list (the list servers use spamd grey-listing,
    so you're probably going to have to wait a little for your posts to
    get through anyway).
    
    what particular "crap" do you need support for?
    
    > I'm a very busy person these days.  =/  I know a lot of general use crap
    > about UNIX in general and Linux and MacOS X in particular (my Linux is a
    > little rusty, but not really THAT much has changed from 2.4 to 2.6), but
    > applying this to a particular platform (a BSD or any particular variant of
    > Linux which does something in ways I'm not used to) is going to require
    > some Q&A.
    
    print out the faq, print out `man intro` and read them when you're on
    the crapper ;)
    
    > It's pretty easy at this point to get that from Linux people because they
    > are so used to idiots who think Linux will make them l33t h4x0rz that an
    > occasional simple, direct, and intelligent question is a welcome relief,
    > even if it could be found somewhere in documentation.  They're too swamped
    > with new users to be snooty and indignant that someone hasn't read the
    > spotty, incomplete, and in places incomprehensible documentation cover to
    
    you see, that's the difference.  BSD documentation really is pretty
    good.  Linux moves too fast, things get reimplemented and switched
    around too quickly, and the people writing the docs are in many
    cases not the developers.  that's not the case with BSDs.
    
    > cover.  I find too many BSD users, who largely are used to trying to
    > justify their superiority to Linux users, relish in their snootiness.
    
    well.
    
    I left Debian and went to OpenBSD *for that exact reason*.
    
    yeah, you may get flamed on an OpenBSD list, but the flame will usually
    contain the info you're looking for.  when you get flamed elsewhere,
    it's just a flame.
    
    > This is of course not an accusation to any particular person, just an
    > overall reaction to the community vibe.  Linux went through the same thing
    > back in the latter 90s when it started to become popular.  That kind of
    > exclusionism just resonates with me in bad ways.
    
    there has been somewhat of an attitude shift in BSD land as well.
    
    > Of course, I am pretty sure I don't remember any FreeBSD systems having a
    > nice little integrated configuration for things like what services are
    > enabled or anything like that either.  In fact, I remember FreeBSD being a
    > lot like Gentoo, but without the cute little etc-update tools (and it's
    > not like those are all that effective either!)
    
    no, they are different, very different.
    
    anyway, I would think NetBSD would probably fit your personality better
    than Free or Open.
    
    > > a pretty complete base system that's easy to install (one web server,
    > > one mail server, one inetd, one version of each basic tool, etc) and
    > > packages for extra stuff.
    > > 
    > > I remember doing a tiny OpenBSD & gnome install on one of Jamie's
    > > old laptops (~200 MB harddisk IIRC) at a clinic a couple years ago.
    > 
    > Again, it wasn't so much the size as it was the 0 to ${workingthing} in a
    > very short time period.  That's something lost from the major Linux dists
    
    installing OpenBSD is way fast. out of the box. try it.
    
    > which all want to give you a desktop system, either designed to be mind
    > numbingly simple (Ubuntu) or ridiculously overly complex with everything
    > and anything available--and often required--to be tweaked (Gentoo).  Most
    > everything else fits in there close to those extremes, without much middle
    > ground, and not much notice that a person might not want a desktop at all.
    > 
    > Yeah I know Gentoo can be any kind of system you want, but c'mon, it's not
    > meant for production servers.  And I know Fedora can be run without X if
    > you want to, but that's not its intention.  And Debian .. well, who knows
    > what Debian is or isn't these days.  And there are tonnes of minor dists
    > with niche purposes for firewalls and whatnot.
    > 
    > I just lament that Linux has generally gone the way of trying to compete
    > with Windows in the feature list rather than trying to simply be better.
    > Quality and integration were my interest.
    
    you _so_ need to look into OpenBSD.
    
    but I find it funny, that you start the email with, more or less "A doesn't
    have enough features", and end with "B has too many features".
    
    -- 
    <jakemsr at jakemsr.com>
    
  • [Eug-lug] Source Code Processing



    Jason Van CleveWed May 4 11:39:55 PDT 2005

    Quoth Jacob Meuser, on Tue, 3 May 2005 22:56:30 -0700:
    
    > #!/bin/sh
    > 
    > set -e
    > 
    > : ${CPMV:=mv}
    > 
    > FILE="`pwd`/$1"
    > 
    > cp ${FILE} ${FILE}.orig
    > 
    > sed -e 's,// *\(.*\),/* \1 */,g' ${FILE} > ${FILE}.sed
    > ${CPMV} ${FILE}.sed ${FILE}
    > 
    > indent ${FILE} ${FILE}.indent -di8 -dj0 -nfc1 -i4
    > ${CPMV} ${FILE}.indent ${FILE}
    > 
    > exit 0
    
    Whoa.  This code frightens me.  What does
    
    > : ${CPMV:=mv}
    
    mean?  Also, indent appears to be geared for C specifically, and I'm
    looking for something more general.  lint is not on my system, and I
    don't know which package contains it.  And (un)expand is good to know
    about but not what I need.
    
    Thanks,
    
    --Jason
    
    --
    Death to all fanatics!
    
  • [Eug-lug] Smoothwall (www.smoothwall.org) experience?



    Walter HurstWed May 4 11:33:28 PDT 2005

    Thanks for the info Russ. I think I'll check out IPCop. I was a little 
    leery that Smoothwall seemed more "corporate" than it should which 
    means they could go the route of RedHat - at which point I'd need to 
    switch or do more research again.
    
    What kind of box are you running it on?
    
    Walter.
    
    On May 4, 2005, at 11:27 AM, Russ Johnson wrote:
    
    > Walter Hurst wrote:
    >
    >> Is there a reason why....
    >>
    >> ... IPCop forked from Smoothwall?
    >
    > There were some fundamental differences between the maintainers of 
    > each product. I'm not privy to the specifics, so I'm not going to 
    > speculate.
    >
    > I know from what I've read in the IPCop mailing lists, the maintainers 
    > of IPCop wish for it to remain free and to remain a firewall. (Little, 
    > if any, feature creep.)
    >
    >>
    >> ... you picked IPCop over Smoothwall?
    >
    > Originally, it was one of those, "I found ipcop first" type things. I 
    > did finally get around to trying smoothwall, and ipcop seemed more 
    > "finished".
    >
    > It has a great web interface. Most things can be configured from the 
    > web interface. If you need something else, it's pretty easy to figure 
    > out what file needs editing, and the folks on the mailing list are 
    > pretty quick to respond with good information.
    >
    > Russ
    > _______________________________________________
    > EUGLUG mailing list
    > euglug at euglug.org
    > http://www.euglug.org/mailman/listinfo/euglug
    >
    
    
  • [Eug-lug] Source Code Processing



    Jason Van CleveWed May 4 11:28:45 PDT 2005

    Quoth larry price, on Tue, 3 May 2005 21:59:47 -0700:
    
    > if you want speed try sed(1)
    
    Interesting.  I thought of sed, but I know only the tip of that iceberg,
    and I actually presumed that as a general parser, it would be slower
    than something like indent.
    
    > s/[\w]*$//g #remove any number of white space characters before end of
    > line s/^$//g #remove blank lines
    
    I'll work with that first line, thank you.  It may be the ticket.  The
    second line is no good for me, since blank lines are an integral part of
    my source code formatting convention.
    
    > although if you are getting fancy you might want to rewrite it in perl
    > or $language
    
    Nah, that's just what I don't want to have to do.  My own $language is
    actually Java, which would be too slow for this.  I'm weak with C, and I
    figure writing this in C would have to be a wheel reinvention.
    
    > (it's also a good idea to make a copy of the target files before you
    > munge them so that you can recover from your mistakes while you are
    > figuring out your regex)
    
    Thanks, but I didn't need to be told that.  8-)
    
    --Jason
    
    --
    User has performed an invalid operation and will be terminated.
    
  • [Eug-lug] Smoothwall (www.smoothwall.org) experience?



    Russ JohnsonWed May 4 11:27:30 PDT 2005

    Walter Hurst wrote:
    
    > Is there a reason why....
    >
    > ... IPCop forked from Smoothwall?
    
    There were some fundamental differences between the maintainers of each 
    product. I'm not privy to the specifics, so I'm not going to speculate.
    
    I know from what I've read in the IPCop mailing lists, the maintainers 
    of IPCop wish for it to remain free and to remain a firewall. (Little, 
    if any, feature creep.)
    
    >
    > ... you picked IPCop over Smoothwall?
    
    Originally, it was one of those, "I found ipcop first" type things. I 
    did finally get around to trying smoothwall, and ipcop seemed more 
    "finished".
    
    It has a great web interface. Most things can be configured from the web 
    interface. If you need something else, it's pretty easy to figure out 
    what file needs editing, and the folks on the mailing list are pretty 
    quick to respond with good information.
    
    Russ
    
  • [Eug-lug] Smoothwall (www.smoothwall.org) experience?



    Walter HurstWed May 4 10:50:01 PDT 2005

    Is there a reason why....
    
    ... IPCop forked from Smoothwall?
    
    ... you picked IPCop over Smoothwall?
    
    Thanks.
    
    Walter.
    
    On May 4, 2005, at 10:31 AM, Russ Johnson wrote:
    
    > Walter Hurst wrote:
    >
    >> I was wondering if anybody has any experience with the Smoothwall
    >
    > I use IPCop (www.ipcop.org). It's a product that forked from 
    > smoothwall, and has done really good work with it.
    >
    > If you are just securing a LAN that you don't run a bunch of server 
    > on, the firewall appliances work great. I put one in use at my 
    > daughters house because it's easy to use.
    >
    > I run servers at my house, so I want the features of a multi-homed 
    > firewall. Having a DMZ is a good thing. :)
    >
    > Russ
    >
    > _______________________________________________
    > EUGLUG mailing list
    > euglug at euglug.org
    > http://www.euglug.org/mailman/listinfo/euglug
    >
    
    
  • [Eug-lug] Smoothwall (www.smoothwall.org) experience?



    Walter HurstWed May 4 10:49:21 PDT 2005

    I left the standard ports forwarded so that when I'm off somewhere and 
    want to telnet back, I won't have to recall what port I'd mapped it to. 
    I think I'm going to change this for ssh and other non-public used 
    ports. My web server is for friends/family/work and will have to stay 
    on 80.
    
    In response to an earlier post, I know that I can use *nix as a 
    firewall, but since I change the config so infrequently, I found myself 
    changing it less often that I should've because I didn't have the time 
    to:
    a) recall where are all those damn configs at and how do they all 
    interact,
    b) recall exactly how did I config it last time,
    c) update to the latest patches/versions I should be running,
    d) and finally actually update the configs to reflect changing firewall 
    needs (e.g. block certain known attackers, etc.)
    
    I was also concerned because I never ran the *nix as a dedicated 
    firewall machine, which meant that I had other things running on it, 
    which meant that when I wanted to reconfig/rebuild/reinstall some other 
    software that meant rebooting (and possibly meant some downtime because 
    things don't always go as planned), then I was without a network - 
    which meant no email, no work (I work remote over broadband), and an 
    upset wife who wants to check her email, blah, blah, blah.
    
    Maybe if I had a dedicate PC *nix firewall it would take care of the 
    latter problem, but then I'd still be in the same situation with 
    problems a-c.
    
    BTW, does the *nix firewall include intrusion detection and automatic 
    blocking based on that? Last I used it, I didn't have that feature - 
    maybe I just wasn't aware of it.
    
    Walter.
    
    On May 4, 2005, at 8:51 AM, Mr O wrote:
    
    > Most routers will function the same. I only mentioned the WRT54G
    > in case you wanted a more highly customizeable firewall. As for
    > services on your machine, if you webserving needs are for your
    > personal use then have your router route a different port to
    > that box. Same with SSH. Don't just use 22 because it's all too
    > obvious. On my router I pass two random ports onto 22 on
    > different machines. That way I log directly into my fileserver
    > or into my gaming box.
    >
    > For example, forward 1234 to 22 on 192.*.*.5 and 4321 to 22 on
    > 192.*.*.6. Then with your webserver just do your external IP
    > followed by a :(port number) = http://12.34.56.78:88
    >
    > Happy configuration to you,
    > Mr O.
    >
    > --- Walter Hurst <euglug at amifunny.com> wrote:
    >> I just bought the D-Link DWL-923 at Best Buy. How does that
    >> compare
    >> with the Linksys? I got it because it was $19 (after rebates)
    >> and came
    >> bundled with a laptop NIC (which is what I really needed...).
    >>
    >> My connection is DSL broadband. I have servers behind the
    >> existing DSL
    >> router and have some ports forwarded. From my server logs, I
    >> can see
    >> that I'm already getting random dictionary attacks against my
    >> ssh
    >> server. Not that they've succeeded, but it would be nice to
    >> have a f/w
    >> that detected this behavior and automatically denied access
    >> from that
    >> IP. There are also attacks against my web server (thank god
    >> they're MS
    >> IIS based attacks and I'm not running that...). And I'm sure
    >> there are
    >> other attacks that I don't know about.
    >>
    >> Walter.
    >
    >
    >
    > 		
    > __________________________________
    > Do you Yahoo!?
    > Yahoo! Small Business - Try our new resources site!
    > http://smallbusiness.yahoo.com/resources/
    > _______________________________________________
    > EUGLUG mailing list
    > euglug at euglug.org
    > http://www.euglug.org/mailman/listinfo/euglug
    >
    
    
  • [Eug-lug] Smoothwall (www.smoothwall.org) experience?



    Walter HurstWed May 4 10:40:04 PDT 2005

    Is there a reason why....
    
    ... IPCop forked from Smoothwall?
    
    ... you picked IPCop over Smoothwall?
    
    Thanks.
    
    Walter.
    
    On May 4, 2005, at 10:31 AM, Russ Johnson wrote:
    
    > Walter Hurst wrote:
    >
    >> I was wondering if anybody has any experience with the Smoothwall
    >
    > I use IPCop (www.ipcop.org). It's a product that forked from 
    > smoothwall, and has done really good work with it.
    >
    > If you are just securing a LAN that you don't run a bunch of server 
    > on, the firewall appliances work great. I put one in use at my 
    > daughters house because it's easy to use.
    >
    > I run servers at my house, so I want the features of a multi-homed 
    > firewall. Having a DMZ is a good thing. :)
    >
    > Russ
    >
    > _______________________________________________
    > EUGLUG mailing list
    > euglug at euglug.org
    > http://www.euglug.org/mailman/listinfo/euglug
    >
    
    
  • [Eug-lug] Smoothwall (www.smoothwall.org) experience?



    Russ JohnsonWed May 4 10:31:22 PDT 2005

    Walter Hurst wrote:
    
    > I was wondering if anybody has any experience with the Smoothwall
    
    I use IPCop (www.ipcop.org). It's a product that forked from smoothwall, 
    and has done really good work with it.
    
    If you are just securing a LAN that you don't run a bunch of server on, 
    the firewall appliances work great. I put one in use at my daughters 
    house because it's easy to use.
    
    I run servers at my house, so I want the features of a multi-homed 
    firewall. Having a DMZ is a good thing. :)
    
    Russ
    
    
  • [Eug-lug] Smoothwall (www.smoothwall.org) experience?



    Walter HurstWed May 4 09:18:34 PDT 2005

    I left the standard ports forwarded so that when I'm off somewhere and 
    want to telnet back, I won't have to recall what port I'd mapped it to. 
    I think I'm going to change this for ssh and other non-public used 
    ports. My web server is for friends/family/work and will have to stay 
    on 80.
    
    In response to an earlier post, I know that I can use *nix as a 
    firewall, but since I change the config so infrequently, I found myself 
    changing it less often that I should've because I didn't have the time 
    to:
    a) recall where are all those damn configs at and how do they all 
    interact,
    b) recall exactly how did I config it last time,
    c) update to the latest patches/versions I should be running,
    d) and finally actually update the configs to reflect changing firewall 
    needs (e.g. block certain known attackers, etc.)
    
    I was also concerned because I never ran the *nix as a dedicated 
    firewall machine, which meant that I had other things running on it, 
    which meant that when I wanted to reconfig/rebuild/reinstall some other 
    software that meant rebooting (and possibly meant some downtime because 
    things don't always go as planned), then I was without a network - 
    which meant no email, no work (I work remote over broadband), and an 
    upset wife who wants to check her email, blah, blah, blah.
    
    Maybe if I had a dedicate PC *nix firewall it would take care of the 
    latter problem, but then I'd still be in the same situation with 
    problems a-c.
    
    BTW, does the *nix firewall include intrusion detection and automatic 
    blocking based on that? Last I used it, I didn't have that feature - 
    maybe I just wasn't aware of it.
    
    Walter.
    
    On May 4, 2005, at 8:51 AM, Mr O wrote:
    
    > Most routers will function the same. I only mentioned the WRT54G
    > in case you wanted a more highly customizeable firewall. As for
    > services on your machine, if you webserving needs are for your
    > personal use then have your router route a different port to
    > that box. Same with SSH. Don't just use 22 because it's all too
    > obvious. On my router I pass two random ports onto 22 on
    > different machines. That way I log directly into my fileserver
    > or into my gaming box.
    >
    > For example, forward 1234 to 22 on 192.*.*.5 and 4321 to 22 on
    > 192.*.*.6. Then with your webserver just do your external IP
    > followed by a :(port number) = http://12.34.56.78:88
    >
    > Happy configuration to you,
    > Mr O.
    >
    > --- Walter Hurst <euglug at amifunny.com> wrote:
    >> I just bought the D-Link DWL-923 at Best Buy. How does that
    >> compare
    >> with the Linksys? I got it because it was $19 (after rebates)
    >> and came
    >> bundled with a laptop NIC (which is what I really needed...).
    >>
    >> My connection is DSL broadband. I have servers behind the
    >> existing DSL
    >> router and have some ports forwarded. From my server logs, I
    >> can see
    >> that I'm already getting random dictionary attacks against my
    >> ssh
    >> server. Not that they've succeeded, but it would be nice to
    >> have a f/w
    >> that detected this behavior and automatically denied access
    >> from that
    >> IP. There are also attacks against my web server (thank god
    >> they're MS
    >> IIS based attacks and I'm not running that...). And I'm sure
    >> there are
    >> other attacks that I don't know about.
    >>
    >> Walter.
    >
    >
    >
    > 		
    > __________________________________
    > Do you Yahoo!?
    > Yahoo! Small Business - Try our new resources site!
    > http://smallbusiness.yahoo.com/resources/
    > _______________________________________________
    > EUGLUG mailing list
    > euglug at euglug.org
    > http://www.euglug.org/mailman/listinfo/euglug
    >