+ Responder ao Tópico



  1. #1

    Padrão iptables-p2p

    Povo,

    alguem ja ouviu falar ou até usa o iptables-p2p??

  2. #2

    Padrão Eu

    uso o ip-p2p e estou muito satisfeito, mais tem um tutorial do iptables-p2p em
    http://www.slackware-brasil.com.br/w...eto.php?aid=74



  3. #3
    Visitante

    Padrão iptables-p2p

    aí andrei, tem como vc colocar a receita de bolo da instalação???

  4. #4

    Padrão iptables-p2p

    Tambem uso o iptables-p2p e está funcionando legal, é facinho de instalar, segue esse tuto que o colega passou que vc instala facil, flw.



  5. #5
    Visitante

    Padrão iptables-p2p

    travei na parte da alteração do ** /usr/include/iptables/libiptc/libiptc.h, pois nao tenho esse arquivo no meu server.

  6. #6

    Padrão iptables-p2p

    vc não possue esse arquivo em nenhum lugar ?? da um locate libiptc.h e ve se ele existe...

    Vc pegou o pacote tbz do iptables e copiou io contuedo do include para /usr/include/iptables ???



  7. #7

  8. #8
    Visitante

    Padrão iptables-p2p

    vejam o erro que acontece aqui:

    make
    make -C iptables
    make[1]: Entering directory `/home/backup/iptables-p2p-0.3.0a/iptables'
    gcc -O2 -Wall -DIPTABLES_VERSION=\"1.3.1\" -I../common -c -o libipt_p2p.o libip
    t_p2p.c
    In file included from /usr/include/iptables/iptables.h:5,
    from libipt_p2p.c:23:
    /usr/include/iptables/libiptc/libiptc.h:5:70: /usr/include/iptables/libiptc/libi
    ptc/ipt_kernel_headers.h: No such file or directory
    In file included from /usr/include/linux/netfilter_ipv4/ip_tables.h:25,
    from /usr/include/iptables/libiptc/libiptc.h:6,
    from /usr/include/iptables/iptables.h:5,
    from libipt_p2p.c:23:
    /usr/include/linux/netfilter_ipv4.h:53: error: `INT_MIN' undeclared here (not in
    a function)
    /usr/include/linux/netfilter_ipv4.h:53: error: enumerator value for `NF_IP_PRI_F
    IRST' not integer constant
    /usr/include/linux/netfilter_ipv4.h:59: error: `INT_MAX' undeclared here (not in
    a function)
    /usr/include/linux/netfilter_ipv4.h:59: error: enumerator value for `NF_IP_PRI_L
    AST' not integer constant
    In file included from /usr/include/iptables/libiptc/libiptc.h:6,
    from /usr/include/iptables/iptables.h:5,
    from libipt_p2p.c:23:
    /usr/include/linux/netfilter_ipv4/ip_tables.h:33: error: field `src' has incompl
    ete type
    /usr/include/linux/netfilter_ipv4/ip_tables.h:33: error: field `dst' has incompl
    ete type
    /usr/include/linux/netfilter_ipv4/ip_tables.h:35: error: field `smsk' has incomp
    lete type
    /usr/include/linux/netfilter_ipv4/ip_tables.h:35: error: field `dmsk' has incomp
    lete type
    /usr/include/linux/netfilter_ipv4/ip_tables.h:36: error: `IFNAMSIZ' undeclared h
    ere (not in a function)
    /usr/include/linux/netfilter_ipv4/ip_tables.h:36: error: `IFNAMSIZ' undeclared h
    ere (not in a function)
    /usr/include/linux/netfilter_ipv4/ip_tables.h:37: error: `IFNAMSIZ' undeclared h
    ere (not in a function)
    /usr/include/linux/netfilter_ipv4/ip_tables.h:37: error: `IFNAMSIZ' undeclared h
    ere (not in a function)
    libipt_p2p.c:73: warning: initialization makes integer from pointer without a ca
    st
    libipt_p2p.c:73: error: initializer element is not computable at load time
    libipt_p2p.c:73: error: (near initialization for `p2p.revision')
    libipt_p2p.c:74: warning: initialization makes pointer from integer without a ca
    st
    libipt_p2p.c:76: warning: initialization makes integer from pointer without a ca
    st
    libipt_p2p.c:77: warning: initialization from incompatible pointer type
    libipt_p2p.c:78: warning: initialization from incompatible pointer type
    libipt_p2p.c:79: warning: initialization from incompatible pointer type
    libipt_p2p.c:80: warning: initialization from incompatible pointer type
    libipt_p2p.c:81: warning: initialization from incompatible pointer type
    libipt_p2p.c:83: warning: initialization from incompatible pointer type
    /usr/include/linux/netfilter_ipv4/ip_tables.h:339: warning: `DECLARE_MUTEX' decl
    ared `static' but never defined
    make[1]: *** [libipt_p2p.o] Error 1
    make[1]: Leaving directory `/home/backup/iptables-p2p-0.3.0a/iptables'
    make: *** [linux-2.4] Error 2

    O que pode ser?? :@: :@:



  9. #9

    Padrão iptables-p2p

    jah q vc vai ter q recompilar de qq jeito, eh melhor usar o l7 do que o p2p

    https://under-linux.org/noticia4799.html