[Fwd: Re: UPnP port-mapping leak]
Marcus Lundblad
ml at update.uu.se
Wed Jun 3 07:43:01 EDT 2009
-------- Vidarebefordrat meddelande --------
> Från: Marcus Lundblad <ml at update.uu.se>
> Till: Sadrul Habib Chowdhury <imadil at gmail.com>
> Ämne: Re: UPnP port-mapping leak
> Datum: Wed, 03 Jun 2009 13:41:09 +0200
>
> tis 2009-06-02 klockan 21:47 -0400 skrev Sadrul Habib Chowdhury:
> > > I can see two solutions:
> > >
> > > 1) Add a new call "purple_network_remove_port_forwarding" that takes a
> > > fd (gives the port) and protocol (TCP or UDP). The code in network.c
> > > will have to keep track of mapped ports (to determine if there is a
> > > successfull UPnP mapping for a given port).
> >
> > Wold upnp.h:purple_upnp_remove_port_mapping do?
> >
> Actually, there can be either a UPnP or NAT-PMP mapping created as a
> result of a call to purple_network_listen_port_range, so I'd say it's
> better handled in network.c (as it knows what mapping, if any, was
> successful).
>
> //Marcus
I had actually meant for this reply to go to the list, so...
-
More information about the Devel
mailing list