[systemd-devel] How to do IP_TRANSPARENT on socket? squid need that

microcai microcai at fedoraproject.org
Thu May 19 05:41:39 PDT 2011


于 2011年05月19日 19:25, microcai 写道:
> 于 2011年05月19日 19:23, Lennart Poettering 写道:
>> On Thu, 19.05.11 18:54, microcai (microcai at fedoraproject.org) wrote:
>>
>>> Heya:
>>>
>>> Yesterday, I ported dnsmasq to systemd.
>>> Now,  it's squid.
>>>
>>> Almost done now, but transparent support should not be enabled,
>>> otherwise squid will not be able to process request.
>>>
>>> But I want this feature back.
>>>
>>> So, is there an option to set IP_TRANSPARENT on the listen socket ?
>>
>> Yes, there is now. Just added it for you in git. ;-)
> 
> Wow, Thanks !
> 
>>
>> Transparent=yes in the .socket unit.
>>
>> Lennart
>>
> 
> 

Works now.

By the way, can I set Transparent on specific socket, not for all? ;)

Any way. It works. Thanks.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 490 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freedesktop.org/archives/systemd-devel/attachments/20110519/444adb0c/attachment.pgp>


More information about the systemd-devel mailing list