[Pidgin] #12657: Bonjour plugin advertises wrong port number
Pidgin
trac at pidgin.im
Mon Sep 20 11:43:40 EDT 2010
#12657: Bonjour plugin advertises wrong port number
--------------------+-------------------------------------------------------
Reporter: jk | Owner: datallah
Type: defect | Status: new
Milestone: | Component: Bonjour
Version: 2.7.3 | Resolution:
Keywords: |
--------------------+-------------------------------------------------------
Comment(by jk):
Attached a small C source file, which can be used as a LD_PRELOAD to work
around this issue. The preload just disallows the bind() with no port
specified.
To compile:
{{{
gcc -Wall -Wstrict-prototypes -fPIC -D_GNU_SOURCE -ldl -shared \
-o block-random-ipv4.so block-random-ipv4.c
}}}
To run:
{{{
LD_PRELOAD=./block-random-ipv4.so pidgin
}}}
--
Ticket URL: <http://developer.pidgin.im/ticket/12657#comment:1>
Pidgin <http://pidgin.im>
Pidgin
More information about the Tracker
mailing list