euglug.org

[카테고리:] Uncategorized

  • [Eug-lug] Wrapping for Access Control



    horstSat Jan 22 14:50:40 PST 2005

    > Date: Fri, 21 Jan 2005 18:49:25 -0800
    > From: "[iso-8859-1] Jeff_W" <beaker at freeshell.org>
    ...
    > #   File "/usr/pkg/lib/python2.3/SocketServer.py", line 341, in
    server_bind
    > #     self.socket.bind(self.server_address)
    > #   File "<string>", line 1, in bind
    > # socket.error: (48, 'Address already in use')
    >
    
    Expanding on the python part.
    The exception indicates the port is already 'taken' (LISTEN).
    I don't understand TCP wrappers, but from Bob's comment I'd guess the
    wrapper is listening to port:70(?)
    
    Try netstat <options -which I can't remember right now> to check your 
    portscape.
    
    To explore the python exception you can temporarily change
        /usr/pkg/lib/python2.3/SocketServer.py
    Before the bind() enter:
             sys.stderr.write( str(self.server_address) )
             self.socket.bind(self.server_address)
    (use the same indentation -- 8 spaces i believe)
    
    My 0.02c .................... Horst
    
    
    
  • [Eug-lug] mac-mini mac-slack-ub-lin meeting



    perduraboSat Jan 22 14:45:34 PST 2005

    What are you? Some sicko? Us Mac fanboys use firewire and USB2...
    crack a case? psshhh!
    
    
    On Sat, 22 Jan 2005 10:08:48 -0800, Bob Miller <kbob at jogger-egg.com> wrote:
    > I think the ideal upgrade for a Mac Mini would be running the
    > IDE cable out the back so disks can be swapped without opening
    > the case.  Then you can use a 3.5" disk, which is cheaper, faster
    > and higher capacity than the 2.5" disks.
    
  • [Eug-lug] mac-mini mac-slack-ub-lin meeting



    Mr OSat Jan 22 13:01:47 PST 2005

    With 7200RPM laptop drives available it'd be a nice little
    upgrade there. Of course capacity is still the issues but a few
    of us have more than enough disk space around the house. 
    
    As for the power adapter, it's a fair size. About the size of
    the average large laptop power adapter. 
    
    Oh yeah, I got one now. It's just the basic $499 unit but I had
    to pick it up in Corvallis if I wanted it today. Trying to
    decide wether to pry it open or plug it in first. :)
    
    
    
    --- Bob Miller <kbob at jogger-egg.com> wrote:
    
    > I think the ideal upgrade for a Mac Mini would be running the
    > IDE cable out the back so disks can be swapped without opening
    > the case.  Then you can use a 3.5" disk, which is cheaper,
    > faster
    > and higher capacity than the 2.5" disks.
    > 
    > That or a PCI slot... (-:
    > 
    > So, John and/or Mike.  Now that you have your boxes, is the
    > A/C adapter bigger than the computer?
    
    
    
    		
    __________________________________ 
    Do you Yahoo!? 
    All your favorites on one personal page – Try My Yahoo!
    http://my.yahoo.com 
    
  • [Eug-lug] Bandwidth limiting for apache2?



    Hal PomeranzSat Jan 22 12:29:31 PST 2005

    > I'm looking for a way to cap requests on a per ip basis, but don't
    > want to block legitimate requests at all, I also want to be able to
    > automatically detect, record, and block new attacks.
    
    Sounds like you want something like Tom Liston's LaBrea
    (sourceforge.net/projects/labrea).  Google-ing for "apache labrea
    module" turned up some hits, but I didn't look deeper.
    
    -- 
    Hal Pomeranz, Founder/CEO      Deer Run Associates      hal at deer-run.com
        Network Connectivity and Security, Systems Management, Training
    
  • [Eug-lug] Bandwidth limiting for apache2?



    larry priceSat Jan 22 11:18:57 PST 2005

    google isn't giving me any love on this one.
    
    II'm trying to limit bot attacks against a webserver.
    
    I'm looking for a way to cap requests on a per ip basis,
    but don't want to block legitimate requests at all,
    I also want to be able to automatically detect, record, and block new attacks.
    
    I was looking at mod_throttle and mod_bandwidth but they are strictly for 1.3
    
    Is this a problem that is better dealt with at the packet filtering level?
    
    would it be worthwhile to attempt to port one of the aforementioned
    modules to apache 2.0 ?
    
    It's more important that requests be limited than that total outgoing
    bandwidth be limited and I have no problem with returning a 403 error
    to offending requests.
    
    Suggestions? Comments? Places to look for more docs.?
    
    -- 
    http://Zoneverte.org -- information explained
    Do you know what your IT infrastructure does?
    
  • [Eug-lug] Gnuing on OSX



    larry priceSat Jan 22 10:25:09 PST 2005

    my experience with DarwinPorts was initially good, up until i started
    trying to use it to do
    things like install current versions of libxml2 and pythons other than
    the system python.
    
    It's clean relatively fast, but it's not as strong on dependency
    checking and giving you information you need, like where it installed
    certain packages and what it deleted (or didn't) while upgrading a
    package, as it could be.
    
    currently I've been dicking around with the Python Package manager for OSX
    and building a PIL installation that includes jpeg support.
    
    I'd like to see if I can get access to the system jpeg support through
    PyOBJC, as that would (I hope) be faster and easier to draw to the
    screen.
    
    On Sat, 22 Jan 2005 18:09:12 +0000, fleming.j at comcast.net
    <fleming.j at comcast.net> wrote:
    > I am trying to sort out all the different options for Gnu on OSX. I am downloading XCode-1.5 to begin, but I've seen so many ways to install stuff (Darwin ports, fink, etc )
    > I was hoping to get a quick opinion or comparision from the experienced OSX users.
    > Fire when ready.                                                             John
    > _______________________________________________
    > 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] Wrapping for Access Control



    Bob MillerSat Jan 22 10:11:25 PST 2005

    Jeff_W wrote:
    
    > Having forgotten anything I might have learned about python, I really
    > can't make much of this except that it appears the socket/port is
    > not available to the application (maybe because inetd is listening
    > on it?).
    > 
    > Anyways, is there some easy way of "wrapping" PYG for use w/ TCP
    > Wrappers or do I need to look at something else like IP Filter,
    > etc. ?
    
    A daemon has to be written differently to be invoked from inetd than
    if it runs standalone.  If you're interested in doing that I'll
    provide details.  But first, check the man page for flags that make it
    work under inetd.
    
    -- 
    Bob Miller                              K<bob>
    kbobsoft software consulting
    http://kbobsoft.com                     kbob at jogger-egg.com
    
  • [Eug-lug] Gnuing on OSX



    fleming.j at comcast.netSat Jan 22 10:09:12 PST 2005

    I am trying to sort out all the different options for Gnu on OSX. I am downloading XCode-1.5 to begin, but I've seen so many ways to install stuff (Darwin ports, fink, etc )
    I was hoping to get a quick opinion or comparision from the experienced OSX users.
    Fire when ready.                                                             John
    
  • [Eug-lug] mac-mini mac-slack-ub-lin meeting



    Bob MillerSat Jan 22 10:08:48 PST 2005

    T. Joseph CARTER wrote:
    
    > So wait.  You bought the ideal second (or third) computer to run MacOS X
    > on, and you're not going to run MacOS X on it?
    
    I think the ideal upgrade for a Mac Mini would be running the
    IDE cable out the back so disks can be swapped without opening
    the case.  Then you can use a 3.5" disk, which is cheaper, faster
    and higher capacity than the 2.5" disks.
    
    That or a PCI slot... (-:
    
    So, John and/or Mike.  Now that you have your boxes, is the
    A/C adapter bigger than the computer?
    
    -- 
    Bob Miller                              K<bob>
    kbobsoft software consulting
    http://kbobsoft.com                     kbob at jogger-egg.com
    
  • [Eug-lug] Computer time



    Bob MillerSat Jan 22 10:02:48 PST 2005

    Bob Miller wrote:
    
    > I tried to find a copy of gosmacs screen.c which starts with the
    > very best comment I've ever seen in a source file, but it seems to
    > be lost to antiquity.
    
    Um, the file was display.c.  I got a copy from a fellow refugee from
    antiquity.  Here is the comment I like.  How many times have you seen
    source code that deserved a warning like this but didn't have one? (-:
    
    /********************************************************\
    *							 *
    * Ultra-hot screen management package			 *
    * 							 *
    * 		Copyright (c) 1981,1980 James Gosling	 *
    *							 *
    * Heavy hacking by Chris Torek <chris at maryland> Feb '84  *
    * 							 *
    \********************************************************/
    
    /****************************************************************
    
    
    
    			 /-------------\
    			/		\
    		       /		 \
    		      /			  \
    		      |	  XXXX	   XXXX	  |
    		      |	  XXXX	   XXXX	  |
    		      |	  XXX	    XXX	  |
    		      \		X	  /
    		       --\     XXX     /--
    			| |    XXX    | |
    			| |	      | |
    			| I I I I I I I |
    			|  I I I I I I	|
    			 \	       /
    			  --	     --
    			    \-------/
    		    XXX			   XXX
    		   XXXXX		  XXXXX
    		   XXXXXXXXX	     XXXXXXXXXX
    			  XXXXX	  XXXXX
    			     XXXXXXX
    			  XXXXX	  XXXXX
    		   XXXXXXXXX	     XXXXXXXXXX
    		   XXXXX		  XXXXX
    		    XXX			   XXX
    
    			  **************
    			  *  BEWARE!!  *
    			  **************
    
    			All ye who enter here:
    		    Most of the code in this module
    		       is twisted beyond belief!
    
    			   Tread carefully.
    
    		    If you think you understand it,
    			      You Don't,
    			    So Look Again.
    
     ****************************************************************/
    
    -- 
    Bob Miller                              K<bob>
    kbobsoft software consulting
    http://kbobsoft.com                     kbob at jogger-egg.com