Bug 194252 - x11/slim: tighten security on default config
Summary: x11/slim: tighten security on default config
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: Guido Falsi
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-10-08 19:33 UTC by Uffe Jakobsen
Modified: 2014-11-02 09:44 UTC (History)
2 users (show)

See Also:
uffe: maintainer-feedback? (henry.hu.sh)


Attachments
slim.patch.txt (534 bytes, patch)
2014-10-08 19:33 UTC, Uffe Jakobsen
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Uffe Jakobsen 2014-10-08 19:33:06 UTC
Created attachment 148111 [details]
slim.patch.txt

The security in default sample config file for x11/slim ((/usr/local/etc/0slim.conf.sample)) seems a little sloppy.

By default slim will start up X listening on tcp port 6000

The attached patch for the sample config file adds "-nolisten tcp" to the start up arguments for X
Comment 1 Bugzilla Automation freebsd_committer freebsd_triage 2014-10-08 19:33:06 UTC
Maintainer CC'd
Comment 2 John Marino freebsd_committer freebsd_triage 2014-10-31 19:20:09 UTC
This PR timed out; maintainer approval no longer required.
Moving to patch-ready pool.
Comment 3 Henry Hu 2014-10-31 23:30:37 UTC
Approved. Please commit this.
Comment 4 Guido Falsi freebsd_committer freebsd_triage 2014-11-02 09:44:22 UTC
Committed. Thanks.
Comment 5 commit-hook freebsd_committer freebsd_triage 2014-11-02 09:44:54 UTC
A commit references this bug:

Author: madpilot
Date: Sun Nov  2 09:44:03 UTC 2014
New revision: 372060
URL: https://svnweb.freebsd.org/changeset/ports/372060

Log:
  - Modify sample config to not listen on the net by default [1]
  - Fix paths in man page [2]
  - While here, silence some portlint warnings and modernize plist

  PR:		194252 [1], 194518 [2]
  Submitted by:	uffe at uffe.org [1]
  			adrian@ [2]
  Approved by:	Henry Hu <henry.hu.sh at gmail.com> (maintainer)

Changes:
  head/x11/slim/Makefile
  head/x11/slim/files/patch-slim.1
  head/x11/slim/files/patch-slim.conf
  head/x11/slim/pkg-plist