golden hour
/usr/include/linux/netfilter
⬆️ Go Up
Upload
File/Folder
Size
Actions
ipset
-
Del
OK
nf_conntrack_common.h
3.81 KB
Del
OK
nf_conntrack_ftp.h
375 B
Del
OK
nf_conntrack_sctp.h
595 B
Del
OK
nf_conntrack_tcp.h
1.24 KB
Del
OK
nf_conntrack_tuple_common.h
708 B
Del
OK
nf_nat.h
1.12 KB
Del
OK
nf_tables.h
31.31 KB
Del
OK
nf_tables_compat.h
668 B
Del
OK
nfnetlink.h
2.01 KB
Del
OK
nfnetlink_acct.h
522 B
Del
OK
nfnetlink_compat.h
2.33 KB
Del
OK
nfnetlink_conntrack.h
5.42 KB
Del
OK
nfnetlink_cthelper.h
1.11 KB
Del
OK
nfnetlink_cttimeout.h
2.8 KB
Del
OK
nfnetlink_log.h
2.51 KB
Del
OK
nfnetlink_queue.h
2.88 KB
Del
OK
x_tables.h
4.3 KB
Del
OK
xt_AUDIT.h
655 B
Del
OK
xt_CHECKSUM.h
500 B
Del
OK
xt_CLASSIFY.h
154 B
Del
OK
xt_CONNMARK.h
136 B
Del
OK
xt_CONNSECMARK.h
238 B
Del
OK
xt_CT.h
790 B
Del
OK
xt_DSCP.h
709 B
Del
OK
xt_HMARK.h
841 B
Del
OK
xt_IDLETIMER.h
1.3 KB
Del
OK
xt_LED.h
407 B
Del
OK
xt_LOG.h
579 B
Del
OK
xt_MARK.h
121 B
Del
OK
xt_NFLOG.h
326 B
Del
OK
xt_NFQUEUE.h
716 B
Del
OK
xt_RATEEST.h
305 B
Del
OK
xt_SECMARK.h
486 B
Del
OK
xt_TCPMSS.h
172 B
Del
OK
xt_TCPOPTSTRIP.h
344 B
Del
OK
xt_TEE.h
240 B
Del
OK
xt_TPROXY.h
483 B
Del
OK
xt_addrtype.h
1021 B
Del
OK
xt_bpf.h
340 B
Del
OK
xt_cgroup.h
149 B
Del
OK
xt_cluster.h
311 B
Del
OK
xt_comment.h
167 B
Del
OK
xt_connbytes.h
514 B
Del
OK
xt_connlabel.h
217 B
Del
OK
xt_connlimit.h
571 B
Del
OK
xt_connmark.h
853 B
Del
OK
xt_conntrack.h
2.99 KB
Del
OK
xt_cpu.h
136 B
Del
OK
xt_dccp.h
420 B
Del
OK
xt_devgroup.h
366 B
Del
OK
xt_dscp.h
638 B
Del
OK
xt_ecn.h
673 B
Del
OK
xt_esp.h
355 B
Del
OK
xt_hashlimit.h
1.83 KB
Del
OK
xt_helper.h
125 B
Del
OK
xt_iprange.h
518 B
Del
OK
xt_ipvs.h
588 B
Del
OK
xt_length.h
158 B
Del
OK
xt_limit.h
610 B
Del
OK
xt_mac.h
135 B
Del
OK
xt_mark.h
473 B
Del
OK
xt_multiport.h
658 B
Del
OK
xt_nfacct.h
238 B
Del
OK
xt_osf.h
3.27 KB
Del
OK
xt_owner.h
557 B
Del
OK
xt_physdev.h
469 B
Del
OK
xt_pkttype.h
125 B
Del
OK
xt_policy.h
914 B
Del
OK
xt_quota.h
337 B
Del
OK
xt_rateest.h
774 B
Del
OK
xt_realm.h
157 B
Del
OK
xt_recent.h
966 B
Del
OK
xt_rpfilter.h
257 B
Del
OK
xt_sctp.h
2.22 KB
Del
OK
xt_set.h
1.38 KB
Del
OK
xt_socket.h
382 B
Del
OK
xt_state.h
268 B
Del
OK
xt_statistic.h
653 B
Del
OK
xt_string.h
601 B
Del
OK
xt_tcpmss.h
190 B
Del
OK
xt_tcpudp.h
1.16 KB
Del
OK
xt_time.h
667 B
Del
OK
xt_u32.h
689 B
Del
OK
Edit: nf_conntrack_common.h
#ifndef _NF_CONNTRACK_COMMON_H #define _NF_CONNTRACK_COMMON_H /* Connection state tracking for netfilter. This is separated from, but required by, the NAT layer; it can also be used by an iptables extension. */ enum ip_conntrack_info { /* Part of an established connection (either direction). */ IP_CT_ESTABLISHED, /* Like NEW, but related to an existing connection, or ICMP error (in either direction). */ IP_CT_RELATED, /* Started a new connection to track (only IP_CT_DIR_ORIGINAL); may be a retransmission. */ IP_CT_NEW, /* >= this indicates reply direction */ IP_CT_IS_REPLY, IP_CT_ESTABLISHED_REPLY = IP_CT_ESTABLISHED + IP_CT_IS_REPLY, IP_CT_RELATED_REPLY = IP_CT_RELATED + IP_CT_IS_REPLY, /* No NEW in reply direction. */ /* Number of distinct IP_CT types. */ IP_CT_NUMBER, /* only for userspace compatibility */ IP_CT_NEW_REPLY = IP_CT_NUMBER, }; #define NF_CT_STATE_INVALID_BIT (1 << 0) #define NF_CT_STATE_BIT(ctinfo) (1 << ((ctinfo) % IP_CT_IS_REPLY + 1)) #define NF_CT_STATE_UNTRACKED_BIT (1 << 6) /* Bitset representing status of connection. */ enum ip_conntrack_status { /* It's an expected connection: bit 0 set. This bit never changed */ IPS_EXPECTED_BIT = 0, IPS_EXPECTED = (1 << IPS_EXPECTED_BIT), /* We've seen packets both ways: bit 1 set. Can be set, not unset. */ IPS_SEEN_REPLY_BIT = 1, IPS_SEEN_REPLY = (1 << IPS_SEEN_REPLY_BIT), /* Conntrack should never be early-expired. */ IPS_ASSURED_BIT = 2, IPS_ASSURED = (1 << IPS_ASSURED_BIT), /* Connection is confirmed: originating packet has left box */ IPS_CONFIRMED_BIT = 3, IPS_CONFIRMED = (1 << IPS_CONFIRMED_BIT), /* Connection needs src nat in orig dir. This bit never changed. */ IPS_SRC_NAT_BIT = 4, IPS_SRC_NAT = (1 << IPS_SRC_NAT_BIT), /* Connection needs dst nat in orig dir. This bit never changed. */ IPS_DST_NAT_BIT = 5, IPS_DST_NAT = (1 << IPS_DST_NAT_BIT), /* Both together. */ IPS_NAT_MASK = (IPS_DST_NAT | IPS_SRC_NAT), /* Connection needs TCP sequence adjusted. */ IPS_SEQ_ADJUST_BIT = 6, IPS_SEQ_ADJUST = (1 << IPS_SEQ_ADJUST_BIT), /* NAT initialization bits. */ IPS_SRC_NAT_DONE_BIT = 7, IPS_SRC_NAT_DONE = (1 << IPS_SRC_NAT_DONE_BIT), IPS_DST_NAT_DONE_BIT = 8, IPS_DST_NAT_DONE = (1 << IPS_DST_NAT_DONE_BIT), /* Both together */ IPS_NAT_DONE_MASK = (IPS_DST_NAT_DONE | IPS_SRC_NAT_DONE), /* Connection is dying (removed from lists), can not be unset. */ IPS_DYING_BIT = 9, IPS_DYING = (1 << IPS_DYING_BIT), /* Connection has fixed timeout. */ IPS_FIXED_TIMEOUT_BIT = 10, IPS_FIXED_TIMEOUT = (1 << IPS_FIXED_TIMEOUT_BIT), /* Conntrack is a template */ IPS_TEMPLATE_BIT = 11, IPS_TEMPLATE = (1 << IPS_TEMPLATE_BIT), /* Conntrack is a fake untracked entry. Obsolete and not used anymore */ IPS_UNTRACKED_BIT = 12, IPS_UNTRACKED = (1 << IPS_UNTRACKED_BIT), /* Conntrack got a helper explicitly attached via CT target. */ IPS_HELPER_BIT = 13, IPS_HELPER = (1 << IPS_HELPER_BIT), }; /* Connection tracking event types */ enum ip_conntrack_events { IPCT_NEW, /* new conntrack */ IPCT_RELATED, /* related conntrack */ IPCT_DESTROY, /* destroyed conntrack */ IPCT_REPLY, /* connection has seen two-way traffic */ IPCT_ASSURED, /* connection status has changed to assured */ IPCT_PROTOINFO, /* protocol information has changed */ IPCT_HELPER, /* new helper has been set */ IPCT_MARK, /* new mark has been set */ IPCT_SEQADJ, /* sequence adjustment has changed */ IPCT_NATSEQADJ = IPCT_SEQADJ, IPCT_SECMARK, /* new security mark has been set */ IPCT_LABEL, /* new connlabel has been set */ }; enum ip_conntrack_expect_events { IPEXP_NEW, /* new expectation */ IPEXP_DESTROY, /* destroyed expectation */ }; /* expectation flags */ #define NF_CT_EXPECT_PERMANENT 0x1 #define NF_CT_EXPECT_INACTIVE 0x2 #define NF_CT_EXPECT_USERSPACE 0x4 #endif /* _NF_CONNTRACK_COMMON_H */
Save