Commit Graph

52 Commits

Author SHA1 Message Date
Matt Johnston
96a0f77bb4 fake-rfc stuff
--HG--
extra : convert_revision : 796008def04e47dc990703134c9fe013f1919190
2004-08-12 14:39:17 +00:00
Matt Johnston
986a932636 Some more sanity-checking of args, and just warn and ignore OpenSSH args
--HG--
extra : convert_revision : 94cf58a3a50848156aaaf757d0a72163c0355406
2004-08-12 14:19:05 +00:00
Matt Johnston
9ea7c3bfcf Oops, forgot to call the actual code.
--HG--
extra : convert_revision : 1394bf640a0721eb3851fdb9e534c5a65c8bc0f6
2004-08-12 13:54:31 +00:00
Matt Johnston
e1057cd477 TCP forwarding works.
--HG--
extra : convert_revision : 57dfb36d0d482ad84f31506904eb67863bd303ab
2004-08-12 13:48:42 +00:00
Matt Johnston
453261a042 - A nice cleaner structure for tcp (acceptor) forwarding.
- still a checkpoint-ish commit
- sorted out listening on localhost only

--HG--
extra : convert_revision : c030ac0a3950dba81f2324e2ba9d4b77fc8f8149
2004-08-11 17:26:47 +00:00
Matt Johnston
a712baa8e5 just checkpointing
--HG--
extra : convert_revision : fbbf404290f3fea3dfa9f6f53eba9389057e9044
2004-08-10 17:09:52 +00:00
Matt Johnston
254e8e3452 Write the correct termcodes length
--HG--
extra : convert_revision : 820649664926ee4346c564fc4d9c8e211d541092
2004-08-09 08:18:37 +00:00
Matt Johnston
baae2d8703 add new entries to known_hosts
--HG--
extra : convert_revision : b663974e3364274a5b94664e97683e18ab2a2579
2004-08-09 08:06:57 +00:00
Matt Johnston
8edc352393 newlines which weren't there
--HG--
extra : convert_revision : edef8ed42b61a7c69ed7c51c33e87f53b0614200
2004-08-08 16:57:00 +00:00
Matt Johnston
b8ae152c4b add cli-authpubkey
--HG--
extra : convert_revision : fb7a0272b88cd9cbc53004d0ba6184bc3098c9f2
2004-08-08 16:55:03 +00:00
Matt Johnston
2a2fdc168c burn the buffer a bit earlier
--HG--
extra : convert_revision : 1f069f6a8a2ecee6f2e22b51751b73982606accb
2004-08-08 16:44:11 +00:00
Matt Johnston
418f3b4042 Be a bit safer with reentrant pw_name
--HG--
extra : convert_revision : 6fa26817a93baeff5beb430be4e7e8127e1fd491
2004-08-08 16:41:26 +00:00
Matt Johnston
c3169d49d3 Forgot dbutil.h with the last commit (added buf_get_line)
--HG--
extra : convert_revision : 9e0629e5018dc4c6950a852c57e850c5f4ddf32a
2004-08-08 16:18:03 +00:00
Matt Johnston
39dce00980 - Hostkey checking is mostly there, just aren't appending yet.
- Rearranged various bits of the fingerprint/base64 type code, so it
  can be shared between versions

--HG--
extra : convert_revision : 6b8ab4ec5a6c99733fff584231b81ad9636ff15e
2004-08-08 16:17:05 +00:00
Matt Johnston
333eac7f9a Should be dropbearkey, rather than dropbearmulti, for the default targets
--HG--
extra : convert_revision : bed848ac745ab66a9f4df57c3bc27e5e39c41d9a
2004-08-07 15:50:58 +00:00
Matt Johnston
0bbe2fa862 - client pubkey auth works
- rearrange the runopts code for client and server (hostkey reading is needed
  by both (if the client is doing pubkey auth. otherwise....))

--HG--
extra : convert_revision : 5420858803bfff1e27dfe7fa877ba6fdd747e0c5
2004-08-06 16:18:01 +00:00
Matt Johnston
68f816e8cf Filled out a bit, with commandline support etc
--HG--
extra : convert_revision : 588496938ac3e4df1fab53f724be00afa9fadeab
2004-08-06 02:51:17 +00:00
Matt Johnston
7cdad3c200 Pubkey auth is mostly there for the client. Something strange with
remote hostkey verification though.

--HG--
extra : convert_revision : 8635abe49e499e16d44a8ee79d474dc35257e9cc
2004-08-03 17:26:56 +00:00
Matt Johnston
7a854cb1f8 Improved signkey code
--HG--
extra : convert_revision : fcf64cb4d2e273f80bf8c5f1d2dd00a0f4dc1acf
2004-08-03 15:51:55 +00:00
Matt Johnston
9c91ea1caf Banner printing
--HG--
extra : convert_revision : a38558944355bb9b4c8e9e22147c1f2d8d327775
2004-08-02 04:25:05 +00:00
Matt Johnston
0a60e4536d Remove some unused commented-out code
--HG--
extra : convert_revision : bfac723600adde37a06e9b4f6309ab7cef39738e
2004-08-01 11:02:44 +00:00
Matt Johnston
55c9b45649 added window-size change handling
--HG--
extra : convert_revision : 93a39c7b76f478035046b9c6f88af54612cce36f
2004-08-01 09:41:37 +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
cb071834da tty raw mode support works mostly
adding cli-{chansession,runopts}.c which were missing

--HG--
extra : convert_revision : ca970fb1e3fdbf0a72750e4af8f45ad308e77368
2004-07-30 12:29:53 +00:00
Matt Johnston
225452befc get rid of the substitution... We want a fixed identifier
--HG--
extra : convert_revision : d6b70dbcc1713663608033cb41cde196d44d4f2c
2004-07-30 11:27:52 +00:00
Matt Johnston
b601f68cda we're nearly there yet
--HG--
extra : convert_revision : ab7e63234f2c134c2321406598ae67038e0ca576
2004-07-30 03:02:19 +00:00
Matt Johnston
bf785cbcec Handle differing c2s and s2c algorithms properly
--HG--
extra : convert_revision : 5a8d0e105df84e50bc3e9d80486d6986634ff900
2004-07-29 15:43:26 +00:00
Matt Johnston
e1491b8ec6 set the isserver flag (oops)
fix password auth for the server

--HG--
extra : convert_revision : 234eb604aabaef9ed0dd496ff8db8ecc212ca18c
2004-07-29 02:19:03 +00:00
Matt Johnston
2d82f73484 Client mostly works up to password auth
Need to rework algo-choosing etc, since server is now broken.

--HG--
extra : convert_revision : 458dc4eed0e885e7c91633d4781d3348213a0e19
2004-07-28 16:44:16 +00:00
Matt Johnston
a76b1ba068 Progressing client support
--HG--
extra : convert_revision : 48946be1cef774d1c33b0f78689962b18720c627
2004-07-27 16:30:46 +00:00
Matt Johnston
052bf7df93 forgot to include libtomcrypt dir
--HG--
extra : convert_revision : c936c6ac2910e212338966955bc0fb337b31f915
2004-07-27 15:12:29 +00:00
Matt Johnston
d244f750fc removed some test targets
--HG--
extra : convert_revision : 955ad253022493b8edc121802529f014b9aac505
2004-07-27 14:54:25 +00:00
Matt Johnston
8b6ddcb066 Switching to the magical new Makefile, and new dbmulti style
--HG--
extra : convert_revision : 3f8efcdd56aab197d30a1ea81527c37dfee2f928
2004-07-27 14:44:43 +00:00
Matt Johnston
58baa046d2 Totally reworked Makefile.in
Doesn't totally work, but getting there

--HG--
extra : convert_revision : 517f94c41885417c1040a6a6cf14aa2248334f26
2004-07-27 13:32:54 +00:00
Matt Johnston
187317c2c9 Mention that autoheader should also be run
--HG--
extra : convert_revision : 89ffd01cd93f8ce6e35f312e8f363c16ba72fe1b
2004-07-27 09:19:12 +00:00
Matt Johnston
471d28bd10 - Rename common-packet.c to packet.c
- buf_burn the unencrypted read/write payload buffers after use to avoid
  sensitive contents sitting in memory for too long

--HG--
extra : convert_revision : 19227d63bda554e819ae7df919bfd18911d5b4a0
2004-07-27 02:14:42 +00:00
Matt Johnston
a9c38fb37f snapshot of stuff
--HG--
extra : convert_revision : 2903853ba24669d01547710986ad531357602633
2004-07-26 02:44:20 +00:00
Matt Johnston
f6fce0981d Rename cli_algo.c to cli-algo.c for consistency
--HG--
extra : convert_revision : 347c6511090f530bafebc18c171367d19ffbfd1a
2004-07-20 12:06:37 +00:00
Matt Johnston
62aab2227c switching to global vars
--HG--
extra : convert_revision : 800073097767c2ac153ab834cbcf0121cb765118
2004-07-20 12:05:00 +00:00
Matt Johnston
9c676d0ddd Makefile.in
--HG--
extra : convert_revision : 95173a527ef15143d4cbb8c574dff59076120f68
2004-06-23 07:24:22 +00:00
Matt Johnston
09b50641ff merge of abac2150ee4f4031a98016241fbd136d24fed127
and ffa047425729e478a5b49b1ab0f8ec71c08a1421

--HG--
extra : convert_revision : e9b7d4eda64d70aff736f48cc8dea680b153139b
2004-06-23 07:14:16 +00:00
Matt Johnston
18bfb4dd48 - Port restriction code back in
- Remove bad strerror() logging

--HG--
extra : convert_revision : 8ad0c90d041d667876641822a5d870e2e73059c6
2004-06-22 10:47:16 +00:00
Matt Johnston
8977fbbd97 Don't bother printing errno in exit messages (the code wasn't valid anyway)
--HG--
extra : convert_revision : 84b4b2b17c096faebd10975a08e91954e2014d82
2004-06-07 11:36:07 +00:00
Matt Johnston
ae1b0b07cf Fixed stupid agentfwd error (using the listening FD, not the accepted on. gah)
--HG--
extra : convert_revision : 27e793a6395dbf5f2c0aa130d37fad2e4ef67e01
2004-06-03 18:08:34 +00:00
Matt Johnston
9847cfe73d merge of a585c2284e9ad17bfe6c6fd8f18b1c5042b2df47
and e3f735bb16fbd5cfb6bcad70885550c1b79b874c

--HG--
extra : convert_revision : d6dc5dca7b7982493c6d43b19439f4e64f6dc99e
2004-06-03 17:29:17 +00:00
Matt Johnston
9f369bc42f Mostly done with the listener changeover
--HG--
extra : convert_revision : 1a4dca8836a2a04a21fb675c718a549a8d445d25
2004-06-03 17:22:48 +00:00
Matt Johnston
790726519e - renaming x11fwd.c to svr-x11fwd.c, to testing monotone
--HG--
extra : convert_revision : b5f7a97c08fd454f31a546a9ac9d3a4a5768a2ac
2004-06-03 17:15:02 +00:00
Matt Johnston
444dbb5364 - Reworked non-channel fd handling to listener.c
- More channel cleaning up

--HG--
extra : convert_revision : 385ec76d0304b93e277d1cc193383db5fd773703
2004-06-03 16:45:53 +00:00
Matt Johnston
513f947d62 Chantype handling is sorted
--HG--
extra : convert_revision : 807efead6ecf690f147fd8145aa9d78ff894cdb2
2004-06-02 04:59:49 +00:00
Matt Johnston
6152263045 Sorted out the first channel init issues.
--HG--
extra : convert_revision : 67676f36b78efac878c11943d78a5de827498d05
2004-06-01 10:48:46 +00:00