[vox-tech] mod_throttle

2003-02-06 Thread Bill Kendrick

Has anyone here ever used the Apache module mod_throttle?
I'm looking for suggestions on the best way to shape my outgoing traffic
while not being unreasonable about providing access to my site.

(e.g., I'm fine with the site being a bit slower, but not with it jumping
out at you with Request Denied! errors :^) )

-- 
[EMAIL PROTECTED]Was I useful?  Rate this message!
http://newbreedsoftware.com/bill  http://svcs.affero.net/rm.php?r=billkendrick
___
vox-tech mailing list
[EMAIL PROTECTED]
http://lists.lugod.org/mailman/listinfo/vox-tech



Re: [vox-tech] mod_throttle

2003-02-06 Thread Ryan Castellucci
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Thursday 06 February 2003 12:14 am, Bill Kendrick wrote:
 Has anyone here ever used the Apache module mod_throttle?
 I'm looking for suggestions on the best way to shape my outgoing traffic
 while not being unreasonable about providing access to my site.

 (e.g., I'm fine with the site being a bit slower, but not with it jumping
 out at you with Request Denied! errors :^) )

I mentioned this to you earlier, but, for everybody else...

Also look into mod_gzip. It's supported by almost all modern browsers.

mod_gzip's current homepage is http://www.schroepl.net/projekte/mod_gzip/

see http://www.schroepl.net/projekte/mod_gzip/browser.htm for browser 
compatibility.

mod_bandwidth also looks interesting.

http://www.cohprog.com/mod_bandwidth.html

- -- 
PGP/GPG Fingerprint: 3B30 C6BE B1C6 9526 7A90  34E7 11DF 44F3 7217 7BC7
On pgp.mit.edu, import with `gpg --keyserver pgp.mit.edu --recv-key 72177BC7`
Also available at http://www.cal.net/~ryan/ryan_at_mother_dot_com.asc
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE+QiG+Ed9E83IXe8cRAsF1AKCzdcWvFT6d8xZWqsrGE3dQBTZ4WACfQu6Y
j8fkYD1XlzkEA24ElXurC2Y=
=7jtS
-END PGP SIGNATURE-
___
vox-tech mailing list
[EMAIL PROTECTED]
http://lists.lugod.org/mailman/listinfo/vox-tech



Re: [vox-tech] can't open display with ssh2

2003-02-06 Thread msimons
On Wed, Feb 05, 2003 at 04:17:42PM -0800, Henry House wrote:
 On Wed, Feb 05, 2003 at 10:34:54AM -0800, Robin Snyder wrote:
  I'm unable to forward X despite the fact that I used the -X option with
  ssh and ForwardX11 is set to yes in ssh_config on the remote machine (on
  both machines, actually).  I get the error message
  
  Error: Can't open display:
  
  which evidently means that ssh2 has failed to perform its usual magic in
  setting up the display.  A wander through google has comforted me with the
  realization that I am not alone in having this problem, although it has
  not given me any answers.
 
 The first thing to check when you get the above error is the contents of the
 DISPLAY environment variable. If SSH's forwarding magic is in place, it
 should be localhost:10.0 or similar. (The number varies but the hostname is
 always localhost.) The trouble could be as simple as some shell
 initialization overriding DISPLAY.

Her DISPLAY variable is empty... the error message says what the 
display variable is...

===
root@star:~# echo $DISPLAY

root@star:~# xeyes
Error: Can't open display: 
root@star:~# export DISPLAY=foo:0
root@star:~# xeyes
_X11TransSocketINETConnect: Can't get address for foo
Error: Can't open display: foo:0
===

  I agree something could be wiping out the display variable... 
going to check the output of her -v against mine.

TTFN,
  Mike
___
vox-tech mailing list
[EMAIL PROTECTED]
http://lists.lugod.org/mailman/listinfo/vox-tech



Re: [vox-tech] can't open display with ssh2

2003-02-06 Thread msimons
On Wed, Feb 05, 2003 at 10:34:54AM -0800, Robin Snyder wrote:
 I'm unable to forward X despite the fact that I used the -X option with
 ssh and ForwardX11 is set to yes in ssh_config on the remote machine (on
 both machines, actually).  I get the error message
 
 Error: Can't open display:
[...]
 Any idea what's happening?  I saw nothing
 obviously amiss in the output of ssh -v, but will append the output below
 in case others see problems I missed.

Robin,

  Something is either trashing your DISPLAY variable after it is setup 
correctly, or it is never being setup correctly in the first place.
I've seen is machines without a xauth program in my path be a 
problem.

  In the -v output you provided nothing important is different from when 
I try locally...

- I would like to see the output from ssh when you login with -vvv
  it displays more information than just -v.

  Also note no changes to any files in /etc are needed to get X forwarding
working on a Debian system, the -X option does what is needed.  By changing
the config files you most likely change the system to _always_ setup an 
X11 tunnel without a -X... setting up a remote tunnel to a machine with
evil people [root] can give them complete access to your local screen 
desktop...

Thanks,
  Mike

here is what I see on my side...

debug1: Entering interactive session.
debug2: callback start
debug1: ssh_session2_setup: id 0
debug1: channel request 0: pty-req
debug3: tty_make_modes: [... a bunch of these...]
debug2: x11_get_proto /usr/bin/X11/xauth list :0 2/dev/null
debug1: Requesting X11 forwarding with authentication spoofing.
debug1: channel request 0: x11-req
debug1: channel request 0: shell
debug1: fd 3 setting TCP_NODELAY
debug2: callback done
debug1: channel 0: open confirm rwindow 0 rmax 32768
debug2: channel 0: rcvd adjust 131072
Last login: Thu Feb  6 09:43:26 2003 from star on pts/6
Linux star 2.4.19-star6 #1 Sat Sep 14 18:44:37 PDT 2002 i686 unknown

Most of the programs included with the Debian GNU/Linux system are
freely redistributable; the exact distribution terms for each program
are described in the individual files in /usr/share/doc/*/copyright

Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
Last login: Thu Feb  6 09:43:26 2003 from star
root@star:~# xeyes
debug1: client_input_channel_open: ctype x11 rchan 2 win 65536 max 16384
debug1: client_request_x11: request from 127.0.0.1 1389
debug1: fd 7 setting O_NONBLOCK
debug2: fd 7 is O_NONBLOCK
debug1: channel 1: new [x11]
debug1: confirm x11
[this is where I closed the program... and it starts shutting down with]
debug1: channel 1: rcvd eof
___
vox-tech mailing list
[EMAIL PROTECTED]
http://lists.lugod.org/mailman/listinfo/vox-tech



Re: kmail problem (was [vox-tech] linux or bust)

2003-02-06 Thread Jim
Sorry for not being as detailded as I should have been.  Here is the gist of
the error message:
error message

Sending failed:
Unknown host sysmatrix.net

The message will stay in the 'outbox' folder
until you either fix the problem(e.g. a broken address) or remove the
message from the 'outbox' folder.

Note:  Other messages will also be blocked by this message, as long as it is
the 'outbox folder'

The following transport protocol was used:
smtp.sysmatrix.net

/error message

I took a snapshot of the screen but dare not attach it to this letter.  Too
big a file.

Grasshopper

P.s.:  I tried to a linux editor (kword?) but I was unable to open it under
windows.  Is there some other program that I could have used or could I have
simply have saved it as a .txt file?


- Original Message -
From: Peter Jay Salzman [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, February 05, 2003 1:18 PM
Subject: kmail problem (was [vox-tech] linux or bust)


 begin Jim [EMAIL PROTECTED]
  Jim wrote:
 
  I have just installed suse linux 8.1 and being new to linux I am
  having quite a time .   I will take it one step at a time though.
  
  Step # 1:  I can get mozilla's email program to work ( using it now)
  but kmail is another story.  I had this problem when I tried to use
  redhat 7.1 but never figured it out.  I do believe that the key is
  somewhere in the local files but unsure.
  
  If someone has any insight on my problem, please let me know.
  
  Thank you,
  Grasshopper
 
  oops...I should have added...I can receive mail but not send
mail...sorry.

 jim, how do you know the mail isn't being sent?   is it simply not being
 received?  or are you getting some kind of error message/pop-up
 indicating there's a problem?

 pete

 --
 First they ignore you, then they laugh at you, then they fight you,
 then you win. -- Gandhi, being prophetic about Linux.

 Fingerprint: B9F1 6CF3 47C4 7CD8 D33E 70A9 A3B9 1945 67EA 951D
 ___
 vox-tech mailing list
 [EMAIL PROTECTED]
 http://lists.lugod.org/mailman/listinfo/vox-tech



___
vox-tech mailing list
[EMAIL PROTECTED]
http://lists.lugod.org/mailman/listinfo/vox-tech



Re: kmail problem (was [vox-tech] linux or bust)

2003-02-06 Thread Nicole the Wonder Nerd
Up spake Jim on Thu, Feb 06, 2003 at 11:07:07AM -0800:
 P.s.:  I tried to a linux editor (kword?) but I was unable to open it under
 windows.  Is there some other program that I could have used or could I have
 simply have saved it as a .txt file?

Kword saves in a Speshul KWord File Furhmat(tm), interpretable by Kword only.
To save files so that they can be opened by MS Word, try:
1) Saving in MS Word format (Save as... select 'MS Word' from the menu)
2) Saving in RTF (rich text format), a MS format almost indistiguishable from 
Word native format (.doc)
3) Saving as a PDF (if possible), 
4) Saving as an HTML file (anywhere from some to most of your special 
formatting will be lost)
4) or saving, as you guessed, as a plain text file (your special formatting will 
be lost).

HTH

--nicole twn

***
Always expect to be disappointed, and you won't.--from the Compendium of
Rarely Used Cliches
Visit www.nicolopolis.com ... digital nonsense for a weary world.
___
vox-tech mailing list
[EMAIL PROTECTED]
http://lists.lugod.org/mailman/listinfo/vox-tech



Re: [vox-tech] can't open display with ssh2

2003-02-06 Thread Ken Bloom
 ---ORIGINAL MESSAGE--- 
 Date: Thu, 06 Feb 2003 12:54:29 -0500
 From: [EMAIL PROTECTED]
 Subject: Re: [vox-tech] can't open display with ssh2
 To: [EMAIL PROTECTED]
 Reply-To: [EMAIL PROTECTED]
 
 On Wed, Feb 05, 2003 at 10:34:54AM -0800, Robin Snyder wrote:
   Also note no changes to any files in /etc are needed to get X forwarding
 working on a Debian system, the -X option does what is needed.

That is PATENTLY not true if Debian is the server. If Debian is the 
server, then you NEED to turn X forwarding on in /etc/ssh/sshd_config

I've configured sshd on Debian before.

-- 
PGP/GPG Fingerprint: D5E2 8839 6ED3 3305 805C  941F 9476 A9BD E2B2 CAD1
Import with `gpg --keyserver pgp.mit.edu --recv-key E2B2CAD1`
Also on www: http://wwwcsif.cs.ucdavis.edu/~bloom/kabloom.asc
For more information about PGP and GPG, see http://www.gnupg.org/



msg04307/pgp0.pgp
Description: PGP signature


Re: [vox-tech] mod_throttle

2003-02-06 Thread Bill Kendrick
On Thu, Feb 06, 2003 at 12:50:06AM -0800, Ryan Castellucci wrote:
snip
 
 Also look into mod_gzip. It's supported by almost all modern browsers.

I've asked about it for my other website (which is not on a colo'd box,
so my ISP would need to install it globally for me :^) )

The problem with mod_gzip is that the server I'm dealing with right now
(putting mod_throttle on) has an average load average of 10 or so. :^)

Also, the bulk of the visitors are WebTV users, and, although I haven't
looked into it to be sure, I seriously doubt they support gzipped content.
(Besides, their boxes are quite slow, as well)

snip 
 mod_bandwidth also looks interesting.
 
 http://www.cohprog.com/mod_bandwidth.html

Thanks, I'll take a look!

-bill!
___
vox-tech mailing list
[EMAIL PROTECTED]
http://lists.lugod.org/mailman/listinfo/vox-tech



Re: kmail problem (was [vox-tech] linux or bust)

2003-02-06 Thread Bill Kendrick
On Thu, Feb 06, 2003 at 11:07:07AM -0800, Jim wrote:
snip
 
 P.s.:  I tried to a linux editor (kword?) but I was unable to open it under
 windows.  Is there some other program that I could have used or could I have
 simply have saved it as a .txt file?

This is one of my complaints about GUIs.  The pop-up windows with
errors (which can be important when posting a question to a mailing list
or Usenet, or e-mailing a tech support person) often don't provide any way
of highlighting and copying the error message! :^(

The same thing with about windows.  Nowadays, most of them have clickable
links for URLs and e-mail addresses, which is a step in the right direction
(I guess; I don't use a GUI mail client, so I'll need to launch it and copy
the URL from there, and then paste it into my terminal window where I'm
SSH'd to my ISP and running the Mutt mail client), but still not perfect.

A lot of about windows still provide no way of getting info out of the
window and into another program, so you have to sit there and use your
eyes, hands and brains to copy and paste an URL or e-mail address between
the window and your web browser or mail client.

Fooey :^P  Maybe I should see if I can go harass that newly formed
coalition (or whatever it is) between KDE and GNOME. ;^)

-bill!
___
vox-tech mailing list
[EMAIL PROTECTED]
http://lists.lugod.org/mailman/listinfo/vox-tech



Re: [vox-tech] can't open display with ssh2

2003-02-06 Thread msimons
On Thu, Feb 06, 2003 at 11:23:47AM -0800, Ken Bloom wrote:
  ---ORIGINAL MESSAGE--- 
  Date: Thu, 06 Feb 2003 12:54:29 -0500
  From: [EMAIL PROTECTED]
  Subject: Re: [vox-tech] can't open display with ssh2
  
  On Wed, Feb 05, 2003 at 10:34:54AM -0800, Robin Snyder wrote:
Also note no changes to any files in /etc are needed to get X forwarding
  working on a Debian system, the -X option does what is needed.
 
 That is PATENTLY not true if Debian is the server. If Debian is the 
 server, then you NEED to turn X forwarding on in /etc/ssh/sshd_config

Ken,

  You are correct.  The current woody ssh _requires_ root to make changes to 
/etc/ssh/sshd_config on the side receiving the connection in order for the
server to do its part to setup X11 forwarding (which allows client -X option 
to work).

  When I said changes would just turn on forwarding of X to hosts that
weren't desired, I was thinking of the ForwardX11 option which is
in /etc/ssh/ssh_config which is a different issue.

  I did some tests here and there is no different in debug messages
(even with -vvv) between when X11 forwarding is allowed and disallowed 
on the server side... the main noticeable difference is DISPLAY is not 
set on the remote side.

  So checking sshd_config on the server side is very important.

Sorry about the error,
  Mike

 I've configured sshd on Debian before.

ps:
  I don't know how long ago in the past but editing sshd_config didn't 
used to be required to forward X connections on debian... -X was not
even needed on the ssh client command... things change over time.
___
vox-tech mailing list
[EMAIL PROTECTED]
http://lists.lugod.org/mailman/listinfo/vox-tech



[vox-tech] test

2003-02-06 Thread Jim
test

___
vox-tech mailing list
[EMAIL PROTECTED]
http://lists.lugod.org/mailman/listinfo/vox-tech