Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 18 Mar 2000 23:46:30 +0200
From:      Giorgos Keramidas <keramida@ceid.upatras.gr>
To:        sgh@hypersurf.com
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: _privacy
Message-ID:  <20000318234630.D20206@hades.hell.gr>
In-Reply-To: <200003171700.JAA11564@mercury.hypersurf.com>; from sgh@hypersurf.com on Fri, Mar 17, 2000 at 09:00:46AM -0800
References:  <200003171700.JAA11564@mercury.hypersurf.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Mar 17, 2000 at 09:00:46AM -0800, sgh@hypersurf.com wrote:

> I know free_BSD has alot of loopholes but, I'm wondering if an SA can
> capture and save, or keep tabs on a POP session easily. I know they
> can do a traceroute but... how could a POP user prevent his sessions
> from being monitered??? without encrypting everything?

I think that by excluding encryption, you pretty much dropped any
reasonably safe way of accomplishing this.

I've been using scp(1) for transferring my mail folder in batches of
messages for quite some time, before I switched to fetchmail + ssh
tunneling.  If your pop server supports ssh connections, you can use
commands similar to:

    ssh 'user@remote.host' \
      '( cd ~ ; \
	 chmod +t . ; \
	 cat Mailbox ; \
	 :> Mailbox ; \
	 chmod -t ~ ) 2>/dev/null' \
    | formail -s procmail

This uses some known facts about my remote.host, mainly the fact that
it's running qmail, and it won't deliver mail if I chmod +t my HOME dir,
keeping new mail in the queue.  This way the command

    :> Mailbox

will not zero out my folder while mail is being delivered by qmail.

This is what I was doing before I switched to fetchmail and ssh
tunneling.  I know that the first ssh-based way resembles the way uucp
transfers files, and makes more effective use of the bandwidth, but..
assuming that the remote.host runs qmail is IMHO too much.

Ciao.

- Giorgos Keramidas


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000318234630.D20206>