View previous topic :: View next topic |
Author |
Message |
yakovmotog
Joined: 18 Jul 2016 Posts: 13
|
Posted: Mon Jul 25, 2016 2:25 am Post subject: Eventing Syste, Integrating miniupnpc and miniupnpc-libevent |
|
|
Could you please advise what needs to be done to support eventing as this is functionality specified by the WANIPConnection:2 Service For UPnP Version 1.0 Status: Standardized DCP (SDCP) Date: September 10, 2010
I did not find (Eventing of ) SystemUpdateID (see definition below) and found your replay :
"No, MiniUPnPc is not implementoing UPnP eventing.
miniupnpc-libevent does react to new devices and even implement upnp events !
https://github.com/miniupnp/miniupnp/tree/master/miniupnpc-libevent
So what would be necessary to get support for this variable in UPnP client (Control point)?
I see 2 relevant projects:
miniupnpc-async igd_desc_parse.c: fix buffer overflow 11 months ago
miniupnpc-libevent add a few checks 4 months ag
Which one would be easier to integrate which one has SUBSCRIBE already implemented?
--
Eventing of SystemUpdateID
This variable is evented when NAT or firewall rules have been changed. The eventing of this variable MUST be done in the same time when PortMappingNumberofEntries is evented. |
|
Back to top |
|
|
miniupnp Site Admin
Joined: 14 Apr 2007 Posts: 1593
|
Posted: Fri Jul 29, 2016 7:45 pm Post subject: |
|
|
I'm sorry I cannot answer your questions, I can't tell how you can implement UPnP eventing on Control point side.
miniupnpc-libevent depends on patched libevent _________________ Main miniUPnP author.
https://miniupnp.tuxfamily.org/ |
|
Back to top |
|
|
yakovmotog
Joined: 18 Jul 2016 Posts: 13
|
Posted: Mon Aug 01, 2016 5:45 pm Post subject: Eventing Syste, Integrating miniupnpc and miniupnpc-libevent |
|
|
miniupnp wrote: | I'm sorry I cannot answer your questions, I can't tell how you can implement UPnP eventing on Control point side.
miniupnpc-libevent depends on patched libevent |
Could you please advise what is miniupnpc-libevent for and relationship with miniupnpc ?
It is not described on http://miniupnp.free.fr/files/ , but ist code is under miniupnp/miniupnpc-libevent/
It looks like alternative implementation of M-SEARCH but using libevent. Since "miniupnpc" is used Does this code support all Control Point client UPnP IGD GENA interface events or some specific list?
TODO does not indicate any missing events, but objective is not described (REDAME?).
Also I see miniupnpd/upnpdescgen.c defines events like #define SYSTEMUPDATEID_MAGICALVALUE (252) but I do not see it is used |
|
Back to top |
|
|
miniupnp Site Admin
Joined: 14 Apr 2007 Posts: 1593
|
|
Back to top |
|
|
|