Re: Make pppd kill active sockets...

ak@muc.de
Sun, 2 May 1999 23:30:17 +0200


On Sun, May 02, 1999 at 10:53:36PM +0200, g@cx888441-a.cv1.sdca.home.com wrote:
>
>
> On Sun, 2 May 1999, Andi Kleen wrote:
>
> > >So I was wondering if there was a way to notify
> > >applications with a connection over the ppp link
> > >when it goes down, maybe with SIGPIPE, EPIPE or
> > >a Host Unreachable message.
> >
> > I plan to release a patch for that soon.
> >
> >
> > -Andi
>
> Could you make it configurable on the fly if possible?
> Since I (and all the dialup users in my univ.) get static ip for dialup,
> this feature(bug) is pretty useful for us.. (you know, your ssh connection
> will be still up even after you got disconnected & reconnected..)

Yes, it uses the IFF_DYNAMIC interface flag. So if you don't set it
nothing happens.

-Andi

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/