summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* arptables 0.0.5 releaseHEADarptables-0.0.5masterPablo Neira Ayuso2019-12-021-1/+1
| | | | Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
* libarptc: Simplify alloc_handle by using calloc()Phil Sutter2019-11-211-8/+3
| | | | | | | No need to explicitly set fields to zero when using calloc(). Acked-by: Phil Sutter <phil@nwl.cc> Acked-by: Pablo Neira Ayuso <pablo@netfilter.org>
* Eliminate compiler warning about size passed to strncmp()Phil Sutter2019-11-211-2/+1
| | | | | | | | | | | | | Gcc complains about the size being equal to destination size, despite the nul character being explicitly set in following line. Reduce size by one to make gcc happy. While being at it, drop the explicit nul character assignment - it is not needed as the buffer was allocated by calloc(). Fixes: 8f586939999e0 ("fix potential buffer overflows reported by static analysis") Acked-by: Phil Sutter <phil@nwl.cc> Acked-by: Pablo Neira Ayuso <pablo@netfilter.org>
* Add .gitignorePhil Sutter2019-11-211-0/+4
| | | | | | | | Ignore temporary files, created arptables-legacy binary and any present tags file. Acked-by: Phil Sutter <phil@nwl.cc> Acked-by: Pablo Neira Ayuso <pablo@netfilter.org>
* arptables: legacy renamingArturo Borrero Gonzalez2018-06-263-9/+21
| | | | | | | | | | | | The original arptables tool is now the legacy version, let's rename it. A more uptodate client of the arptables tool is provided in the iptables tarball. The new tool was formerly known as arptables-compat. The new -legacy binary should have no problem if called via a symlink. Signed-off-by: Arturo Borrero Gonzalez <arturo@netfilter.org> Signed-off-by: Florian Westphal <fw@strlen.de>
* arptables: cleanup sysvinit scriptArturo Borrero Gonzalez2018-05-052-109/+2
| | | | | | This file belong to downstream distributions. Also, it's unmaintained. Signed-off-by: Arturo Borrero Gonzalez <arturo@netfilter.org>
* src: Remove support for libc5Felix Janda2015-05-202-16/+0
| | | | | | | Fixes compilation with musl libc Signed-off-by: Felix Janda <felix.janda@posteo.de> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
* src: Use stdint typesFelix Janda2015-05-205-13/+15
| | | | | Signed-off-by: Felix Janda <felix.janda@posteo.de> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
* arptables: Add MARK targetZhang Chunyu2015-04-163-1/+168
| | | | | | | | We can use MARK target to set make value for arp packet. Signed-off-by: Gao feng <gaofeng@cn.fujitsu.com> Signed-off-by: Zhang Chunyu <zhangcy@cn.fujitsu.com> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
* arptables: Add revision field for arptables userspaceZhang Chunyu2015-04-166-1/+12
| | | | | | Signed-off-by: Gao feng <gaofeng@cn.fujitsu.com> Signed-off-by: Zhang Chunyu <zhangcy@cn.fujitsu.com> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
* src: fix compilation warningPablo Neira Ayuso2015-04-022-4/+5
| | | | | | | | libarptc/libarptc.c: In function ‘dump_entry’: libarptc/libarptc.c:137:9: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 2 has type ‘__u64’ [-Wformat] libarptc/libarptc.c:137:9: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 3 has type ‘__u64’ [-Wformat] Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
* src: cache in tree and use x_tables.hPablo Neira Ayuso2015-04-024-192/+233
| | | | Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
* arptables: remove dead dynamic hooks codeGustavo Zacarias2014-11-122-16/+0
| | | | | | | | The code is unused and #if'ed away, it also breaks pure-static builds because of the dlfcn.h include. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
* arptables: fix potential buffer overflow (author: dcb)Bart De Schuymer2014-05-061-0/+1
|
* arptables: add missing long option --set-counters and update documentationJesper Dangaard Brouer2014-03-022-1/+10
|
* arptables: install man pagesJesper Dangaard Brouer2014-03-021-5/+9
|
* Add man pages for arptables-{save,restore}Jesper Dangaard Brouer2013-11-182-0/+78
|
* add GPL textBart De Schuymer2013-10-151-0/+342
|
* fix potential buffer overflows reported by static analysisJaromír Končický2013-10-152-10/+15
|
* make static analysis tool happy (false positive)Jaromír Končický2013-10-151-1/+3
|
* build an libarptc.a archiveJonh Wendell2013-02-241-2/+5
| | | | this allows programs to statically link against libarptc.
* bump version; remove cvs references in Makefilearptables-0.0.4Bart De Schuymer2013-01-101-3/+1
|
* update date of last update of arptables man pageBart De Schuymer2013-01-101-1/+1
|
* when listing a rule where a negation (!) is used with interfaces, put the ↵Bart De Schuymer2013-01-101-16/+4
| | | | negation sign (!) before the -i/-o option; fix compiler warning
* fix compile warningBart De Schuymer2013-01-102-345/+0
|
* fix inversion flagPablo Neira Ayuso2013-01-071-0/+1
|
* add xtables CLASSIFY target (Frederic Leroy)Bart De Schuymer2010-11-153-1/+131
|
* respect LDFLAGS (Peter Volkov)Bart De Schuymer2010-10-241-1/+1
|
* - use -n so that IP addresses are resolved (similar to iptables' behaviour)Bart De Schuymer2010-10-101-5/+2
| | | | - don't use -v because the reason for using it was due to a bug which has now been fixed
* also print the -i and -o interface if -v isn't specifiedBart De Schuymer2010-10-101-22/+33
|
* make arptables --proto-type also accept hexadecimal inputs (Jeroen van ↵Bart De Schuymer2010-10-091-1/+1
| | | | Wolffelaar)
* - remove old version from manpage (Peter Volkov)Bart De Schuymer2010-10-091-4/+4
| | | | - refer to netfilter mailing lists
* - use zuBart De Schuymer2010-03-181-3/+5
| | | | | - remove warning caused by strict-aliasing rules (Jan Engelhardt)
* - llu -> PRIu64 conversionBart De Schuymer2010-03-181-2/+4
| | | | - remove warning caused by strict-aliasing rules (Jan Engelhardt)
* more llu -> PRIu64 conversionsBart De Schuymer2010-03-181-6/+6
|
* - use %zu for size_tBart De Schuymer2010-03-181-12/+13
| | | | | - use PRIu64 for 64-bit unsigned (based on patch by Jan Engelhardt)
* make INITDIR directory if DESTDIR is specifiedBart De Schuymer2010-03-181-0/+1
|
* Don't use -o root -g root with install which makes unprivileged installs ↵Bart De Schuymer2010-03-181-5/+5
| | | | possible (chroot) (Jan Engelhardt)
* touch each file and set the permissions for a releaseBart De Schuymer2010-03-081-1/+2
|
* bump to v0.0.3-4, test for existence of the sysconfig dir, use the header ↵Bart De Schuymer2010-03-081-11/+3
| | | | files from the repository
* keep these headers so we don't need to convert things to x_tablesBart De Schuymer2010-03-083-0/+387
|
* install arptables.sysv,arptables-restore and arptables-saveBart De Schuymer2007-08-194-20/+28
|
* further cleanupBart De Schuymer2007-08-191-22/+14
|
* remove compile warningsBart De Schuymer2007-08-192-8/+13
|
* cleanupBart De Schuymer2007-08-151-15/+16
|
* fix BINDIR+cleanup (Peter Volkov)Bart De Schuymer2007-08-151-22/+8
|
* fix compile warningBart De Schuymer2007-01-071-3/+2
|
* Rok Papez <rok.papez_at_ames.si>, Dag WieersBart De Schuymer2005-06-141-0/+103
|
* Rok Papez <rok.papez_at_ames.si>Bart De Schuymer2005-06-142-0/+126
|
* make it compilable againBart De Schuymer2005-03-091-2/+2
|