Re: Sendmail>MailScanner>SpamAssassin:WebMin

2004-02-18 Thread Martin Foster
Hello Dave,

/etc/mailscanner is artifact from stable.   try 'dpkg -s
/etc/mailscanner/mailscanner.conf' to verify package ownership, then
'dpkg --purge mailscanner' to rid yourself of it.  Note that this will
also remove any later versions, like your current testing package.

Now, for the backport.  

The mailscanner 4.26.7 debian testing/unstable needs a bit more magic
than prior versions for backporting, as pulls some ucf magic that
doesn't work on stable's version of ucf.

Luckly, this can all be worked around by making package changes.  Use
the debian/rules and debian/control files appended below the signature,
and you should be off to the races.

Other little details on how I build my backports for mailscanner:

apt-get -t unstable source mailscanner (/etc/apt/sources.list has stable
deb sources, and unstable deb-src entries)
cd mailscanner-4.26.7
dch -i
vi debian/rules
vi debian/control
make -f debian/rules clean
make -f debian/rules binary

If all goes well, you'll have a much happier mailscanner package.  
Edit /etc/MailScanner/MailScanner.conf, then /etc/default/mailscanner
prior to starting. 

You will also need a backport of libnet-cidr-perl-0.09 for MailScanner
4.26.7 to work.   It also needs some magic in debian/rules and
debian/control.  You could get this using CPAN, but that defeats the
purpose of a package management system.  

I can't help you with the webmin plugin as I hit the configuration files
directly, but I'll assume that you'll need it's testing/unstable
equivalent.

You'll also want to ensure that 'Notify Senders = no' in
MailScanner.conf.  The package and upstream have this set to 'yes',
which is a *major* source of spam.  I've filed a bug report with the
package maintainer to have this defaulted to 'no', but I'm unsure if
he'll act on it.  

Finally, if you use sendmail, you'll need to setup two daemons, one to
send the inbound mail through to a queue directory for MailScanner, and
another to deliver once mailscanner is done.   See the sendmail start
script below. 

Good luck, feel free to contact me if you have any other issues.  

-- 


Martin Foster   Phone:   +61 3 9674 7500
Systems Engineer   P A C I F I CFax: +61 3 9698 4959
Pacific Internet (Australia)  I N T E R N E T   
http://www.pacific.net.au/  NASDAQ:  PCNTF



---[MailScanner debian/rules]--
#!/usr/bin/make -f
# Sample debian/rules that uses debhelper.
# GNU copyright 1997 to 1999 by Joey Hess.

# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1

# This is the debhelper compatability version to use.
export DH_COMPAT=4

p = mailscanner
d = debian/$(p)

PWD = $(shell pwd)

patch_stamp = patch-stamp
patchdir = debian/patches

build: $(patch_stamp) build-stamp
build-stamp:
dh_testdir
: # don't build anything
touch build-stamp

clean: unpatch
dh_testdir
dh_testroot
rm -f *-stamp
rm -rf bin/tnef*
rm -rf ../$(shell basename $(PWD)).orig/bin/tnef*
-find . ../$(shell basename $(PWD)).orig -name '.#*' | xargs rm
-f
dh_clean

install: build
dh_testdir
dh_testroot
dh_clean -k
dh_installdirs \
usr/sbin \
usr/share/doc/mailscanner/html \
usr/share/doc/mailscanner/examples \
usr/share/doc/mailscanner/exim \
usr/share/doc/mailscanner/sendmail \
usr/share/man/man5 \
usr/share/man/man8 \
usr/share/MailScanner \
etc \
etc/default \
etc/cron.daily \
var/lock/subsys \
var/run/MailScanner \
var/lib/MailScanner \
var/spool/MailScanner/archive \
var/spool/MailScanner/incoming \
var/spool/MailScanner/quarantine

#   cp -p bin/MailScanner $(d)/usr/sbin/
sed -e 's,/opt/MailScanner/lib,/usr/share/MailScanner,g' \
bin/MailScanner > $(d)/usr/sbin/MailScanner
chmod 755 $(d)/usr/sbin/MailScanner

sed -e 's,/opt/MailScanner/bin,/usr/sbin,g' \
-e 's,/opt/MailScanner/etc,/etc/MailScanner,g' \
bin/check_mailscanner > $(d)/usr/sbin/check_mailscanner
chmod 755 $(d)/usr/sbin/check_mailscanner

cp -p bin/df2mbox $(d)/usr/sbin/

cp -p bin/upgrade_MailScanner_conf $(d)/usr/sbin/
pod2man --section=8 bin/upgrade_MailScanner_conf
--center=MailScanner \
> $(d)/usr/share/man/man8/upgrade_MailScanner_conf.8

sed -e 's,/opt/MailScanner/bin,/usr/sbin,g' \
-e 's,/tmp/MailScanner,/var/lock/subsys/MailScanner,g' \
bin/update_virus_scanners >
$(d)/usr/sbin/update_virus_scanners
chmod 755 $(d)/usr/sbin/update_virus_scanners

chown mail.mail $(d)/var/lib/MailScanner
chmod 750 $(d)/var/lib/MailScanner

   

Re: Sendmail>MailScanner>SpamAssassin:WebMin

2004-02-18 Thread Martin Foster




Hello Dave,

/etc/mailscanner is artifact from stable.   try 'dpkg -s /etc/mailscanner/mailscanner.conf' to verify package ownership, then 'dpkg --purge mailscanner' to rid yourself of it.  Note that this will also remove any later versions, like your current testing package.

Now, for the backport.  

The mailscanner 4.26.7 debian testing/unstable needs a bit more magic than prior versions for backporting, as pulls some ucf magic that doesn't work on stable's version of ucf.

Luckly, this can all be worked around by making package changes.  Use the debian/rules and debian/control files appended below the signature, and you should be off to the races.

Other little details on how I build my backports for mailscanner:

apt-get -t unstable source mailscanner (/etc/apt/sources.list has stable deb sources, and unstable deb-src entries)
cd mailscanner-4.26.7
dch -i
vi debian/rules
vi debian/control
make -f debian/rules clean
make -f debian/rules binary

If all goes well, you'll have a much happier mailscanner package.  
Edit /etc/MailScanner/MailScanner.conf, then /etc/default/mailscanner prior to starting. 

You will also need a backport of libnet-cidr-perl-0.09 for MailScanner 4.26.7 to work.   It also needs some magic in debian/rules and debian/control.  You could get this using CPAN, but that defeats the purpose of a package management system.  

I can't help you with the webmin plugin as I hit the configuration files directly, but I'll assume that you'll need it's testing/unstable equivalent.

You'll also want to ensure that 'Notify Senders = no' in MailScanner.conf.  The package and upstream have this set to 'yes', which is a *major* source of spam.  I've filed a bug report with the package maintainer to have this defaulted to 'no', but I'm unsure if he'll act on it.  

Finally, if you use sendmail, you'll need to setup two daemons, one to send the inbound mail through to a queue directory for MailScanner, and another to deliver once mailscanner is done.   See the sendmail start script below. 

Good luck, feel free to contact me if you have any other issues.  




-- 


Martin Foster   Phone:   +61 3 9674 7500
Systems Engineer   P A C I F I CFax: +61 3 9698 4959
Pacific Internet (Australia)  I N T E R N E T   
http://www.pacific.net.au/  NASDAQ:  PCNTF







---[MailScanner debian/rules]--
#!/usr/bin/make -f
# Sample debian/rules that uses debhelper.
# GNU copyright 1997 to 1999 by Joey Hess.

# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1

# This is the debhelper compatability version to use.
export DH_COMPAT=4

p = mailscanner
d = debian/$(p)

PWD = $(shell pwd)

patch_stamp = patch-stamp
patchdir = debian/patches

build: $(patch_stamp) build-stamp
build-stamp:
    dh_testdir
    : # don't build anything
    touch build-stamp

clean: unpatch
    dh_testdir
    dh_testroot
    rm -f *-stamp
    rm -rf bin/tnef*
    rm -rf ../$(shell basename $(PWD)).orig/bin/tnef*
    -find . ../$(shell basename $(PWD)).orig -name '.#*' | xargs rm -f
    dh_clean

install: build
    dh_testdir
    dh_testroot
    dh_clean -k
    dh_installdirs \
    usr/sbin \
    usr/share/doc/mailscanner/html \
    usr/share/doc/mailscanner/examples \
    usr/share/doc/mailscanner/exim \
    usr/share/doc/mailscanner/sendmail \
    usr/share/man/man5 \
    usr/share/man/man8 \
    usr/share/MailScanner \
    etc \
    etc/default \
    etc/cron.daily \
    var/lock/subsys \
    var/run/MailScanner \
    var/lib/MailScanner \
    var/spool/MailScanner/archive \
    var/spool/MailScanner/incoming \
    var/spool/MailScanner/quarantine

#   cp -p bin/MailScanner $(d)/usr/sbin/
    sed -e 's,/opt/MailScanner/lib,/usr/share/MailScanner,g' \
    bin/MailScanner > $(d)/usr/sbin/MailScanner
    chmod 755 $(d)/usr/sbin/MailScanner

    sed -e 's,/opt/MailScanner/bin,/usr/sbin,g' \
    -e 's,/opt/MailScanner/etc,/etc/MailScanner,g' \
    bin/check_mailscanner > $(d)/usr/sbin/check_mailscanner
    chmod 755 $(d)/usr/sbin/check_mailscanner

    cp -p bin/df2mbox $(d)/usr/sbin/

    cp -p bin/upgrade_MailScanner_conf $(d)/usr/sbin/
    pod2man --section=8 bin/upgrade_MailScanner_conf --center=MailScanner \
    > $(d)/usr/share/man/man8/upgrade_MailScanner_conf.8

    sed -e 's,/opt/MailScanner/bin,/usr/sbin,g' \
    -e 's,/tmp/MailScanner,/var/lock/subsys/MailScanner,g' \
    bin/update_virus_scanners > $(d)/usr/sbin/update_virus_scanners
    chmod 755 $(d)/usr/sbin/update_virus_scanners

    chown mail.mail $(d)/var/lib/MailScanner
    chmod 750 $(d)/var/lib/MailScann

RE: HTTP latency ..urgent

2004-02-18 Thread Roger.Lynch
Hi,

Another piece of software which will do this and much more is called
smokeping, it also graphs the results for you.

Here is the URL http://people.ee.ethz.ch/~oetiker/webtools/smokeping/

Cheers

Roger Lynch
Voice Network Support
IT Services, CSIRO

Phone: (02) 6276 6679
Email: [EMAIL PROTECTED]


-Original Message-
From: Stephane Bortzmeyer [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, 18 February 2004 9:39 PM
To: suhail
Cc: firewall1 debian; isp debian
Subject: Re: HTTP latency ..urgent

On Wed, Feb 18, 2004 at 01:40:00AM -0800,
 suhail <[EMAIL PROTECTED]> wrote 
 a message of 35 lines which said:

> I am performing an experiment of effects of DDoS attacks on certain
> metrics like HTTP web latency , DNS latency. I need to know how does
> one measure the HTTP latency(time between issuing a HTTP request and
> receiving the response) in Linux.

http://echoping.sourceforge.net/";
command="apt-get install echoping"/>


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact
[EMAIL PROTECTED]




RE: HTTP latency ..urgent

2004-02-18 Thread Roger.Lynch
Hi,

Another piece of software which will do this and much more is called
smokeping, it also graphs the results for you.

Here is the URL http://people.ee.ethz.ch/~oetiker/webtools/smokeping/

Cheers

Roger Lynch
Voice Network Support
IT Services, CSIRO

Phone: (02) 6276 6679
Email: [EMAIL PROTECTED]


-Original Message-
From: Stephane Bortzmeyer [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, 18 February 2004 9:39 PM
To: suhail
Cc: firewall1 debian; isp debian
Subject: Re: HTTP latency ..urgent

On Wed, Feb 18, 2004 at 01:40:00AM -0800,
 suhail <[EMAIL PROTECTED]> wrote 
 a message of 35 lines which said:

> I am performing an experiment of effects of DDoS attacks on certain
> metrics like HTTP web latency , DNS latency. I need to know how does
> one measure the HTTP latency(time between issuing a HTTP request and
> receiving the response) in Linux.

http://echoping.sourceforge.net/";
command="apt-get install echoping"/>


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact
[EMAIL PROTECTED]


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Sendmail>MailScanner>SpamAssassin:WebMin

2004-02-18 Thread Dave's List Addy
Hi

We are setting up a Mailhub for our hosting clients, want to send mail to
our Debian box, Woody with BF4, and then redirect mail to the hosting/email
servers (we use Cobalt Raq's for the clients.)

We installed sendmail from stable, Mailscanner and SpamAssassin from Testing
using the instructions from the MailScanner website.

We felt we did everything correct except now we see 2 directories for
MailScanner

 /etc/MailScanner
 /etc/mailscanner

I am thinking we want the /etc/MailScanner as the true dir. Is this some
left over items from doing the MailScanner install from stable first, then
removing with apt and doing a testing install?? This was the method they
recommended at MailScanner.

Webmin seems to be picking up the lower case mail scanner. But when we go in
to make modifications it kills MailScanner with the following error

Cannot open config file /opt/MailScanner/etc/MailScanner.conf, no such file
or directory at /usr/share/MailScanner/MailScanner/Config.pm line 535.

Anyone have any hints or help to aid us??
-- 
Thanks!!
David Thurman
List Only at Web Presence Group Net





Sendmail>MailScanner>SpamAssassin:WebMin

2004-02-18 Thread Dave's List Addy
Hi

We are setting up a Mailhub for our hosting clients, want to send mail to
our Debian box, Woody with BF4, and then redirect mail to the hosting/email
servers (we use Cobalt Raq's for the clients.)

We installed sendmail from stable, Mailscanner and SpamAssassin from Testing
using the instructions from the MailScanner website.

We felt we did everything correct except now we see 2 directories for
MailScanner

 /etc/MailScanner
 /etc/mailscanner

I am thinking we want the /etc/MailScanner as the true dir. Is this some
left over items from doing the MailScanner install from stable first, then
removing with apt and doing a testing install?? This was the method they
recommended at MailScanner.

Webmin seems to be picking up the lower case mail scanner. But when we go in
to make modifications it kills MailScanner with the following error

Cannot open config file /opt/MailScanner/etc/MailScanner.conf, no such file
or directory at /usr/share/MailScanner/MailScanner/Config.pm line 535.

Anyone have any hints or help to aid us??
-- 
Thanks!!
David Thurman
List Only at Web Presence Group Net



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: PHP Nuke 7.0

2004-02-18 Thread Richard Brooks
Quick update . . .

After sitting here thinking about it for a moment, I did ifconfig and got
the ip number of the ppp0 connection and accessed that.

It was able to make the username without it reverting to null, but wouldn't
accept the activation unless I changed the link to show the IP number and
not tactful.ods.org.

Is it beginning to sound like a DNS/Apache issue ?  Any hints would be
appreciated.

Regards,
Richard

- Original Message -
From: "Richard Brooks" <[EMAIL PROTECTED]>
To: 
Sent: Wednesday, February 18, 2004 11:10 PM
Subject: PHP Nuke 7.0


> I am using debian 3.0, updated to testing.
>
> The problem I have is when the site is accessed over the Internet, and
> someone tries to create a new user, the username they have chosen is wiped
> out and " null " is in it's place.
>
> The problem doesn't occur when accessing it via the LAN.
>
> At first it was the wrong version of PHP at fault ( I thought ) which
> neccessitated the change to testing for the later version.
>
> The domain name is through ods.org, and resolves fine for email & ssh, and
> apache
>
> http://tactful.ods.org/uptime.html   ud display
>
> http://tactful.ods.org/phpsysinfo/sysinfo - so I know PHP is
working
>
> http://tactful.ods.org/server-info
> http://tactful.ods.org/server-statusapache info - enabled so you
can
> look to help :)
>
> http://tactful.ods.org/
> http://tactful.ods.org/tlctechnology/the two websites not working
so
> far
>
> I think it can be one of the following :-
>
> 1.Networking - problem with using localhost
>
> 2.MySQL Config - do I need to make any adjustments to .conf files ?
>
> 3.I should stick to html
>
> http://phpnuke.org  is the website I got it from originally.
>
> Any comments or suggestions would be highly appreciated.
>
> Regards,
> Richard
>
> (no comments about posting from XP - please )
>
>
> --
> To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> with a subject of "unsubscribe". Trouble? Contact
[EMAIL PROTECTED]
>




PHP Nuke 7.0

2004-02-18 Thread Richard Brooks
I am using debian 3.0, updated to testing.

The problem I have is when the site is accessed over the Internet, and
someone tries to create a new user, the username they have chosen is wiped
out and " null " is in it's place.

The problem doesn't occur when accessing it via the LAN.

At first it was the wrong version of PHP at fault ( I thought ) which
neccessitated the change to testing for the later version.

The domain name is through ods.org, and resolves fine for email & ssh, and
apache

http://tactful.ods.org/uptime.html   ud display

http://tactful.ods.org/phpsysinfo/sysinfo - so I know PHP is working

http://tactful.ods.org/server-info
http://tactful.ods.org/server-statusapache info - enabled so you can
look to help :)

http://tactful.ods.org/
http://tactful.ods.org/tlctechnology/the two websites not working so
far

I think it can be one of the following :-

1.Networking - problem with using localhost

2.MySQL Config - do I need to make any adjustments to .conf files ?

3.I should stick to html

http://phpnuke.org  is the website I got it from originally.

Any comments or suggestions would be highly appreciated.

Regards,
Richard

(no comments about posting from XP - please )




Re: protecting mail server from DOS

2004-02-18 Thread Jose Celestino
Words by Lucas Albers [Tue, Feb 17, 2004 at 12:25:17AM -0700]:
> Just recently I had my mail server swamped by a single virus machine that
> kept resending a virus message, ignoring my 5xx rejection code.
> 
> Is it possbile to block this via an iptables smtp max connection throttle
> code?
> 
> How do you handle this?
> Via iptables?, or via qmail/postfix/exim/sendmail internal coding?
> 

Null route 'em. That will keep them busy for quite a long time.

> Does anyone else encounter this problem on a regular basis?

No. And I find it hard that a client machine can so easily disturb your
service.

> How do you solve this?
> 

null route.

-- 
Jose Celestino | http://xpto.org/~japc/files/japc-pgpkey.asc

"...the law, cold and aloof by its very nature, has no access to
 the passions that might justify the cruel act of murder." -- SADE




Re: HTTP latency ..urgent

2004-02-18 Thread Stephane Bortzmeyer
On Wed, Feb 18, 2004 at 01:40:00AM -0800,
 suhail <[EMAIL PROTECTED]> wrote 
 a message of 35 lines which said:

> I am performing an experiment of effects of DDoS attacks on certain
> metrics like HTTP web latency , DNS latency. I need to know how does
> one measure the HTTP latency(time between issuing a HTTP request and
> receiving the response) in Linux.

http://echoping.sourceforge.net/";
command="apt-get install echoping"/>




Re: PHP Nuke 7.0

2004-02-18 Thread Richard Brooks
Quick update . . .

After sitting here thinking about it for a moment, I did ifconfig and got
the ip number of the ppp0 connection and accessed that.

It was able to make the username without it reverting to null, but wouldn't
accept the activation unless I changed the link to show the IP number and
not tactful.ods.org.

Is it beginning to sound like a DNS/Apache issue ?  Any hints would be
appreciated.

Regards,
Richard

- Original Message -
From: "Richard Brooks" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, February 18, 2004 11:10 PM
Subject: PHP Nuke 7.0


> I am using debian 3.0, updated to testing.
>
> The problem I have is when the site is accessed over the Internet, and
> someone tries to create a new user, the username they have chosen is wiped
> out and " null " is in it's place.
>
> The problem doesn't occur when accessing it via the LAN.
>
> At first it was the wrong version of PHP at fault ( I thought ) which
> neccessitated the change to testing for the later version.
>
> The domain name is through ods.org, and resolves fine for email & ssh, and
> apache
>
> http://tactful.ods.org/uptime.html   ud display
>
> http://tactful.ods.org/phpsysinfo/sysinfo - so I know PHP is
working
>
> http://tactful.ods.org/server-info
> http://tactful.ods.org/server-statusapache info - enabled so you
can
> look to help :)
>
> http://tactful.ods.org/
> http://tactful.ods.org/tlctechnology/the two websites not working
so
> far
>
> I think it can be one of the following :-
>
> 1.Networking - problem with using localhost
>
> 2.MySQL Config - do I need to make any adjustments to .conf files ?
>
> 3.I should stick to html
>
> http://phpnuke.org  is the website I got it from originally.
>
> Any comments or suggestions would be highly appreciated.
>
> Regards,
> Richard
>
> (no comments about posting from XP - please )
>
>
> --
> To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> with a subject of "unsubscribe". Trouble? Contact
[EMAIL PROTECTED]
>


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



PHP Nuke 7.0

2004-02-18 Thread Richard Brooks
I am using debian 3.0, updated to testing.

The problem I have is when the site is accessed over the Internet, and
someone tries to create a new user, the username they have chosen is wiped
out and " null " is in it's place.

The problem doesn't occur when accessing it via the LAN.

At first it was the wrong version of PHP at fault ( I thought ) which
neccessitated the change to testing for the later version.

The domain name is through ods.org, and resolves fine for email & ssh, and
apache

http://tactful.ods.org/uptime.html   ud display

http://tactful.ods.org/phpsysinfo/sysinfo - so I know PHP is working

http://tactful.ods.org/server-info
http://tactful.ods.org/server-statusapache info - enabled so you can
look to help :)

http://tactful.ods.org/
http://tactful.ods.org/tlctechnology/the two websites not working so
far

I think it can be one of the following :-

1.Networking - problem with using localhost

2.MySQL Config - do I need to make any adjustments to .conf files ?

3.I should stick to html

http://phpnuke.org  is the website I got it from originally.

Any comments or suggestions would be highly appreciated.

Regards,
Richard

(no comments about posting from XP - please )


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: protecting mail server from DOS

2004-02-18 Thread Jose Celestino
Words by Lucas Albers [Tue, Feb 17, 2004 at 12:25:17AM -0700]:
> Just recently I had my mail server swamped by a single virus machine that
> kept resending a virus message, ignoring my 5xx rejection code.
> 
> Is it possbile to block this via an iptables smtp max connection throttle
> code?
> 
> How do you handle this?
> Via iptables?, or via qmail/postfix/exim/sendmail internal coding?
> 

Null route 'em. That will keep them busy for quite a long time.

> Does anyone else encounter this problem on a regular basis?

No. And I find it hard that a client machine can so easily disturb your
service.

> How do you solve this?
> 

null route.

-- 
Jose Celestino | http://xpto.org/~japc/files/japc-pgpkey.asc

"...the law, cold and aloof by its very nature, has no access to
 the passions that might justify the cruel act of murder." -- SADE


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



HTTP latency ..urgent

2004-02-18 Thread suhail

Hi,
I am performing an experiment of effects of DDoS attacks on certain metrics like HTTP web latency , DNS latency. I need to know how does one measure the HTTP latency(time between issuing a HTTP request and receiving the response) in Linux.
I would also be happy if anyone could suggest any other metrics which one can measure that would be affected in a  DDoS scenarios. 
Help truly truly appreciated.
Thanks,
Suhail.
 
Do you Yahoo!?
Yahoo! Mail SpamGuard - Read only the mail you want.

Re: HTTP latency ..urgent

2004-02-18 Thread Stephane Bortzmeyer
On Wed, Feb 18, 2004 at 01:40:00AM -0800,
 suhail <[EMAIL PROTECTED]> wrote 
 a message of 35 lines which said:

> I am performing an experiment of effects of DDoS attacks on certain
> metrics like HTTP web latency , DNS latency. I need to know how does
> one measure the HTTP latency(time between issuing a HTTP request and
> receiving the response) in Linux.

http://echoping.sourceforge.net/";
command="apt-get install echoping"/>


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



HTTP latency ..urgent

2004-02-18 Thread suhail

Hi,
I am performing an experiment of effects of DDoS attacks on certain metrics like HTTP web latency , DNS latency. I need to know how does one measure the HTTP latency(time between issuing a HTTP request and receiving the response) in Linux.
I would also be happy if anyone could suggest any other metrics which one can measure that would be affected in a  DDoS scenarios. 
Help truly truly appreciated.
Thanks,
Suhail.
 
Do you Yahoo!?
Yahoo! Mail SpamGuard - Read only the mail you want.

Re: What is the best mailling list manager for qmail and Domain Tech. Control ?

2004-02-18 Thread Craig Sanders
On Mon, Feb 16, 2004 at 08:19:20AM -0500, John Keimel wrote:
> On Mon, Feb 16, 2004 at 07:17:57AM +0100, Thomas GOIRAND wrote:
> > I wish to implement mailling list management to my software for all virtual
> > domains. DTC uses qmail, so it has to be compatible with it. DTC will
> > generate all config file for the given mailling list manager.
> > 
> Ecartis (formerly known as listar) works pretty well for me, but the
> documentation for it is _still_ woefully inferior.

i still use ecartis for a few hundred lists, but have moved away from it on
general principles.  it started out with a lot of promise, but very little
serious work has been done on it in recent years.

one major problem is that it still has serious bugs with mime & message
attachments, making it useless for any list where subscribers habitually
PGP-sign their messages (any geek list is bound to have a few users that do
that).  i tried using it for the debian-melb list but had to abandon 
the attempt and switch to majordomo because of this.

craig

ps: qmail is a bad idea.  postfix is better.




Re: What is the best mailling list manager for qmail and Domain Tech. Control ?

2004-02-18 Thread Craig Sanders
On Mon, Feb 16, 2004 at 09:35:00PM +0100, Joris wrote:
> >Majordomo is good, but I think you'd like "mailman" better.
> >
> >Web interface for both users and administrators, very configurable, etc.
> 
> I'd recommend mailman too, but I have to warn for it's archive function.

all list managers suck, but in different ways.

> Afaik mailman is only capable of archiving messages in Mbox format.

if only that was true.  it's archiving program (pipermail) creates something
that is *almost* but not quite mbox.  to load the archive into an mbox mail
reader (e.g. mutt or elm) you have to open the file in a text editor and change
every From_ line so that it conforms to mbox format.

> Yes, that same dreadfull mbox format that has kept all mail related 
> applications slow for years.

you don't know what you're talking about.

there is only one circumstance where mbox is slower than maildir, and
manipulating archives is not it.  reading mail with a crappy pop daemon (like
qpopper) that copies the entire mbox to /tmp is where mbox is slower, and
that's mostly because qpopper sucks rather than mbox itself sucking.  better
quality pop daemons (e.g. cucipop or anything newer) are not noticably slower
on reasonably-sized mboxes.

where maildir shines is when you have many thousands of messages and you need
direct access to just one of them.  maildir can be much faster at that IFF
you're not on a file system that sucks (like ext2 or ext3) - you really need a
fs that doesn't suck when you have thousands of files in one directory: xfs or
reiserfs, for example.

> I've had a mailing list's archive grow over a couple 100MB's, and mailman
> started bogging down the system. (took quite a while to realise what was
> going on)

i have numerous majordomo based list archives, as well as my own personal mail
archives, all in mbox format(*).  there are no speed problems with any of them.
pipermail is broken.

(*) mbox is, IMO, a superior format for archiving.  one file per archive is 
better
than squillions of little files.

craig