123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566 |
- #ifndef DROPBEAR_AGENTFWD_H_
- #define DROPBEAR_AGENTFWD_H_
- #include "includes.h"
- #include "chansession.h"
- #include "channel.h"
- #include "auth.h"
- #include "list.h"
- #if DROPBEAR_CLI_AGENTFWD
- #define SSH_AGENT_RSA_SHA2_256 0x02
- #define MAX_AGENT_REPLY 10000
- void cli_load_agent_keys(m_list * ret_list);
- void agent_buf_sign(buffer *sigblob, sign_key *key,
- const buffer *data_buf, enum signature_type type);
- void cli_setup_agent(const struct Channel *channel);
- #ifdef __hpux
- #define seteuid(a) setresuid(-1, (a), -1)
- #define setegid(a) setresgid(-1, (a), -1)
- #endif
- extern const struct ChanType cli_chan_agent;
- #endif
- #if DROPBEAR_SVR_AGENTFWD
- int svr_agentreq(struct ChanSess * chansess);
- void svr_agentcleanup(struct ChanSess * chansess);
- void svr_agentset(const struct ChanSess *chansess);
- #endif
- #endif
|