Bug 885769 - ekiga continues to send OPTIONS for disabled accounts
Summary: ekiga continues to send OPTIONS for disabled accounts
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: ekiga
Version: 17
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Peter Robinson
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-12-10 15:22 UTC by Stuart D Gathman
Modified: 2013-03-03 22:39 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-03-03 22:33:01 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
debug output while sending OPTIONS on disabled account (156.14 KB, text/plain)
2012-12-10 15:22 UTC, Stuart D Gathman
no flags Details
host and port packet trace of OPTIONS while disabled (3.12 KB, text/plain)
2012-12-10 15:25 UTC, Stuart D Gathman
no flags Details
packet trace of OPTIONS while disabled (4.56 KB, application/vnd.tcpdump.pcap)
2012-12-10 16:55 UTC, Stuart D Gathman
no flags Details
Screenshot of unregistered account sending OPTIONS packets (422.51 KB, image/png)
2012-12-12 18:11 UTC, Stuart D Gathman
no flags Details
Yet another debug output of sending options while disabled (175.70 KB, text/plain)
2012-12-12 18:18 UTC, Stuart D Gathman
no flags Details
packet trace of OPTIONS while disabled (29.69 KB, application/vnd.tcpdump.pcap)
2012-12-12 18:20 UTC, Stuart D Gathman
no flags Details
ekiga -d 4 output after patch (347.22 KB, text/plain)
2013-01-17 16:36 UTC, Stuart D Gathman
no flags Details

Description Stuart D Gathman 2012-12-10 15:22:49 UTC
Created attachment 660920 [details]
debug output while sending OPTIONS on disabled account

Description of problem:
Ekiga continues to send REGISTER packets for disabled account

Version-Release number of selected component (if applicable):
ekiga-4.0.0-1.fc17.i686

How reproducible:
Always for certain accounts

Steps to Reproduce:
1. Start ekiga
2. Disable nextiva account (3rd party voip)
3. 
  
Actual results:
REGISTER packets continue to go out

Expected results:
no more communication with that SIP account

Additional info:
Attaching debug output

Comment 1 Stuart D Gathman 2012-12-10 15:25:31 UTC
Created attachment 660921 [details]
host and port packet trace of OPTIONS while disabled

Comment 2 Peter Robinson 2012-12-10 16:02:01 UTC
Can you add details from "rpm -q ekiga opal ptlib"

Comment 3 Stuart D Gathman 2012-12-10 16:55:59 UTC
Created attachment 660966 [details]
packet trace of OPTIONS while disabled

Providing full packet trace.  SIP packets are actually OPTIONS, not REGISTER.  The strange thing is, the OPTIONS packet is using id 'stuart' - but that is NOT the id configured in ekiga for the account!

Comment 4 Eugen Dedu 2012-12-11 13:20:07 UTC
Stuart, I do not understand, please be precise.

Do you see OPTIONS and REGISTER packets when starting ekiga with disabled accounts?  Here with disabled accounts no such packet is exchanged.

In your debug output I see that you have an enabled account, so it is normal that you see REGISTER and OPTIONS packets.

Comment 5 Stuart D Gathman 2012-12-11 13:33:57 UTC
I disabled the account after starting.  Actually, when I stopped Ekiga, the account *was* disabled.  But when I started Ekiga again, it enabled it again by itself, so I had to disable it again.  I will try a few more times to try and get it disabled from the start.

Comment 6 Eugen Dedu 2012-12-11 13:47:09 UTC
Aha, maybe there is an issue if you disable an account *while* it is registering.

Comment 7 Stuart D Gathman 2012-12-12 15:27:47 UTC
Even after it has registered, it continues to send the OPTIONS packets every 10 seconds - including after it is disabled.

Comment 8 Stuart D Gathman 2012-12-12 16:20:57 UTC
(In reply to comment #7)
> Even after it has registered, it continues to send the OPTIONS packets every
> 10 seconds - including after it is disabled.

But only for the nextiva account.  The diamondcard and ekiga.net accounts work as you'd expect.  Nextiva keeps saying "not allowed" to the OPTIONS requests, but ekiga keeps sending them - even after disabling.

Comment 9 Eugen Dedu 2012-12-12 16:50:34 UTC
Stuart, give me the -d 4 output and precise the exact steps you do for the bug to happen (for ex. is the account disabled upon starting or do you disable it from ekiga)?  And in general, do not tell me all the cases where the bug appears, but just give me a log where the bug appears.

Comment 10 Stuart D Gathman 2012-12-12 18:09:12 UTC
I already gave the log where the bug appears AND a pcap trace in case you didn't believe me about the OPTIONS continuing to get sent.

Comment 11 Stuart D Gathman 2012-12-12 18:11:17 UTC
Created attachment 662555 [details]
Screenshot of unregistered account sending OPTIONS packets

Here is a screenshot showing that ekiga shows account Unregistered (although that does appear in the log I sent as well).  It also show packet capture showing just the Options packets since Unregistering.  They continue every 10 seconds.

Comment 12 Stuart D Gathman 2012-12-12 18:18:52 UTC
Created attachment 662556 [details]
Yet another debug output of sending options while disabled

Got Ekiga to start with account disabled.  It does NOT send the options packets when nextiva account is disabled at startup.  Next, I Register the nextiva account (still on the same log).  It starts sending OPTIONS every 10 seconds (even though refresh is 3600).  I Disable the account.  It continues to send OPTIONS every 10 seconds.  I Quit the program.  Silence at last!

Comment 13 Stuart D Gathman 2012-12-12 18:20:50 UTC
Created attachment 662557 [details]
packet trace of OPTIONS while disabled

Comment 14 Stuart D Gathman 2012-12-12 18:25:57 UTC
(In reply to comment #12)
> Created attachment 662556 [details]
> Yet another debug output of sending options while disabled

Sorry for being snippy.  Since some of the problems I've reported went away the next business day, it makes since to confirm that it is still happening.

Comment 15 Eugen Dedu 2012-12-12 19:23:38 UTC
(In reply to comment #12)
> Created attachment 662556 [details]
> Yet another debug output of sending options while disabled
> 
> Got Ekiga to start with account disabled.  It does NOT send the options
> packets when nextiva account is disabled at startup.  Next, I Register the
> nextiva account (still on the same log).  It starts sending OPTIONS every 10
> seconds (even though refresh is 3600).

OPTIONS packets are sent because firewalls remove associations ("connexions") between you and registrar after some time of inactivity, so in order to keep them open we send regularly OPTIONS packets.  They are different than REGISTER packets, which have a refresh of 3600 seconds for ex.

Comment 16 Eugen Dedu 2012-12-12 19:32:37 UTC
... so even if OPTIONS have 3600 sec Expires, this time is used for the registrar, whereas we send them each 10 sec to keep associations open on firewalls.

Comment 17 Peter Robinson 2012-12-12 19:41:13 UTC
(In reply to comment #16)
> ... so even if OPTIONS have 3600 sec Expires, this time is used for the
> registrar, whereas we send them each 10 sec to keep associations open on
> firewalls.

so the two questions I have on this are:
1) what has changed here since 3.2.x
2) isn't that the point on stun to deal with firewalls (yes I know some is differences for calls point to point vs registration)?

Comment 18 Eugen Dedu 2012-12-12 19:45:05 UTC
http://git.gnome.org/browse/ekiga/commit/?id=90446c1a6 : before that we used empty packets, whereas now we use standard OPTIONS packets.

I noticed the error, you are right.  I think this is because OPTIONS are not accepted by that registrar, and this confuses ekiga or opal.  I am still investigating.

Comment 19 Eugen Dedu 2012-12-12 19:46:54 UTC
Sorry, I answer too fast...

For point 2), stun does not deal with this.  stun is about a few packets exchanged between your client (ekiga) and some server in the beginning to obtain just your public IP address.

Comment 20 Eugen Dedu 2013-01-11 08:44:38 UTC
(In reply to comment #12)
> Created attachment 662556 [details]
> Yet another debug output of sending options while disabled
> 
> Got Ekiga to start with account disabled.  It does NOT send the options
> packets when nextiva account is disabled at startup.  Next, I Register the
> nextiva account (still on the same log).  It starts sending OPTIONS every 10
> seconds (even though refresh is 3600).  I Disable the account.  It continues
> to send OPTIONS every 10 seconds.  I Quit the program.  Silence at last!

Could you check the patch at http://opalvoip.svn.sourceforge.net/viewvc/opalvoip?view=revision&revision=28849 and tell if it fixes your problem or not?  In both cases give us the -d 4 log.

Comment 21 Eugen Dedu 2013-01-13 22:02:47 UTC
Any news?

Comment 22 Stuart D Gathman 2013-01-17 05:09:32 UTC
Just getting to this.  It is compiling now.  I will test in the morning.

Comment 23 Stuart D Gathman 2013-01-17 16:36:08 UTC
Created attachment 680361 [details]
ekiga -d 4 output after patch

Ok, applied patch to create opal-3.10.9-3b.fc17.i686 and updated.  The problem is not fixed.  I started ekiga with all accounts disabled.  No SIP packets - good.  I enabled the Nextiva account (I had already verified that ekiga.net still works correctly) and it registered and started sending OPTIONS every 10 seconds - good.  I disabled Nextiva and it still sends OPTIONS every 10 seconds - bad.

Comment 24 Eugen Dedu 2013-01-17 16:39:52 UTC
Good, thank you!  Opal developer thought well, it is sent because of SUBSCRIBE, not REGISTER.  I will contact him again.

Comment 25 Stuart D Gathman 2013-01-17 16:50:27 UTC
I did notice that while enabled, it send *two* OPTIONS packets every 10 seconds.  After disabling, it sends only one every 10 seconds.  Perhaps one OPTIONS is for REGISTER (and goes away when disabled, as it should) and the other is for SUBSCRIBE (while keeps going).

Comment 26 Eugen Dedu 2013-01-17 16:52:53 UTC
Exactly!

Comment 27 Fedora Update System 2013-02-21 16:13:28 UTC
ptlib-2.10.10-1.fc17,opal-3.10.10-1.fc17,ekiga-4.0.1-1.fc17 has been submitted as an update for Fedora 17.
https://admin.fedoraproject.org/updates/ptlib-2.10.10-1.fc17,opal-3.10.10-1.fc17,ekiga-4.0.1-1.fc17

Comment 28 Fedora Update System 2013-02-21 16:17:29 UTC
ptlib-2.10.10-1.fc18,opal-3.10.10-1.fc18,ekiga-4.0.1-1.fc18 has been submitted as an update for Fedora 18.
https://admin.fedoraproject.org/updates/ptlib-2.10.10-1.fc18,opal-3.10.10-1.fc18,ekiga-4.0.1-1.fc18

Comment 29 Fedora Update System 2013-02-24 08:32:10 UTC
Package ptlib-2.10.10-1.fc17, opal-3.10.10-1.fc17, ekiga-4.0.1-1.fc17:
* should fix your issue,
* was pushed to the Fedora 17 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing ptlib-2.10.10-1.fc17 opal-3.10.10-1.fc17 ekiga-4.0.1-1.fc17'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2013-2890/ptlib-2.10.10-1.fc17,opal-3.10.10-1.fc17,ekiga-4.0.1-1.fc17
then log in and leave karma (feedback).

Comment 30 Fedora Update System 2013-03-03 22:33:03 UTC
ptlib-2.10.10-1.fc18, opal-3.10.10-1.fc18, ekiga-4.0.1-1.fc18 has been pushed to the Fedora 18 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 31 Fedora Update System 2013-03-03 22:39:23 UTC
ptlib-2.10.10-1.fc17, opal-3.10.10-1.fc17, ekiga-4.0.1-1.fc17 has been pushed to the Fedora 17 stable repository.  If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.