Re: portslave

2001-10-15 Thread I. Forbes

Hello Russell 

On 15 Oct 2001, at 17:58, Russell Coker wrote:

> On Mon, 15 Oct 2001 11:18, I. Forbes wrote:

> > Perhaps the same or a similar configuration file could tell portslave
> > how to handle incoming calls detected by the modem as being
> > voice or fax as opposed to data calls.
 
> Sure, I could add that.  Write a spec.

This is an opertunity I can't pass up.  Give me a week or so to have 
a good look through mgetty, faxgetty etc.

> > Is there a documentation for the new options on the patched pppd?
> 
> There is in the latest version which was uploaded to Debian and Sourceforge 
> last night.

Thanks, I will have a look.

> It shouldn't be that difficult to write some code that can recognise FAX as 
> well as PPP, they are very different...

The fax and data differentiation is handled by the modem - they 
have different handshake sequences. If the phone line is noisy 
and/or the modem firmware is a bit buggy, the modem does not 
correctly identify the handshake.  If the modem gets this wrong, then 
the "getty" program can't help.

This does not mean that we should not put the facility into portslave.

Regards

Ian



-
Ian Forbes ZSD
http://www.zsd.co.za
Office: +27 +21 683-1388  Fax: +27 +21 64-1106
Snail Mail: P.O. Box 46827, Glosderry, 7702, South Africa
-


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




Re: portslave

2001-10-15 Thread Russell Coker
On Mon, 15 Oct 2001 11:18, I. Forbes wrote:
> > I have been thinking of implementing a way of telling Portslave to pass
> > the port to another program to allow minicom or a FAX transmission to
> > take the port.
>
> I think the answer lies in by-passing radius.  If we had a facility like
> mgetty's "login.config" file which could decide whether to run a
> radius based program, or a local one instead, the flexibility would
> go up by an order of magnitude.  It would also make hacks like my
> UUCP one work.
>
> Perhaps the same or a similar configuration file could tell portslave
> how to handle incoming calls detected by the modem as being
> voice or fax as opposed to data calls.

Sure, I could add that.  Write a spec.

> > > Is it possible to call up the patched pppd from mgetty and use
> > > radius authentication and accounting?
> >
> > Sure you could have the mgetty detect the PPP frames and run pppd with
> > appropriate parameters to load the Portslave library.
>
> Is there a documentation for the new options on the patched pppd?

There is in the latest version which was uploaded to Debian and Sourceforge 
last night.

> In my opinion Hylfax is by far the best fax package.  It allows Class
> 1 or Class 2 modems to be used. Mgetty's fax facility only allows
> Class 2.  As over 90% of domestic quality 56k modems either have
> no Class 2 support, or Class 2 that is so buggy that it is not worth
> using this is a big plus factor.  (Almost all Windows faxing software
> uses Class 1 mode.)
>
> Hylafax has a "faxgetty" program that answers the modem.  It allows
> dial-out like mgetty, but it also communicates with the hylafax
> daemon to report on the status of the modem.  It has facilities for
> calling alternate programs for voice and data calls.  I am not sure if
> it can detect ppp frames.

It shouldn't be that difficult to write some code that can recognise FAX as 
well as PPP, they are very different...

-- 
http://www.coker.com.au/bonnie++/ Bonnie++ hard drive benchmark
http://www.coker.com.au/postal/   Postal SMTP/POP benchmark
http://www.coker.com.au/projects.html Projects I am working on
http://www.coker.com.au/~russell/ My home page




Re: Webalizer SOS

2001-10-15 Thread Russell Coker
On Mon, 15 Oct 2001 11:30, Marcin Sochacki wrote:
> > Does anyone know how to get webalizer to
> > re-read all the apache log files ?
> >
> > Even the gunzipped ones ?
>
> Remove the webalizer.current file and then specify all the logfiles,
> one by one on the command line. Eg.:
>
> webalizer -c /etc/some.webalizer.conf /var/log/apache/access.log.3.gz
> webalizer -c /etc/some.webalizer.conf /var/log/apache/access.log.2.gz
> webalizer -c /etc/some.webalizer.conf /var/log/apache/access.log.1.gz
> webalizer -c /etc/some.webalizer.conf /var/log/apache/access.log.0
> webalizer -c /etc/some.webalizer.conf /var/log/apache/access.log
>
> Notice the reversed order -- the logfiles must be chronological.

An alternative is:
clfmerge /var/log/apache/access.log* | webalizer -c /etc/whatever -

clfmerge from my logtools package will use exactly the same algorithm as you 
would use if I gave you several sets of ordered cards to merge into an 
ordered set.  So it's thousands of times faster than doing "cat * | sort" 
type operations and uses hardly any memory.

clfmerge was written for situations where you have several web servers in a 
load-balancing setup and want to process all their logs together.  But I also 
use it for single-server machines to solve the situation where web logs are 
only partially ordered.

-- 
http://www.coker.com.au/bonnie++/ Bonnie++ hard drive benchmark
http://www.coker.com.au/postal/   Postal SMTP/POP benchmark
http://www.coker.com.au/projects.html Projects I am working on
http://www.coker.com.au/~russell/ My home page




Re: portslave

2001-10-15 Thread Russell Coker

On Mon, 15 Oct 2001 11:18, I. Forbes wrote:
> > I have been thinking of implementing a way of telling Portslave to pass
> > the port to another program to allow minicom or a FAX transmission to
> > take the port.
>
> I think the answer lies in by-passing radius.  If we had a facility like
> mgetty's "login.config" file which could decide whether to run a
> radius based program, or a local one instead, the flexibility would
> go up by an order of magnitude.  It would also make hacks like my
> UUCP one work.
>
> Perhaps the same or a similar configuration file could tell portslave
> how to handle incoming calls detected by the modem as being
> voice or fax as opposed to data calls.

Sure, I could add that.  Write a spec.

> > > Is it possible to call up the patched pppd from mgetty and use
> > > radius authentication and accounting?
> >
> > Sure you could have the mgetty detect the PPP frames and run pppd with
> > appropriate parameters to load the Portslave library.
>
> Is there a documentation for the new options on the patched pppd?

There is in the latest version which was uploaded to Debian and Sourceforge 
last night.

> In my opinion Hylfax is by far the best fax package.  It allows Class
> 1 or Class 2 modems to be used. Mgetty's fax facility only allows
> Class 2.  As over 90% of domestic quality 56k modems either have
> no Class 2 support, or Class 2 that is so buggy that it is not worth
> using this is a big plus factor.  (Almost all Windows faxing software
> uses Class 1 mode.)
>
> Hylafax has a "faxgetty" program that answers the modem.  It allows
> dial-out like mgetty, but it also communicates with the hylafax
> daemon to report on the status of the modem.  It has facilities for
> calling alternate programs for voice and data calls.  I am not sure if
> it can detect ppp frames.

It shouldn't be that difficult to write some code that can recognise FAX as 
well as PPP, they are very different...

-- 
http://www.coker.com.au/bonnie++/ Bonnie++ hard drive benchmark
http://www.coker.com.au/postal/   Postal SMTP/POP benchmark
http://www.coker.com.au/projects.html Projects I am working on
http://www.coker.com.au/~russell/ My home page


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




Re: Webalizer SOS

2001-10-15 Thread Russell Coker

On Mon, 15 Oct 2001 11:30, Marcin Sochacki wrote:
> > Does anyone know how to get webalizer to
> > re-read all the apache log files ?
> >
> > Even the gunzipped ones ?
>
> Remove the webalizer.current file and then specify all the logfiles,
> one by one on the command line. Eg.:
>
> webalizer -c /etc/some.webalizer.conf /var/log/apache/access.log.3.gz
> webalizer -c /etc/some.webalizer.conf /var/log/apache/access.log.2.gz
> webalizer -c /etc/some.webalizer.conf /var/log/apache/access.log.1.gz
> webalizer -c /etc/some.webalizer.conf /var/log/apache/access.log.0
> webalizer -c /etc/some.webalizer.conf /var/log/apache/access.log
>
> Notice the reversed order -- the logfiles must be chronological.

An alternative is:
clfmerge /var/log/apache/access.log* | webalizer -c /etc/whatever -

clfmerge from my logtools package will use exactly the same algorithm as you 
would use if I gave you several sets of ordered cards to merge into an 
ordered set.  So it's thousands of times faster than doing "cat * | sort" 
type operations and uses hardly any memory.

clfmerge was written for situations where you have several web servers in a 
load-balancing setup and want to process all their logs together.  But I also 
use it for single-server machines to solve the situation where web logs are 
only partially ordered.

-- 
http://www.coker.com.au/bonnie++/ Bonnie++ hard drive benchmark
http://www.coker.com.au/postal/   Postal SMTP/POP benchmark
http://www.coker.com.au/projects.html Projects I am working on
http://www.coker.com.au/~russell/ My home page


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




vpopmail pop and apop

2001-10-15 Thread seezov
hi debian's. I use qmail-vpopmail and I want that user can take they mail
with prot. pop an also qith prot. apop (the same people can use pop an
apop)

it is posible ?

by by




Re: qmail

2001-10-15 Thread Jose Celestino
Thus spake Pedro Braga, on Mon, Oct 15, 2001 at 06:10:16PM +0100:
> Hello,
> I've Debian 2.2 r3 on my servers and I use sendmail, but I want to try
> "qmail"! I've been on "http://www.qmail.org"; and the ".deb" link  in the
> "top.html" page leads me to "top.html#200101270" instead of the file
> ".deb".
> 
> Q.: is there a deb package with "qmail"?
> 

Yep, a src package:
 
stable
   qmail-src 1.03-14   (266.2k)
   
 Source only package for building qmail
 binary package

http://packages.debian.org/stable/mail/qmail-src.html

> I can always get the "tgz" file, but it would me much better the debian
> package... :-)
>

Blame djb.

> --
> Pedro Braga
> Eng. Telec./Programador
> http://www.iportalmais.pt
> 
> 

-- 
Jose Celestino <[EMAIL PROTECTED]>
-
Weekends were made for programming.
- Karl Lehenbauer




qmail

2001-10-15 Thread Pedro Braga


    Hello,
I've Debian 2.2 r3 on my servers and I use sendmail, but I want to
try "qmail"! I've been on "http://www.qmail.org" and the ".deb" link 
in the "top.html" page leads me to "top.html#200101270" instead of the
file ".deb".
Q.: is there a deb package with "qmail"?
I can always get the "tgz" file, but it would me much better the debian
package... :-)
-- 
Pedro Braga
Eng. Telec./Programador
http://www.iportalmais.pt
 


vpopmail pop and apop

2001-10-15 Thread seezov

hi debian's. I use qmail-vpopmail and I want that user can take they mail
with prot. pop an also qith prot. apop (the same people can use pop an
apop)

it is posible ?

by by


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




Re: Portable Web Server Mirror

2001-10-15 Thread Russell Coker
On Sun, 14 Oct 2001 17:59, Peter Billson wrote:
>   She's already got a Thinkpad running woody and I'd like to have the
> her be able to just sync the notebook up to the real server and away
> they go. The snyc process should add and delete any new domains,
> content, etc. during the sync process with little or no interaction.
>
>   The notebook would need to be totally stand alone, running all needed
> services (MySQL, DNS, Apache, etc.) but still be able to interact with
> the Web server (which means I can't simply clone the whole machine).

Rsync of course is what you want to use for the content transfer, but I guess 
you already knew that.

I suggest using Apache bulk virtual hosting for the multiple domains. That 
means you can have the same Apache config on both machines.

Now you want to have bind installed on the web server with copies of all the 
DNS for zones it serves.  After copying that data you could run a sed script 
over the zone files that changes the IP address to 127.0.0.1.  Then all 
requests go to the local Apache installation which looks up the directory 
using bulk virtual hosting.

-- 
http://www.coker.com.au/bonnie++/ Bonnie++ hard drive benchmark
http://www.coker.com.au/postal/   Postal SMTP/POP benchmark
http://www.coker.com.au/projects.html Projects I am working on
http://www.coker.com.au/~russell/ My home page




Re: qmail

2001-10-15 Thread Jose Celestino

Thus spake Pedro Braga, on Mon, Oct 15, 2001 at 06:10:16PM +0100:
> Hello,
> I've Debian 2.2 r3 on my servers and I use sendmail, but I want to try
> "qmail"! I've been on "http://www.qmail.org"; and the ".deb" link  in the
> "top.html" page leads me to "top.html#200101270" instead of the file
> ".deb".
> 
> Q.: is there a deb package with "qmail"?
> 

Yep, a src package:
 
stable
   qmail-src 1.03-14   (266.2k)
   
 Source only package for building qmail
 binary package

http://packages.debian.org/stable/mail/qmail-src.html

> I can always get the "tgz" file, but it would me much better the debian
> package... :-)
>

Blame djb.

> --
> Pedro Braga
> Eng. Telec./Programador
> http://www.iportalmais.pt
> 
> 

-- 
Jose Celestino <[EMAIL PROTECTED]>
-
Weekends were made for programming.
- Karl Lehenbauer


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




qmail

2001-10-15 Thread Pedro Braga


    Hello,
I've Debian 2.2 r3 on my servers and I use sendmail, but I want to
try "qmail"! I've been on "http://www.qmail.org" and the ".deb" link 
in the "top.html" page leads me to "top.html#200101270" instead of the
file ".deb".
Q.: is there a deb package with "qmail"?
I can always get the "tgz" file, but it would me much better the debian
package... :-)
-- 
Pedro Braga
Eng. Telec./Programador
http://www.iportalmais.pt
 


Re: apt

2001-10-15 Thread Bart-Jan Vrielink
On Sat, 13 Oct 2001, Kevin wrote:

> is there a way to lock a package so that apt/dpkg wont update it?
>
> i use a bofh'd bash, but it keeps getting overwritten by new bash
> packages.  i suppose i could chattr +i it but im hoping theres a more
> elegant solution.

If your bash version is also a dpkg package, then putting it on hold is
the way to go. If it's just a single binary, then dpkg-divert can help.

-- 
Tot ziens,

Bart-Jan




Re: Webalizer SOS

2001-10-15 Thread Marcin Sochacki
On Mon, Oct 15, 2001 at 10:16:41AM +0200, Craig wrote:
> Hi debian community
> 
> Does anyone know how to get webalizer to
> re-read all the apache log files ?
> 
> Even the gunzipped ones ?

Remove the webalizer.current file and then specify all the logfiles,
one by one on the command line. Eg.:

webalizer -c /etc/some.webalizer.conf /var/log/apache/access.log.3.gz
webalizer -c /etc/some.webalizer.conf /var/log/apache/access.log.2.gz
webalizer -c /etc/some.webalizer.conf /var/log/apache/access.log.1.gz
webalizer -c /etc/some.webalizer.conf /var/log/apache/access.log.0
webalizer -c /etc/some.webalizer.conf /var/log/apache/access.log

Notice the reversed order -- the logfiles must be chronological.

Marcin

-- 
 +-+
 |  Sekcja Obslugi Informatycznej Biblioteki Glownej  !!!  !!! .!!  +
 |  Uniwersytet Gdanski   !!!  !!! !!!  |
 +  tel. (058) 5509436!!!  !!! !!!  `!! |
  `!!' `!!' |
  +-+




Re: Portable Web Server Mirror

2001-10-15 Thread Russell Coker

On Sun, 14 Oct 2001 17:59, Peter Billson wrote:
>   She's already got a Thinkpad running woody and I'd like to have the
> her be able to just sync the notebook up to the real server and away
> they go. The snyc process should add and delete any new domains,
> content, etc. during the sync process with little or no interaction.
>
>   The notebook would need to be totally stand alone, running all needed
> services (MySQL, DNS, Apache, etc.) but still be able to interact with
> the Web server (which means I can't simply clone the whole machine).

Rsync of course is what you want to use for the content transfer, but I guess 
you already knew that.

I suggest using Apache bulk virtual hosting for the multiple domains. That 
means you can have the same Apache config on both machines.

Now you want to have bind installed on the web server with copies of all the 
DNS for zones it serves.  After copying that data you could run a sed script 
over the zone files that changes the IP address to 127.0.0.1.  Then all 
requests go to the local Apache installation which looks up the directory 
using bulk virtual hosting.

-- 
http://www.coker.com.au/bonnie++/ Bonnie++ hard drive benchmark
http://www.coker.com.au/postal/   Postal SMTP/POP benchmark
http://www.coker.com.au/projects.html Projects I am working on
http://www.coker.com.au/~russell/ My home page


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




Re: webalizer

2001-10-15 Thread Tilmann Holst
Remco van de Meent [EMAIL PROTECTED] wrote:

> Somebody please test and report :)  I still have no potato box around
> for extensive testing, unfortunately.

I just installed it from "proposed updates" and it is running fine on my
potato box. But it I have not done "extensive testing".

btw - thanks.

-- 
Tilmann Holst - TUCCO - the universal communication company
http://www.tucco.de, fon: +49-40-65777-510, fax: +49-40-65777-250




Re: apt

2001-10-15 Thread Bart-Jan Vrielink

On Sat, 13 Oct 2001, Kevin wrote:

> is there a way to lock a package so that apt/dpkg wont update it?
>
> i use a bofh'd bash, but it keeps getting overwritten by new bash
> packages.  i suppose i could chattr +i it but im hoping theres a more
> elegant solution.

If your bash version is also a dpkg package, then putting it on hold is
the way to go. If it's just a single binary, then dpkg-divert can help.

-- 
Tot ziens,

Bart-Jan


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




Re: Webalizer SOS

2001-10-15 Thread Marcin Sochacki

On Mon, Oct 15, 2001 at 10:16:41AM +0200, Craig wrote:
> Hi debian community
> 
> Does anyone know how to get webalizer to
> re-read all the apache log files ?
> 
> Even the gunzipped ones ?

Remove the webalizer.current file and then specify all the logfiles,
one by one on the command line. Eg.:

webalizer -c /etc/some.webalizer.conf /var/log/apache/access.log.3.gz
webalizer -c /etc/some.webalizer.conf /var/log/apache/access.log.2.gz
webalizer -c /etc/some.webalizer.conf /var/log/apache/access.log.1.gz
webalizer -c /etc/some.webalizer.conf /var/log/apache/access.log.0
webalizer -c /etc/some.webalizer.conf /var/log/apache/access.log

Notice the reversed order -- the logfiles must be chronological.

Marcin

-- 
 +-+
 |  Sekcja Obslugi Informatycznej Biblioteki Glownej  !!!  !!! .!!  +
 |  Uniwersytet Gdanski   !!!  !!! !!!  |
 +  tel. (058) 5509436!!!  !!! !!!  `!! |
  `!!' `!!' |
  +-+


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




Re: portslave

2001-10-15 Thread I. Forbes
Hello Russell 

On 13 Oct 2001, at 19:14, Russell Coker wrote:

> I have been thinking of implementing a way of telling Portslave to pass the 
> port to another program to allow minicom or a FAX transmission to take the 
> port.

I think the answer lies in by-passing radius.  If we had a facility like 
mgetty's "login.config" file which could decide whether to run a 
radius based program, or a local one instead, the flexibility would 
go up by an order of magnitude.  It would also make hacks like my 
UUCP one work.

Perhaps the same or a similar configuration file could tell portslave 
how to handle incoming calls detected by the modem as being 
voice or fax as opposed to data calls.

> > Is it possible to call up the patched pppd from mgetty and use
> > radius authentication and accounting?

> Sure you could have the mgetty detect the PPP frames and run pppd with 
> appropriate parameters to load the Portslave library.

Is there a documentation for the new options on the patched pppd?

> > It would be realy nice if the above were true.  It would also be nice if
> > we could combine mgetty with features of faxgetty from the hylafax
> > package.  Then we could have one "answer the modem" package
> 
> I've been thinking of doing that.  However I have no fax hardware.  If 
> someone suggests which code I should use as a fax code base and is prepared 
> to test it for me then I'll add fax support to Portslave.

In my opinion Hylfax is by far the best fax package.  It allows Class 
1 or Class 2 modems to be used. Mgetty's fax facility only allows 
Class 2.  As over 90% of domestic quality 56k modems either have 
no Class 2 support, or Class 2 that is so buggy that it is not worth 
using this is a big plus factor.  (Almost all Windows faxing software 
uses Class 1 mode.)

Hylafax has a "faxgetty" program that answers the modem.  It allows 
dial-out like mgetty, but it also communicates with the hylafax 
daemon to report on the status of the modem.  It has facilities for 
calling alternate programs for voice and data calls.  I am not sure if 
it can detect ppp frames.

However the weak link is normally with the modems detection of the 
type of the incoming call (voice, fax or data), which is not very 
reliable.  I am not sure if Class 1 modems can do this at all.  On 
commercial sites, I normally lock modems taking incoming fax calls 
into "fax only" mode to guarantee satisfactory performance.  
Faxgetty has a few features to try and work around this limitation.

A few other issues to consider:

-   What about call-back, is there any provision for this in
portslave? 

-   Is anybody familiar with isdnutils?  How does that handle all
the options of incoming calls?  

-   Can isdnutils handle radius authentication, filters, assigned
IP's etc? (Maybe it could share the radius plug in?) 


Regards

Ian


-
Ian Forbes ZSD
http://www.zsd.co.za
Office: +27 +21 683-1388  Fax: +27 +21 64-1106
Snail Mail: P.O. Box 46827, Glosderry, 7702, South Africa
-




Re: Webalizer SOS

2001-10-15 Thread Remco van de Meent
Craig wrote:
> 
> Does anyone know how to get webalizer to
> re-read all the apache log files ?
> 

for a in /var/log/apache/access.log*; do webalizer $a; done

?


regards,
Remco.
-- 
:: Remco van de Meent
:: [EMAIL PROTECTED]
:: http://remco.vandemeent.net/




Re: rshell and iptables

2001-10-15 Thread Michael Wood
On Fri, Oct 12, 2001 at 04:01:48PM -0700, Greg Hunt wrote:
> Hi, I'm trying to get rshell working on a server that's locked
> down pretty tight with iptables. I had to allow access to port
> 514 (shell) from the host that will be connecting to it, but I
> also had to allow access to port 1023 in order to get it to
> work. I'm thinking this port is chosen based on some kind of
> negotiation (like ftp maybe?). I'm worried that if more than
> one rsh process is going on at once I will need to open up
> some other ports (probably 1022,1021, etc?). Anyone know for
> sure what the deal with rsh is? I looked in the man page and
> couldn't find anything.

As someone else said, why not use SSH?

The r tools use a low numbered source port as a crude sort of
authentication in addition to the .rhosts stuff.  I seem to
remember something about the rsh server connecting back to the
client for stderr, though.  That might be the port 1023 you're
talking about.  I don't know if it needs just 1023 or if other
ports would be needed by more than one rsh connection.

-- 
Michael Wood
[EMAIL PROTECTED]




Webalizer SOS

2001-10-15 Thread Craig
Hi debian community

Does anyone know how to get webalizer to
re-read all the apache log files ?

Even the gunzipped ones ?

..Craig




Re: webalizer

2001-10-15 Thread Tilmann Holst

Remco van de Meent [[EMAIL PROTECTED]] wrote:

> Somebody please test and report :)  I still have no potato box around
> for extensive testing, unfortunately.

I just installed it from "proposed updates" and it is running fine on my
potato box. But it I have not done "extensive testing".

btw - thanks.

-- 
Tilmann Holst - TUCCO - the universal communication company
http://www.tucco.de, fon: +49-40-65777-510, fax: +49-40-65777-250


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




Re: portslave

2001-10-15 Thread I. Forbes

Hello Russell 

On 13 Oct 2001, at 19:14, Russell Coker wrote:

> I have been thinking of implementing a way of telling Portslave to pass the 
> port to another program to allow minicom or a FAX transmission to take the 
> port.

I think the answer lies in by-passing radius.  If we had a facility like 
mgetty's "login.config" file which could decide whether to run a 
radius based program, or a local one instead, the flexibility would 
go up by an order of magnitude.  It would also make hacks like my 
UUCP one work.

Perhaps the same or a similar configuration file could tell portslave 
how to handle incoming calls detected by the modem as being 
voice or fax as opposed to data calls.

> > Is it possible to call up the patched pppd from mgetty and use
> > radius authentication and accounting?

> Sure you could have the mgetty detect the PPP frames and run pppd with 
> appropriate parameters to load the Portslave library.

Is there a documentation for the new options on the patched pppd?

> > It would be realy nice if the above were true.  It would also be nice if
> > we could combine mgetty with features of faxgetty from the hylafax
> > package.  Then we could have one "answer the modem" package
> 
> I've been thinking of doing that.  However I have no fax hardware.  If 
> someone suggests which code I should use as a fax code base and is prepared 
> to test it for me then I'll add fax support to Portslave.

In my opinion Hylfax is by far the best fax package.  It allows Class 
1 or Class 2 modems to be used. Mgetty's fax facility only allows 
Class 2.  As over 90% of domestic quality 56k modems either have 
no Class 2 support, or Class 2 that is so buggy that it is not worth 
using this is a big plus factor.  (Almost all Windows faxing software 
uses Class 1 mode.)

Hylafax has a "faxgetty" program that answers the modem.  It allows 
dial-out like mgetty, but it also communicates with the hylafax 
daemon to report on the status of the modem.  It has facilities for 
calling alternate programs for voice and data calls.  I am not sure if 
it can detect ppp frames.

However the weak link is normally with the modems detection of the 
type of the incoming call (voice, fax or data), which is not very 
reliable.  I am not sure if Class 1 modems can do this at all.  On 
commercial sites, I normally lock modems taking incoming fax calls 
into "fax only" mode to guarantee satisfactory performance.  
Faxgetty has a few features to try and work around this limitation.

A few other issues to consider:

-   What about call-back, is there any provision for this in
portslave? 

-   Is anybody familiar with isdnutils?  How does that handle all
the options of incoming calls?  

-   Can isdnutils handle radius authentication, filters, assigned
IP's etc? (Maybe it could share the radius plug in?) 


Regards

Ian


-
Ian Forbes ZSD
http://www.zsd.co.za
Office: +27 +21 683-1388  Fax: +27 +21 64-1106
Snail Mail: P.O. Box 46827, Glosderry, 7702, South Africa
-


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




Re: Webalizer SOS

2001-10-15 Thread Remco van de Meent

Craig wrote:
> 
> Does anyone know how to get webalizer to
> re-read all the apache log files ?
> 

for a in /var/log/apache/access.log*; do webalizer $a; done

?


regards,
Remco.
-- 
:: Remco van de Meent
:: [EMAIL PROTECTED]
:: http://remco.vandemeent.net/


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




Re: rshell and iptables

2001-10-15 Thread Michael Wood

On Fri, Oct 12, 2001 at 04:01:48PM -0700, Greg Hunt wrote:
> Hi, I'm trying to get rshell working on a server that's locked
> down pretty tight with iptables. I had to allow access to port
> 514 (shell) from the host that will be connecting to it, but I
> also had to allow access to port 1023 in order to get it to
> work. I'm thinking this port is chosen based on some kind of
> negotiation (like ftp maybe?). I'm worried that if more than
> one rsh process is going on at once I will need to open up
> some other ports (probably 1022,1021, etc?). Anyone know for
> sure what the deal with rsh is? I looked in the man page and
> couldn't find anything.

As someone else said, why not use SSH?

The r tools use a low numbered source port as a crude sort of
authentication in addition to the .rhosts stuff.  I seem to
remember something about the rsh server connecting back to the
client for stderr, though.  That might be the port 1023 you're
talking about.  I don't know if it needs just 1023 or if other
ports would be needed by more than one rsh connection.

-- 
Michael Wood
[EMAIL PROTECTED]


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




Webalizer SOS

2001-10-15 Thread Craig

Hi debian community

Does anyone know how to get webalizer to
re-read all the apache log files ?

Even the gunzipped ones ?

..Craig


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