Make pppd kill active sockets...

Martijn van Oosterhout (kleptog@cupid.suninternet.com)
Mon, 03 May 1999 00:02:35 +1000


I was reading here the other day about why when a
ppp interface goes down, it can be brought back up
without any of the other levels noticing.

While this may be nice in the general case, in the
situation where you have a dialup account where
you never get the same IP twice in a row, it is
totally useless.

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.

This way you won't get these unclosable sockets
that _eventually_ time out.

I wouldn't even know where to start looking into
this.

Martijn van Oosterhout
Australia

-
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/