On Fri, 1 Jan 1999 [EMAIL PROTECTED] wrote:

> I've been on vacation, didn't see this until now.
> I agree with most of these; however, there's a special case not
> mentioned: what happens when a force is issued while blocked, or a block
> is issued while forced?  I would add that force should cancel any block,
> block should cancel any force.

If the link is down "block" will prevent the link being brought
up unless explicitly requested with "up". "force" will not
override a down and blocked link.

If the link is up or trying to come up "block" will not stop it
coming up - "block" only prevents a down link from being implicitly
brought up by a packet.

If "force" is in effect and the link is either not down or is
not blocked the link will be brought up and will not be brought
down after an idle period. If it does go down for any reason
(such as a remote hang up) it will be brought straight back up
as long as "force" is in effect and "block" isn't. (If the
remote end does idle hang ups this can bounce a lot...)

In general "block" overrides "force" but "block" does not bring
the link down on its own (use a "down" as well if that's what
you want) and only takes effect when the link is down.

> I believe these follow the principle of least suprise.  Some people may
> think that they'd like their link to finish dialing even though they've
> blocked the connection, but when the dial attempt is caused by an up,
> and the phone line is busy (it happens - I've cron jobs), I can't run
> block; diald continues to try and bring up the connection forever, even
> though it's blocked.  Since it wasn't a packet that started it, it
> doesn't time out.  I basically have to kill diald.

This shouldn't happen. However I don't know if this is something
I fixed in my code :-). The next diald will treat "up" as a one
shot connect. I.e. try once, either the user is happy because
the connect worked or the user can look at what happened.

  N.B. I agree that "down" and "block" should abort in progress
connects but that isn't done yet.

                                Mike

-- 
.----------------------------------------------------------------------.
| Mike Jagdis                   | Internet: [EMAIL PROTECTED]  |
| 280, Silverdale Road, Earley, | Voice:    +44 118 926 6996           |
| Reading RG6 7NU ENGLAND       | Work:     +44 118 989 0403           |
`----------------------------------------------------------------------'


-
To unsubscribe from this list: send the line "unsubscribe linux-diald" in
the body of a message to [EMAIL PROTECTED]

Reply via email to