On Thu, 19.05.11 20:41, microcai (micro...@fedoraproject.org) wrote: > 于 2011年05月19日 19:25, microcai 写道: > > 于 2011年05月19日 19:23, Lennart Poettering 写道: > >> On Thu, 19.05.11 18:54, microcai (micro...@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? ;)
No, right now the socket options you place in a socket file apply to all sockets spcified therein. If you want different socket options you can split up the socket file into to, and use Service= to redirect both to the same service unit. Lennart -- Lennart Poettering - Red Hat, Inc. _______________________________________________ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel