euglug.org

[작성자:] admin

  • [Eug-lug] Smoothwall (www.smoothwall.org) experience?



    Mr OWed May 4 08:51:56 PDT 2005

    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/ 
    
  • [Eug-lug] New kernel 2.6.12 going to be out soon



    larry priceWed May 4 03:04:41 PDT 2005

    On 5/4/05, T. Joseph CARTER <knghtbrd at bluecherry.net> wrote:
    > On Sun, May 01, 2005 at 01:41:09PM -0700, Jacob Meuser wrote:
    > > you know, the BSDs have operated with this mentality for some time.
    > 
    > 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.
    
    One of the causes for that is the BSD's do have relatively
    straightforward, complete and coherent documentation; and it's a lot
    quicker to point someone to the authoritative and correct
    documentation than to get drawn into a rambling discussion of the whys
    and wherefores of a particular answer.
     
    > 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.
    > 
    hey that's what mailing lists are for ;=)
    
    > 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.
    > 
    In my experience FreeBSD is used mostly by people who see it as a tool
    not a toy, the default expectation is one of competence. If that's
    exclusionary <shrug/>
    
    > 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!)
    > 
    Actually freebsd's update system is fairly comprehensive and worked out. 
    read cvsup(1) and this chapter
    http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/cutting-edge.html
    in the handbook and you'll be ready to try it.
    
    
    > 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.
    
    Think of it as evolution in action. You are watching speciation at
    work, as different distros edge towards their respective attractors.
    
    That said there is a lot of room for improvement even (perhaps
    especially!) in the unix universe.
    
    -- 
    http://Zoneverte.org -- information explained
    Do you know what your IT infrastructure does?
    
  • [Eug-lug] Smoothwall (www.smoothwall.org) experience?



    larry priceWed May 4 02:29:17 PDT 2005

    On 5/3/05, Walter Hurst <euglug at amifunny.com> wrote:
    
    > 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.
    > 
    
    Most *nix operating systems have all the tools you need to to lock
    down to a fairly effective security policy, having an external
    firewall isn't really a necessity unless you have reasons for wanting
    your security posture to be looser behind the firewall
    (as it will be with commodity client systems) 
    
    If you are concerned about ssh scanners a fairly effective strategy
    would be to disallow password authentication for sshd listening on the
    outside interface.
    
    This means you will need to set up authorised keys for accounts that
    will be allowed to login from the outside see ssh-keygen(1) and make
    sure that pam_unix is not in the pipeline defined in /etc/pam.d/ssh as
    that will still allow password authentication.
    
    
    
    -- 
    http://Zoneverte.org -- information explained
    Do you know what your IT infrastructure does?
    
  • [Eug-lug] New kernel 2.6.12 going to be out soon



    T. Joseph CARTERWed May 4 02:13:54 PDT 2005

    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.
    
    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.
    
    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
    cover.  I find too many BSD users, who largely are used to trying to
    justify their superiority to Linux users, relish in their snootiness.
    
    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.
    
    
    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!)
    
    > 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
    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.
    
    
  • [Eug-lug] Smoothwall (www.smoothwall.org) experience?



    T. Joseph CARTERTue May 3 23:55:21 PDT 2005

    On Tue, May 03, 2005 at 10:57:10PM -0700, Jamie wrote:
    > Ive been doing this for about a year now, and I really dont miss fussing with 
    > an old firewall pc at all. I actually have that model, and its a real nice 
    > unit... You can find them real cheap just about every week in the sunday ads 
    > if you need one.
    
    The nice thing about the WR54G is that you needn't screw with it too much.
    Even the default firmware is pretty good, which says a lot given that it
    is a consumer product.
    
    
  • [Eug-lug] Smoothwall (www.smoothwall.org) experience?



    Walter HurstTue May 3 23:04:22 PDT 2005

    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.
    
    On May 3, 2005, at 10:57 PM, Jamie wrote:
    
    > Ive been doing this for about a year now, and I really dont miss 
    > fussing with
    > an old firewall pc at all. I actually have that model, and its a real 
    > nice
    > unit... You can find them real cheap just about every week in the 
    > sunday ads
    > if you need one.
    >
    > Jamie
    >
    > On Tuesday 03 May 2005 10:32 pm, Mr O wrote:
    >> Welcome to our semi-regularly active random location meetings
    >> group.
    >>
    >> As for a recommendation to your question, are you providing a
    >> firewall for a dial-up or high speed connection? If high speed
    >> why not pick up a router like the Linksys WRT54G which sells
    >> nearly everywhere for $49 these days. It's completely hackable
    >> and would consume very little power compared to a dedicated PC.
    >> A little power saving can go a long way. Just a thought.
    >>
    >> That be all,
    >> Mr O.
    >>
    >> --- Walter Hurst <euglug at amifunny.com> wrote:
    >>> Now onto my question...
    >>>
    >>> I was wondering if anybody has any experience with the
    >>> Smoothwall
    >>> (www.smoothwall.org) linux-based firewall product. I need/want
    >>> a
    >>> firewall for my home LAN, and heard about this product. In the
    >>> past
    >>> I've used homespun linux configs for a firewall, but it was
    >>> always a
    >>> low priority to maintain and would fall by the wayside. I was
    >>> thinking
    >>> about buying a dedicated firewall device but this Smoothwall
    >>> product
    >>> may fit the bill (if it does, does anybody have an old x86 box
    >>> they
    >>> want to part with?). My one concern is that it looks like
    >>> they've got a
    >>> corporate version with "extra" features - which makes me
    >>> wonder if
    >>> they're limiting access to the linux internals (which you
    >>> would
    >>> normally be able to tweak yourself).
    >>>
    >>> Thanks,
    >>>
    >>> 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
    >
    > _______________________________________________
    > EUGLUG mailing list
    > euglug at euglug.org
    > http://www.euglug.org/mailman/listinfo/euglug
    >
    
    
  • [Eug-lug] Smoothwall (www.smoothwall.org) experience?



    Jacob MeuserTue May 3 23:03:19 PDT 2005

    On Tue, May 03, 2005 at 10:32:31PM -0700, Mr O wrote:
    > Welcome to our semi-regularly active random location meetings
    > group. 
    > 
    > As for a recommendation to your question, are you providing a
    > firewall for a dial-up or high speed connection? If high speed
    > why not pick up a router like the Linksys WRT54G which sells
    > nearly everywhere for $49 these days. It's completely hackable
    > and would consume very little power compared to a dedicated PC.
    > A little power saving can go a long way. Just a thought.
    
    http://www.soekris.com/
    
    -- 
    <jakemsr at jakemsr.com>
    
  • [Eug-lug] Smoothwall (www.smoothwall.org) experience?



    JamieTue May 3 22:57:10 PDT 2005

    Ive been doing this for about a year now, and I really dont miss fussing with 
    an old firewall pc at all. I actually have that model, and its a real nice 
    unit... You can find them real cheap just about every week in the sunday ads 
    if you need one.
    
    Jamie
    
    On Tuesday 03 May 2005 10:32 pm, Mr O wrote:
    > Welcome to our semi-regularly active random location meetings
    > group.
    >
    > As for a recommendation to your question, are you providing a
    > firewall for a dial-up or high speed connection? If high speed
    > why not pick up a router like the Linksys WRT54G which sells
    > nearly everywhere for $49 these days. It's completely hackable
    > and would consume very little power compared to a dedicated PC.
    > A little power saving can go a long way. Just a thought.
    >
    > That be all,
    > Mr O.
    >
    > --- Walter Hurst <euglug at amifunny.com> wrote:
    > > Now onto my question...
    > >
    > > I was wondering if anybody has any experience with the
    > > Smoothwall
    > > (www.smoothwall.org) linux-based firewall product. I need/want
    > > a
    > > firewall for my home LAN, and heard about this product. In the
    > > past
    > > I've used homespun linux configs for a firewall, but it was
    > > always a
    > > low priority to maintain and would fall by the wayside. I was
    > > thinking
    > > about buying a dedicated firewall device but this Smoothwall
    > > product
    > > may fit the bill (if it does, does anybody have an old x86 box
    > > they
    > > want to part with?). My one concern is that it looks like
    > > they've got a
    > > corporate version with "extra" features - which makes me
    > > wonder if
    > > they're limiting access to the linux internals (which you
    > > would
    > > normally be able to tweak yourself).
    > >
    > > Thanks,
    > >
    > > 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] Source Code Processing



    Jacob MeuserTue May 3 22:56:30 PDT 2005

    On Tue, May 03, 2005 at 09:59:47PM -0700, larry price wrote:
    > On 5/3/05, Jacob Meuser <jakemsr at jakemsr.com> wrote:
    > > On Tue, May 03, 2005 at 09:15:19PM -0700, Jason Van Cleve wrote:
    > > > I'd like to process a whole bunch of source files uniformly, stripping
    > > > off any whitespace at the ends of lines and also making sure there is
    > > > exactly one newline before the EOF.  That last part may be tricky, but
    > > > is there a speedy *nix utility for getting rid of trailing whitespace,
    > > > or maybe for general source code processing?
    > 
    > if you want speed try sed(1)
    > 
    > s/[\w]*$//g #remove any number of white space characters before end of line
    > s/^$//g #remove blank lines
    > 
    > followed by 
    > echo >> $file #append a blank line to the end of the file.
    > 
    > although if you are getting fancy you might want to rewrite it in perl
    > or $language
    > to do manipulation or insertion.
    > 
    > having done a fair amount of stuff recently that required mucking about with
    > line end conversions and preprocessing files for a finicky parser
    > this is where find(1) is your friend
    > 
    > build your manipulation script and let find pass files to it.
    > (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)
    
    
    #!/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
    
    -- 
    <jakemsr at jakemsr.com>
    
  • [Eug-lug] Smoothwall (www.smoothwall.org) experience?



    Mr OTue May 3 22:32:31 PDT 2005

    Welcome to our semi-regularly active random location meetings
    group. 
    
    As for a recommendation to your question, are you providing a
    firewall for a dial-up or high speed connection? If high speed
    why not pick up a router like the Linksys WRT54G which sells
    nearly everywhere for $49 these days. It's completely hackable
    and would consume very little power compared to a dedicated PC.
    A little power saving can go a long way. Just a thought.
    
    That be all,
    Mr O.
    
    
    
    --- Walter Hurst <euglug at amifunny.com> wrote:
     
    > Now onto my question...
    > 
    > I was wondering if anybody has any experience with the
    > Smoothwall 
    > (www.smoothwall.org) linux-based firewall product. I need/want
    > a 
    > firewall for my home LAN, and heard about this product. In the
    > past 
    > I've used homespun linux configs for a firewall, but it was
    > always a 
    > low priority to maintain and would fall by the wayside. I was
    > thinking 
    > about buying a dedicated firewall device but this Smoothwall
    > product 
    > may fit the bill (if it does, does anybody have an old x86 box
    > they 
    > want to part with?). My one concern is that it looks like
    > they've got a 
    > corporate version with "extra" features - which makes me
    > wonder if 
    > they're limiting access to the linux internals (which you
    > would 
    > normally be able to tweak yourself).
    > 
    > Thanks,
    > 
    > Walter.
    
    
    
    		
    __________________________________ 
    Do you Yahoo!? 
    Yahoo! Small Business - Try our new resources site!
    http://smallbusiness.yahoo.com/resources/