Bug#385760: The dspam daemon should NOT be run by user dspam or default port needs to move

2010-10-29 Thread Julien Cristau
On Thu, Oct 28, 2010 at 06:45:52 +0200, Julien Valroff wrote:

 tags 385760 + pending
 thanks
 
 Le jeudi 28 oct. 2010 à 00:55:18 (+0200), Martin Zobel-Helas a écrit :
  Hi,
 
 Hi Martin,
  
  in the default configuration of dspam, if daemon gets enabled, the
  daemon wants to listen on tcp port 24. Starting dspam per default as
  user dspam then will just not work. Linux prevents direct “reserved
  port” assignments by any process other than system root.
  
  So you either let it run by root or fix the default port for this
  application.
  
  Interim-Solution: fix the init-script to blow up if user tries this.
 
 This is already fixed in git. The default port is now 1024.
 
1024 really doesn't sound like a good idea either, imo, there's every
chance somebody else will choose the first non-privileged port for some
other use.

Cheers,
Julien


signature.asc
Description: Digital signature


Bug#385760: The dspam daemon should NOT be run by user dspam or default port needs to move

2010-10-29 Thread Julien Valroff
Le vendredi 29 oct. 2010 à 15:02:37 (+0200), Julien Cristau a écrit :
 On Thu, Oct 28, 2010 at 06:45:52 +0200, Julien Valroff wrote:
 
  tags 385760 + pending
  thanks
  
  Le jeudi 28 oct. 2010 à 00:55:18 (+0200), Martin Zobel-Helas a écrit :
   Hi,
  
  Hi Martin,
   
   in the default configuration of dspam, if daemon gets enabled, the
   daemon wants to listen on tcp port 24. Starting dspam per default as
   user dspam then will just not work. Linux prevents direct “reserved
   port” assignments by any process other than system root.
   
   So you either let it run by root or fix the default port for this
   application.
   
   Interim-Solution: fix the init-script to blow up if user tries this.
  
  This is already fixed in git. The default port is now 1024.
  
 1024 really doesn't sound like a good idea either, imo, there's every
 chance somebody else will choose the first non-privileged port for some
 other use.

I can easily change this, what do you suggest?
I also thought at 2424, what do you think?

Cheers,
Julien

-- 
Julien Valroff jul...@kirya.net
http://www.kirya.net
GPG key: 1024D/9F71D449
17F4 93D8 746F F011 B845  9F91 210B F2AB 9F71 D449


signature.asc
Description: Digital signature


Bug#385760: The dspam daemon should NOT be run by user dspam or default port needs to move

2010-10-27 Thread Martin Zobel-Helas
Hi,

in the default configuration of dspam, if daemon gets enabled, the
daemon wants to listen on tcp port 24. Starting dspam per default as
user dspam then will just not work. Linux prevents direct “reserved
port” assignments by any process other than system root.

So you either let it run by root or fix the default port for this
application.

Interim-Solution: fix the init-script to blow up if user tries this.

Cheers,
Martin
-- 
 Martin Zobel-Helas zo...@debian.org  | Debian System Administrator
 Debian  GNU/Linux Developer   |   Debian Listmaster
 Public key http://zobel.ftbfs.de/5d64f870.asc   -   KeyID: 5D64 F870
 GPG Fingerprint:  5DB3 1301 375A A50F 07E7  302F 493E FB8E 5D64 F870




--
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#385760: The dspam daemon should NOT be run by user dspam or default port needs to move

2010-10-27 Thread Julien Valroff
tags 385760 + pending
thanks

Le jeudi 28 oct. 2010 à 00:55:18 (+0200), Martin Zobel-Helas a écrit :
 Hi,

Hi Martin,
 
 in the default configuration of dspam, if daemon gets enabled, the
 daemon wants to listen on tcp port 24. Starting dspam per default as
 user dspam then will just not work. Linux prevents direct “reserved
 port” assignments by any process other than system root.
 
 So you either let it run by root or fix the default port for this
 application.
 
 Interim-Solution: fix the init-script to blow up if user tries this.

This is already fixed in git. The default port is now 1024.

Cheers,
Julien

-- 
Julien Valroff jul...@kirya.net
http://www.kirya.net
GPG key: 1024D/9F71D449
17F4 93D8 746F F011 B845  9F91 210B F2AB 9F71 D449



--
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Processed: Re: Bug#385760: The dspam daemon should NOT be run by user dspam or default port needs to move

2010-10-27 Thread Debian Bug Tracking System
Processing commands for cont...@bugs.debian.org:

 tags 385760 + pending
Bug #385760 [dspam] The dspam daemon should NOT be run by user dspam
Added tag(s) pending.
 thanks
Stopping processing here.

Please contact me if you need assistance.
-- 
385760: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=385760
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems


-- 
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org