Re: Procmail Recipie For FreeBSD Lists?

2003-07-03 Thread Christian Stigen Larsen
Quoting Drew Tomlinson ([EMAIL PROTECTED]):
| About a year or two ago, someone posted his recipe for sorting FreeBSD
| lists.  This particular one was nice in that it extracted the list name
| from the From line (I think) and then created the appropriate folder
| if it didn't exist.  

Probably the most appropriate field to match against in the mailheader is
``List-Id'', which for this mailinglist is:

List-Id: User questions freebsd-questions.freebsd.org

I do not have that particular script which you refer to, but I'd just like to
give a note of warning on automatically executing shell commands based on
email data (since an attacker could easily insert hazardous commands).

Why not just have some extra lines in your procmailrc file?  Also, I've
written some notes on sorting incoming mail:

A guide to simple mail filtering on UNIX systems
http://csl.sublevel3.org/docs/mailfiltering.php

-- 
Christian Stigen Larsen -- http://csl.sublevel3.org -- mob: +47 98 22 02 15
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: ssh keepalives

2003-07-02 Thread Christian Stigen Larsen
Quoting Steve Coile ([EMAIL PROTECTED]):
| On Tue, 1 Jul 2003, Philip J. Koenig wrote:
|  I'm having a problem with premature termination of ssh sessions [...]
| 
| Is this a common problem with firewalls?  We suffer from this problem
| here, also, and I've thought it must be a misconfiguration with the
| firewall or elsewhere in the netwrok.  But since you mentioend it,
| I'm rethinking my assessment.

As Michal F. Hanula, it might be due to the firewall dropping idle TCP
connections.

At work I use PuTTY (http://www.chiark.greenend.org.uk/~sgtatham/putty/) for
my outbound ssh sessions, and it supports a useful option:

Sending of null packets to keep session active

Settings this to, say, 60 seconds effectively prevents my sessions from being
cut off.  Unfortunately I haven't found any similar feature in the OpenSSH
clients.  Do they support such a feature?

-- 
Christian Stigen Larsen -- http://csl.sublevel3.org -- mob: +47 98 22 02 15
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]