Re: xtables-addons: ipp2p: bittorrent commands patch

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wednesday 2010-02-24 00:40, Jan Engelhardt wrote:
>On Sunday 2010-02-21 22:08, Jan Engelhardt wrote:
>>On Tuesday 2010-01-26 06:16, Tomasz Tomkowiak wrote:
>>>
>>>After testing I decide to write my patch to bittorrent
>>>GET commands from xt_ipp2p.c because old procedure is
>>>useless for modified and/or private trackers. teh new
>>>works fine but maybe someone can rewrite it to better C
>>>(yeah, im C/C++ n00b ;)
>>>btw. info_hash may be 3rd argument, passkey (private trackers)
>>>may be 1st argument (or not) etc. etc. so we need to search.
>
>Hm. This patch needs improvement. We cannot use strstr, because
>there may not be a NUL byte in the packet.

Now applied with the proper call (memmem, not strstr).
--
To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Netfitler Users]     [LARTC]     [Bugtraq]     [Yosemite Forum]

  Powered by Linux