上一页 1 ··· 9 10 11 12 13 14 15 16 17 ··· 70 下一页
摘要: 目前业务使用chisel 代理内网流量到云端Internet节点使用,本地流量从tun接口上读取引流封包走chisel的ssh 隧道到云端, 本次主要看:chisel的server端业务流分析 client 和server 端读写设计以及怎样mux demux client 收到浏览器的请求后,进过 阅读全文
posted @ 2024-01-07 14:26 codestacklinuxer 阅读(93) 评论(0) 推荐(0)
摘要: 测试环境如下: centosA:192.168.1.206 ./chisel client -v 192.168.1.207:12345 192.168.1.206:8888:socks centosB:192.168.1.207 ./chisel server -v --host 192.168. 阅读全文
posted @ 2024-01-06 14:46 codestacklinuxer 阅读(163) 评论(0) 推荐(0)
摘要: 转载自gossh协议库 导读 SSH, The Secure Shell Protocol (安全 Shell 协议),是一个使用广泛的网络协议。 在中文互联网世界,关于 SSH 协议的介绍,往往都把重点放到了安全(Secure)方面的细节。这样的文章对于开发者来说,意义并不大,原因在于: 此类文章 阅读全文
posted @ 2024-01-05 21:31 codestacklinuxer 阅读(690) 评论(0) 推荐(0)
摘要: 目前chisel基于tcp http websocket 的ssh 代理!! chisel 代理流程client<<--tcp/udp/socks-->>http->chisel-client<< ####tcp-http-websocket-ssh#### >>chisel-server<< tc 阅读全文
posted @ 2024-01-05 20:49 codestacklinuxer 阅读(449) 评论(0) 推荐(0)
摘要: Writer和Reader是两个抽象的接口,其定义如下 type Writer interface { Write(p []byte) (n int, err error) } type Reader interface { Read(p []byte) (n int, err error) } 查 阅读全文
posted @ 2024-01-05 14:35 codestacklinuxer 阅读(467) 评论(0) 推荐(0)
摘要: 在分析chiesl 的时候涉及到代理 Proxy,代理的本质,是转发两个相同方向路径上的 stream(数据流)。例如,一个 A-->B-->C 的代理模式,B 作为代理,读取从 A >B 的数据,转发到 B >C func Pipe(src io.ReadWriteCloser, dst io.R 阅读全文
posted @ 2024-01-04 17:03 codestacklinuxer 阅读(128) 评论(0) 推荐(0)
摘要: 在192.168.1.206 上执行 ssh -fN -D 0.0.0.0:8888 root@192.168.1.207 将报文转发到207 在207 上设置ssh 允许动态转发 vim /etc/ssh/sshd_config 确保以下行没有注释(没有 "#" 符号),或者将其添加进去: All 阅读全文
posted @ 2024-01-03 21:04 codestacklinuxer 阅读(53) 评论(0) 推荐(0)
摘要: 目前客户端代理转发时基于chisel修改的!来看看chisel基本逻辑 Chisel是一个快速稳定的TCP/UDP隧道工具,该工具基于HTTP实现,并通过SSH加密保证通信安全。Chisel可以进行端口转发、反向端口转发以及SOCKS流量代理; 隧道原理分析 隧道的搭建需要客户端和服务端两端,客户端 阅读全文
posted @ 2024-01-03 21:04 codestacklinuxer 阅读(784) 评论(0) 推荐(0)
摘要: 转载自:ssh原理和技巧 ssh端口转发 ssh tunneling examples SSH 是用于计算机之间的加密登录的一种网络协议 在早期互联网使用当中,都是使用明文进行通信的,一旦消息被截获,内容就暴露无疑。1995 年,芬兰学者 Tatu Ylonen 设计了 SSH 协议,将登录信息全部 阅读全文
posted @ 2024-01-03 19:07 codestacklinuxer 阅读(213) 评论(0) 推荐(0)
摘要: SSH本地端口转发 ssh安全隧道(一):本地端口转发 如下图,假如host3和host1、host2都同互相通信,但是host1和host2之间不能通信,如何从host1连接上host2? 对于实现ssh连接来说,实现方式很简单,从host1 ssh到host3,再ssh到host2,也就是将ho 阅读全文
posted @ 2024-01-03 11:38 codestacklinuxer 阅读(117) 评论(0) 推荐(0)
上一页 1 ··· 9 10 11 12 13 14 15 16 17 ··· 70 下一页