IWETHEY v. 0.3.0 | TODO
1,095 registered users | 0 active users | 0 LpH | Statistics
Login | Create New User
IWETHEY Banner

Welcome to IWETHEY!

New On experimenting...
.. I discover that this works - against my expectations.

Conclusion? eth0 isn't going down properly.

If it went down, you wouldn't be connected any more.


Peter
[link|http://www.ubuntulinux.org|Ubuntu Linux]
[link|http://www.kuro5hin.org|There is no K5 Cabal]
[link|http://guildenstern.dyndns.org|Home]
Use P2P for legitimate purposes!
New I disagree on your analysis.
I think that sshd is holding onto state despite the network device vanishing. However, the down/up restores the network device long before sshd decides to discard the session. After all, an ifdown does make the device "not exist" as eth0: its IP address is not bindable, the routes are removed, etc etc.

It might also be the OS leaving the connection open *as far as the sshd process is concerned* although I'm sure it would get copious errors were it to try to use it whilst the device was disabled.

Wade.

Is it enough to love
Is it enough to breathe
Somebody rip my heart out
And leave me here to bleed
 
Is it enough to die
Somebody save my life
I'd rather be Anything but Ordinary
Please

-- "Anything but Ordinary" by Avril Lavigne.

New Re: I disagree on your analysis.
If sockets are open and working, then the interface ain't down.


Peter
[link|http://www.ubuntulinux.org|Ubuntu Linux]
[link|http://www.kuro5hin.org|There is no K5 Cabal]
[link|http://guildenstern.dyndns.org|Home]
Use P2P for legitimate purposes!
New This is how I handle the issue
I often will do "nohup /etc/init.d/network restart".
I lose my connection but the process keeps going due to the nohup.
New Ar, that's what I do
Of course, if summat breaks you're knackered, but hell, exercise is good for you.


Peter
[link|http://www.ubuntulinux.org|Ubuntu Linux]
[link|http://www.kuro5hin.org|There is no K5 Cabal]
[link|http://guildenstern.dyndns.org|Home]
Use P2P for legitimate purposes!
New Nope, I disagree.
The interface goes down.

SSH server buffers the requests until it can get back through. As long as the tunnel construction hasn't failed it should still be there... It is sort of like pushing stop on your DVD once. When you remove and re-insert the DVD, the DVD Player starts exactly where left off.

It is the same idea, just implemented in Network protocol. Of course Timeouts apply with SSH but the DVD only fails when power has been removed.
--
[link|mailto:greg@gregfolkert.net|greg],
[link|http://www.iwethey.org/ed_curry|REMEMBER ED CURRY!] @ iwethey

[link|http://it.slashdot.org/comments.pl?sid=134485&cid=11233230|"Microsoft Security" is an even better oxymoron than "Military Intelligence"]
No matter how much Microsoft supporters whine about how Linux and other operating systems have just as many bugs as their operating systems do, the bottom line is that the serious, gut-wrenching problems happen on Windows, not on Linux, not on Mac OS. -- [link|http://www.eweek.com/article2/0,1759,1622086,00.asp|source]
New It works like that with warp, too
I've done that particular trick on the box in the basement before.
--\n-------------------------------------------------------------------\n* Jack Troughton                            jake at consultron.ca *\n* [link|http://consultron.ca|http://consultron.ca]                   [link|irc://irc.ecomstation.ca|irc://irc.ecomstation.ca] *\n* Kingston Ontario Canada               [link|news://news.consultron.ca|news://news.consultron.ca] *\n-------------------------------------------------------------------
     Note to self: don't type "ifdown eth0" over SSH. -NT - (FuManChu) - (12)
         ifdown eth0; ifup eth0 works. Over ssh. I've done that. -NT - (static) - (11)
             You weren't connected via eth0, then ;-) -NT - (pwhysall) - (10)
                 Yes. Yes, I was. Actually, I've done it several times. - (static) - (8)
                     I thought of that too late (worked for me in the past too) -NT - (FuManChu)
                     On experimenting... - (pwhysall) - (6)
                         I disagree on your analysis. - (static) - (5)
                             Re: I disagree on your analysis. - (pwhysall) - (4)
                                 This is how I handle the issue - (broomberg) - (1)
                                     Ar, that's what I do - (pwhysall)
                                 Nope, I disagree. - (folkert) - (1)
                                     It works like that with warp, too - (jake123)
                 I concur. I have done it many times. - (folkert)

I don't get no respect!
44 ms