Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
SSH Connection reseted by PEER?
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German)
View previous topic :: View next topic  
Author Message
smg
Veteran
Veteran


Joined: 13 Aug 2004
Posts: 1402
Location: /home/stephan

PostPosted: Wed Feb 08, 2006 5:34 pm    Post subject: SSH Connection reseted by PEER? Reply with quote

Hi!
Seitdem ich mein Openssl updated habe, wird meine Connection reseted by Peer über SSH wenn ich so ca. 2-3 mins keine aktivität habe.
Ist das normal? Wenn ja wo kann man den Müll ausschalten?

Bye.
_________________
GnuPG-Key-ID: 0xF8C275D4
Fingerprint: 5B6F 134A 189B A24D 342B 0961 8D4B 0230 F8C2 75D4
Code:
perl -WTe '($")=$/;print qq(@{[reverse('0'..'100')]}$/BOOM!$/);'
Back to top
View user's profile Send private message
think4urs11
Bodhisattva
Bodhisattva


Joined: 25 Jun 2003
Posts: 6659
Location: above the cloud

PostPosted: Wed Feb 08, 2006 6:17 pm    Post subject: Reply with quote

Sollte eigentlich unabhängig voneinander sein - SSH hat erstmal nix mit SSL zu tun.

Welche Versionen hast du denn?

emerge -evp openssl openssh
grep live /etc/ssh/sshd_config
_________________
Nothing is secure / Security is always a trade-off with usability / Do not assume anything / Trust no-one, nothing / Paranoia is your friend / Think for yourself
Back to top
View user's profile Send private message
smg
Veteran
Veteran


Joined: 13 Aug 2004
Posts: 1402
Location: /home/stephan

PostPosted: Wed Feb 08, 2006 6:21 pm    Post subject: Reply with quote

stephan stephan # emerge -pv openssl openssh

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild R ] dev-libs/openssl-0.9.7i -bindist -emacs -test +zlib 0 kB
[ebuild R ] net-misc/openssh-4.2_p1-r1 -X509 -chroot -hpn +ipv6 -kerberos +ldap* -libedit +pam (-selinux) -sftplogging -skey -smartcard -static +tcpd 58 kB

TCPKeepAlive yes
#ClientAliveInterval 0
ClientAliveInterval 180
#ClientAliveCountMax 3
_________________
GnuPG-Key-ID: 0xF8C275D4
Fingerprint: 5B6F 134A 189B A24D 342B 0961 8D4B 0230 F8C2 75D4
Code:
perl -WTe '($")=$/;print qq(@{[reverse('0'..'100')]}$/BOOM!$/);'
Back to top
View user's profile Send private message
think4urs11
Bodhisattva
Bodhisattva


Joined: 25 Jun 2003
Posts: 6659
Location: above the cloud

PostPosted: Wed Feb 08, 2006 6:46 pm    Post subject: Reply with quote

Ist da ein NAT-Host im Spiel zwischen Server und Client?

setz mal auf dem Client /proc/sys/net/ipv4/tcp_keepalive_time auf einen Wert um die 120 Sekunden (sollte 7200 per default sein)
_________________
Nothing is secure / Security is always a trade-off with usability / Do not assume anything / Trust no-one, nothing / Paranoia is your friend / Think for yourself
Back to top
View user's profile Send private message
smg
Veteran
Veteran


Joined: 13 Aug 2004
Posts: 1402
Location: /home/stephan

PostPosted: Wed Feb 08, 2006 6:56 pm    Post subject: Reply with quote

Think4UrS11 wrote:
Ist da ein NAT-Host im Spiel zwischen Server und Client?

setz mal auf dem Client /proc/sys/net/ipv4/tcp_keepalive_time auf einen Wert um die 120 Sekunden (sollte 7200 per default sein)


Ja.. Ich habe hier einen Netgear Router.. Der ist zwischen Server und Homepc..
Also einfach das höher setzen?

Bye.
_________________
GnuPG-Key-ID: 0xF8C275D4
Fingerprint: 5B6F 134A 189B A24D 342B 0961 8D4B 0230 F8C2 75D4
Code:
perl -WTe '($")=$/;print qq(@{[reverse('0'..'100')]}$/BOOM!$/);'
Back to top
View user's profile Send private message
think4urs11
Bodhisattva
Bodhisattva


Joined: 25 Jun 2003
Posts: 6659
Location: above the cloud

PostPosted: Wed Feb 08, 2006 7:06 pm    Post subject: Reply with quote

smg wrote:
Also einfach das höher setzen?

Nö niedriger (120 << 7200) :wink:
_________________
Nothing is secure / Security is always a trade-off with usability / Do not assume anything / Trust no-one, nothing / Paranoia is your friend / Think for yourself
Back to top
View user's profile Send private message
smg
Veteran
Veteran


Joined: 13 Aug 2004
Posts: 1402
Location: /home/stephan

PostPosted: Wed Feb 08, 2006 7:07 pm    Post subject: Reply with quote

Think4UrS11 wrote:
smg wrote:
Also einfach das höher setzen?

Nö niedriger (120 << 7200) :wink:


Eh mein ich ja :P
Wieso aber das nach dem Update so ist, ist mir definitiv ein Rätsel!

Ich teste das jetzt mal *10 mins kein netput über ssh mach*

Bis gleich.
_________________
GnuPG-Key-ID: 0xF8C275D4
Fingerprint: 5B6F 134A 189B A24D 342B 0961 8D4B 0230 F8C2 75D4
Code:
perl -WTe '($")=$/;print qq(@{[reverse('0'..'100')]}$/BOOM!$/);'
Back to top
View user's profile Send private message
smg
Veteran
Veteran


Joined: 13 Aug 2004
Posts: 1402
Location: /home/stephan

PostPosted: Wed Feb 08, 2006 7:17 pm    Post subject: Reply with quote

So so, jetzt hab ich 15 Minuten keinen Network Traffic over SSH produziert, und er timet nicht out.. Ist das ein gutes Zeichen?
Wie sieht das mit dem /proc aus? Muss ich sicher in local.rc stecken oder?

Bye.
_________________
GnuPG-Key-ID: 0xF8C275D4
Fingerprint: 5B6F 134A 189B A24D 342B 0961 8D4B 0230 F8C2 75D4
Code:
perl -WTe '($")=$/;print qq(@{[reverse('0'..'100')]}$/BOOM!$/);'
Back to top
View user's profile Send private message
think4urs11
Bodhisattva
Bodhisattva


Joined: 25 Jun 2003
Posts: 6659
Location: above the cloud

PostPosted: Wed Feb 08, 2006 7:31 pm    Post subject: Reply with quote

/etc/sysctl.conf
_________________
Nothing is secure / Security is always a trade-off with usability / Do not assume anything / Trust no-one, nothing / Paranoia is your friend / Think for yourself
Back to top
View user's profile Send private message
smg
Veteran
Veteran


Joined: 13 Aug 2004
Posts: 1402
Location: /home/stephan

PostPosted: Wed Feb 08, 2006 7:33 pm    Post subject: Reply with quote

Code:
     53 net.ipv4tcp_keepalive_time = 120$

So? ;)

Bye.
_________________
GnuPG-Key-ID: 0xF8C275D4
Fingerprint: 5B6F 134A 189B A24D 342B 0961 8D4B 0230 F8C2 75D4
Code:
perl -WTe '($")=$/;print qq(@{[reverse('0'..'100')]}$/BOOM!$/);'
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum