看板 Network 關於我們 聯絡資訊
嗯,我找到的是這個: http://kix.in/2008/12/16/ssh-http-multiplexer/ 還有 sslh 這兩個東東都可以用來做 ssl /http 或是 ssh / http multiplex 我是在想可不可以用 iptables 的 string modules 來寫 用 string module 來 match 這些東東: 'OPT', 'GET', 'HEA', 'PUT', 'DEL', 'TRA', 'CON' ,如果有則 redirect 到 http service -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 210.70.137.89
wst2080:我今天Try整天,還是無法測試成功~ 11/06 21:40
wst2080:iptables -A PREROUTING -i eth0 -p tcp --dport 22 -m 11/06 21:42
wst2080:string --algo bm --string "GET" -j REDIRECT --to-port 11/06 21:42
wst2080:80 <--- 我照這樣key 還是無法驅使iptables去轉向到80 11/06 21:43
wst2080:我已經把你的問題轉到Linux版 應該那邊會有更強的猛者回答 11/06 21:43
AndCycle:等到match到才redirect已經來不及了, connection都建好了 11/07 17:00
wst2080:是啊 這部分 有解嗎??? (請問樓上的) 11/07 17:08
wst2080:study-area有高手指點其他方法 11/12 21:08
wst2080:http://thomer.com/howtos/nstx.html 11/12 21:08
wst2080:http://thomer.com/icmptx/ 11/12 21:09