Gentoo Logo
Gentoo Spaceship




Note: Due to technical difficulties, the Archives are currently not up to date. GMANE provides an alternative service for most mailing lists.
c.f. bug 424647
List Archive: gentoo-hardened
Navigation:
Lists: gentoo-hardened: < Prev By Thread Next > < Prev By Date Next >
Headers:
To: Mark Huijgen <gentoo@...>
From: petre rodan <kaiowas@g.o>
Subject: Re: courier-imap avc denied name_bind
Date: Wed, 10 Nov 2004 19:28:30 +0200
Hi,

Mark Huijgen wrote:
> With base-policy 20040906 and courier-imap-20040928
> 
> avc:  denied  { name_bind } for  pid=1238
> exe=/usr/lib/courier-imap/couriertcpd
> scontext=system_u:system_r:courier_tcpd_t
> tcontext=system_u:object_r:port_t tclass=tcp_socket
> 
> When starting the imapd server of courier-imap.
> I think the reason for this is coming from courier-imap.te
> line 105-108
> 
> allow courier_tcpd_t imap_port_t:tcp_socket name_bind;
> ...imaps_port_t...
> ...pop_port_t...
> ...pops_port_t...
> 
> But these port types aren't defined in the policy.
> In net_contexts there are some for pop, but they are inside a
> ifdef('use_pop', and these are also not working for courier.
> 
> I've tested it for the normal imap port, it works when i add this line
> to net_contexts:
> portcon tcp 143 system_u:object_r:imap_port_t
> it works fine.
> 
> I think the same goes for 993 for imaps, 110 for pop and 995 for pops.

thanks for pointing that out.
'network hook'-related fixes are on my agenda for next week.

bye,
peter

-- 
petre rodan
<kaiowas@g.o>
Developer,
Hardened Gentoo Linux
Attachment:
signature.asc (OpenPGP digital signature)
References:
courier-imap avc denied name_bind
-- Mark Huijgen
Navigation:
Lists: gentoo-hardened: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
courier-imap avc denied name_bind
Next by thread:
grsec & logged users
Previous by date:
courier-imap avc denied name_bind
Next by date:
Re: Hardened kernel (?) dropping packets


Updated Jun 17, 2009

Summary: Archive of the gentoo-hardened mailing list.

Donate to support our development efforts.

Copyright 2001-2013 Gentoo Foundation, Inc. Questions, Comments? Contact us.