* [gentoo-server] Detect where a connection drop occurs
@ 2013-02-22 5:21 Vinícius Ferrão
2013-02-22 7:44 ` Mateusz Arkadiusz Mierzwinski
0 siblings, 1 reply; 5+ messages in thread
From: Vinícius Ferrão @ 2013-02-22 5:21 UTC (permalink / raw
To: <gentoo-server@lists.gentoo.org>
[-- Attachment #1.1: Type: text/plain, Size: 1007 bytes --]
Hello dudes,
I've configured an service and I know it's working normally through TCP port 548. But I'm only able to connect to it using a VPN connection.
I need to debug it detecting where (in which hop) the connection is being dropped.
Any ideias on how to do that?
I've tried tcptraceroute without success:
sudo tcptraceroute www.mydomain.com 548
Selected device en0, address 172.16.144.115, port 49302 for outgoing packets
Tracing the path to www.mydomain.com (146.164.36.7) on TCP port 548 (afpovertcp), 30 hops max
1 172.16.144.1 0.769 ms 0.598 ms 0.686 ms
2 * * *
3 * * *
4 * * *
5 * * *
6 * * *
7 * * *
8 * * *
9 * * *
10 * * *
11 * * *
12 * * *
13 * * *
14 * * *
15 * * *
16 * * *
17 * * *
18 * * *
19 * * *
20 * * *
21 * * *
22 * * *
23 * * *
24 * * *
25 * * *
26 * * *
27 * * *
28 * * *
29 * * *
Thanks in advance,
Vinícius Ferrão: Administrador de Sistemas
www.ferrao.eti.br | +55 (21) 8888-2619
[-- Attachment #1.2: Type: text/html, Size: 2398 bytes --]
[-- Attachment #2: smime.p7s --]
[-- Type: application/pkcs7-signature, Size: 2354 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [gentoo-server] Detect where a connection drop occurs
2013-02-22 5:21 [gentoo-server] Detect where a connection drop occurs Vinícius Ferrão
@ 2013-02-22 7:44 ` Mateusz Arkadiusz Mierzwinski
2013-02-22 7:57 ` William Kenworthy
0 siblings, 1 reply; 5+ messages in thread
From: Mateusz Arkadiusz Mierzwinski @ 2013-02-22 7:44 UTC (permalink / raw
To: gentoo-server
[-- Attachment #1: Type: text/plain, Size: 1570 bytes --]
Hi,
1. netstat -ant
2. if returns 0.0.0.0:548 its ok
3. else: check your service if it's connected to VPN interface only.
4. Traceroute to HOST not PORT. Port pinging can be blocked by your
Internet Provider.
5. Check Your IPtables rules if You don't block any ports or set connlimit,
rejects etc.: iptables -L
6. Check Your IDS software like Prelude/Snort.
Best regards,
MM
2013/2/22 Vinícius Ferrão <viniciusferrao@if.ufrj.br>
> Hello dudes,
>
> I've configured an service and I know it's working normally through TCP
> port 548. But I'm only able to connect to it using a VPN connection.
>
> I need to debug it detecting where (in which hop) the connection is being
> dropped.
>
> Any ideias on how to do that?
>
> I've tried tcptraceroute without success:
>
> sudo tcptraceroute www.mydomain.com 548
> Selected device en0, address 172.16.144.115, port 49302 for outgoing
> packets
> Tracing the path to www.mydomain.com (146.164.36.7) on TCP port 548
> (afpovertcp), 30 hops max
> 1 172.16.144.1 0.769 ms 0.598 ms 0.686 ms
> 2 * * *
> 3 * * *
> 4 * * *
> 5 * * *
> 6 * * *
> 7 * * *
> 8 * * *
> 9 * * *
> 10 * * *
> 11 * * *
> 12 * * *
> 13 * * *
> 14 * * *
> 15 * * *
> 16 * * *
> 17 * * *
> 18 * * *
> 19 * * *
> 20 * * *
> 21 * * *
> 22 * * *
> 23 * * *
> 24 * * *
> 25 * * *
> 26 * * *
> 27 * * *
> 28 * * *
> 29 * * *
>
> Thanks in advance,
>
>
> *Vinícius Ferrão*: Administrador de Sistemas
> www.ferrao.eti.br | +55 (21) 8888-2619
>
>
[-- Attachment #2: Type: text/html, Size: 2939 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [gentoo-server] Detect where a connection drop occurs
2013-02-22 7:44 ` Mateusz Arkadiusz Mierzwinski
@ 2013-02-22 7:57 ` William Kenworthy
0 siblings, 0 replies; 5+ messages in thread
From: William Kenworthy @ 2013-02-22 7:57 UTC (permalink / raw
To: gentoo-server
[-- Attachment #1: Type: text/plain, Size: 2069 bytes --]
tcptracerout is entirely appropriate here (its not the same as traceroute)
Whats the routing table say? (route -n)
BillK
On 22/02/13 15:44, Mateusz Arkadiusz Mierzwinski wrote:
> Hi,
>
> 1. netstat -ant
> 2. if returns 0.0.0.0:548 <http://0.0.0.0:548> its ok
> 3. else: check your service if it's connected to VPN interface only.
>
> 4. Traceroute to HOST not PORT. Port pinging can be blocked by your
> Internet Provider.
> 5. Check Your IPtables rules if You don't block any ports or set
> connlimit, rejects etc.: iptables -L
> 6. Check Your IDS software like Prelude/Snort.
>
> Best regards,
> MM
>
>
> 2013/2/22 Vinícius Ferrão <viniciusferrao@if.ufrj.br
> <mailto:viniciusferrao@if.ufrj.br>>
>
> Hello dudes,
>
> I've configured an service and I know it's working normally
> through TCP port 548. But I'm only able to connect to it using a
> VPN connection.
>
> I need to debug it detecting where (in which hop) the connection
> is being dropped.
>
> Any ideias on how to do that?
>
> I've tried tcptraceroute without success:
>
> sudo tcptraceroute www.mydomain.com <http://www.mydomain.com> 548
> Selected device en0, address 172.16.144.115, port 49302 for
> outgoing packets
> Tracing the path to www.mydomain.com <http://www.mydomain.com>
> (146.164.36.7) on TCP port 548 (afpovertcp), 30 hops max
> 1 172.16.144.1 0.769 ms 0.598 ms 0.686 ms
> 2 * * *
> 3 * * *
> 4 * * *
> 5 * * *
> 6 * * *
> 7 * * *
> 8 * * *
> 9 * * *
> 10 * * *
> 11 * * *
> 12 * * *
> 13 * * *
> 14 * * *
> 15 * * *
> 16 * * *
> 17 * * *
> 18 * * *
> 19 * * *
> 20 * * *
> 21 * * *
> 22 * * *
> 23 * * *
> 24 * * *
> 25 * * *
> 26 * * *
> 27 * * *
> 28 * * *
> 29 * * *
>
> Thanks in advance,
>
>
> *Vinícius Ferrão*: Administrador de Sistemas
> www.ferrao.eti.br <http://www.ferrao.eti.br> | +55 (21) 8888-2619
> <tel:%2B55%20%2821%29%208888-2619>
>
>
[-- Attachment #2: Type: text/html, Size: 5073 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [gentoo-server] Detect where a connection drop occurs
@ 2013-02-22 5:22 info
2013-02-22 5:26 ` Vinícius Ferrão
0 siblings, 1 reply; 5+ messages in thread
From: info @ 2013-02-22 5:22 UTC (permalink / raw
To: gentoo-server
Thank you for contacting Resilient. We will respond to you shortly.
Kind regards,
The Resilient team
============
This is an auto-reply message; please do not respond to this e-mail
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2013-02-22 7:58 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-02-22 5:21 [gentoo-server] Detect where a connection drop occurs Vinícius Ferrão
2013-02-22 7:44 ` Mateusz Arkadiusz Mierzwinski
2013-02-22 7:57 ` William Kenworthy
-- strict thread matches above, loose matches on Subject: below --
2013-02-22 5:22 info
2013-02-22 5:26 ` Vinícius Ferrão
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox