1. 10 8月, 2012 2 次提交
    • P
      netfilter: nf_ct_sip: fix IPv6 address parsing · 02b69cbd
      Patrick McHardy 提交于
      Within SIP messages IPv6 addresses are enclosed in square brackets in most
      cases, with the exception of the "received=" header parameter. Currently
      the helper fails to parse enclosed addresses.
      
      This patch:
      
      - changes the SIP address parsing function to enforce square brackets
        when required, and accept them when not required but present, as
        recommended by RFC 5118.
      
      - adds a new SDP address parsing function that never accepts square
        brackets since SDP doesn't use them.
      
      With these changes, the SIP helper correctly parses all test messages
      from RFC 5118 (Session Initiation Protocol (SIP) Torture Test Messages
      for Internet Protocol Version 6 (IPv6)).
      Signed-off-by: NPatrick McHardy <kaber@trash.net>
      Signed-off-by: NPablo Neira Ayuso <pablo@netfilter.org>
      02b69cbd
    • P
      netfilter: nf_ct_sip: fix helper name · e9324b2c
      Patrick McHardy 提交于
      Commit 3a8fc53a (netfilter: nf_ct_helper: allocate 16 bytes for the helper
      and policy names) introduced a bug in the SIP helper, the helper name is
      sprinted to the sip_names array instead of instead of into the helper
      structure. This breaks the helper match and the /proc/net/nf_conntrack_expect
      output.
      Signed-off-by: NPatrick McHardy <kaber@trash.net>
      Signed-off-by: NPablo Neira Ayuso <pablo@netfilter.org>
      e9324b2c
  2. 09 8月, 2012 21 次提交
  3. 08 8月, 2012 2 次提交
  4. 07 8月, 2012 15 次提交