Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 4 Nov 2008 11:10:25 -0200
From:      "J MPZ" <joompz@gmail.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: Problems with FreeBSD
Message-ID:  <e56958de0811040510s494c898fra3ac683392ba2028@mail.gmail.com>
In-Reply-To: <490FA51F.7010901@datapipe.com>
References:  <e56958de0811031643s473b499haa3243de1ed7c278@mail.gmail.com> <490FA51F.7010901@datapipe.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi Paul,

When my connections freeze, I open the tcpdump in other terminal. If I type
something, type "Enter", on the terminal frozen, the tcpdump show packets,
like that:

11:18:45.526256 IP (tos 0x0, ttl  51, id 651, offset 0, flags [DF], proto:
TCP (6), length: 112) 189.21.230.195.20787 > 201.57.5.2.2264: P 193:241(48)
ack 0 win 15136 <nop,nop,timestamp 1556398494 745829191,nop,nop,sack 1
{1428:1664}>
11:18:45.625839 IP (tos 0x10, ttl  64, id 23438, offset 0, flags [DF],
proto: TCP (6), length: 52) 201.57.5.2.2264 > 189.21.230.195.20787: ., cksum
0x4d03 (correct), 1664:1664(0) ack 241 win 65535 <nop,nop,timestamp
745898173 1556398494>
11:18:45.707825 IP (tos 0x0, ttl  51, id 652, offset 0, flags [DF], proto:
TCP (6), length: 112) 189.21.230.195.20787 > 201.57.5.2.2264: P 241:289(48)
ack 0 win 15136 <nop,nop,timestamp 1556398704 745829191,nop,nop,sack 1
{1428:1664}>
11:18:45.807839 IP (tos 0x10, ttl  64, id 23493, offset 0, flags [DF],
proto: TCP (6), length: 52) 201.57.5.2.2264 > 189.21.230.195.20787: ., cksum
0x4b4b (correct), 1664:1664(0) ack 289 win 65535 <nop,nop,timestamp
745898355 1556398704>
11:18:45.867181 IP (tos 0x0, ttl  51, id 653, offset 0, flags [DF], proto:
TCP (6), length: 112) 189.21.230.195.20787 > 201.57.5.2.2264: P 289:337(48)
ack 0 win 15136 <nop,nop,timestamp 1556398903 745829191,nop,nop,sack 1
{1428:1664}>
11:18:45.966840 IP (tos 0x10, ttl  64, id 23529, offset 0, flags [DF],
proto: TCP (6), length: 52) 201.57.5.2.2264 > 189.21.230.195.20787: ., cksum
0x49b5 (correct), 1664:1664(0) ack 337 win 65535 <nop,nop,timestamp
745898514 1556398903>

When I executed 'ls' on the terminal frozen, returns this on tcpdump:

11:19:35.738788 IP (tos 0x0, ttl  51, id 654, offset 0, flags [DF], proto:
TCP (6), length: 112) 189.21.230.195.20787 > 201.57.5.2.2264: P 337:385(48)
ack 0 win 15136 <nop,nop,timestamp 1556448796 745829191,nop,nop,sack 1
{1428:1664}>
11:19:35.788428 IP (tos 0x0, ttl  51, id 655, offset 0, flags [DF], proto:
TCP (6), length: 112) 189.21.230.195.20787 > 201.57.5.2.2264: P 385:433(48)
ack 0 win 15136 <nop,nop,timestamp 1556448891 745829191,nop,nop,sack 1
{1428:1664}>
11:19:35.788483 IP (tos 0x10, ttl  64, id 34519, offset 0, flags [DF],
proto: TCP (6), length: 52) 201.57.5.2.2264 > 189.21.230.195.20787: ., cksum
0xc3d4 (correct), 1664:1664(0) ack 433 win 65535 <nop,nop,timestamp
745948332 1556448796>
11:19:36.229773 IP (tos 0x0, ttl  51, id 656, offset 0, flags [DF], proto:
TCP (6), length: 112) 189.21.230.195.20787 > 201.57.5.2.2264: P 433:481(48)
ack 0 win 15136 <nop,nop,timestamp 1556449351 745829191,nop,nop,sack 1
{1428:1664}>
11:19:36.328854 IP (tos 0x10, ttl  64, id 34621, offset 0, flags [DF],
proto: TCP (6), length: 52) 201.57.5.2.2264 > 189.21.230.195.20787: ., cksum
0xbf5c (correct), 1664:1664(0) ack 481 win 65535 <nop,nop,timestamp
745948873 1556449351>

I'm using: tcpdump -nvvv -i ste0 host REMOTE_IP


2008/11/3, Paul A. Procacci <pprocacci@datapipe.com>:
>
> J MPZ wrote:
>
>> Hi guys,
>>
>> I have some problem with my FreeBSD server. I have this:
>>
>> #########                                    ###########      #########
>> # Linux1  #  -> ASA  -> Internet  -> # FreeBSD  #  -> # Linux2 #
>> #########                                    ###########      #########
>>
>> If I run a ssh for Linux1 to FreeBSD, my connection freeze when the return
>> of some command is a big text. Example:
>>
>> I make a ssh connection in the from the Linux1 to FreeBSD server, then, I
>> execute some commands, like: 'pwd', 'whoami', 'ls /'... this work
>> perfectly.
>> But, if I run some command that return a big text, like as: 'ls /dev/', or
>> top, my connection freeze.
>>
>> In other terminal, the tcpdump continues showing packets in this
>> connection
>> that was freeze.
>>
>> If I try to access the Linux2, throught FreeBSD (redirect port on natd or
>> redirect port with rinetd), the same thing happens.
>>
>> Is this a problem with FreeBSD? Someone know how I can fix it? Some
>> sysctl?
>>
>> Regards,
>> J.
>> _______________________________________________
>> freebsd-questions@freebsd.org mailing list
>> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
>> To unsubscribe, send any mail to "
>> freebsd-questions-unsubscribe@freebsd.org"
>>
>>
> The tcpdump that you say continues showing packets......are the packets
> leaving the freeBSD machine or arriving at the FreeBSD machine.
> My guess is you meant leaving the FreeBSD destined for your linux machine.
>  If this is the case, then the problem most likely lies with the ASA.
> If you monitor the ASA's external interface during your testing, do you see
> packets arriving?  If so, do you see packets leaving the internal interface
> going back to your Linux1 machine?
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?e56958de0811040510s494c898fra3ac683392ba2028>