summaryrefslogtreecommitdiffstats
path: root/include
Commit message (Collapse)AuthorAgeFilesLines
* extensions: Add string filter to ebtablesBernie Harris2018-04-272-3/+14
| | | | | | | | | | | | | | | | | | | | 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.cMatthias Schiffer2018-04-111-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>
* include: sync linux/netfilter_bridge/ebt_ip.h with kernelMatthias Schiffer2018-04-111-3/+13
| | | | | Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
* ethernetdb.h: Remove C++ specific compiler hint macro _THROWFelix Janda2015-05-211-6/+5
| | | | | | | Fixes compilation with musl libc Signed-off-by: Felix Janda <felix.janda@posteo.de> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
* Add kernel headers needed from v3.16Pedro Alvarez2015-03-0220-0/+860
| | | | | | | | | | | | | | Ebtables fails to compile with versions of the linux headers greater than v3.16 with this error: extensions/ebt_ulog.c:17:45: fatal error: linux/netfilter_bridge/ebt_ulog.h: No such file or directory #include <linux/netfilter_bridge/ebt_ulog.h> This patch adds netfilter_bridge headers for every supported extension, including filter.h and types.h, to avoid this problem and future problems with changes in the kernel headers. 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 Schuymer2014-04-141-0/+1
| | | | <mmazur at axeos.com>)
* remove definition of __EXPORTED_HEADERS__: we use sanitized header files nowBart De Schuymer2011-08-111-1/+0
|
* export use_lockfdBart De Schuymer2011-06-191-0/+2
|
* extend ebt_ip6 to allow matching on ipv6-icmp types/codes (by Florian Westphal)Bart De Schuymer2011-01-181-0/+4
|
* define __EXPORTED_HEADERS__ so we don't get warnings about: Attempt to use ↵Bart De Schuymer2010-12-181-0/+1
| | | | kernel headers from user space
* fix alignment on userspace32-kernel64 systems (Sachin Sanap)Bart De Schuymer2009-06-211-1/+2
|
* Kuo-Lang Tseng et al: add ipv6 supportBart De Schuymer2008-02-211-0/+4
|
* add EBT_VERDICT_BITSBart De Schuymer2006-12-171-0/+4
|
* remove unsigned char * warning with gcc 4.0Bart De Schuymer2006-01-231-3/+3
|
* allow SCTP/DCCP (Patrick McHardy)Bart De Schuymer2006-01-231-0/+7
|
* *** empty log message ***Bart De Schuymer2005-10-021-2/+2
|
* minor changesBart De Schuymer2005-10-011-3/+3
|
* cleanupBart De Schuymer2005-09-281-1/+1
|
* put rules in doubly linked listBart De Schuymer2005-08-281-0/+1
|
* put reference to cc in each entryBart De Schuymer2005-08-281-7/+10
|
* make array of chainsBart De Schuymer2005-08-271-14/+7
|
* add change fieldBart De Schuymer2005-05-241-3/+2
|
* complete -c and -C implementationBart De Schuymer2005-02-141-0/+3
|
* general cleanup + add -C and -cBart De Schuymer2005-02-081-1/+21
|
* add new counter schemeBart De Schuymer2005-01-231-0/+1
|
* add ebtablesu scheme, along with general cleanupBart De Schuymer2005-01-191-5/+13
|
* add shared librariesBart De Schuymer2004-01-211-9/+10
|
* Make ebtables library functionsBart De Schuymer2004-01-141-38/+117
|
* *** empty log message ***Bart De Schuymer2003-07-251-31/+31
|
* *** empty log message ***Bart De Schuymer2003-07-241-3/+0
|
* *** empty log message ***Bart De Schuymer2003-07-231-0/+275
|
* support sparc64Bart De Schuymer2003-07-231-0/+5
|
* --atomic-commit should only try insmod when all else failsBart De Schuymer2003-05-041-0/+1
|
* use print_mac_and_mask()Bart De Schuymer2003-05-031-0/+2
|
* *** empty log message ***Bart De Schuymer2003-04-161-1/+2
|
* <dwhedon_at_debian.org> use __FUNCTION__ as argument instead of stringBart De Schuymer2003-01-191-2/+2
| | | | constant (deprecated).
* cosmetic changesBart De Schuymer2003-01-111-24/+34
|
* Changed database path: #define _PATH_ETHERTYPES "/etc/ethertypes"fnm32002-11-211-1/+1
|
* remove name_to_number and number_to_nameBart De Schuymer2002-11-201-2/+0
|
* *** empty log message ***Bart De Schuymer2002-11-201-0/+58
|
* remove name_to_number and number_to_nameBart De Schuymer2002-11-201-1/+1
|
* *** empty log message ***Bart De Schuymer2002-08-291-1/+1
|
* *** empty log message ***Bart De Schuymer2002-08-251-6/+6
|
* cosmetic improvements and some bugfixes (global description)Bart De Schuymer2002-08-131-2/+26
|
* *** empty log message ***Bart De Schuymer2002-08-111-7/+2
|
* bugfixBart De Schuymer2002-07-261-4/+4
|
* *** empty log message ***Bart De Schuymer2002-07-251-1/+1
|
* clean-upBart De Schuymer2002-07-231-11/+11
|
* relocate counterchangesBart De Schuymer2002-07-211-2/+3
|
* *** empty log message ***Bart De Schuymer2002-07-141-0/+3
|