Bug 1268

Summary: Binary output to stdout
Product: flowd Reporter: Brian Lindauer <brian.lindauer>
Component: flowdAssignee: Damien Miller <djm>
Status: CLOSED MOVED    
Severity: enhancement    
Priority: P2    
Version: CVS   
Hardware: Other   
OS: Linux   

Description Brian Lindauer 2006-12-05 15:33:23 AEDT
I'd like a way to run flowd in the foreground and print the binary logfile format to stdout.  This way, flowd could be more easily used as an input to a custom reader:

flowd --binary-to-stdout | custom-reader

This beats the domain socket solution in some cases, because there aren't issues with reader/writer synchronization on restarts.

After doing some work on this, I can see that it's easy to print to stderr, but stdout is closed (or dup'd to /dev/null) as part of the child process/privsep stuff, which I definitely don't understand.  So it does seem a little tricky.

If I get this working, I'll submit a patch.  But do you have any pointers about getting a working stdout?

Brian
Comment 1 Damien Miller 2019-01-23 20:02:30 AEDT
flowd is no longer maintained by me
Comment 2 Damien Miller 2022-02-25 13:55:22 AEDT
closing bugs resolved before the openssh-8.9 release