Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 22 Jun 2019 16:28:15 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 238763] mail/dcc-dccd: leaks the two files ids and map.txt into /
Message-ID:  <bug-238763-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D238763

            Bug ID: 238763
           Summary: mail/dcc-dccd: leaks the two files ids and map.txt
                    into /
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: pkubaj@FreeBSD.org
          Reporter: Trond.Endrestol@ximalas.info
             Flags: maintainer-feedback?(pkubaj@FreeBSD.org)
          Assignee: pkubaj@FreeBSD.org

I noticed two files in / with timestamps matching the time when mail/dcc-dc=
cd
was last installed/updated, up to plus or minus 1 second. These two files
really belong in /usr/local/dcc. Looking into the latter directory, none of=
 the
files have been updated recently. Maybe they are not supposed to be touched
when they already exists. Running pkg info -l mail/dcc-dccd, states that all
files from this package should stay away from /.

$ pkg info -dfr mail/dcc-dccd
dcc-dccd-2.3.167_1
Name           : dcc-dccd
Version        : 2.3.167_1
Installed on   : Fri Jun 21 19:36:58 2019 CEST
Origin         : mail/dcc-dccd
Architecture   : FreeBSD:12:amd64
Prefix         : /usr/local
Categories     : mail
Licenses       : DCC
Maintainer     : pkubaj@FreeBSD.org
WWW            : https://www.rhyolite.com/dcc/
Comment        : Distributed Checksum Clearinghouse bulk email detector
Options        :
        DCCD           : on
        DCCGREY        : on
        DCCIFD         : on
        DCCM           : on
        IPV6           : on
        PORTS_MILTER   : off
Annotations    :
        FreeBSD_version: 1200512
        repo_type      : binary
        repository     : Synth
Flat size      : 3.97MiB
Description    :
This is the Distributed Checksum Clearinghouse (DCC) package, including
the command line (e.g. procmail) interface, dccproc; the SpamAssassin
and Postfix interface, dccifd; the Sendmail milter interface, dccm;
the DCC server, dccd; and the DCC greylisting server, dccd-grey.

Also included are utilities such as cdcc and all of the manual pages
and documentation.

WWW: https://www.rhyolite.com/dcc/

-rw-------   1 root  wheel  uarch  2.4K Jun 21 19:36:59 2019 /ids
-rw-------   1 root  wheel  uarch  386B Jun 21 19:36:59 2019 /map.txt

drwxr-xr-x  2 root  dcc  uarch   15B Jun 21 19:36:59 2019
/usr/local/dcc/cgi-bin/
-rw-------  1 dcc   dcc  uarch  2.4K Dec  6 17:04:23 2018 /usr/local/dcc/ids
-rw-------  1 dcc   dcc  uarch  2.4K Dec  6 17:04:23 2018
/usr/local/dcc/ids.nopasswd
drwx--x---  2 dcc   dcc  uarch    2B Mar  7 19:17:10 2018 /usr/local/dcc/lo=
g/
-rw-------  1 dcc   dcc  uarch  7.5K Dec  6 17:04:24 2018 /usr/local/dcc/map
-rw-------  1 dcc   dcc  uarch  7.5K Dec  6 17:04:24 2018
/usr/local/dcc/map.nopasswd
-rw-------  1 dcc   dcc  uarch  382B Dec  6 17:04:24 2018
/usr/local/dcc/map.txt
-rw-------  1 dcc   dcc  uarch  382B Dec  6 17:04:24 2018
/usr/local/dcc/map.txt.nopasswd

$ pkg info -l mail/dcc-dccd
dcc-dccd-2.3.167_1:
        /usr/local/bin/cdcc
        /usr/local/bin/dccif-test
        /usr/local/bin/dccproc
        /usr/local/dcc/cgi-bin/README
        /usr/local/dcc/cgi-bin/chgpasswd
        /usr/local/dcc/cgi-bin/common
        /usr/local/dcc/cgi-bin/common.pm
        /usr/local/dcc/cgi-bin/edit-whiteclnt
        /usr/local/dcc/cgi-bin/footer.sample
        /usr/local/dcc/cgi-bin/header.sample
        /usr/local/dcc/cgi-bin/http2https
        /usr/local/dcc/cgi-bin/list-log
        /usr/local/dcc/cgi-bin/list-msg
        /usr/local/dcc/cgi-bin/webuser-notify
        /usr/local/etc/rc.d/dccd
        /usr/local/etc/rc.d/dccgrey
        /usr/local/etc/rc.d/dccifd
        /usr/local/etc/rc.d/dccm
        /usr/local/libexec/check_ip_range
        /usr/local/libexec/ck2ip
        /usr/local/libexec/cron-dccd
        /usr/local/libexec/dbclean
        /usr/local/libexec/dblist
        /usr/local/libexec/dcc-nagios
        /usr/local/libexec/dcc-stats-collect
        /usr/local/libexec/dcc-stats-graph
        /usr/local/libexec/dcc-stats-init
        /usr/local/libexec/dcc-stats-update
        /usr/local/libexec/dccd
        /usr/local/libexec/dccifd
        /usr/local/libexec/dccm
        /usr/local/libexec/dccsight
        /usr/local/libexec/dns-helper
        /usr/local/libexec/dump-clients
        /usr/local/libexec/fetch-testmsg-whitelist
        /usr/local/libexec/fetchblack
        /usr/local/libexec/fetchids
        /usr/local/libexec/fix-map
        /usr/local/libexec/hackmc
        /usr/local/libexec/list-clients
        /usr/local/libexec/logger
        /usr/local/libexec/newwebuser
        /usr/local/libexec/rcDCC
        /usr/local/libexec/start-dccd
        /usr/local/libexec/start-dccifd
        /usr/local/libexec/start-dccm
        /usr/local/libexec/start-grey
        /usr/local/libexec/stats-get
        /usr/local/libexec/stop-dccd
        /usr/local/libexec/uninstalldcc
        /usr/local/libexec/updatedcc
        /usr/local/libexec/wlist
        /usr/local/man/man8/cdcc.8.gz
        /usr/local/man/man8/dbclean.8.gz
        /usr/local/man/man8/dblist.8.gz
        /usr/local/man/man8/dcc.8.gz
        /usr/local/man/man8/dccd.8.gz
        /usr/local/man/man8/dccifd.8.gz
        /usr/local/man/man8/dccm.8.gz
        /usr/local/man/man8/dccproc.8.gz
        /usr/local/man/man8/dccsight.8.gz
        /usr/local/share/licenses/dcc-dccd-2.3.167_1/DCC
        /usr/local/share/licenses/dcc-dccd-2.3.167_1/LICENSE
        /usr/local/share/licenses/dcc-dccd-2.3.167_1/catalog.mk
        /var/db/dcc/dcc_conf.sample
        /var/db/dcc/flod.sample
        /var/db/dcc/grey_flod.sample
        /var/db/dcc/grey_whitelist.sample
        /var/db/dcc/ids.sample
        /var/db/dcc/map.sample
        /var/db/dcc/map.txt.sample
        /var/db/dcc/whiteclnt.sample
        /var/db/dcc/whitecommon.sample
        /var/db/dcc/whitelist.sample

--=20
You are receiving this mail because:
You are the assignee for the bug.=



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