Re: dbclient half-close?

2013-07-13 Thread Catalin Patulea
) !channel-sent_close close_allowed On Sat, Jul 13, 2013 at 12:31 PM, Catalin Patulea c...@vv.carleton.ca wrote: Hi, I'm seeing a difference in how dbclient handles EOF on input compared to openssh client. openssh client propagates input EOF to the remote command, but continues pumping command

implementing e...@openssh.com

2013-07-24 Thread Catalin Patulea
e...@openssh.com is an extension that allows EPIPE to propagate through SSH sessions. For example: ssh localhost cat /dev/urandom | /bin/true will very quickly exit because /bin/true does not consume its stdin. The mechanism is: - /bin/true calls exit(0), closing the last remaining ref to its

Re: implementing e...@openssh.com

2013-08-01 Thread Catalin Patulea
this. But all this to say that vanilla OpenSSH cannot be used to test this feature because it won't send e...@openssh.com. OpenSSH would need to be patched to include dropbear in the whitelist for testing. On Wed, Jul 24, 2013 at 9:21 PM, Catalin Patulea c...@vv.carleton.ca wrote: e

Re: autossh incompatibility with dropbear -y

2013-10-04 Thread Catalin Patulea
You could always write a small wrapper script that adds whatever command-line arguments you need, and pass *that* to autossh. #!/bin/sh exec path/to/dropbear -y $@ On Fri, Oct 4, 2013 at 12:31 PM, Steve Newcomb s...@coolheads.com wrote: I'm using OpenWRT. My router, whose IP address changes

Re: TOS byte for bulk transfers

2013-11-23 Thread Catalin Patulea
On Sat, Nov 23, 2013 at 4:26 PM, Dave Taht dave.t...@gmail.com wrote: While obsolete (don't use it!) , wondershaper was the root of all these systems a decade ago, and is a lot easier to study and understand than these successors. Thanks for the pointers. Indeed, I use a simplified variant of

Re: TOS byte for bulk transfers

2013-11-23 Thread Catalin Patulea
On Sat, Nov 23, 2013 at 9:11 PM, Matt Johnston m...@ucc.asn.au wrote: Catalin Patulea c...@vv.carleton.ca wrote: Matt, would you accept a patch that keys the TOS setting off PTY requests? Yes, I've been meaning to look at that. Heads up, client and server TCP port forwards use the same utility

[PATCH] Fix TRACEs of cli_send_netcat_request

2013-11-25 Thread Catalin Patulea
Signed-off-by: Catalin Patulea c...@vv.carleton.ca --- cli-chansession.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/cli-chansession.c b/cli-chansession.c index ed80453..0ee3e85 100644 --- a/cli-chansession.c +++ b/cli-chansession.c @@ -398,6 +398,7 @@ void

[PATCH] Set IPTOS_LOWDELAY on PTY sessions only

2013-12-02 Thread Catalin Patulea
Signed-off-by: Catalin Patulea c...@vv.carleton.ca --- cli-chansession.c | 1 + dbutil.c | 29 + dbutil.h | 2 ++ includes.h| 4 svr-chansession.c | 2 ++ 5 files changed, 30 insertions(+), 8 deletions(-) diff --git a/cli

Re: TOS byte on port forwarding-only connections

2014-07-13 Thread Catalin Patulea
On Tue, Jul 8, 2014 at 9:44 AM, Matt Johnston m...@ucc.asn.au wrote: I'm not really sure how to resolve it though. Maybe as a tradeoff the refcounting could just switch between LOWDELAY and no-tos-flags if there are TCP forwards going on, then BULK if there aren't TCP forwards? Ok, so if I'm

[PATCH] Handle invalid agent keys by skipping rather than exiting.

2015-01-01 Thread Catalin Patulea
dropbear-skip-bad-key.patch Description: Binary data

Re: Remote program doesn't terminate when ssh session ends

2021-02-25 Thread Catalin Patulea
Years ago, I attempted to fix an issue that sounds a lot like this: https://hg.ucc.asn.au/dropbear/rev/35183e8a7851 I believe the right way this works it that: - ssh client closes session - dropbear closes the read end of command's stdout pipe - next time command writes to pipe, it receives