Matt Johnston
79b43270a7
A few minor style fixes
2015-12-15 22:09:55 +08:00
Konstantin Tokarev
3cb278c35c
Support syslog logging in dbclient.
2015-12-15 16:52:53 +03:00
Konstantin Tokarev
960364d953
Client: kill proxy command when exiting application.
2015-12-03 16:22:29 +03:00
Matt Johnston
5dff74109e
Fix error handling for dbclient async connect
2015-03-03 20:53:00 +08:00
Matt Johnston
364a53577e
Move generic network routines to netio.c
...
--HG--
branch : fastopen
2015-02-20 23:16:38 +08:00
Matt Johnston
76a3eb393c
In theory TFO should work. Needs platform cleanup and testing
...
--HG--
branch : fastopen
2015-02-19 00:32:00 +08:00
Matt Johnston
755c1458f0
async connections working
...
--HG--
branch : fastopen
2015-02-18 22:46:15 +08:00
Matt Johnston
9abcc7b909
connect_remote() is now always non-blocking
2015-02-14 09:56:11 +08:00
Matt Johnston
9aeda4c5bd
piggyback data on acks when making connections on linux
2015-02-13 22:49:15 +08:00
Matt Johnston
da57dd13c5
Set tcp priority as follows:
...
if (connecting || ptys || x11) tos = LOWDELAY;
else if (tcp_forwards) tos = 0;
else tos = BULK;
TCP forwards could be either lowdelay or bulk, hence the default priority.
2014-07-16 22:53:32 +08:00
Matt Johnston
1ccac01cee
Make sure client exit messages don't get lost
2014-07-09 00:13:17 +08:00
Matt Johnston
998d6cdfc4
- Sockets are set to lowdelay priority initially to improve conneciton setup
...
time
- Set non-pty connections to bulk for client and server
2013-12-03 00:04:48 +08:00
Matt Johnston
cbe63bbabe
rename random.h to dbrandom.h since some OSes have a system random.h
...
--HG--
rename : random.c => dbrandom.c
rename : random.h => dbrandom.h
2013-11-14 22:05:47 +08:00
Matt Johnston
de1deaf0bd
use oldstyle comments
2013-11-14 22:03:30 +08:00
Matt Johnston
04518e9e80
merge in HEAD
...
--HG--
branch : ecc
2013-05-21 12:09:35 +08:00
Matt Johnston
95a21c8fd7
ecdsa is working
...
--HG--
branch : ecc
2013-05-03 23:07:48 +08:00
Matt Johnston
90b5691183
Run the cleanup handler also when we close due to TCP connection being closed
2013-04-01 22:26:55 +08:00
Matt Johnston
2028b1b517
Add noreturn and format attribute hints for some functions.
...
--HG--
extra : convert_revision : 6cc8735d01f0360b918edc26be05681725c0022a
2011-04-07 12:59:18 +00:00
Matt Johnston
38ed870ffe
Improve capitalisation for all logged strings
...
--HG--
extra : convert_revision : 997e53cec7a9efb7413ac6e17b6be60a5597bd2e
2011-02-23 15:50:30 +00:00
Matt Johnston
f88bed7a30
Rearrange getaddrstring() etc
...
--HG--
extra : convert_revision : 8a18c4a60aeaec085923d13d98fa0f93c506ceba
2009-09-01 16:38:26 +00:00
Matt Johnston
d6441f4397
- Make -i and -W pass through multihop arguments
...
--HG--
extra : convert_revision : 70c64073c9ec07b4dfb54ee60e39cec2bd8c6910
2009-06-12 14:58:43 +00:00
Matt Johnston
4be3826dd5
Wrap proxycmd function in ENABLE_CLI_PROXYCMD #ifdef
...
(commit the right file this time)
--HG--
extra : convert_revision : d86e846566d01b739b51fa2ecdb8f62006e38dbd
2009-06-08 14:53:29 +00:00
Matt Johnston
c7bd9ccd85
Don't capture stderr from spawned processes in proxycommand mode
...
--HG--
extra : convert_revision : 636506b73e973b004cc058b07e6f36a25ff902f8
2008-09-17 14:35:36 +00:00
Matt Johnston
e44aa503f0
- "-J 'nc localhost 22'" kind of works, needs fixing hostkeys, ptys etc.
...
--HG--
extra : convert_revision : 45069dd007ebf414330e0a7abf4fb7e0727049c3
2008-09-15 14:40:30 +00:00
Matt Johnston
b619e88f54
- Split main socket var into ses.sock_in/ses.sock_out in preparation
...
for -J proxy_cmd option (and some prelim options for that)
--HG--
extra : convert_revision : 47cdea9a7d66c553c6f5eec43b899821939d4e4c
2008-09-15 12:51:50 +00:00
Matt Johnston
47e76de56a
Disable core dumps
...
--HG--
extra : convert_revision : ba8ebf724630561c6b9285247be7574a33853a17
2007-02-12 10:43:44 +00:00
Matt Johnston
8c1a429c44
Fixed DEBUG_TRACE macro so that we don't get semicolons left about the place
...
--HG--
extra : convert_revision : d928bc851e32be7bd429bf7504b148c0e4bf7e2f
2005-01-02 20:25:56 +00:00
Matt Johnston
69282617fd
merge of 50be59810e462f9f44f55e421227d6aa0b31982b
...
and 69b007796063cb5f042be7cca2d479e90db869c3
--HG--
extra : convert_revision : 5d0dfaa8c0ee6c728a3b4f0f0855199ba729db83
2004-08-27 14:39:01 +00:00
Matt Johnston
51a74b4799
- added circular buffering for channels
...
- added stderr support for the client
- cleaned up a bunch of "unused" warnings, duplicated header definitions
- added exit-status support for the client
--HG--
extra : convert_revision : 5bdf806d8b440c87f7235414662f4189195618f4
2004-08-26 13:16:40 +00:00
Matt Johnston
703c9a7370
License boilerplate etc, add Mihnea as an author to some of the files
...
--HG--
extra : convert_revision : 75c02f80c4ed25bd4697e7f17ffac6eded54c148
2004-08-14 17:54:20 +00:00
Matt Johnston
051b7454f8
- Added terminal mode handling etc for the client, and window change
...
- Refactored the terminal-mode handling for the server
- Improved session closing for the client
--HG--
extra : convert_revision : 9d19b4f22c39798af5f3f24c2022f8caec4919e8
2004-08-01 08:54:01 +00:00
Matt Johnston
a76b1ba068
Progressing client support
...
--HG--
extra : convert_revision : 48946be1cef774d1c33b0f78689962b18720c627
2004-07-27 16:30:46 +00:00
Matt Johnston
a9c38fb37f
snapshot of stuff
...
--HG--
extra : convert_revision : 2903853ba24669d01547710986ad531357602633
2004-07-26 02:44:20 +00:00