Merlijn Wajer
58bca08b7b
Update README; remove TODO
7 years ago
Merlijn Wajer
00d7185851
Remove two TODOs
7 years ago
Merlijn Wajer
9f8a9042fc
Clean up code and more comments
7 years ago
Merlijn Wajer
1f1df93791
Add "-debug" flag, and make use of it.
7 years ago
Merlijn Wajer
1216e33e23
Add basic support for timeouts
7 years ago
Merlijn Wajer
6d97caadfd
Updated README for new authkeys format
7 years ago
Merlijn B. W. Wajer
deca5d5d13
Remove address limitation for direct-tcpip for now
7 years ago
Merlijn B. W. Wajer
cba5592d42
Fix direct-tcpip dial for IPV6
7 years ago
Merlijn B. W. Wajer
a86d824dda
Mention the client in most log statements
7 years ago
Merlijn B. W. Wajer
665ec7c7ee
Add (and mention) init script
7 years ago
Merlijn B. W. Wajer
642d57f1f7
Add notes on CAP_NET_BIND_SERVICE
7 years ago
Merlijn Wajer
62cf5388d0
ListenMutex is now per client.
7 years ago
Merlijn Wajer
5c5d9bc213
Fix race condition in listen code
...
Now listen sockets should always be closed. I observed that on rare
occasions, listen sockets were not closed. My assumption is that a
client was sending a listen request, but also closed right after that,
and the closing code ran before the listen request code, so the last
listen request was processed after the listen-shutdown code was run; so
the last one was never freed.
At least, that is my current assumption.
7 years ago
Merlijn B. W. Wajer
0a65d24f73
Remove dead code and old comment
7 years ago
Merlijn B. W. Wajer
84cc2e9221
Print client name upon connection
7 years ago
Merlijn B. W. Wajer
8cdccd48e4
Allow authkeys reloading with SIGUSR1
7 years ago
Merlijn B. W. Wajer
82580692ce
Print proper filename in fatal log message
7 years ago
Merlijn B. W. Wajer
358496322a
Add listenaddr
7 years ago
Merlijn B. W. Wajer
8ab052aacf
Print when channels are opened and closed
7 years ago
Merlijn B. W. Wajer
7fd84db850
Allow both "localhost" and empty bind spec
7 years ago
Merlijn B. W. Wajer
4d1e594a22
authorized_keys: allow comments (or otherwise invalid lines)
7 years ago
Merlijn B. W. Wajer
98a6f4ec64
Clean up option handling, comment on openssh compat
7 years ago
Merlijn B. W. Wajer
0befb7719d
Ignore unknown options for openssh compatibility
7 years ago
Merlijn Wajer
b9b7a53313
Update TODO & minor fixes
7 years ago
Merlijn Wajer
5461e269bc
Enforce -verbose
7 years ago
Merlijn Wajer
c1a9590f84
Add localports=,remoteports= parsing
7 years ago
Merlijn Wajer
f902444b64
Minor comment cleanups
7 years ago
Merlijn Wajer
99b46e8767
Merge port filtering code
7 years ago
Merlijn Wajer
234df8bbbf
Add basic remote port filtering
7 years ago
Merlijn Wajer
ebbf5692fa
Remove global state, refactoring
7 years ago
Merlijn Wajer
8d13c9501c
Perform handshake concurrently
7 years ago
Merlijn B. W. Wajer
32175f4163
Improve addr parsing and Accept() error handling
7 years ago
Merlijn B. W. Wajer
8f8facd275
Support forward-tcpip (IPv4 and IPv6)
...
Policies are not yet in place (blocking specific ports), but that is now
trivial to add.
7 years ago
Merlijn B. W. Wajer
6723e086e7
Add listenport
7 years ago
Merlijn B. W. Wajer
2a460980d0
Ports in options instead of comment field
7 years ago
Merlijn B. W. Wajer
a89882af11
Add flag parsing
7 years ago
Merlijn B. W. Wajer
bbbc8fad88
Update TODO with future additions
7 years ago
Merlijn B. W. Wajer
c68d3fd2da
Add go-sshd, the ssh restrictive port-forwarder
7 years ago