euglug.org

[작성자:] admin

  • [Eug-lug] Quick And Dirty Network Profiling



    Jason Van CleveWed Sep 8 12:24:18 PDT 2004

    Good news!  I believe I'm NOT being abused by spammers.  Deep sigh of
    relief:  I'd hate to be part of THAT problem.)  pflogsumm shows
    consistent output for those three high-traffic days last month.
    
    My apache logs seem to indicate the problem:  multiple downloads of some
    classic guitar MP3s I'm serving by HTTP.  I traced a few of the IPs, and
    most seem to come from Japan; so I guess someone has linked the files on
    a Jap' Web site somewhere.  Looks like I'll need to activate some HTTP
    authentication for those directories.
    
    Many thanks for all your help.  Linux geeks rule!
    
    --Jason V. C.
    
    --
    I'd give my right arm to be ambidextrous!
    
  • [Eug-lug] gbaunix – i think this represents some limit



    larry priceWed Sep 8 11:47:55 PDT 2004

    http://www.kernelthread.com/publications/gbaunix/
    
    "Unix on the GameBoy Advanced"
    
    gbaunix is a 5th edition UNIX system running on the GBA. To achieve
    this, gbaunix uses SIMH, a highly portable PDP-11 simulator written in
    C.
    
    includes photos and technical info.
    
    interesting if you are interested in developing for ARM based machines
    
    interestingly enough 5th edition Unix is under License from SCO
    so this exercise was perverse on many different levels.
    
    -- 
    http://Zoneverte.org -- information explained
    Do you know what your IT infrastructure does?
    
  • [Eug-lug] InformationWeek plugging Linux



    Bob CrandellTue Sep 7 20:54:04 PDT 2004

    And yet another ray of hope.
    
    Editor's Note: Even The Button-Down Crowd Loves Linux
    
    A recent study of Linux usage found overwhelming support and user
    satisfaction. The study of computer-using organizations looked at 281 sites
    and found that 90 percent were using Linux, with a high degree of customer
    satisfaction.
    
    What I find most interesting about the study is the source: Our button-down
    pals at InformationWeek magazine. This wasn't a study sponsored by long-haired
    hippy-dippy Grateful-Dead-listening, tree-hugging Birkenstock-wearing,
    smelling-of-patchouli, Ben-&-Jerry-eating, Phish-following open-source
    idealists. No, InformationWeek is all business. They're very corporate over
    there. They wear three-piece suits even to company softball games.
    
    So an article in InformationWeek plugging Linux on business, rather than
    technological or ideological grounds, is significant.
    
    The mainstream media often writes about Linux with a condescending voice,
    describing open source as kind of cute in its own way, but not suited for
    serious business. But how's this for serious: Sixty-four percent of Linux
    users in the InformationWeek study describe themselves as "extremely
    satisfied." Only two percent said they were dissatisfied. How many proprietary
    vendors can claim the same level of customer satisfaction for their software?
    
    The case for open source is often made on idealistic grounds: don't give money
    to Microsoft. Don't support the oppressive software patent structure. But the
    InformationWeek study presents a pragmatic, business reason for using Linux:
    there's a two-out of three chance you'll be extremely satisfied with it as a
    product, and only one chance in 50 you'll be dissatisfied.
    
    Also: There's no organization more serious about business than Microsoft, and
    the company recently gave Linux and open source a backhanded compliment. In
    its annual 10-K filing to the SEC, Microsoft warned that Linux and open source
    present a threat to the company in every business sector.
    
    Mitch Wagner
    Editor, Linux Pipeline
    mwagner at cmp.com
    http://www.linuxpipeline.com/
    
    
    Top Linux News
    
    Microsoft Sees Open-Source As Major Threat
    Open source and Linux are threats to virtually every business
    segment, according to Microsoft's 10-K filing with the SEC.
    
    Sun Targets Newbies With Java Studio Creator Toolset
    Unlike other open-source Web frameworks, Sun's Java Studio
    Creator presents only one development method for users.
    
    Apache Says It Won't Support Sender ID
    The foundation is balking at Microsoft's strict licensing terms
    for the proposed anti-spam standard.
    
    --
    Assured Computing, Inc.
    When you need to be sure.
    http://www.assuredcomp.com/
    P.O. Box 40814
    Eugene, OR 97404
    Voice - 541-868-0331
    FAX - 541-463-1627
    
    
    
  • [Eug-lug] RE: Quick and Dirty Network Monitor



    D. Cooper StevensonTue Sep 7 15:11:19 PDT 2004

    Skipped content of type multipart/alternative-------------- next part --------------
    A non-text attachment was scrubbed...
    Name: not available
    Type: application/pgp-signature
    Size: 189 bytes
    Desc: This is a digitally signed message part
    Url : http://www.euglug.org/pipermail/euglug/attachments/20040907/82b83198/attachment.bin
    
  • [Eug-lug] Quick And Dirty Network Profiling



    Cory PetkovsekTue Sep 7 15:06:34 PDT 2004

    On Tue, Sep 07, 2004 at 01:11:42PM -0700, Jason Van Cleve wrote:
    > First off, I am not a system admin', but I rent a server on
    > SprocketData.  Normally, I use about 0% of my included bandwidth, but
    > last month I used nearly ten gig's, around nine of which were consumed
    > between August 17th and August 19th.  The trend this month is also
    > disturbing.  So evidently I've picked up some species of parasite.
    
    The other suggestions are good.  Look at your logs, they will give you
    the best clues of what happened.  Monitors mean you have to wait to be
    abused again.  If you use postfix use pflogsumm to analyze your logs.
    There are other log performance monitors for apache, ftp and other mail
    servers.  Look at awstats, it will graph not only apache but also mail
    servers.
    
    > So I'm guessing someone has figured out how to spam through my SMTP
    > relay, but with so much spam bouncing around, it's hard to tell from my
    > mail logs what's going on.  I'm just not sure how to diagnose this, and
    > I'd appreciate some pointers.
    
    Why do you have an smtp relay?  That's usually not a good thing to have.
    
    > I run postfix 1.1.11 on this Mandrake 9.1.I.think
    > system.  
    Ah, good, get pflogsumm and run it on your old log files.  If you see a
    day that has 100,000 emails sent, that is indicative of a problem.  It
    will tell you that yes, you are being used to spam.  Now figure out how
    it got in.  Trace it back to your first emails, note the times, ip
    addresses, etc.  Post these if necessary.  
    
    My servers were being used to send spam a while back.
    Turned out I had made an error in my contact form on my webpage.  I
    inserted tainted strings into mail headers sent directly to
    /usr/lib/sendmail.  What that means is that I took user input and
    directly put it in my email:
        open MAIL, "|/usr/lib/sendmail -t"
        print MAIL, "From: $email_from";
        print MAIL, "To: support at adaptableit.com\n";
        print MAIL, "Subject: Support Request\n";
        print MAIL, "$message";
    
    The problem is that a user input variable like $email_from could contain
    a new line and a line that says "To: 1 at aol.com, jobe at aol.com,
    carol at aol.com..." and that's exactly what it did.
    
    > For all I know, it could be one of my few mail users trying to
    > send a really big attachment, or something like that, but I rather
    > suspect it's a spammer.
    A 10 gig attachment?
    
    Cory
    
    -- 
    Cory Petkovsek                                       Adapting Information
    Adaptable IT Consulting                                Technology to Your
    (858) 705-1655                                                   Business
    cory at AdaptableIT.com                                  www.AdaptableIT.com
    
  • [Eug-lug] Quick And Dirty Network Profiling



    Hal PomeranzTue Sep 7 13:57:31 PDT 2004

    I'd check your Apache, FTP server, and Sendmail logs first (or
    whatever other server(s) you happen to be running on the box).
    
    > you can also muck around with netstat and iptables logging.
    
    Netstat is less useful because it only gives you your network status
    as of a particular instant in time.  IPTables logging would give you a
    history of connections, but not how much data was transferred per
    connection-- though if your problem is a lot of small sessions, this
    would be enough.  Another thought would be to capture a decent number
    of packets with tcpdump and try and figure out what's going on.
    
    Surely a network monitoring package like MRTG would contain tools
    that would allow you to pinpoint what's going on.  It's possible
    that your hosting provider is already monitoring traffic in and
    out of your box with such a tool and could provide you with the data
    you need.
    
    > Also go see Hal's talk in Corvallis, it will give you some good ideas
    > for things to look for.
    
    Hey, good plug!  Actually my talk tonight is relevant if the problem
    is that the box has been rooted and is being used to spam or DoS other
    machines.  This is probably the least likely scenario.
    
    -- 
    Hal Pomeranz, Founder/CEO      Deer Run Associates      hal at deer-run.com
        Network Connectivity and Security, Systems Management, Training
    
  • [Eug-lug] Quick And Dirty Network Profiling



    JasonTue Sep 7 13:57:21 PDT 2004

    You can also check out argus:
    
    http://www.qosient.com/argus/
    
    It's been useful to me in similar past endeavors.
    
    A couple of paragraphs from their site:
    
    Argus is a fixed-model Real Time Flow Monitor designed
    to track and
    report on the status and performance of all network
    transactions seen
    in a data network traffic stream. Argus provides a
    common data format
    for reporting flow metrics such as connectivity,
    capacity, demand,
    loss, delay, and jitter on a per transaction basis.
    The record format that
    Argus uses is flexible and extensible, supporting
    generic flow identifiers
    and metrics, as well as application/protocol specific
    information.
    
    Argus can be used to analyze and report on the
    contents of packet
    capture files or it can run as a continuous monitor,
    examining data from
    a live interface; generating an audit log of all the
    network activity seen
    in the packet stream. Argus can be deployed to monitor
    individual end-
    systems, or an entire enterprises network activity. As
    a continuous
    monitor, Argus provides both push and pull data
    handling models, to
    allow flexible strategies for collecting network audit
    data. Argus data
    clients support a range of operations, such as
    sorting, aggregation,
    archival and reporting. There is XML support for Argus
    data, which
    makes handling Argus data a bit easier, see
    ArgusRecord.xsd.
    
    --- larry price <laprice at gmail.com> wrote:
    
    > ntop is a pretty good way to keep an eye on what
    > connections are happening
    > http://www.ntop.org/ntop.html
    > 
    > you can also muck around with netstat and iptables
    > logging.
    > 
    > I would suggest that you grovel through the maillogs
    > for the high
    > usage times and see if you can spot similarities
    > between entries (2000
    > connections from the same ip address would be a good
    > indicator). Also
    > check other logs, you could have inadvertently
    > configured apache or
    > ftpd in an exploitable fashion.
    > 
    > Don't assume that chkrootkit is infallible. 
    > 
    > If you want, post log entries here and we'll tell
    > you something :-)
    > 
    > you might want to sanitise your log files using a
    > tool that will
    > replace IP adresses with rfc1918 addresses and
    > hostnames with
    > example.org in place of the domain name.
    > 
    > Also go see Hal's talk in Corvallis, it will give
    > you some good ideas
    > for things to look for.
    > 
    > On Tue, 7 Sep 2004 13:11:42 -0700, Jason Van Cleve
    > <jason at vancleve.com> wrote:
    > > First off, I am not a system admin', but I rent a
    > server on
    > > SprocketData.  Normally, I use about 0% of my
    > included bandwidth, but
    > > last month I used nearly ten gig's, around nine of
    > which were consumed
    > > between August 17th and August 19th.  The trend
    > this month is also
    > > disturbing.  So evidently I've picked up some
    > species of parasite.
    > > 
    > > I ran chkrootkit, and no problems showed up; and
    > my FTP system looks to
    > > be in order.  (I know, FTP is "bad", but it hasn't
    > been a problem.)
    > > 
    > > So I'm guessing someone has figured out how to
    > spam through my SMTP
    > > relay, but with so much spam bouncing around, it's
    > hard to tell from my
    > > mail logs what's going on.  I'm just not sure how
    > to diagnose this, and
    > > I'd appreciate some pointers.
    > > 
    > > To begin with, I'd like a quick and dirty network
    > monitor by which I can
    > > see where all that bandwidth is going.  A
    > high-level, packets-per-port
    > > type thing will do, something I can run for a few
    > days and then check
    > > the averages.  Could just be that someone has
    > found something they liked
    > > in one of my Web sites and told all their friends.
    > . . .
    > > 
    > > If I determine it is indeed my mail service, how
    > might I determine how
    > > it's being abused?  I run postfix 1.1.11 on this
    > Mandrake 9.1.I.think
    > > system.  For all I know, it could be one of my few
    > mail users trying to
    > > send a really big attachment, or something like
    > that, but I rather
    > > suspect it's a spammer.
    > > 
    > > Any advice for a simple programmer?  Thanks,
    > > 
    > > --Jason Van Cleve
    > > 
    > > --
    > > Due to management cuts, the light at the end of
    > the tunnel will now be
    > > switched off.
    > > _______________________________________________
    > > EUGLUG mailing list
    > > euglug at euglug.org
    > > http://www.euglug.org/mailman/listinfo/euglug
    > > 
    > 
    > 
    > 
    > -- 
    > http://Zoneverte.org -- information explained
    > Do you know what your IT infrastructure does?
    > _______________________________________________
    > EUGLUG mailing list
    > euglug at euglug.org
    > http://www.euglug.org/mailman/listinfo/euglug
    > 
    
    
    
    		
    _______________________________
    Do you Yahoo!?
    Win 1 of 4,000 free domain names from Yahoo! Enter now.
    http://promotions.yahoo.com/goldrush
    
  • [Eug-lug] Quick And Dirty Network Profiling



    larry priceTue Sep 7 13:21:54 PDT 2004

    ntop is a pretty good way to keep an eye on what connections are happening
    http://www.ntop.org/ntop.html
    
    you can also muck around with netstat and iptables logging.
    
    I would suggest that you grovel through the maillogs for the high
    usage times and see if you can spot similarities between entries (2000
    connections from the same ip address would be a good indicator). Also
    check other logs, you could have inadvertently configured apache or
    ftpd in an exploitable fashion.
    
    Don't assume that chkrootkit is infallible. 
    
    If you want, post log entries here and we'll tell you something :-)
    
    you might want to sanitise your log files using a tool that will
    replace IP adresses with rfc1918 addresses and hostnames with
    example.org in place of the domain name.
    
    Also go see Hal's talk in Corvallis, it will give you some good ideas
    for things to look for.
    
    On Tue, 7 Sep 2004 13:11:42 -0700, Jason Van Cleve <jason at vancleve.com> wrote:
    > First off, I am not a system admin', but I rent a server on
    > SprocketData.  Normally, I use about 0% of my included bandwidth, but
    > last month I used nearly ten gig's, around nine of which were consumed
    > between August 17th and August 19th.  The trend this month is also
    > disturbing.  So evidently I've picked up some species of parasite.
    > 
    > I ran chkrootkit, and no problems showed up; and my FTP system looks to
    > be in order.  (I know, FTP is "bad", but it hasn't been a problem.)
    > 
    > So I'm guessing someone has figured out how to spam through my SMTP
    > relay, but with so much spam bouncing around, it's hard to tell from my
    > mail logs what's going on.  I'm just not sure how to diagnose this, and
    > I'd appreciate some pointers.
    > 
    > To begin with, I'd like a quick and dirty network monitor by which I can
    > see where all that bandwidth is going.  A high-level, packets-per-port
    > type thing will do, something I can run for a few days and then check
    > the averages.  Could just be that someone has found something they liked
    > in one of my Web sites and told all their friends. . . .
    > 
    > If I determine it is indeed my mail service, how might I determine how
    > it's being abused?  I run postfix 1.1.11 on this Mandrake 9.1.I.think
    > system.  For all I know, it could be one of my few mail users trying to
    > send a really big attachment, or something like that, but I rather
    > suspect it's a spammer.
    > 
    > Any advice for a simple programmer?  Thanks,
    > 
    > --Jason Van Cleve
    > 
    > --
    > Due to management cuts, the light at the end of the tunnel will now be
    > switched off.
    > _______________________________________________
    > EUGLUG mailing list
    > euglug at euglug.org
    > http://www.euglug.org/mailman/listinfo/euglug
    > 
    
    
    
    -- 
    http://Zoneverte.org -- information explained
    Do you know what your IT infrastructure does?
    
  • [Eug-lug] Quick And Dirty Network Profiling



    Jason Van CleveTue Sep 7 13:11:42 PDT 2004

    First off, I am not a system admin', but I rent a server on
    SprocketData.  Normally, I use about 0% of my included bandwidth, but
    last month I used nearly ten gig's, around nine of which were consumed
    between August 17th and August 19th.  The trend this month is also
    disturbing.  So evidently I've picked up some species of parasite.
    
    I ran chkrootkit, and no problems showed up; and my FTP system looks to
    be in order.  (I know, FTP is "bad", but it hasn't been a problem.)
    
    So I'm guessing someone has figured out how to spam through my SMTP
    relay, but with so much spam bouncing around, it's hard to tell from my
    mail logs what's going on.  I'm just not sure how to diagnose this, and
    I'd appreciate some pointers.
    
    To begin with, I'd like a quick and dirty network monitor by which I can
    see where all that bandwidth is going.  A high-level, packets-per-port
    type thing will do, something I can run for a few days and then check
    the averages.  Could just be that someone has found something they liked
    in one of my Web sites and told all their friends. . . .
    
    If I determine it is indeed my mail service, how might I determine how
    it's being abused?  I run postfix 1.1.11 on this Mandrake 9.1.I.think
    system.  For all I know, it could be one of my few mail users trying to
    send a really big attachment, or something like that, but I rather
    suspect it's a spammer.
    
    Any advice for a simple programmer?  Thanks,
    
    --Jason Van Cleve
    
    --
    Due to management cuts, the light at the end of the tunnel will now be
    switched off.
    
  • [Eug-lug] [lug] MWVLUG – Simple Tricks: Spotting Break-ins – 9/7 6:30 Meeting @ PEAK



    Christoph OttoTue Sep 7 11:38:32 PDT 2004

    Does anyone going to this have space left in their car?  I'd love to 
    attend, but it's a little long to bike.
    Christoph
    
    John Sechrest wrote:
    
    >Reminder. This meeting is tonight (tuesday)
    >
    >
    >
    >
    >
    >   At PEAK Internet Services - Corner of 15th and Western in Corvallis.
    >   Use the South Entrance facing the south parking lot. 	     
    >
    >
    >   MWVLUG Meeting
    >   2004/09/07 
    >   Tuesday Night
    >   6:30PM
    >
    >   Hal Pomeranz
    >   Simple Unix Tricks: Spotting Break-ins
    >
    >   While attack tools for Unix systems are becoming increasingly
    >   sophisticated, there a still a number of simple techniques that Unix
    >   administrators can use for detecting when their systems have been
    >   rooted. Drawing on the SANS Institute's "Intrusion Discovery Cheat
    >   Sheet" and using tools like chkrootkit and AIDE, Hal Pomeranz presents
    >   a simple set of checks that any system administrator can perform to
    >   monitor the status of their Unix systems.
    >
    >
    >- --
    >John Sechrest          .         Helping people use
    >                        .           computers and the Internet
    >                          .            more effectively
    >                             .                      
    >                                 .       Internet: sechrest at peak.org
    >                                      .   
    >                                              . http://www.peak.org/~sechrest
    >
    >
    >
    >
    >_______________________________________________
    >EUGLUG mailing list
    >euglug at euglug.org
    >http://www.euglug.org/mailman/listinfo/euglug
    >
    >  
    >