Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | include: Fix musl libc compatibility | Baruch Siach | 2018-05-08 | 1 | -0/+1 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicting definitions of struct ethhdr between the kernel and musl libc provides headers causes a build failure: In file included from .../usr/include/netinet/ether.h:8:0, from useful_functions.c:28: .../usr/include/netinet/if_ether.h:107:8: error: redefinition of ‘struct ethhdr’ struct ethhdr { ^~~~~~ In file included from include/linux/netfilter_bridge.h:8:0, from include/linux/netfilter_bridge/ebtables.h:17, from include/ebtables_u.h:27, from useful_functions.c:25: include/linux/if_ether.h:119:8: note: originally defined here struct ethhdr { ^~~~~~ Recent enough versions kernel headers allow the libc to suppress conflicting kernel definitions. Include the libc proivded netinet/ether.h before kernel headers to suppress the conflicting definition of struct ethhdr. Signed-off-by: Baruch Siach <baruch@tkos.co.il> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org> | ||||
* | extensions: Add string filter to ebtables | Bernie Harris | 2018-04-27 | 1 | -0/+1 |
| | | | | | | | | | | | | | | | | | | | | This patch is part of a proposal to add a string filter to ebtables, which would be similar to the string filter in iptables. Like iptables, the ebtables filter uses the xt_string module, however some modifications have been made for this to work correctly. Currently ebtables assumes that the revision number of all match modules is 0. The xt_string module doesn't register a match with revision 0 so the solution is to modify ebtables to allow extensions to specify a revision number, similar to iptables. This gets passed down to the kernel, which is then able to find the match module correctly. Signed-off-by: Bernie Harris <bernie.harris@alliedtelesis.co.nz> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org> | ||||
* | Move ICMP type handling functions from ebt_ip6 to useful_functions.c | Matthias Schiffer | 2018-04-11 | 1 | -1/+16 |
| | | | | | | | Allow using these functions for ebt_ip as well. Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org> | ||||
* | don't print IPv6 mask if it's all ones (based on patch by Mariusz Mazur ↵ | Bart De Schuymer | 2014-04-14 | 1 | -0/+1 |
| | | | | <mmazur at axeos.com>) | ||||
* | remove definition of __EXPORTED_HEADERS__: we use sanitized header files now | Bart De Schuymer | 2011-08-11 | 1 | -1/+0 |
| | |||||
* | export use_lockfd | Bart De Schuymer | 2011-06-19 | 1 | -0/+2 |
| | |||||
* | extend ebt_ip6 to allow matching on ipv6-icmp types/codes (by Florian Westphal) | Bart De Schuymer | 2011-01-18 | 1 | -0/+4 |
| | |||||
* | define __EXPORTED_HEADERS__ so we don't get warnings about: Attempt to use ↵ | Bart De Schuymer | 2010-12-18 | 1 | -0/+1 |
| | | | | kernel headers from user space | ||||
* | fix alignment on userspace32-kernel64 systems (Sachin Sanap) | Bart De Schuymer | 2009-06-21 | 1 | -1/+2 |
| | |||||
* | Kuo-Lang Tseng et al: add ipv6 support | Bart De Schuymer | 2008-02-21 | 1 | -0/+4 |
| | |||||
* | remove unsigned char * warning with gcc 4.0 | Bart De Schuymer | 2006-01-23 | 1 | -3/+3 |
| | |||||
* | allow SCTP/DCCP (Patrick McHardy) | Bart De Schuymer | 2006-01-23 | 1 | -0/+7 |
| | |||||
* | *** empty log message *** | Bart De Schuymer | 2005-10-02 | 1 | -2/+2 |
| | |||||
* | minor changes | Bart De Schuymer | 2005-10-01 | 1 | -3/+3 |
| | |||||
* | cleanup | Bart De Schuymer | 2005-09-28 | 1 | -1/+1 |
| | |||||
* | put rules in doubly linked list | Bart De Schuymer | 2005-08-28 | 1 | -0/+1 |
| | |||||
* | put reference to cc in each entry | Bart De Schuymer | 2005-08-28 | 1 | -7/+10 |
| | |||||
* | make array of chains | Bart De Schuymer | 2005-08-27 | 1 | -14/+7 |
| | |||||
* | add change field | Bart De Schuymer | 2005-05-24 | 1 | -3/+2 |
| | |||||
* | complete -c and -C implementation | Bart De Schuymer | 2005-02-14 | 1 | -0/+3 |
| | |||||
* | general cleanup + add -C and -c | Bart De Schuymer | 2005-02-08 | 1 | -1/+21 |
| | |||||
* | add new counter scheme | Bart De Schuymer | 2005-01-23 | 1 | -0/+1 |
| | |||||
* | add ebtablesu scheme, along with general cleanup | Bart De Schuymer | 2005-01-19 | 1 | -5/+13 |
| | |||||
* | add shared libraries | Bart De Schuymer | 2004-01-21 | 1 | -9/+10 |
| | |||||
* | Make ebtables library functions | Bart De Schuymer | 2004-01-14 | 1 | -38/+117 |
| | |||||
* | support sparc64 | Bart De Schuymer | 2003-07-23 | 1 | -0/+5 |
| | |||||
* | --atomic-commit should only try insmod when all else fails | Bart De Schuymer | 2003-05-04 | 1 | -0/+1 |
| | |||||
* | use print_mac_and_mask() | Bart De Schuymer | 2003-05-03 | 1 | -0/+2 |
| | |||||
* | *** empty log message *** | Bart De Schuymer | 2003-04-16 | 1 | -1/+2 |
| | |||||
* | <dwhedon_at_debian.org> use __FUNCTION__ as argument instead of string | Bart De Schuymer | 2003-01-19 | 1 | -2/+2 |
| | | | | constant (deprecated). | ||||
* | cosmetic changes | Bart De Schuymer | 2003-01-11 | 1 | -24/+34 |
| | |||||
* | remove name_to_number and number_to_name | Bart De Schuymer | 2002-11-20 | 1 | -2/+0 |
| | |||||
* | remove name_to_number and number_to_name | Bart De Schuymer | 2002-11-20 | 1 | -1/+1 |
| | |||||
* | *** empty log message *** | Bart De Schuymer | 2002-08-29 | 1 | -1/+1 |
| | |||||
* | *** empty log message *** | Bart De Schuymer | 2002-08-25 | 1 | -6/+6 |
| | |||||
* | cosmetic improvements and some bugfixes (global description) | Bart De Schuymer | 2002-08-13 | 1 | -2/+26 |
| | |||||
* | *** empty log message *** | Bart De Schuymer | 2002-08-11 | 1 | -7/+2 |
| | |||||
* | bugfix | Bart De Schuymer | 2002-07-26 | 1 | -4/+4 |
| | |||||
* | *** empty log message *** | Bart De Schuymer | 2002-07-25 | 1 | -1/+1 |
| | |||||
* | clean-up | Bart De Schuymer | 2002-07-23 | 1 | -11/+11 |
| | |||||
* | relocate counterchanges | Bart De Schuymer | 2002-07-21 | 1 | -2/+3 |
| | |||||
* | *** empty log message *** | Bart De Schuymer | 2002-07-14 | 1 | -0/+3 |
| | |||||
* | name_to_protocol() | Bart De Schuymer | 2002-06-26 | 1 | -1/+1 |
| | |||||
* | Added number_to_name call definition | fnm3 | 2002-06-25 | 1 | -0/+1 |
| | |||||
* | *** empty log message *** | Bart De Schuymer | 2002-06-23 | 1 | -3/+3 |
| | |||||
* | base patch for user defined chains support | Bart De Schuymer | 2002-06-23 | 1 | -6/+18 |
| | |||||
* | Change get_table return type. | Bart De Schuymer | 2002-06-14 | 1 | -1/+1 |
| | |||||
* | remove getmac() declaration | Bart De Schuymer | 2002-06-05 | 1 | -1/+0 |
| | |||||
* | add | Bart De Schuymer | 2002-06-03 | 1 | -0/+1 |
| | | | | | int name_to_protocol(char *) declaration. | ||||
* | Initial revision | Bart De Schuymer | 2002-06-01 | 1 | -0/+206 |