* Re: SYNPROXY module with bridge
[not found] ` <20150405114729.GC23433@acer.localdomain>
@ 2015-04-05 12:52 ` Todor Todorov
2015-04-05 13:04 ` Patrick McHardy
0 siblings, 1 reply; 2+ messages in thread
From: Todor Todorov @ 2015-04-05 12:52 UTC (permalink / raw)
To: Patrick McHardy, netfilter, kadlec, fw, marc+nf, gandalf,
yasuyuki
Hello,
I was check and as you said REJECT target also doesn't work in Bridge.
Where is the problem - in "br.c" or it must add a check in
"ipt_synproxy.c" for is the packet coming from bridged interface?
I find this patch for reject in bridge but doesn't work -
http://markmail.org/message/zkd57gfh7htcbyvc#query:+page:1+mid:spwhgpx2jl6iholn+state:results
Any help would be useful to me...
Thank you!
----------------------------
Kind regards,
Todor Todorov
System Administrator
4 Vendeta LTD
GSM: +359 895 935 835
root@4vendeta.com
----------------------------
На 05.4.2015 г. в 14:47, Patrick McHardy написа:
> On 04.04, Todor Todorov wrote:
>> Hello,
>>
>> From 1 week ago I'm trying to patch synproxy module to work in bridge mode.
>> The problem is that SYNPROXY is not send syn-ack by bridge, its send by
>> default route.
>> I know roughly C language but failed to rewrite and work..
>>
>> This is the topology of the problem:
>>
>> User -----> SYN ------> Firewall - br0 - physdev vlan10
>> Firewall - eth0? -------> SYN-ACK ------> User
>>
>> Should be like:
>>
>> Firewall - br0 - physdev vlan10 -------> SYN-ACK ------> User
>>
>> Please help or some guidance on how to fix this problem.
> You should have a look at the REJECT target, which faces the same problem.
> Also please CC the netfilter-devel list on questions like that, someone
> might jump in to help.
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: SYNPROXY module with bridge
2015-04-05 12:52 ` SYNPROXY module with bridge Todor Todorov
@ 2015-04-05 13:04 ` Patrick McHardy
0 siblings, 0 replies; 2+ messages in thread
From: Patrick McHardy @ 2015-04-05 13:04 UTC (permalink / raw)
To: Todor Todorov; +Cc: netfilter-devel, kadlec, fw, marc+nf, gandalf, yasuyuki
[changed CC to netfilter-devel]
On 05.04, Todor Todorov wrote:
> Hello,
>
> I was check and as you said REJECT target also doesn't work in Bridge.
It does work on bridges, this is why I asked you to have a look at it.
> Where is the problem - in "br.c" or it must add a check in "ipt_synproxy.c"
> for is the packet coming from bridged interface?
> I find this patch for reject in bridge but doesn't work - http://markmail.org/message/zkd57gfh7htcbyvc#query:+page:1+mid:spwhgpx2jl6iholn+state:results
>
> Any help would be useful to me...
The REJECT target basically does what is necessary for SYNPROXY as well.
Instead of routing newly generated packets, their outgoing ports must
be determined based on the original packet, additionally you need to
add a link layer header to them.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2015-04-05 13:04 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <551F008F.6050200@4vendeta.com>
[not found] ` <20150405114729.GC23433@acer.localdomain>
2015-04-05 12:52 ` SYNPROXY module with bridge Todor Todorov
2015-04-05 13:04 ` Patrick McHardy
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.