We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
服务器 hk centos udp2raw ./udp2raw -s -l0.0.0.0:4096 -r 127.0.0.1:8877 -a --raw-mode faketcp -k "passwd" --cipher-mode xor --auth-mode simple [2017-11-10 04:22:58][INFO]argc=14 ./udp2raw -s -l0.0.0.0:4096 -r 127.0.0.1:8877 -a --raw-mode faketcp -k mervyn --cipher-mode xor --auth-mode simple [2017-11-10 04:22:58][INFO]important variables: log_level=4:INFO raw_mode=faketcp cipher_mode=xor auth_mode=simple key=mervyn local_ip=0.0.0.0 local_port=4096 remote_ip=127.0.0.1 remote_port=8877 source_ip=0.0.0.0 source_port=0 socket_buf_size=1048576 [2017-11-10 04:22:58][INFO]const_id:fe183664 [2017-11-10 04:22:58][INFO]run_command iptables -N udp2rawDwrW_fe183664_C0 [2017-11-10 04:22:58][INFO]run_command iptables -F udp2rawDwrW_fe183664_C0 [2017-11-10 04:22:58][INFO]run_command iptables -I udp2rawDwrW_fe183664_C0 -j DROP [2017-11-10 04:22:58][INFO]run_command iptables -I INPUT -p tcp -m tcp --dport 4096 -j udp2rawDwrW_fe183664_C0 [2017-11-10 04:22:58][WARN]auto added iptables rules [2017-11-10 04:22:58][INFO]now listening at 0.0.0.0:4096 [2017-11-10 04:23:59][INFO][x.x.x.x:5122]received syn,sent syn ack back [2017-11-10 04:23:59][INFO][x.x.x.x:5122]got packet from a new ip [2017-11-10 04:23:59][INFO][x.x.x.x:5122]created new conn,state: server_handshake1,my_id is 391d433e [2017-11-10 04:23:59][INFO][x.x.x.x:5122]changed state to server_handshake1,my_id is 391d433e [2017-11-10 04:24:00][INFO][x.x.x.x:5122]received handshake oppsite_id:10b4a53d my_id:391d433e [2017-11-10 04:24:00][INFO][x.x.x.x:5122]oppsite const_id:a83a8b03 [2017-11-10 04:24:00][INFO][x.x.x.x:5122]changed state to server_ready 相应正常 speeder ./speeder -s -l0.0.0.0:8877 -r 127.0.0.1:2333 -f20:10 --mode 0 --mtu 1200 --log-level 5 [2017-11-10 05:02:55][INFO]argc=12 ./speeder -s -l0.0.0.0:8877 -r 127.0.0.1:2333 -f20:10 --mode 0 --mtu 1200 --log-level 5 [2017-11-10 05:02:55][INFO]jitter_min=0 jitter_max=0 output_interval_min=0 output_interval_max=0 fec_timeout=8 fec_data_num=20 fec_redundant_num=10 fec_mtu=1200 fec_queue_len=200 fec_mode=0 [2017-11-10 05:02:55][DEBUG]local_listen_fd=5 ,[2017-11-10 05:02:55][DEBUG] delay_manager.get_timer_fd() =4 [2017-11-10 05:02:55][INFO]now listening at 0.0.0.0:8877 [2017-11-10 05:02:55][DEBUG] timer.get_timer_fd() =7 测试连接无反应
本地虚拟机 udp2raw ./udp2raw -c -l0.0.0.0:8111 -rx.x.x.x:4096 -a --raw-mode faketcp -k "passwd" --cipher-mode xor --auth-mode simple [2017-11-10 04:23:59][INFO]argc=13 ./udp2raw -c -l0.0.0.0:8111 -r13.75.115.216:4096 -a --raw-mode faketcp -k mervyn --cipher-mode xor --auth-mode simple [2017-11-10 04:23:59][INFO]important variables: log_level=4:INFO raw_mode=faketcp cipher_mode=xor auth_mode=simple key=mervyn local_ip=0.0.0.0 local_port=8111 remote_ip=13.75.115.216 remote_port=4096 source_ip=0.0.0.0 source_port=0 socket_buf_size=1048576 [2017-11-10 04:23:59][INFO]const_id:a83a8b03 [2017-11-10 04:23:59][INFO]run_command iptables -N udp2rawDwrW_a83a8b03_C0 [2017-11-10 04:23:59][INFO]run_command iptables -F udp2rawDwrW_a83a8b03_C0 [2017-11-10 04:23:59][INFO]run_command iptables -I udp2rawDwrW_a83a8b03_C0 -j DROP [2017-11-10 04:23:59][INFO]run_command iptables -I INPUT -s x.x.x.x/32 -p tcp -m tcp --sport 4096 -j udp2rawDwrW_a83a8b03_C0 [2017-11-10 04:23:59][WARN]auto added iptables rules [2017-11-10 04:23:59][INFO]get_src_adress called [2017-11-10 04:23:59][INFO]source ip = 192.168.3.21 [2017-11-10 04:23:59][INFO]using port 15553 [2017-11-10 04:23:59][INFO]state changed from client_idle to client_tcp_handshake [2017-11-10 04:23:59]INFOsent tcp syn [2017-11-10 04:23:59][INFO]state changed from client_tcp_handshake to client_handshake1 [2017-11-10 04:23:59]INFOsent handshake1 [2017-11-10 04:23:59][INFO]changed state from to client_handshake1 to client_handshake2,my_id is 10b4a53d,oppsite id is 391d433e [2017-11-10 04:23:59]INFOsent handshake2 [2017-11-10 04:24:00][INFO]changed state from to client_handshake2 to client_ready
speeder ./speeder -c -l0.0.0.0:2333 -r127.0.0.1:8111 -f20:10 --mode 0 --mtu 1200 --log-level 5 [2017-11-10 05:02:28][DEBUG]local_listen_fd=7 ,[2017-11-10 05:02:28][DEBUG][127.0.0.1:8111]created new udp_fd 9 [2017-11-10 05:02:28][DEBUG]remote_fd64=4294967397 [2017-11-10 05:02:28][DEBUG]delay_manager.get_timer_fd()=4 [2017-11-10 05:02:28][DEBUG]conn_info.fec_encode_manager.get_timer_fd64()=4294967395 [2017-11-10 05:02:28][DEBUG]conn_info.timer.get_timer_fd()=6
brook直连sock5 没问题,sstap连接本地虚拟机无响应。
The text was updated successfully, but these errors were encountered:
还有个问题,就是给虚拟机交叉编译的环境是这个么: http://downloads.openwrt.org/chaos_calmer/15.05/x86/generic/OpenWrt-SDK-15.05-x86-generic_gcc-4.8-linaro_uClibc-0.9.33.2.Linux-x86_64.tar.bz2
Sorry, something went wrong.
没用过brook,需要你自己解决一下。
还有个问题,就是给虚拟机交叉编译的环境是这个么
可以用这个。 更简单的方法是用g++的-m32选项。
-m32
@siriume Brook + UDP2raw 解决了吗?
No branches or pull requests
服务器 hk centos
udp2raw
./udp2raw -s -l0.0.0.0:4096 -r 127.0.0.1:8877 -a --raw-mode faketcp -k "passwd" --cipher-mode xor --auth-mode simple
[2017-11-10 04:22:58][INFO]argc=14 ./udp2raw -s -l0.0.0.0:4096 -r 127.0.0.1:8877 -a --raw-mode faketcp -k mervyn --cipher-mode xor --auth-mode simple
[2017-11-10 04:22:58][INFO]important variables: log_level=4:INFO raw_mode=faketcp cipher_mode=xor auth_mode=simple key=mervyn local_ip=0.0.0.0 local_port=4096 remote_ip=127.0.0.1 remote_port=8877 source_ip=0.0.0.0 source_port=0 socket_buf_size=1048576
[2017-11-10 04:22:58][INFO]const_id:fe183664
[2017-11-10 04:22:58][INFO]run_command iptables -N udp2rawDwrW_fe183664_C0
[2017-11-10 04:22:58][INFO]run_command iptables -F udp2rawDwrW_fe183664_C0
[2017-11-10 04:22:58][INFO]run_command iptables -I udp2rawDwrW_fe183664_C0 -j DROP
[2017-11-10 04:22:58][INFO]run_command iptables -I INPUT -p tcp -m tcp --dport 4096 -j udp2rawDwrW_fe183664_C0
[2017-11-10 04:22:58][WARN]auto added iptables rules
[2017-11-10 04:22:58][INFO]now listening at 0.0.0.0:4096
[2017-11-10 04:23:59][INFO][x.x.x.x:5122]received syn,sent syn ack back
[2017-11-10 04:23:59][INFO][x.x.x.x:5122]got packet from a new ip
[2017-11-10 04:23:59][INFO][x.x.x.x:5122]created new conn,state: server_handshake1,my_id is 391d433e
[2017-11-10 04:23:59][INFO][x.x.x.x:5122]changed state to server_handshake1,my_id is 391d433e
[2017-11-10 04:24:00][INFO][x.x.x.x:5122]received handshake oppsite_id:10b4a53d my_id:391d433e
[2017-11-10 04:24:00][INFO][x.x.x.x:5122]oppsite const_id:a83a8b03
[2017-11-10 04:24:00][INFO][x.x.x.x:5122]changed state to server_ready
相应正常
speeder
./speeder -s -l0.0.0.0:8877 -r 127.0.0.1:2333 -f20:10 --mode 0 --mtu 1200 --log-level 5
[2017-11-10 05:02:55][INFO]argc=12 ./speeder -s -l0.0.0.0:8877 -r 127.0.0.1:2333 -f20:10 --mode 0 --mtu 1200 --log-level 5
[2017-11-10 05:02:55][INFO]jitter_min=0 jitter_max=0 output_interval_min=0 output_interval_max=0 fec_timeout=8 fec_data_num=20 fec_redundant_num=10 fec_mtu=1200 fec_queue_len=200 fec_mode=0
[2017-11-10 05:02:55][DEBUG]local_listen_fd=5
,[2017-11-10 05:02:55][DEBUG] delay_manager.get_timer_fd() =4
[2017-11-10 05:02:55][INFO]now listening at 0.0.0.0:8877
[2017-11-10 05:02:55][DEBUG] timer.get_timer_fd() =7
测试连接无反应
本地虚拟机
udp2raw
./udp2raw -c -l0.0.0.0:8111 -rx.x.x.x:4096 -a --raw-mode faketcp -k "passwd" --cipher-mode xor --auth-mode simple
[2017-11-10 04:23:59][INFO]argc=13 ./udp2raw -c -l0.0.0.0:8111 -r13.75.115.216:4096 -a --raw-mode faketcp -k mervyn --cipher-mode xor --auth-mode simple
[2017-11-10 04:23:59][INFO]important variables: log_level=4:INFO raw_mode=faketcp cipher_mode=xor auth_mode=simple key=mervyn local_ip=0.0.0.0 local_port=8111 remote_ip=13.75.115.216 remote_port=4096 source_ip=0.0.0.0 source_port=0 socket_buf_size=1048576
[2017-11-10 04:23:59][INFO]const_id:a83a8b03
[2017-11-10 04:23:59][INFO]run_command iptables -N udp2rawDwrW_a83a8b03_C0
[2017-11-10 04:23:59][INFO]run_command iptables -F udp2rawDwrW_a83a8b03_C0
[2017-11-10 04:23:59][INFO]run_command iptables -I udp2rawDwrW_a83a8b03_C0 -j DROP
[2017-11-10 04:23:59][INFO]run_command iptables -I INPUT -s x.x.x.x/32 -p tcp -m tcp --sport 4096 -j udp2rawDwrW_a83a8b03_C0
[2017-11-10 04:23:59][WARN]auto added iptables rules
[2017-11-10 04:23:59][INFO]get_src_adress called
[2017-11-10 04:23:59][INFO]source ip = 192.168.3.21
[2017-11-10 04:23:59][INFO]using port 15553
[2017-11-10 04:23:59][INFO]state changed from client_idle to client_tcp_handshake
[2017-11-10 04:23:59]INFOsent tcp syn
[2017-11-10 04:23:59][INFO]state changed from client_tcp_handshake to client_handshake1
[2017-11-10 04:23:59]INFOsent handshake1
[2017-11-10 04:23:59][INFO]changed state from to client_handshake1 to client_handshake2,my_id is 10b4a53d,oppsite id is 391d433e
[2017-11-10 04:23:59]INFOsent handshake2
[2017-11-10 04:24:00][INFO]changed state from to client_handshake2 to client_ready
speeder
./speeder -c -l0.0.0.0:2333 -r127.0.0.1:8111 -f20:10 --mode 0 --mtu 1200 --log-level 5
[2017-11-10 05:02:28][DEBUG]local_listen_fd=7
,[2017-11-10 05:02:28][DEBUG][127.0.0.1:8111]created new udp_fd 9
[2017-11-10 05:02:28][DEBUG]remote_fd64=4294967397
[2017-11-10 05:02:28][DEBUG]delay_manager.get_timer_fd()=4
[2017-11-10 05:02:28][DEBUG]conn_info.fec_encode_manager.get_timer_fd64()=4294967395
[2017-11-10 05:02:28][DEBUG]conn_info.timer.get_timer_fd()=6
brook直连sock5 没问题,sstap连接本地虚拟机无响应。
The text was updated successfully, but these errors were encountered: