[ 
https://issues.apache.org/jira/browse/MESOS-1600?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14065204#comment-14065204
 ] 

Jie Yu commented on MESOS-1600:
-------------------------------

[~dhamon] That's due to the limitation of the libnl library we are using. In 
fact, the kernel (netlink) support adding a filter that has an offset shift 
such that we can decide the offset of the src/dest port based the IHL field of 
the IP header. Unfortunately, libnl does not expose that to the user.

> IP classifiers in routing lib should ignore IP packets with IP options
> ----------------------------------------------------------------------
>
>                 Key: MESOS-1600
>                 URL: https://issues.apache.org/jira/browse/MESOS-1600
>             Project: Mesos
>          Issue Type: Task
>            Reporter: Jie Yu
>            Assignee: Jie Yu
>             Fix For: 0.20.0
>
>
> Currently, the IP classifiers simply assume that all IP packets do not have 
> IP options. If an IP packet has IP options, the current behavior is undefined 
> (e.g., might be redirected/mirrored to a random link).
> We can solve that by adding one more rule to the filter requiring the length 
> of the IP packet to be 5 bytes.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to