1 diff -urN iptables-1.2.11/extensions/libipt_stealth.c iptables-1.2.11/extensions/libipt_stealth.c
2 --- iptables-1.2.11/extensions/libipt_stealth.c 1969-12-31 19:00:00 -0500
3 +++ iptables-1.2.11/extensions/libipt_stealth.c 2004-07-13 21:14:15 -0400
5 +/* Shared library add-on to iptables to add stealth support.
6 + * Copyright (C) 2002 Brad Spengler <spender@grsecurity.net>
7 + * This netfilter module is licensed under the GNU GPL.
14 +#include <iptables.h>
16 +/* Function which prints out usage message. */
20 + printf("stealth v%s takes no options\n\n", XTABLES_VERSION);
23 +static struct option opts[] = {
27 +/* Initialize the match. */
29 +init(struct ipt_entry_match *m, unsigned int *nfcache)
31 + *nfcache |= NFC_UNKNOWN;
35 +parse(int c, char **argv, int invert, unsigned int *flags,
36 + const void *entry, struct xt_entry_match **match)
42 +final_check(unsigned int flags)
48 +struct xtables_match stealth = {
51 + .version = XTABLES_VERSION,
52 + .size = IPT_ALIGN(0),
53 + .userspacesize = IPT_ALIGN(0),
57 + .final_check = &final_check,
65 + xtables_register_match(&stealth);