#45 iptables patch needs update

closed-fixed
None
8
2007-07-05
2007-07-04
No

to account for path change in .layer7-test

Discussion

  • Daniel Black

    Daniel Black - 2007-07-04

    additional path check

     
  • Daniel Black

    Daniel Black - 2007-07-04

    Logged In: YES
    user_id=612034
    Originator: YES

    ./extensions/libipt_layer7.c needs fixing too.
    #include <linux/netfilter_ipv4/ipt_layer7.h>

     
  • Daniel Black

    Daniel Black - 2007-07-04

    Logged In: YES
    user_id=612034
    Originator: YES

    kernel 2.6.22-rc6
    iptables - 1.3.8

    extensions/libipt_layer7.c:52: warning: 'struct ipt_layer7_info' declared inside parameter list
    extensions/libipt_layer7.c:52: warning: its scope is only this definition or declaration, which is probably not what you want
    extensions/libipt_layer7.c: In function 'parse_protocol_file':
    extensions/libipt_layer7.c:91: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness
    extensions/libipt_layer7.c:91: warning: pointer targets in passing argument 2 of '__builtin_strcmp' differ in signedness
    extensions/libipt_layer7.c:91: warning: pointer targets in passing argument 2 of '__builtin_strcmp' differ in signedness
    extensions/libipt_layer7.c:91: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness
    extensions/libipt_layer7.c:91: warning: pointer targets in passing argument 2 of '__builtin_strcmp' differ in signedness
    extensions/libipt_layer7.c:91: warning: pointer targets in passing argument 2 of '__builtin_strcmp' differ in signedness
    extensions/libipt_layer7.c:99: error: dereferencing pointer to incomplete type
    extensions/libipt_layer7.c:107: error: dereferencing pointer to incomplete type
    extensions/libipt_layer7.c: At top level:
    extensions/libipt_layer7.c:260: warning: 'struct ipt_layer7_info' declared inside parameter list
    extensions/libipt_layer7.c: In function 'parse_layer7_protocol':
    extensions/libipt_layer7.c:287: warning: passing argument 3 of 'parse_protocol_file' from incompatible pointer type
    extensions/libipt_layer7.c:305: error: dereferencing pointer to incomplete type
    extensions/libipt_layer7.c:305: error: dereferencing pointer to incomplete type
    extensions/libipt_layer7.c: In function 'parse':
    extensions/libipt_layer7.c:319: warning: pointer targets in passing argument 1 of 'parse_layer7_protocol' differ in signedness
    extensions/libipt_layer7.c:319: warning: passing argument 2 of 'parse_layer7_protocol' from incompatible pointer type
    extensions/libipt_layer7.c:321: error: dereferencing pointer to incomplete type
    extensions/libipt_layer7.c: In function 'print':
    extensions/libipt_layer7.c:366: error: dereferencing pointer to incomplete type
    extensions/libipt_layer7.c:367: error: dereferencing pointer to incomplete type
    extensions/libipt_layer7.c: In function 'save':
    extensions/libipt_layer7.c:375: error: dereferencing pointer to incomplete type
    extensions/libipt_layer7.c:375: error: dereferencing pointer to incomplete type
    extensions/libipt_layer7.c: At top level:
    extensions/libipt_layer7.c:381: error: invalid application of 'sizeof' to incomplete type 'struct ipt_layer7_info'
    extensions/libipt_layer7.c:382: error: invalid application of 'sizeof' to incomplete type 'struct ipt_layer7_info'
    make: *** [extensions/libipt_layer7_sh.o] Error 1

     
  • Matthew Strait

    Matthew Strait - 2007-07-05
    • priority: 5 --> 8
    • assigned_to: nobody --> quadong
     
  • Matthew Strait

    Matthew Strait - 2007-07-05
    • status: open --> closed-fixed
     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks