* DoS attack mitigation in netfilter
@ 2016-07-06 4:36 Vikas
2016-07-06 8:18 ` Eric Dumazet
0 siblings, 1 reply; 4+ messages in thread
From: Vikas @ 2016-07-06 4:36 UTC (permalink / raw)
To: coreteam, Pablo Neira Ayuso; +Cc: netfilter-devel, eric
Hi,
Wanted to explore options netfilter provides to mitigate DoS/SYN attacks.
Even if there is mechanism to incorporate rate limiter solution for high
incoming volume traffic then it would help.
Any input in this regard will be appreciated.
Regards
Vikas
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: DoS attack mitigation in netfilter
2016-07-06 4:36 DoS attack mitigation in netfilter Vikas
@ 2016-07-06 8:18 ` Eric Dumazet
2017-03-31 5:16 ` Writing metadata to a packet Vikas
0 siblings, 1 reply; 4+ messages in thread
From: Eric Dumazet @ 2016-07-06 8:18 UTC (permalink / raw)
To: Vikas; +Cc: coreteam, Pablo Neira Ayuso, netfilter-devel, eric
On Wed, 2016-07-06 at 10:06 +0530, Vikas wrote:
> Hi,
>
> Wanted to explore options netfilter provides to mitigate DoS/SYN attacks.
> Even if there is mechanism to incorporate rate limiter solution for high
> incoming volume traffic then it would help.
>
> Any input in this regard will be appreciated.
SYN attacks are no longer a problem with current linux kernels.
(linux-4.7 can really absorb about 6Mpps SYN on a single listener, and
more for SO_REUSEPORT enabled listeners)
There is absolutely nothing you can do for a SYN attack, especially not
trying to rate limit it, as you might drop valid SYN packets and thus
hurt real users.
It is simply best to deal with it, as for other kinds of attacks.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Writing metadata to a packet
2016-07-06 8:18 ` Eric Dumazet
@ 2017-03-31 5:16 ` Vikas
2017-03-31 6:29 ` Patrick Schaaf
0 siblings, 1 reply; 4+ messages in thread
From: Vikas @ 2017-03-31 5:16 UTC (permalink / raw)
To: coreteam; +Cc: Pablo Neira Ayuso, netfilter-devel, eric
Hi,
I was wondering if how we can set some user specified values when we
punt a packet from source to destination in a infrastructure which uses
netfilter? More precisely at the source side so that when packet reaches
destination host, it can decode the metadata values.
Is their a way out? Any pointer/link would be appreciated.
Regards
Vikas
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Writing metadata to a packet
2017-03-31 5:16 ` Writing metadata to a packet Vikas
@ 2017-03-31 6:29 ` Patrick Schaaf
0 siblings, 0 replies; 4+ messages in thread
From: Patrick Schaaf @ 2017-03-31 6:29 UTC (permalink / raw)
To: Vikas; +Cc: netfilter-devel
Hi Vikas,
in a very controlled environment, loadbalancer to real servers, I'm
doing that using the IP TOS / DSCP header bits - manipulating them
using the TOS target, on the loadbalancer, in mangle/PREROUTING rules,
and matching them using the tos match on the realservers (nat
PREROUTING) to effect REDIRECT to different local ports (various
apache listening ports).
Not for the faint of heart...
There is no nice wide standard "I've got these bits to freely set and
get them to arbitrary destinations" mechanism on the IP or TCP layer.
netfilter can't invent such...
best regards
Patrick
On Fri, Mar 31, 2017 at 7:16 AM, Vikas <vikas.c.kumar@oracle.com> wrote:
> Hi,
>
> I was wondering if how we can set some user specified values when we punt a
> packet from source to destination in a infrastructure which uses netfilter?
> More precisely at the source side so that when packet reaches destination
> host, it can decode the metadata values.
> Is their a way out? Any pointer/link would be appreciated.
>
> Regards
> Vikas
>
> --
> To unsubscribe from this list: send the line "unsubscribe netfilter-devel"
> in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2017-03-31 6:38 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-07-06 4:36 DoS attack mitigation in netfilter Vikas
2016-07-06 8:18 ` Eric Dumazet
2017-03-31 5:16 ` Writing metadata to a packet Vikas
2017-03-31 6:29 ` Patrick Schaaf
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.