Foro de elhacker.net

Comunicaciones => Redes => Mensaje iniciado por: andreker en 26 Noviembre 2011, 21:10 pm



Título: Conexiones por UDP y Proxy bypass Saltar restricciones
Publicado por: andreker en 26 Noviembre 2011, 21:10 pm
Hola, tengo una duda, estoy tras un proxy bien restrictivo, pero usando el servicio de yourfreedom he podido conectarme usando UDP en el puerto 53 a sus servidores y atraves de esa conexion abro bien o un puerto socks o una conexion vpn, hasta ahi genial, pero yourfreedom da poco tiempo de conexion... 6 horas al dia...
alguien sabe de otro servicio igual o parecido, o
al parecer las peticiones udp no pasan por el proxy y estuve imaginando que podria hacer una conexion vpn por udp y navegar por ahi, que opinan... me gusto mucho la experiancia vpn pues no tuve que estar proxificando todo, pero lo mas importante aqui  es saltar el proxy que es restrictivo al puerto 80
alguien sabe de proxys o semejantes que usen udp...
Gracias


Título: Re: Conexiones por UDP y Proxy bypass Saltar restricciones
Publicado por: ThonyMaster en 27 Noviembre 2011, 00:56 am
pienso q podrias hacer un tunel SSH... Haz click aqui para ver (http://foro.elhacker.net/empty-t339204.0.html)


Título: Re: Conexiones por UDP y Proxy bypass Saltar restricciones
Publicado por: andreker en 27 Noviembre 2011, 06:03 am
Claro, ya eso lo he hecho, pero eso es por tcp, y tengoq ue usar el proxy, mi idea es usar ul udp que no pasa por proxy y conectarme a algo tipo vpn o algo asi, o tu me dices conectarme a ssh por udp?


Título: Re: Conexiones por UDP y Proxy bypass Saltar restricciones
Publicado por: ThonyMaster en 27 Noviembre 2011, 16:17 pm
no entendia el porq qrias UDP pero ya lei de nuevo ya ps.. weno por ssh no te sirve pero esto si se parace a lo q qieres..

OpenVPN (http://www.alcancelibre.org/staticpages/index.php/como-openvpn-server-centos5)


Título: Re: Conexiones por UDP y Proxy bypass Saltar restricciones
Publicado por: andreker en 27 Noviembre 2011, 21:58 pm
gracias por tu respuesta, ya ho labia intentado, igual te pongo los logs pa ver que opinas

Sin proxy:

TCP a 76.10.222.65 por puerto 443

Código:
Sun Nov 27 15:48:43 2011 OpenVPN 2.1.4 i686-pc-mingw32 [SSL] [LZO2] [PKCS11] built on Nov  8 2010
Sun Nov 27 15:48:43 2011 NOTE: OpenVPN 2.1 requires '--script-security 2' or higher to call user-defined scripts or executables
Sun Nov 27 15:48:43 2011 Control Channel Authentication: using 'ta.key' as a OpenVPN static key file
Sun Nov 27 15:48:43 2011 Outgoing Control Channel Authentication: Using 160 bit message hash 'SHA1' for HMAC authentication
Sun Nov 27 15:48:43 2011 Incoming Control Channel Authentication: Using 160 bit message hash 'SHA1' for HMAC authentication
Sun Nov 27 15:48:43 2011 LZO compression initialized
Sun Nov 27 15:48:43 2011 Control Channel MTU parms [ L:1544 D:168 EF:68 EB:0 ET:0 EL:0 ]
Sun Nov 27 15:48:43 2011 Socket Buffers: R=[8192->8192] S=[8192->8192]
Sun Nov 27 15:48:43 2011 Data Channel MTU parms [ L:1544 D:1450 EF:44 EB:135 ET:0 EL:0 AF:3/1 ]
Sun Nov 27 15:48:43 2011 Local Options hash (VER=V4): 'ee93268d'
Sun Nov 27 15:48:43 2011 Expected Remote Options hash (VER=V4): 'bd577cd1'
Sun Nov 27 15:48:43 2011 Attempting to establish TCP connection with 76.10.222.65:443
Sun Nov 27 15:49:04 2011 TCP: connect to 76.10.222.65:443 failed, will try again in 5 seconds: Connection timed out (WSAETIMEDOUT)
Sun Nov 27 15:49:30 2011 TCP: connect to 76.10.222.65:443 failed, will try again in 5 seconds: Connection timed out (WSAETIMEDOUT)


TCP a 178.18.17.83 por puerto 80

Código:
Sun Nov 27 15:50:40 2011 OpenVPN 2.1.4 i686-pc-mingw32 [SSL] [LZO2] [PKCS11] built on Nov  8 2010
Sun Nov 27 15:50:40 2011 NOTE: OpenVPN 2.1 requires '--script-security 2' or higher to call user-defined scripts or executables
Sun Nov 27 15:50:41 2011 Control Channel Authentication: using 'ta.key' as a OpenVPN static key file
Sun Nov 27 15:50:41 2011 Outgoing Control Channel Authentication: Using 160 bit message hash 'SHA1' for HMAC authentication
Sun Nov 27 15:50:41 2011 Incoming Control Channel Authentication: Using 160 bit message hash 'SHA1' for HMAC authentication
Sun Nov 27 15:50:41 2011 LZO compression initialized
Sun Nov 27 15:50:41 2011 Control Channel MTU parms [ L:1544 D:168 EF:68 EB:0 ET:0 EL:0 ]
Sun Nov 27 15:50:41 2011 Socket Buffers: R=[8192->8192] S=[8192->8192]
Sun Nov 27 15:50:41 2011 Data Channel MTU parms [ L:1544 D:1450 EF:44 EB:135 ET:0 EL:0 AF:3/1 ]
Sun Nov 27 15:50:41 2011 Local Options hash (VER=V4): 'ee93268d'
Sun Nov 27 15:50:41 2011 Expected Remote Options hash (VER=V4): 'bd577cd1'
Sun Nov 27 15:50:41 2011 Attempting to establish TCP connection with 178.18.17.83:80
Sun Nov 27 15:51:02 2011 TCP: connect to 178.18.17.83:80 failed, will try again in 5 seconds: Connection timed out (WSAETIMEDOUT)


UDP a 178.18.17.83 por puerto 53

Código:
Sun Nov 27 15:52:39 2011 UDPv4 link local: [undef]
Sun Nov 27 15:52:39 2011 UDPv4 link remote: 178.18.17.83:53
Sun Nov 27 15:52:49 2011 [UNDEF] Inactivity timeout (--ping-restart), restarting
Sun Nov 27 15:52:49 2011 TCP/UDP: Closing socket
Sun Nov 27 15:52:49 2011 SIGUSR1[soft,ping-restart] received, process restarting
Sun Nov 27 15:52:49 2011 Restart pause, 2 second(s)
Sun Nov 27 15:52:51 2011 NOTE: the current --script-security setting may allow this configuration to call user-defined scripts
Sun Nov 27 15:52:51 2011 Re-using SSL/TLS context
Sun Nov 27 15:52:51 2011 LZO compression initialized
Sun Nov 27 15:52:51 2011 Control Channel MTU parms [ L:1542 D:166 EF:66 EB:0 ET:0 EL:0 ]
Sun Nov 27 15:52:51 2011 Socket Buffers: R=[8192->8192] S=[8192->8192]
Sun Nov 27 15:52:51 2011 Data Channel MTU parms [ L:1542 D:1450 EF:42 EB:135 ET:0 EL:0 AF:3/1 ]
Sun Nov 27 15:52:51 2011 Local Options hash (VER=V4): '504e774e'
Sun Nov 27 15:52:51 2011 Expected Remote Options hash (VER=V4): '14168603'
Sun Nov 27 15:52:51 2011 UDPv4 link local: [undef]
Sun Nov 27 15:52:51 2011 UDPv4 link remote: 178.18.17.83:53
Sun Nov 27 15:53:01 2011 [UNDEF] Inactivity timeout (--ping-restart), restarting
Sun Nov 27 15:53:01 2011 TCP/UDP: Closing socket
Sun Nov 27 15:53:01 2011 SIGUSR1[soft,ping-restart] received, process restarting
Sun Nov 27 15:53:01 2011 Restart pause, 2 second(s)
Sun Nov 27 15:53:03 2011 NOTE: the current --script-security setting may allow this configuration to call user-defined scripts
Sun Nov 27 15:53:03 2011 Re-using SSL/TLS context
Sun Nov 27 15:53:03 2011 LZO compression initialized
Sun Nov 27 15:53:03 2011 Control Channel MTU parms [ L:1542 D:166 EF:66 EB:0 ET:0 EL:0 ]
Sun Nov 27 15:53:03 2011 Socket Buffers: R=[8192->8192] S=[8192->8192]
Sun Nov 27 15:53:03 2011 Data Channel MTU parms [ L:1542 D:1450 EF:42 EB:135 ET:0 EL:0 AF:3/1 ]
Sun Nov 27 15:53:03 2011 Local Options hash (VER=V4): '504e774e'
Sun Nov 27 15:53:03 2011 Expected Remote Options hash (VER=V4): '14168603'
Sun Nov 27 15:53:03 2011 UDPv4 link local: [undef]
Sun Nov 27 15:53:03 2011 UDPv4 link remote: 178.18.17.83:53
Sun Nov 27 15:53:13 2011 [UNDEF] Inactivity timeout (--ping-restart), restarting
Sun Nov 27 15:53:13 2011 TCP/UDP: Closing socket
Sun Nov 27 15:53:13 2011 SIGUSR1[soft,ping-restart] received, process restarting
Sun Nov 27 15:53:13 2011 Restart pause, 2 second(s)
Sun Nov 27 15:53:15 2011 NOTE: the current --script-security setting may allow this configuration to call user-defined scripts
Sun Nov 27 15:53:15 2011 Re-using SSL/TLS context
Sun Nov 27 15:53:15 2011 LZO compression initialized
Sun Nov 27 15:53:15 2011 Control Channel MTU parms [ L:1542 D:166 EF:66 EB:0 ET:0 EL:0 ]
Sun Nov 27 15:53:15 2011 Socket Buffers: R=[8192->8192] S=[8192->8192]
Sun Nov 27 15:53:15 2011 Data Channel MTU parms [ L:1542 D:1450 EF:42 EB:135 ET:0 EL:0 AF:3/1 ]
Sun Nov 27 15:53:15 2011 Local Options hash (VER=V4): '504e774e'
Sun Nov 27 15:53:15 2011 Expected Remote Options hash (VER=V4): '14168603'
Sun Nov 27 15:53:15 2011 UDPv4 link local: [undef]
Sun Nov 27 15:53:15 2011 UDPv4 link remote: 178.18.17.83:53
Sun Nov 27 15:53:25 2011 [UNDEF] Inactivity timeout (--ping-restart), restarting
Sun Nov 27 15:53:25 2011 TCP/UDP: Closing socket
Sun Nov 27 15:53:25 2011 SIGUSR1[soft,ping-restart] received, process restarting
Sun Nov 27 15:53:25 2011 Restart pause, 2 second(s)
Sun Nov 27 15:53:27 2011 NOTE: the current --script-security setting may allow this configuration to call user-defined scripts
Sun Nov 27 15:53:27 2011 Re-using SSL/TLS context
Sun Nov 27 15:53:27 2011 LZO compression initialized
Sun Nov 27 15:53:27 2011 Control Channel MTU parms [ L:1542 D:166 EF:66 EB:0 ET:0 EL:0 ]
Sun Nov 27 15:53:27 2011 Socket Buffers: R=[8192->8192] S=[8192->8192]
Sun Nov 27 15:53:27 2011 Data Channel MTU parms [ L:1542 D:1450 EF:42 EB:135 ET:0 EL:0 AF:3/1 ]
Sun Nov 27 15:53:27 2011 Local Options hash (VER=V4): '504e774e'
Sun Nov 27 15:53:27 2011 Expected Remote Options hash (VER=V4): '14168603'
Sun Nov 27 15:53:27 2011 UDPv4 link local: [undef]
Sun Nov 27 15:53:27 2011 UDPv4 link remote: 178.18.17.83:53
Sun Nov 27 15:53:37 2011 [UNDEF] Inactivity timeout (--ping-restart), restarting
Sun Nov 27 15:53:37 2011 TCP/UDP: Closing socket
Sun Nov 27 15:53:37 2011 SIGUSR1[soft,ping-restart] received, process restarting
Sun Nov 27 15:53:37 2011 Restart pause, 2 second(s)
Sun Nov 27 15:53:39 2011 NOTE: the current --script-security setting may allow this configuration to call user-defined scripts
Sun Nov 27 15:53:39 2011 Re-using SSL/TLS context
Sun Nov 27 15:53:39 2011 LZO compression initialized
Sun Nov 27 15:53:39 2011 Control Channel MTU parms [ L:1542 D:166 EF:66 EB:0 ET:0 EL:0 ]
Sun Nov 27 15:53:39 2011 Socket Buffers: R=[8192->8192] S=[8192->8192]
Sun Nov 27 15:53:39 2011 Data Channel MTU parms [ L:1542 D:1450 EF:42 EB:135 ET:0 EL:0 AF:3/1 ]
Sun Nov 27 15:53:39 2011 Local Options hash (VER=V4): '504e774e'
Sun Nov 27 15:53:39 2011 Expected Remote Options hash (VER=V4): '14168603'
Sun Nov 27 15:53:39 2011 UDPv4 link local: [undef]
Sun Nov 27 15:53:39 2011 UDPv4 link remote: 178.18.17.83:53
Sun Nov 27 15:53:49 2011 [UNDEF] Inactivity timeout (--ping-restart), restarting
Sun Nov 27 15:53:49 2011 TCP/UDP: Closing socket
Sun Nov 27 15:53:49 2011 SIGUSR1[soft,ping-restart] received, process restarting
Sun Nov 27 15:53:49 2011 Restart pause, 2 second(s)
Sun Nov 27 15:53:51 2011 NOTE: the current --script-security setting may allow this configuration to call user-defined scripts
Sun Nov 27 15:53:51 2011 Re-using SSL/TLS context
Sun Nov 27 15:53:51 2011 LZO compression initialized
Sun Nov 27 15:53:51 2011 Control Channel MTU parms [ L:1542 D:166 EF:66 EB:0 ET:0 EL:0 ]
Sun Nov 27 15:53:51 2011 Socket Buffers: R=[8192->8192] S=[8192->8192]
Sun Nov 27 15:53:51 2011 Data Channel MTU parms [ L:1542 D:1450 EF:42 EB:135 ET:0 EL:0 AF:3/1 ]
Sun Nov 27 15:53:51 2011 Local Options hash (VER=V4): '504e774e'
Sun Nov 27 15:53:51 2011 Expected Remote Options hash (VER=V4): '14168603'
Sun Nov 27 15:53:51 2011 UDPv4 link local: [undef]
Sun Nov 27 15:53:51 2011 UDPv4 link remote: 178.18.17.83:53
Sun Nov 27 15:54:01 2011 [UNDEF] Inactivity timeout (--ping-restart), restarting
Sun Nov 27 15:54:01 2011 TCP/UDP: Closing socket
Sun Nov 27 15:54:01 2011 SIGUSR1[soft,ping-restart] received, process restarting
Sun Nov 27 15:54:01 2011 Restart pause, 2 second(s)
Sun Nov 27 15:54:03 2011 NOTE: the current --script-security setting may allow this configuration to call user-defined scripts
Sun Nov 27 15:54:03 2011 Re-using SSL/TLS context
Sun Nov 27 15:54:03 2011 LZO compression initialized
Sun Nov 27 15:54:03 2011 Control Channel MTU parms [ L:1542 D:166 EF:66 EB:0 ET:0 EL:0 ]
Sun Nov 27 15:54:03 2011 Socket Buffers: R=[8192->8192] S=[8192->8192]
Sun Nov 27 15:54:03 2011 Data Channel MTU parms [ L:1542 D:1450 EF:42 EB:135 ET:0 EL:0 AF:3/1 ]
Sun Nov 27 15:54:03 2011 Local Options hash (VER=V4): '504e774e'
Sun Nov 27 15:54:03 2011 Expected Remote Options hash (VER=V4): '14168603'
Sun Nov 27 15:54:03 2011 UDPv4 link local: [undef]
Sun Nov 27 15:54:03 2011 UDPv4 link remote: 178.18.17.83:53



Título: Re: Conexiones por UDP y Proxy bypass Saltar restricciones
Publicado por: andreker en 28 Noviembre 2011, 02:02 am
Citar
listo dos cosas solucionadas...

1.No conectaba usando proxys configurandolos por el GUI de openvpn, toca poner la opcion
Código:
socks-proxy <ip.del.proxy> <puerto>
en el archivo ovpn y ahi no me dio problemas y se conectó, solo que al conectarse me corto la conexion del proxy que es un tunel ssh, parece que por que hizo que todo saliera por el vpn y ahi mato la conexion del ssh, eso ya es otro tema aparte que me tocara solucionar luego.

2. ya pude conectar por udp, al parecer es que no todos los servidores que dicen estar funcionando realmente lo estan, y algunos tiene filtros, me he podido conectar al de AirVPN.org ero no me he podido loguear por que no me dejan bajar los cert keys y ca, suppongo que con un poco de espera ...

Bueno , si alguien sabe como conectar la vpn y especificar que me respete la ruta que uso para el ssh que me ponga un link, que ya estoy astenico de tantas busquedas
Gracias