Gentoo Logo
Gentoo Spaceship

Installation:
Gentoo Handbook
Installation Docs

Documentation:
Home
Listing
About Gentoo
Philosophy
Social Contract

Resources:
Bug Tracker
Developer List
Discussion Forums
Gentoo BitTorrents
Gentoo Linux Enhancement Proposals
IRC Channels
Mailing Lists
Mirrors
Name and Logo Guidelines
Online Package Database
Security Announcements
Staffing Needs
Supporting Vendors
View our CVS

Graphics:
Logos and themes
Icons
ScreenShots

Miscellaneous Resources:
Gentoo Linux Store
Gentoo-hosted projects
IBM dW/Intel article archive




List Archive: gentoo-hardened
Navigation:
Lists: gentoo-hardened: < Prev By Thread Next > < Prev By Date Next >
Headers:
To: gentoo-hardened@g.o
From: "Matt Poletiek" <chill550@...>
Subject: Recomended paxctl flags for /var/qmail/bin/qmail-smtpd
Date: Tue, 23 Oct 2007 01:15:05 -0600
Hey guys, I was attempting to write a plugin for my qmail-spp enabled
netqmail package when I ran into the following issue...

hackdmz control # nc localhost 25
220 hackdmz.net ESMTP
ehlo test
250-hackdmz.net
250-STARTTLS
250-PIPELINING
250-8BITMIME
250-SIZE 0
250 AUTH LOGIN PLAIN
mail from test@...
250 ok
rcpt to test@...
451 qmail-spp failure: plugins/validuser.pl: can't execute (#4.3.0)

This shows up in dmesg

grsec: From ***.***.***.***: denied untrusted exec of
/var/qmail/plugins/validuser.pl by
/var/qmail/bin/qmail-smtpd[qmail-smtpd:7451] uid/euid:201/201
gid/egid:200/200, parent /var/qmail/bin/qmail-smtpd[qmail-smtpd:7438]
uid/euid:201/201 gid/egid:200/200
grsec: From ***.***.***.***: denied untrusted exec of
/var/qmail/plugins/validuser.pl by
/var/qmail/bin/qmail-smtpd[qmail-smtpd:7861] uid/euid:201/201
gid/egid:200/200, parent /var/qmail/bin/qmail-smtpd[qmail-smtpd:7860]
uid/euid:201/201 gid/egid:200/200

I tried a few different pax flag settings for
/var/qmail/bin/qmail-smtpd to no avail so for now this binary is set
to default, which seem too lax to me. What do you guys think?

hackdmz control # cd /var/qmail/bin/
hackdmz bin # paxctl -v qmail-smtpd
PaX control v0.4
Copyright 2004,2005,2006 PaX Team <pageexec@...>

- PaX flags: -------x---- [qmail-smtpd]
        RANDEXEC is disabled

-- 
Matthew Poletiek
www.chill-fu.net
-- 
gentoo-hardened@g.o mailing list


Replies:
Re: Recomended paxctl flags for /var/qmail/bin/qmail-smtpd
-- Adam James
Navigation:
Lists: gentoo-hardened: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
RE:
Next by thread:
Re: Recomended paxctl flags for /var/qmail/bin/qmail-smtpd
Previous by date:
RE:
Next by date:
Re: Recomended paxctl flags for /var/qmail/bin/qmail-smtpd


Updated Jun 17, 2009

Donate to support our development efforts.

Gentoo Centric Hosting: vr.org

VR Hosted

Tek Alchemy

Tek Alchemy

SevenL.net

SevenL.net

php|architect

php|architect

Copyright 2001-2007 Gentoo Foundation, Inc. Questions, Comments? Email www@gentoo.org.