🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: mailing.dragonflybsd.submit
Article #1

[DragonFlyBSD - Submit #2933] Remove unix domain socket support from cat(1)

#1
From: bugtracker-admin
Date: Tue, 02 Aug 2016 03:10
54 lines
3291 bytes
Issue #2933 has been updated by tautolog.


I have actually used this feature before, for test scripts for a network API, but I still support removal because it could reduce attack vectors and attack surface. I use netcat now, just as suggested. 

> On Aug 1, 2016, at 7:09 PM, bugtracker-admin@leaf.dragonflybsd.org wrote:
> 
> Issue #2933 has been reported by sevan.
> 
> ----------------------------------------
> Submit #2933: Remove unix domain socket support from cat(1)
> http://bugs.dragonflybsd.org/issues/2933
> 
> * Author: sevan
> * Status: New
> * Priority: Normal
> * Assignee: 
> * Category: Userland
> * Target version: 
> ----------------------------------------
> Introduced in FreeBSD[1] and inherited in DragonFly BSD, cat(1) has the ability to utilise a unix domain socket but the usecase is somewhat limited & better served by other tools eg netcat. Attached diff removes the functionality & restores previous behaviour. This feature is exclusive to FreeBSD & DragonFly BSD and has not been adopted by the other BSDs.
> 
> [1] https://svnweb.freebsd.org/base/head/bin/cat/cat.c?r1=78732&r2=83482&view=patch
> 
> ---Files--------------------------------
> patch-dfbsd-cat-nosocket.txt (4.32 KB)
> 
> 
> -- 
> You have received this notification because you have either subscribed to it, or are involved in it.
> To change your notification preferences, please click here: http://bugs.dragonflybsd.org/my/account

----------------------------------------
Submit #2933: Remove unix domain socket support from cat(1)
http://bugs.dragonflybsd.org/issues/2933#change-12957

* Author: sevan
* Status: New
* Priority: Normal
* Assignee: 
* Category: Userland
* Target version: 
----------------------------------------
Introduced in FreeBSD[1] and inherited in DragonFly BSD, cat(1) has the ability to utilise a unix domain socket but the usecase is somewhat limited & better served by other tools eg netcat. Attached diff removes the functionality & restores previous behaviour. This feature is exclusive to FreeBSD & DragonFly BSD and has not been adopted by the other BSDs.

[1] https://svnweb.freebsd.org/base/head/bin/cat/cat.c?r1=78732&r2=83482&view=patch

---Files--------------------------------
patch-dfbsd-cat-nosocket.txt (4.32 KB)


-- 
You have received this notification because you have either subscribed to it, or are involved in it.
To change your notification preferences, please click here: http://bugs.dragonflybsd.org/my/account
Technical Details
Message-ID: <mailpost.1470107419.1886250.48967.mailing.dragonflybsd.submit@FreeBSD.cs.nctu.edu.tw>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!archive!apf9.newsdeef.eu!not-for-mail

Show Full Headers
Complete Article Headers
Message-ID: <mailpost.1470107419.1886250.48967.mailing.dragonflybsd.submit@FreeBSD.cs.nctu.edu.tw>
Subject: [DragonFlyBSD - Submit #2933] Remove unix domain socket support from cat(1)
Date: Mon, 01 Aug 2016 20:10:12 -0700
From: bugtracker-admin@leaf.dragonflybsd.org
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!archive!apf9.newsdeef.eu!not-for-mail
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
Sender: news@FreeBSD.cs.nctu.edu.tw
Newsgroups: mailing.dragonflybsd.submit
Organization: NCTU CS FreeBSD Server
Lines: 55
X-Received-Bytes: 3445
X-Received-Body-Crc: 2117211852
Mime-Version: 1.0