pax_global_header00006660000000000000000000000064146725653410014527gustar00rootroot0000000000000052 comment=a9b487386338d24a334a315b2d9949308cfe5fb2 netstat-nat-ng-2a/000077500000000000000000000000001467256534100142375ustar00rootroot00000000000000netstat-nat-ng-2a/.build.yml000066400000000000000000000036331467256534100161440ustar00rootroot00000000000000# SPDX-License-Identifier: 0BSD image: debian/sid secrets: - 37c6ad12-87ec-426c-bd7c-bccf4c860660 # netstat-nat-ng SSH key packages: - clang - lld - groff - ghostscript tasks: - build-gcc: | make -C netstat-nat-ng all check make -C netstat-nat-ng clean - build-clang: | export CC=clang CXX=clang++ LDFLAGS=-fuse-ld=lld make -C netstat-nat-ng all check - manual: | sudo sh -c 'curl https://git.sr.ht/~nabijaczleweli/groff-1.23-unfucking/blob/trunk/mdoc.local >> /etc/groff/mdoc.local' git -C netstat-nat-ng/ worktree add ../netstat-nat-ng-man man cd netstat-nat-ng-man git ls-tree -z --name-only HEAD | xargs -0 rm -r cp -v ../netstat-nat-ng/*.[1-8] . sed -e 's/…/.../g' *.[1-8] | groff -K utf8 -tpe -mdoc -Tps -dpaper=a4 -P-pa4 > netstat-nat-ng.ps ps2pdf netstat-nat-ng.ps netstat-nat-ng.pdf git add . git config user.email "nabijaczleweli/autouploader@nabijaczleweli.xyz" git config user.name "наб autouploader" git commit -m "Manpage update by job $JOB_ID" || exit 0 git remote set-url origin 'git@git.sr.ht:~nabijaczleweli/netstat-nat-ng' ssh-keyscan git.sr.ht > ~/.ssh/known_hosts git push - install: | sudo gmake -C netstat-nat-ng install - void: | curl https://repo-default.voidlinux.org/live/current/sha256sum.txt | grep -w tar | grep -w x86_64 | grep -m1 musl > sha256sum.txt curl -SL https://repo-default.voidlinux.org/live/current/"$(awk -F'[( )]' '{print $3}' < sha256sum.txt)" | tar -xJ cp /etc/resolv.conf etc printf '%s\n' 'xbps-install -yS' \ 'xbps-install -yu xbps' \ 'xbps-install -y make gcc' \ 'make -C netstat-nat-ng clean' \ 'make -C netstat-nat-ng VERSION=sid.yml SOURCE_DATE_EPOCH=0 all check' \ 'make -C netstat-nat-ng install' | unshare -rR . sh -ex netstat-nat-ng-2a/.clang-format000066400000000000000000000020771467256534100166200ustar00rootroot00000000000000--- Language : Cpp BasedOnStyle : LLVM AlignAfterOpenBracket : true AlignEscapedNewlinesLeft : true AlignConsecutiveAssignments : true AllowShortFunctionsOnASingleLine : Inline AlwaysBreakTemplateDeclarations : true ColumnLimit : 160 ConstructorInitializerIndentWidth : 6 IndentCaseLabels : true MaxEmptyLinesToKeep : 2 KeepEmptyLinesAtTheStartOfBlocks : false NamespaceIndentation : All PointerAlignment : Middle SpacesBeforeTrailingComments : 2 IndentWidth : 2 TabWidth : 2 UseTab : ForIndentation SpaceBeforeParens : Never FixNamespaceComments : false ... netstat-nat-ng-2a/GNUmakefile000066400000000000000000000021331467256534100163100ustar00rootroot00000000000000# SPDX-License-Identifier: 0BSD CC ?= cc VERSION ?= $(shell git describe) DATE_EPOCH = LC_ALL=C date $(shell date -d @0 > /dev/null 2>&1 && echo "-d @" || echo "-r ") SOURCE_DATE_EPOCH ?= $(shell git log -1 --no-show-signature --format=%at "netstat-nat.1.in") MANUAL_DATE ?= $(shell $(DATE_EPOCH)$(SOURCE_DATE_EPOCH) +"%B %e, %Y") PREFIX ?= /usr/local CPPFLAGS += -D_GNU_SOURCE CFLAGS += -O3 -g -Wall -Wextra -std=c17 -Wno-string-plus-int .PHONY: all check clean install all: netstat-nat netstat-nat.1 clean: rm -f netstat-nat tst netstat-nat.1 check: tst netstat-nat ./tst ./test install: all mkdir -p $(DESTDIR)$(PREFIX)/bin $(DESTDIR)$(PREFIX)/share/man/man1 cp netstat-nat $(DESTDIR)$(PREFIX)/bin cp netstat-nat.1 $(DESTDIR)$(PREFIX)/share/man/man1 netstat-nat.1: netstat-nat.1.in awk '{gsub(/ \^/, " \\(ha"); gsub(/ ~/, " \\(ti"); if($$1 == ".Dd") $$2 = "$(MANUAL_DATE)"; if($$1 == ".Dt") print ".ds doc-volume-operating-system"; if($$1 == ".Os") $$2 = "netstat-nat-ng $(VERSION)"; print}' < $< > $@ tst: CPPFLAGS += -DTEST tst: CFLAGS += -Wno-unused-function -Wno-unused-const-variable netstat-nat-ng-2a/LICENSES/000077500000000000000000000000001467256534100154445ustar00rootroot00000000000000netstat-nat-ng-2a/LICENSES/0BSD.txt000066400000000000000000000011371467256534100166770ustar00rootroot00000000000000Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted. THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. netstat-nat-ng-2a/LICENSES/GPL-2.0-or-later.txt000066400000000000000000000430761467256534100206610ustar00rootroot00000000000000 GNU GENERAL PUBLIC LICENSE Version 2, June 1991 Copyright (C) 1989, 1991 Free Software Foundation, Inc. 675 Mass Ave, Cambridge, MA 02139, USA Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed. Preamble The licenses for most software are designed to take away your freedom to share and change it. By contrast, the GNU General Public License is intended to guarantee your freedom to share and change free software--to make sure the software is free for all its users. This General Public License applies to most of the Free Software Foundation's software and to any other program whose authors commit to using it. (Some other Free Software Foundation software is covered by the GNU Library General Public License instead.) You can apply it to your programs, too. When we speak of free software, we are referring to freedom, not price. Our General Public Licenses are designed to make sure that you have the freedom to distribute copies of free software (and charge for this service if you wish), that you receive source code or can get it if you want it, that you can change the software or use pieces of it in new free programs; and that you know you can do these things. To protect your rights, we need to make restrictions that forbid anyone to deny you these rights or to ask you to surrender the rights. These restrictions translate to certain responsibilities for you if you distribute copies of the software, or if you modify it. For example, if you distribute copies of such a program, whether gratis or for a fee, you must give the recipients all the rights that you have. You must make sure that they, too, receive or can get the source code. And you must show them these terms so they know their rights. We protect your rights with two steps: (1) copyright the software, and (2) offer you this license which gives you legal permission to copy, distribute and/or modify the software. Also, for each author's protection and ours, we want to make certain that everyone understands that there is no warranty for this free software. If the software is modified by someone else and passed on, we want its recipients to know that what they have is not the original, so that any problems introduced by others will not reflect on the original authors' reputations. Finally, any free program is threatened constantly by software patents. We wish to avoid the danger that redistributors of a free program will individually obtain patent licenses, in effect making the program proprietary. To prevent this, we have made it clear that any patent must be licensed for everyone's free use or not licensed at all. The precise terms and conditions for copying, distribution and modification follow. GNU GENERAL PUBLIC LICENSE TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION 0. This License applies to any program or other work which contains a notice placed by the copyright holder saying it may be distributed under the terms of this General Public License. The "Program", below, refers to any such program or work, and a "work based on the Program" means either the Program or any derivative work under copyright law: that is to say, a work containing the Program or a portion of it, either verbatim or with modifications and/or translated into another language. (Hereinafter, translation is included without limitation in the term "modification".) Each licensee is addressed as "you". Activities other than copying, distribution and modification are not covered by this License; they are outside its scope. The act of running the Program is not restricted, and the output from the Program is covered only if its contents constitute a work based on the Program (independent of having been made by running the Program). Whether that is true depends on what the Program does. 1. You may copy and distribute verbatim copies of the Program's source code as you receive it, in any medium, provided that you conspicuously and appropriately publish on each copy an appropriate copyright notice and disclaimer of warranty; keep intact all the notices that refer to this License and to the absence of any warranty; and give any other recipients of the Program a copy of this License along with the Program. You may charge a fee for the physical act of transferring a copy, and you may at your option offer warranty protection in exchange for a fee. 2. You may modify your copy or copies of the Program or any portion of it, thus forming a work based on the Program, and copy and distribute such modifications or work under the terms of Section 1 above, provided that you also meet all of these conditions: a) You must cause the modified files to carry prominent notices stating that you changed the files and the date of any change. b) You must cause any work that you distribute or publish, that in whole or in part contains or is derived from the Program or any part thereof, to be licensed as a whole at no charge to all third parties under the terms of this License. c) If the modified program normally reads commands interactively when run, you must cause it, when started running for such interactive use in the most ordinary way, to print or display an announcement including an appropriate copyright notice and a notice that there is no warranty (or else, saying that you provide a warranty) and that users may redistribute the program under these conditions, and telling the user how to view a copy of this License. (Exception: if the Program itself is interactive but does not normally print such an announcement, your work based on the Program is not required to print an announcement.) These requirements apply to the modified work as a whole. If identifiable sections of that work are not derived from the Program, and can be reasonably considered independent and separate works in themselves, then this License, and its terms, do not apply to those sections when you distribute them as separate works. But when you distribute the same sections as part of a whole which is a work based on the Program, the distribution of the whole must be on the terms of this License, whose permissions for other licensees extend to the entire whole, and thus to each and every part regardless of who wrote it. Thus, it is not the intent of this section to claim rights or contest your rights to work written entirely by you; rather, the intent is to exercise the right to control the distribution of derivative or collective works based on the Program. In addition, mere aggregation of another work not based on the Program with the Program (or with a work based on the Program) on a volume of a storage or distribution medium does not bring the other work under the scope of this License. 3. You may copy and distribute the Program (or a work based on it, under Section 2) in object code or executable form under the terms of Sections 1 and 2 above provided that you also do one of the following: a) Accompany it with the complete corresponding machine-readable source code, which must be distributed under the terms of Sections 1 and 2 above on a medium customarily used for software interchange; or, b) Accompany it with a written offer, valid for at least three years, to give any third party, for a charge no more than your cost of physically performing source distribution, a complete machine-readable copy of the corresponding source code, to be distributed under the terms of Sections 1 and 2 above on a medium customarily used for software interchange; or, c) Accompany it with the information you received as to the offer to distribute corresponding source code. (This alternative is allowed only for noncommercial distribution and only if you received the program in object code or executable form with such an offer, in accord with Subsection b above.) The source code for a work means the preferred form of the work for making modifications to it. For an executable work, complete source code means all the source code for all modules it contains, plus any associated interface definition files, plus the scripts used to control compilation and installation of the executable. However, as a special exception, the source code distributed need not include anything that is normally distributed (in either source or binary form) with the major components (compiler, kernel, and so on) of the operating system on which the executable runs, unless that component itself accompanies the executable. If distribution of executable or object code is made by offering access to copy from a designated place, then offering equivalent access to copy the source code from the same place counts as distribution of the source code, even though third parties are not compelled to copy the source along with the object code. 4. You may not copy, modify, sublicense, or distribute the Program except as expressly provided under this License. Any attempt otherwise to copy, modify, sublicense or distribute the Program is void, and will automatically terminate your rights under this License. However, parties who have received copies, or rights, from you under this License will not have their licenses terminated so long as such parties remain in full compliance. 5. You are not required to accept this License, since you have not signed it. However, nothing else grants you permission to modify or distribute the Program or its derivative works. These actions are prohibited by law if you do not accept this License. Therefore, by modifying or distributing the Program (or any work based on the Program), you indicate your acceptance of this License to do so, and all its terms and conditions for copying, distributing or modifying the Program or works based on it. 6. Each time you redistribute the Program (or any work based on the Program), the recipient automatically receives a license from the original licensor to copy, distribute or modify the Program subject to these terms and conditions. You may not impose any further restrictions on the recipients' exercise of the rights granted herein. You are not responsible for enforcing compliance by third parties to this License. 7. If, as a consequence of a court judgment or allegation of patent infringement or for any other reason (not limited to patent issues), conditions are imposed on you (whether by court order, agreement or otherwise) that contradict the conditions of this License, they do not excuse you from the conditions of this License. If you cannot distribute so as to satisfy simultaneously your obligations under this License and any other pertinent obligations, then as a consequence you may not distribute the Program at all. For example, if a patent license would not permit royalty-free redistribution of the Program by all those who receive copies directly or indirectly through you, then the only way you could satisfy both it and this License would be to refrain entirely from distribution of the Program. If any portion of this section is held invalid or unenforceable under any particular circumstance, the balance of the section is intended to apply and the section as a whole is intended to apply in other circumstances. It is not the purpose of this section to induce you to infringe any patents or other property right claims or to contest validity of any such claims; this section has the sole purpose of protecting the integrity of the free software distribution system, which is implemented by public license practices. Many people have made generous contributions to the wide range of software distributed through that system in reliance on consistent application of that system; it is up to the author/donor to decide if he or she is willing to distribute software through any other system and a licensee cannot impose that choice. This section is intended to make thoroughly clear what is believed to be a consequence of the rest of this License. 8. If the distribution and/or use of the Program is restricted in certain countries either by patents or by copyrighted interfaces, the original copyright holder who places the Program under this License may add an explicit geographical distribution limitation excluding those countries, so that distribution is permitted only in or among countries not thus excluded. In such case, this License incorporates the limitation as if written in the body of this License. 9. The Free Software Foundation may publish revised and/or new versions of the General Public License from time to time. Such new versions will be similar in spirit to the present version, but may differ in detail to address new problems or concerns. Each version is given a distinguishing version number. If the Program specifies a version number of this License which applies to it and "any later version", you have the option of following the terms and conditions either of that version or of any later version published by the Free Software Foundation. If the Program does not specify a version number of this License, you may choose any version ever published by the Free Software Foundation. 10. If you wish to incorporate parts of the Program into other free programs whose distribution conditions are different, write to the author to ask for permission. For software which is copyrighted by the Free Software Foundation, write to the Free Software Foundation; we sometimes make exceptions for this. Our decision will be guided by the two goals of preserving the free status of all derivatives of our free software and of promoting the sharing and reuse of software generally. NO WARRANTY 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. END OF TERMS AND CONDITIONS Appendix: How to Apply These Terms to Your New Programs If you develop a new program, and you want it to be of the greatest possible use to the public, the best way to achieve this is to make it free software which everyone can redistribute and change under these terms. To do so, attach the following notices to the program. It is safest to attach them to the start of each source file to most effectively convey the exclusion of warranty; and each file should have at least the "copyright" line and a pointer to where the full notice is found. Copyright (C) 19yy This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. Also add information on how to contact you by electronic and paper mail. If the program is interactive, make it output a short notice like this when it starts in an interactive mode: Gnomovision version 69, Copyright (C) 19yy name of author Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. This is free software, and you are welcome to redistribute it under certain conditions; type `show c' for details. The hypothetical commands `show w' and `show c' should show the appropriate parts of the General Public License. Of course, the commands you use may be called something other than `show w' and `show c'; they could even be mouse-clicks or menu items--whatever suits your program. You should also get your employer (if you work as a programmer) or your school, if any, to sign a "copyright disclaimer" for the program, if necessary. Here is a sample; alter the names: Yoyodyne, Inc., hereby disclaims all copyright interest in the program `Gnomovision' (which makes passes at compilers) written by James Hacker. , 1 April 1989 Ty Coon, President of Vice This General Public License does not permit incorporating your program into proprietary programs. If your program is a subroutine library, you may consider it more useful to permit linking proprietary applications with the library. If this is what you want to do, use the GNU Library General Public License instead of this License. netstat-nat-ng-2a/README000066400000000000000000000117771467256534100151340ustar00rootroot00000000000000Description: ------------------------------------------------------------------------------- netstat-nat is a small program written in C. It displays connections, accounted by netfilter which comes with ≥2.6.15 linux kernels. The program reads its information from '/proc/net/nf_conntrack', which is the temporary conntrack-storage of netfilter. (http://www.netfilter.org/) This is most useful for NAT gateways/copies of the aforementioned therefrom, but connections made to/from the current host can be examined as well (-LR). ------------------------------------------------------------------------------- -ng: ------------------------------------------------------------------------------- https://sr.ht/~nabijaczleweli/netstat-nat-ng https://todo.sr.ht/~nabijaczleweli/netstat-nat-ng (report at ) https://lists.sr.ht/~nabijaczleweli/netstat-nat-ng The git history includes imports of all historical tarballs (https://web.archive.org/web/20180104143740/http://www.tweegy.nl/projects/netstat-nat/), with the changelog distributed in the tags. The tags also have contributors added, if credited in the 1.4.10 README (they were not credited contemporaneously). Release tarballs are signed with nabijaczleweli@nabijaczleweli.xyz (pull with WKD, but 7D69 474E 8402 8C5C C0C4 4163 BCFD 0B01 8D26 58F1). аnd stored in git notes as-if via the example program provided at https://man.sr.ht/git.sr.ht/#signing-tags-tarballs and are thus available on the refs listing/tag page as .tar.gz.asc. ------------------------------------------------------------------------------- Usage: ------------------------------------------------------------------------------- netstat-nat [-no] [-x|-X[width]] {[-G] [-S|-D]}|[-L|-R] [-s ource]... [-d estination]... [-g ateway]... [-p rotocol]... [-r src|dst|src-port|dst-port|state|gate|gate-port] [nf_conntrack] Consult the manual for specifics. https://srhtcdn.githack.com/~nabijaczleweli/netstat-nat-ng/blob/man/netstat-nat-ng.pdf ------------------------------------------------------------------------------- Examples: ------------------------------------------------------------------------------- On a gateway: # netstat-nat Proto NATed Address Destination Address State icmp 10.179.163.88 tarta.nabijaczleweli.xyz icmp 10.200.233.12 tarta.nabijaczleweli.xyz tcp 10.32.144.39.host.securi:63770 tarta.nabijaczleweli.xyz:https TIME_WAIT tcp 10.32.144.39.host.securi:64361 tarta.nabijaczleweli.xyz:http TIME_WAIT tcp 10.72.217.111:33864 tarta.nabijaczleweli.xyz:5900 TIME_WAIT tcp 10.72.217.111:39074 tarta.nabijaczleweli.xyz:5900 TIME_WAIT tcp nabijaczleweli.nabijaczl:20985 lb-10-268-216-78-iad.git:https ESTABLISHED tcp nabijaczleweli.nabijaczl:21047 waw07s05-in-f4.1e100.net:http TIME_WAIT tcp nabijaczleweli.nabijaczl:20751 waw07s05-in-f14.1e100.ne:https ESTABLISHED tcp nabijaczleweli.nabijaczl:17906 101010.pl:https ESTABLISHED tcp 192.168.1.136:38216 lt-in-f188.1e100.net:5228 ESTABLISHED tcp 192.168.1.136:38330 lt-in-f188.1e100.net:5228 ESTABLISHED tcp 192.168.1.136:39972 lt-in-f188.1e100.net:5228 ESTABLISHED tcp 192.168.1.136:40092 lt-in-f188.1e100.net:5228 ESTABLISHED udp rozbian.nabijaczleweli.x:46115 10.158.103.58:https ASSURED udp rozbian.nabijaczleweli.x:42560 10.69.17.108:https ASSURED udp rozbian.nabijaczleweli.x:44786 10.140.3.34:https ASSURED udp rozbian.nabijaczleweli.x:47079 10.140.3.34:https UNREPLIED udp 192.168.1.185:3076 ec2-10-213-30-29.eu-cent:https ASSURED udp tarta.nabijaczleweli.xyz:39517 ns-153.awsdns-19.com:domain udp tarta.nabijaczleweli.xyz:16829 ns-1007.awsdns-61.net:domain udp tarta.nabijaczleweli.xyz:46874 ns-1411.awsdns-48.org:domain On a client: # netstat-nat -LnX21 Proto Source Address Destination Address State tcp [::1]:49118 [::1]:9928 TIME_WAIT tcp [::1]:50624 [::1]:80 ESTABLISHED tcp 10.221.132.191:35862 192.168.1.250:5900 TIME_WAIT tcp 127.0.0.1:34030 127.0.0.1:8213 TIME_WAIT tcp 127.0.0.1:52476 127.0.1.1:3493 ESTABLISHED tcp 10.176.163.40:51167 192.168.1.250:443 TIME_WAIT tcp 10.62.134.22:23178 192.168.1.250:80 SYN_RECV tcp 10.62.134.22:47444 192.168.1.250:80 SYN_RECV udp 127.0.0.1:42738 127.0.0.1:323 udp 127.0.0.1:44850 127.0.0.1:5353 udp 127.0.0.1:46444 127.0.0.1:53 ASSURED udp 192.168.1.144:20407 192.168.1.250:53 udp 192.168.1.146:59266 192.168.1.250:53 udp 192.168.1.204:35989 192.168.1.250:53 udp 192.168.1.250:23225 10.46.8.231:53 udp 192.168.1.250:11300 10.11.28.69:53 udp 192.168.1.250:51413 10.116.123.52:6881 ASSURED ------------------------------------------------------------------------------- netstat-nat-ng-2a/netstat-nat.1.in000066400000000000000000000217051467256534100171750ustar00rootroot00000000000000.\" SPDX-License-Identifier: 0BSD .\" .Dd .Dt NETSTAT-NAT 1 .Os . .Sh NAME .Nm netstat-nat .Nd extract and filter NAT/firewall connection data .Sh SYNOPSIS .Nm .Op Fl no .Op Fl x Ns \&| Ns Fl X Ns Op Ar width .Bro Oo Fl G Oc Oo Fl S Ns \&| Ns Fl D Oc Brc Ns \&| Ns Op Fl L Ns \&| Ns Fl R .Oo Fl s Ns \ Ns Ar ource Oc Ns … .Oo Fl d Ns \ Ns Ar estination Oc Ns … .Oo Fl g Ns \ Ns Ar ateway Oc Ns … .Oo Fl p Ns \ Ns Ar rotocol Oc Ns … .Op Fl r Bro Cm src Ns \&, Ns Cm dst Ns \&, Ns Cm gate Brc Ns Bro , Ns Cm -port Brc Ns \&| Ns Cm state .Op Ar nf_conntrack . .Sh DESCRIPTION All network-enabled hosts track ongoing network connections, but this is especially true of stateful firewalls and gateways (routers) which perform network address translation. Under Linux, this information is accounted by the netfilter framework, tracking connectionless protocols .Pq like Xr udp 7 , Xr icmp 7 in addition to the connection-based ones .Pq like Xr tcp 7 . .Pp .Nm parses .Ar nf_conntrack .Pq Pa /proc/net/nf_conntrack Ns \& by default, or the standard input stream if Qq Sy - , filters it so it only has NAT connections .Pq by default, cf.\& Fl LR , looks up the canonical names for the hosts and ports .Pq unless Fl n , and presents it in a table: .Bd -literal -compact -offset 4n .if t \{ .in -8n .sp -1 \} Proto NATed Address Destination Address State icmp 10.179.163.88 tarta.nabijaczleweli.xyz icmp 10.200.233.12 tarta.nabijaczleweli.xyz tcp 10.32.144.39.host.securi:63770 tarta.nabijaczleweli.xyz:https TIME_WAIT tcp 10.32.144.39.host.securi:64361 tarta.nabijaczleweli.xyz:http TIME_WAIT tcp 10.72.217.111:33864 tarta.nabijaczleweli.xyz:5900 TIME_WAIT tcp 10.72.217.111:39074 tarta.nabijaczleweli.xyz:5900 TIME_WAIT tcp nabijaczleweli.nabijaczl:20985 lb-10-268-216-78-iad.git:https ESTABLISHED tcp nabijaczleweli.nabijaczl:21047 waw07s05-in-f4.1e100.net:http TIME_WAIT tcp nabijaczleweli.nabijaczl:20751 waw07s05-in-f14.1e100.ne:https ESTABLISHED tcp nabijaczleweli.nabijaczl:17906 101010.pl:https ESTABLISHED tcp 192.168.1.136:38216 lt-in-f188.1e100.net:5228 ESTABLISHED tcp 192.168.1.136:38330 lt-in-f188.1e100.net:5228 ESTABLISHED tcp 192.168.1.136:39972 lt-in-f188.1e100.net:5228 ESTABLISHED tcp 192.168.1.136:40092 lt-in-f188.1e100.net:5228 ESTABLISHED udp rozbian.nabijaczleweli.x:46115 10.158.103.58:https ASSURED udp rozbian.nabijaczleweli.x:42560 10.69.17.108:https ASSURED udp rozbian.nabijaczleweli.x:44786 10.140.3.34:https ASSURED udp rozbian.nabijaczleweli.x:47079 10.140.3.34:https UNREPLIED udp 192.168.1.185:3076 ec2-10-213-30-29.eu-cent:https ASSURED udp tarta.nabijaczleweli.xyz:39517 ns-153.awsdns-19.com:domain udp tarta.nabijaczleweli.xyz:16829 ns-1007.awsdns-61.net:domain udp tarta.nabijaczleweli.xyz:46874 ns-1411.awsdns-48.org:domain .if t .in +8n .Ed herein we can see: two ongoing incoming ICMP queries (no state available); many remote hosts are calling .Em tarta (and it is the one to hang up); local hosts .Em nabijaczleweli and .Em 192.168.1.136 are generally calling google; that the HTTP/3 revolution is real; and that .Em tarta is querying some DNS servers (they didn't reply yet). .Pp The state column can be any of .Bl -tag -compact -width ".Sy ESTABLISHED" .It Sy ESTABLISHED a functional ongoing connection .It Sy ASSURED similar, but for connectionless protocols .It (blank) either no connection state is tracked (like in ICMP), or waiting for remote reply (like in UDP) .It Sy UNREPLIED remote didn't reply for longer than the expected time-out .Pp .It Sy TIME_WAIT the local side of the connection was closed, delayed remote packets are being collected before recycling .It Sy FIN_WAIT the remote side of the connection was closed, waiting for acknowledgement (\(->FIN, ACK\(->, waiting for \(->FIN) .It Sy SYN_RECV a remote client started opening a connection, but didn't acknowledge the local response (\(->SYN, SYN,ACK\(->, waiting for \(->ACK) .It Sy SYN_SENT a local client started opening a connection, but remote didn't yet accept it (SYN\(->, waiting for \(->SYN,ACK) .It Sy CLOSE .Sy TIME_WAIT because connection was closed forcibly (\(->RST) .El the last 5 only really apply to TCP-like protocols. .Pp With .Fl L Ns \& or Pq R on .Em tarta the table looks very similar .Pq Fl nX Ns Ar 21 Ns \& added as well , but loopback connections also appear: .Bd -literal -compact -offset 4n Proto Source Address Destination Address State tcp [::1]:49118 [::1]:9928 TIME_WAIT tcp [::1]:50624 [::1]:80 ESTABLISHED tcp 10.221.132.191:35862 192.168.1.250:5900 TIME_WAIT tcp 127.0.0.1:34030 127.0.0.1:8213 TIME_WAIT tcp 127.0.0.1:52476 127.0.1.1:3493 ESTABLISHED tcp 10.176.163.40:51167 192.168.1.250:443 TIME_WAIT tcp 10.62.134.22:23178 192.168.1.250:80 SYN_RECV tcp 10.62.134.22:47444 192.168.1.250:80 SYN_RECV udp 127.0.0.1:42738 127.0.0.1:323 udp 127.0.0.1:44850 127.0.0.1:5353 udp 127.0.0.1:46444 127.0.0.1:53 ASSURED udp 192.168.1.144:20407 192.168.1.250:53 udp 192.168.1.146:59266 192.168.1.250:53 udp 192.168.1.204:35989 192.168.1.250:53 udp 192.168.1.250:23225 10.46.8.231:53 udp 192.168.1.250:11300 10.11.28.69:53 udp 192.168.1.250:51413 10.116.123.52:6881 ASSURED .Ed (Public addresses were anonymised as 10/8 in both tables; both tables heavily abridged.) . .Sh OPTIONS .Bl -tag -compact -width ".Fl d Ar destination Ns Cm \&, Ns …" .It Fl n Don't try to resolve IP addresses to hostnames nor port numbers to service names .Pq Xr hosts 5 , Xr services 5 \(em just normalise them. . .It Fl o Don't output the table header line. . .It Fl x Widen the table: addresses are .Sy 40 instead of .Sy 30 columns wide. . .It Fl X Widen the table: address columns are the width of a fully-specified .Xr ipv6 7 address\ +\ port .Pq like Ns \ Ns Li "[fc00:e355:e73f:b463:a28e:529d:7838:65be]:34012" . . .It Fl X Ns Ar width Widen the table: address columns use the given .Ar width . .Pp . .It Fl G Pq also Fl N Add a .Em "Gateway Address" column between the source and destination columns \(em this is the outside-facing address of the node performing NAT. .Pp . .It Fl S Only show connections this node facilitates .Em from its local network .Em to the outside world (SNAT \(em source NAT). Overrides .Fl D . . .It Fl D Only show connections this node facilitates .Em to its local network .Em from the outside world (DNAT \(em destination NAT). Overrides .Fl S . .It Xo By default, the table is filtered as-if .Fl S and .Fl D were used additively instead of subtractively. .Xc . .It Fl L Only show direct connections made by this node (and any of its configured addresses). This still includes hosts outside the local network. Disables .Fl SDG . Overrides .Fl R . . .It Fl R Only show non-NAT connections that don't involve this node('s addresses) at all (This is most likely because their destinations are broadcast addresses.) Disables .Fl SDG . Overrides .Fl L . .Pp . .It Fl s Ar source Ns Cm \&, Ns … Hide connections that don't originate from .Ar source Ns s (parsed as an address or looked up in DNS .Pq Xr getaddrinfo 3 ; comma- or whitespace-separated, or specify multiple times). . .It Fl d Ar destination Ns Cm \&, Ns … Hide connections that aren't targeting .Ar destination Ns s (likewise). . .It Fl g Ar gateway Ns Cm \&, Ns … Hide connections that aren't going through .Ar gateway Ns s (likewise). . .It Fl p Ar protocol Ns Cm \&, Ns … Hide connections that aren't formed by these layer 4 protocols (like UDP, TCP, or ICMP) (case-insensitive; likewise). .Pp . .It Fl r Bro Cm src Ns \&, Ns Cm dst Ns \&, Ns Cm gate Brc Ns Bro , Ns Cm -port Brc Ns \&| Ns Cm state Sort the output by the given column (after partitioning by L4 protocol): .Bl -tag -compact -offset 4n -width ".Cm gate-port" .It Cm src source address (this is the default) .It Cm dst destination address .It Cm src-port source port .It Cm dst-port destination port .It Cm state connection state .It Cm gate gateway address .It Cm gate-port gateway port .El ties are then broken in this order. Everything is sorted lexicographically (as a string), before address/port\(->name lookup (unless disabled by .Fl n ) . .El . .Sh FILES .Pa /proc/net/nf_conntrack : Contains the current netfilter connections. This is usually only readable by root. . .Sh ENVIRONMENT VARIABLES .Ev NETSTAT_NAT_LOCAL_ADDRS : If set, contains a comma- or whitespace-separated list of addresses to be considered local. This supersedes any real sysem state .Pq for use with Pa nf_conntrack Ns \& backups . . .Sh EXIT STATUS .Sy 1 if .Ar nf_conntrack couldn't be opened or a .Ar source , .Ar destination , or .Ar gateway didn't exist. . .Sh SEE ALSO .Xr conntrack 8 provides a read-write interface to this table. .Pp .Xr getaddrinfo 3 , .Xr getifaddrs 3 , .Xr getnameinfo 3 , .Xr hosts 5 , .Xr services 5 netstat-nat-ng-2a/netstat-nat.c000066400000000000000000000623331467256534100166540ustar00rootroot00000000000000// SPDX-License-Identifier: GPL-2.0-or-later // Copyright (c) 2006 by D.Wijsman (danny@tweegy.nl). #include #include #include #include #include #include #include #include #include #include #include #include #include #include #define NF_CONNTRACK_LOCATION "/proc/net/nf_conntrack" #define USAGE \ "usage: %s [-no] [-x|-X[width]] {[-G] [-S|-D]}|[-L|-R] [-s ource]... [-d estination]... [-g ateway]... [-p rotocol]... " \ "[-r src|dst|src-port|dst-port|state|gate|gate-port] [nf_conntrack]\n" static void process_entry(char * line); static bool check_src_dst(const char * protocol, const char * src_ip, const char * dst_ip, const char * src_port, const char * dst_port, const char * gate_ip, const char * gate_port, const char * state); static void lookup_hostport(char ** host, char ** port, const char * protocol); static void nolookup_normalise(char ** host); static void push_ip_filters(char * arg, struct addrinfo ** ips); static bool match_ip_filter(const char * ip, const struct addrinfo * ips); static void * xrealloc(void * oldbuf, size_t newbufsize); static char * xstrdup(const char * oldstr); static void local_ip_addresses_add(struct sockaddr * addr); static void local_ip_addresses_add_forced(char * envvar); static bool local_ip_address(const char * ip); static struct { struct addrinfo * src_ip; struct addrinfo * dst_ip; struct addrinfo * gate_ip; void * protocol; bool snat; bool dnat; bool local; bool routed; } filter = {.snat = true, .dnat = true}; enum connection_row { CONN_PROTOCOL, CONN_SRC_IP, CONN_DST_IP, CONN_SRC_PORT, CONN_DST_PORT, CONN_STATE, CONN_GATE_IP, CONN_GATE_PORT, CONN_ROWCNT, }; static const char * const connection_row_names[CONN_ROWCNT] = { [CONN_PROTOCOL] = NULL, // unpickable, we always partition by protocol [CONN_SRC_IP] = "src", // [CONN_DST_IP] = "dst", // [CONN_SRC_PORT] = "src-port", // [CONN_DST_PORT] = "dst-port", // [CONN_STATE] = "state", // [CONN_GATE_IP] = "gate", // [CONN_GATE_PORT] = "gate-port", // }; struct connection { union { struct { char * protocol; char * src_ip; char * dst_ip; char * src_port; char * dst_port; char * state; char * gate_ip; char * gate_port; }; char * by_row[CONN_ROWCNT]; }; }; _Static_assert(offsetof(struct connection, by_row[CONN_PROTOCOL]) /***/ == offsetof(struct connection, protocol), /***/ ""); _Static_assert(offsetof(struct connection, by_row[CONN_SRC_IP]) /*****/ == offsetof(struct connection, src_ip), /*****/ ""); _Static_assert(offsetof(struct connection, by_row[CONN_DST_IP]) /*****/ == offsetof(struct connection, dst_ip), /*****/ ""); _Static_assert(offsetof(struct connection, by_row[CONN_SRC_PORT]) /***/ == offsetof(struct connection, src_port), /***/ ""); _Static_assert(offsetof(struct connection, by_row[CONN_DST_PORT]) /***/ == offsetof(struct connection, dst_port), /***/ ""); _Static_assert(offsetof(struct connection, by_row[CONN_STATE]) /******/ == offsetof(struct connection, state), /******/ ""); _Static_assert(offsetof(struct connection, by_row[CONN_GATE_IP]) /****/ == offsetof(struct connection, gate_ip), /****/ ""); _Static_assert(offsetof(struct connection, by_row[CONN_GATE_PORT]) /**/ == offsetof(struct connection, gate_port), /**/ ""); static size_t connection_table_len; static struct connection * connection_table; enum connection_row sort_row = CONN_SRC_IP; int connection_table_cmp(const void * lhs_r, const void * rhs_r) { const struct connection * lhs = lhs_r; const struct connection * rhs = rhs_r; int ret; if((ret = strcmp(lhs->protocol, rhs->protocol))) return ret; if((ret = strcmp(lhs->by_row[sort_row], rhs->by_row[sort_row]))) return ret; for(enum connection_row i = CONN_PROTOCOL + 1; i < CONN_ROWCNT; ++i) { if(i == sort_row) continue; if((ret = strcmp(lhs->by_row[i], rhs->by_row[i]))) return ret; } return 0; } #if TEST #include int main() { struct addrinfo * set = NULL; push_ip_filters(strdup("127.000.000.001 0:0:0:0:0:0:0:1"), &set); assert(match_ip_filter("127.0.0.1", set)); assert(match_ip_filter("::1", set)); local_ip_addresses_add((struct sockaddr *)&(struct sockaddr_in){.sin_family = AF_INET, .sin_addr = {0xFFFFFFFF}}); local_ip_addresses_add((struct sockaddr *)&(struct sockaddr_in6){ .sin6_family = AF_INET6, .sin6_addr = {{{0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF}}}}); local_ip_addresses_add_forced(strdup("127.000.000.001 192.168.001.250 0:0:0:0:0:0:0:1")); assert(local_ip_address("255.255.255.255")); assert(local_ip_address("ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff")); assert(local_ip_address("127.0.0.1")); assert(local_ip_address("192.168.1.250")); assert(local_ip_address("::1")); char * ip = strdup("127.000.000.001"); nolookup_normalise(&ip); assert(!strcmp(ip, "127.0.0.1")); ip = strdup("0:0:0:0:0:0:0:1"); nolookup_normalise(&ip); assert(!strcmp(ip, "::1")); char * staticlocal = (char *)"localhost"; ip = staticlocal; nolookup_normalise(&ip); assert(ip == staticlocal); char *host = (char *)"", *port = (char *)"512"; lookup_hostport(&host, &port, "udplite"); assert(!*host); if(!strcmp(port, "comsat")) fprintf(stderr, "netstat-nat test: running under musl, can't test the biff/exec split for port 512\n"); else assert(!strcmp(port, "biff")); host = (char *)"127.0.0.1", port = (char *)"512"; lookup_hostport(&host, &port, "tcp"); if(!strcmp(host, "127.0.0.1")) fprintf(stderr, "netstat-nat test: couldn't look up 127.0.0.1\n"); else assert(!strcmp(host, "localhost") || !strcmp(host, "localhost.localdomain")); assert(!strcmp(port, "exec")); } #else int main(int argc, char * argv[]) { int colwidth = 30; bool resolve = true; bool no_hdr = false; bool nat_hop = false; char buf[64 * 1024]; for(int c; (c = getopt(argc, argv, "np:s:d:g:SDxX::or:LNGR")) != -1;) { switch(c) { case 'n': resolve = false; break; case 'p': tsearch(optarg, &filter.protocol, (int (*)(const void *, const void *))strcasecmp); break; case 's': push_ip_filters(optarg, &filter.src_ip); break; case 'd': push_ip_filters(optarg, &filter.dst_ip); break; case 'g': push_ip_filters(optarg, &filter.gate_ip); break; case 'S': filter.dnat = false; filter.snat = true; break; case 'D': filter.dnat = true; filter.snat = false; break; case 'L': filter.local = true; filter.routed = false; break; case 'R': filter.local = false; filter.routed = true; break; case 'x': colwidth = 40; break; case 'X': { char * next; errno = 0; colwidth = strtol(optarg ?: "", &next, 0); if(*next) { errno = errno ?: EINVAL; err(1, "-X%s", optarg); } colwidth = colwidth <= 0 ? (int)(sizeof("[0000:0000:0000:0000:0000:0000:0000:0000]:65536") - 1) : colwidth; } break; case 'o': no_hdr = true; break; case 'N': case 'G': nat_hop = true; break; case 'r': for(sort_row = 0; sort_row < CONN_ROWCNT; ++sort_row) if(connection_row_names[sort_row] && !strcmp(optarg, connection_row_names[sort_row])) break; if(sort_row == CONN_ROWCNT) return fprintf(stderr, USAGE, argv[0]), 1; break; default: return fprintf(stderr, USAGE, argv[0]), 1; } } const char * file_override = *(argv + optind); if(file_override && *(argv + optind + 1)) return fprintf(stderr, USAGE, argv[0]), 1; // -L|-R naturally excludes all NATs if(filter.local || filter.routed) { filter.snat = false; filter.dnat = false; nat_hop = false; } // get local IP addresses for all interfaces if(filter.routed || filter.local) { char * forced_local_addresses = getenv("NETSTAT_NAT_LOCAL_ADDRS"); if(forced_local_addresses) local_ip_addresses_add_forced(forced_local_addresses); else { struct ifaddrs * addrs; if(!getifaddrs(&addrs)) { for(struct ifaddrs * itr = addrs; itr; itr = itr->ifa_next) local_ip_addresses_add(itr->ifa_addr); freeifaddrs(addrs); } } } if((!file_override || strcmp(file_override, "-")) && !freopen(file_override ?: NF_CONNTRACK_LOCATION, "r", stdin)) { warn("%s", file_override ?: NF_CONNTRACK_LOCATION); if(!file_override && errno == ENOENT) warnx("Make sure the kernel is configured with CONFIG_NF_CONNTRACK=y or the nf_conntrack module is loaded, and that /proc is mounted."); return 1; } setvbuf(stdin, buf, _IOFBF, sizeof(buf)); if(!no_hdr) { printf("%-6s%-*s", "Proto", colwidth, (filter.local || filter.routed) ? "Source Address" : "NATed Address"); if(nat_hop) printf(" %-*s", colwidth, "Gateway Address"); printf(" %-*s %s\n", colwidth, "Destination Address", "State"); } char * line = NULL; for(size_t linelen = 0; getline(&line, &linelen, stdin) != -1;) process_entry(line); if(connection_table_len == 0) // There are no connections at this moment! We can exit. return 0; free(line); fclose(stdin); qsort(connection_table, connection_table_len, sizeof(*connection_table), connection_table_cmp); #define pa connection_table for(size_t i = 0; i < connection_table_len; i++) { if(resolve) { lookup_hostport(&pa[i].src_ip, &pa[i].src_port, pa[i].protocol); lookup_hostport(&pa[i].dst_ip, &pa[i].dst_port, pa[i].protocol); lookup_hostport(&pa[i].gate_ip, &pa[i].gate_port, pa[i].protocol); } else { nolookup_normalise(&pa[i].src_ip); nolookup_normalise(&pa[i].dst_ip); nolookup_normalise(&pa[i].gate_ip); } #define ADDRESS(ip, port) \ { \ *buf = '\0'; \ size_t extrawidth = 0; \ bool bracket = false; \ if(*port) { \ if(strchr(ip, ':')) { \ strcat(buf, "["), extrawidth += 2; \ bracket = true; \ } \ extrawidth += 1 + strlen(port); \ } \ strncat(buf, ip, colwidth - extrawidth); \ if(*port) { \ strcat(buf, "]:" + !bracket); \ strcat(buf, port); \ } \ } ADDRESS(pa[i].src_ip, pa[i].src_port) printf("%-5s %-*s", pa[i].protocol, colwidth, buf); if(nat_hop) { ADDRESS(pa[i].gate_ip, pa[i].gate_port) printf(" %-*s", colwidth, buf); } ADDRESS(pa[i].dst_ip, pa[i].dst_port) printf(" %-*s %s\n", colwidth, buf, pa[i].state); } } #endif struct get_protocol_name_map { int proto; char str[]; }; static void * get_protocol_name_map; static int get_protocol_name_cmp(const void * lhs_r, const void * rhs_r) { const struct get_protocol_name_map * lhs = lhs_r; const struct get_protocol_name_map * rhs = rhs_r; return lhs->proto - rhs->proto; } static const char * get_protocol_name(int protocol_nr) { struct get_protocol_name_map k = {.proto = protocol_nr}, **v = tfind(&k, &get_protocol_name_map, get_protocol_name_cmp); if(v) return (*v)->str; char buf[11 + 1], *nm = buf; // -2147483648 struct protoent * proto_struct = getprotobynumber(protocol_nr); if(proto_struct != NULL) nm = proto_struct->p_name; else sprintf(nm, "%d", protocol_nr); struct get_protocol_name_map * kv = xrealloc(NULL, sizeof(struct get_protocol_name_map) + strlen(nm) + 1); kv->proto = protocol_nr; memcpy(kv->str, nm, strlen(nm) + 1); tsearch(kv, &get_protocol_name_map, get_protocol_name_cmp); return kv->str; } static bool an_ok_connection_state(const char * tok, const char ** ret) { #define EXT(known) \ else if(*tok == *known && !strncmp(tok, known, sizeof(known) - 1)) { \ *ret = known; \ return true; \ } if(!(tok = strpbrk(tok, "ACEFSTU"))) return false; EXT("ESTABLISHED") EXT("TIME_WAIT") EXT("FIN_WAIT") EXT("SYN_RECV") EXT("SYN_SENT") EXT("UNREPLIED") EXT("CLOSE") EXT("ASSURED") else return false; } #if 0 ipv4 2 udp 17 19 src=139.12.34.56 dst=194.0.0.53 sport=55569 dport=53 src=194.0.0.53 dst=139.12.34.56 sport=53 dport=55569 mark=0 zone=0 use=2 ipv4 2 udp 17 1 src=192.168.1.250 dst=185.89.218.12 sport=25718 dport=53 src=185.89.218.12 dst=139.12.34.56 sport=53 dport=25718 mark=0 zone=0 use=2 ipv4 2 tcp 6 431938 ESTABLISHED src=192.168.1.2 dst=34.241.17.166 sport=36486 dport=443 src=34.241.17.166 dst=139.12.34.56 sport=443 dport=36486 [ASSURED] mark=0 zone=0 use=2 ipv4 2 tcp 6 431960 ESTABLISHED src=165.232.32.235 dst=139.12.34.56 sport=33200 dport=443 src=192.168.1.250 dst=165.232.32.235 sport=443 dport=33200 [ASSURED] mark=0 zone=0 use=2 ipv4 2 tcp 6 41 SYN_SENT src=46.29.161.212 dst=139.12.34.56 sport=56618 dport=22 [UNREPLIED] src=192.168.1.250 dst=46.29.161.212 sport=22 dport=56618 mark=0 zone=0 use=2 ipv4 2 tcp 6 50 TIME_WAIT src=118.45.205.44 dst=139.12.34.56 sport=33946 dport=22 src=192.168.1.250 dst=118.45.205.44 sport=22 dport=33946 [ASSURED] mark=0 zone=0 use=2 l3str num l4str num #endif static void process_entry(char * line) { const char * srcip_f = NULL; // first src= const char * dstip_f = NULL; // first dst= const char * srcip_s = NULL; // second src= const char * dstip_s = NULL; // second dst= const char * srcport = NULL; // first sport= const char * dstport = NULL; // first dport= const char * srcport_s = NULL; // second sport= const char * dstport_s = NULL; // second dport= const char * state = NULL; // normalised connection state const char *protocol, *protocol_num; char * sav = NULL; strtok_r(line, " \n", &sav); // L3 str strtok_r(NULL, " \n", &sav); // L3 num protocol = strtok_r(NULL, " \n", &sav); // L4 str protocol_num = strtok_r(NULL, " \n", &sav); // L4 num if(!strcmp(protocol, "unknown")) protocol = get_protocol_name(atoi(protocol_num)); if(filter.protocol && !tfind(protocol, &filter.protocol, (int (*)(const void *, const void *))strcasecmp)) return; #define strstarts(what, with) !strncmp(what, with, sizeof(with) - 1) for(char * tok; (tok = strtok_r(NULL, " \n", &sav));) { if(!state && an_ok_connection_state(tok, &state)) ; else if((!srcip_f || !srcip_s) && strstarts(tok, "src=")) *(srcip_f ? &srcip_s : &srcip_f) = tok + sizeof("src=") - 1; else if((!dstip_f || !dstip_s) && strstarts(tok, "dst=")) *(dstip_f ? &dstip_s : &dstip_f) = tok + sizeof("src=") - 1; else if((!srcport || !srcport_s) && strstarts(tok, "sport=")) *(srcport ? &srcport_s : &srcport) = tok + sizeof("sport=") - 1; else if((!dstport || !dstport_s) && strstarts(tok, "dport=")) *(dstport ? &dstport_s : &dstport) = tok + sizeof("dport=") - 1; if(srcip_f && dstip_f && srcip_s && dstip_s && srcport && dstport && srcport_s && dstport_s && state) break; } if(filter.snat) if((strcmp(srcip_f, dstip_s) != 0) && (strcmp(dstip_f, srcip_s) == 0)) check_src_dst(protocol, srcip_f, dstip_f, srcport, dstport, dstip_s, dstport_s, state); if(filter.dnat) if((strcmp(srcip_f, dstip_s) == 0) && (strcmp(dstip_f, srcip_s) != 0)) check_src_dst(protocol, srcip_f, srcip_s, srcport, srcport_s, dstip_f, dstport_s, state); // bugfix for displaying DNAT over SNAT connections, submitted by Supaflyster (intercepted traffic to DNAT) (2 interfaces) if(filter.dnat || filter.snat) if((strcmp(srcip_f, srcip_s) != 0) && (strcmp(srcip_f, dstip_s) != 0) && (strcmp(dstip_f, srcip_s) != 0) && (strcmp(dstip_f, dstip_s) != 0)) check_src_dst(protocol, srcip_f, srcip_s, srcport, srcport_s, dstip_s, dstport_s, state); // (DNAT) (1 interface) if(filter.dnat) if((strcmp(srcip_f, srcip_s) != 0) && (strcmp(srcip_f, dstip_s) != 0) && (strcmp(dstip_f, srcip_s) != 0) && (strcmp(dstip_f, dstip_s) == 0)) check_src_dst(protocol, srcip_f, srcip_s, srcport, srcport_s, dstip_s, dstport_s, state); if(filter.local) if((strcmp(srcip_f, dstip_s) == 0) && (strcmp(dstip_f, srcip_s) == 0) && (local_ip_address(srcip_f) || local_ip_address(srcip_s) || local_ip_address(dstip_f) || local_ip_address(dstip_s))) check_src_dst(protocol, srcip_f, srcip_s, srcport, dstport, NULL, NULL, state); if(filter.routed) if((strcmp(srcip_f, dstip_s) == 0) && (strcmp(dstip_f, srcip_s) == 0) && // !local_ip_address(srcip_f) && !local_ip_address(srcip_s) && !local_ip_address(dstip_f) && !local_ip_address(dstip_s)) check_src_dst(protocol, srcip_f, srcip_s, srcport, dstport, NULL, NULL, state); // printf("protocol='%s' srcip_f='%s' dstip_f='%s' srcip_s='%s' dstip_s='%s' srcport='%s' dstport='%s' srcport_s='%s' dstport_s='%s' state='%s'\n", // // protocol, srcip_f, dstip_f, srcip_s, dstip_s, srcport, dstport, srcport_s, dstport_s, state); } static bool check_src_dst(const char * protocol, const char * src_ip, const char * dst_ip, const char * src_port, const char * dst_port, const char * gate_ip, const char * gate_port, const char * state) { if(match_ip_filter(dst_ip, filter.dst_ip) && match_ip_filter(src_ip, filter.src_ip) && match_ip_filter(gate_ip, filter.gate_ip)) { connection_table = xrealloc(connection_table, (connection_table_len + 1) * sizeof(*connection_table)); connection_table[connection_table_len].src_port = xstrdup(src_port ?: ""); connection_table[connection_table_len].dst_port = xstrdup(dst_port ?: ""); connection_table[connection_table_len].src_ip = xstrdup(src_ip ?: ""); connection_table[connection_table_len].dst_ip = xstrdup(dst_ip ?: ""); connection_table[connection_table_len].protocol = xstrdup(protocol ?: ""); connection_table[connection_table_len].state = (char *)(state ?: ""); // always static data connection_table[connection_table_len].gate_ip = xstrdup(gate_ip ?: ""); connection_table[connection_table_len].gate_port = xstrdup(gate_port ?: ""); ++connection_table_len; return true; } else return false; } struct hostport_map { char *key, value[]; }; static int hostport_cmp(const void * lhs_r, const void * rhs_r) { const struct hostport_map * lhs = lhs_r; const struct hostport_map * rhs = rhs_r; return strcmp(lhs->key, rhs->key); } static void *hostport_host_, *hostport_port_dgram, *hostport_port_stream; static void lookup_hostport(char ** host, char ** port, const char * protocol) { void ** hostport_host = &hostport_host_; void ** hostport_port = strstr(protocol, "udp") ? &hostport_port_dgram : &hostport_port_stream; #define SANITISE_LOOKUP(field) \ if(!**field) \ field = NULL; \ if(field) { \ struct hostport_map k = {.key = *field}, **v = tfind(&k, hostport_##field, hostport_cmp); \ if(v) { \ *field = (*v)->value; \ field = NULL; \ } \ } SANITISE_LOOKUP(host) SANITISE_LOOKUP(port) if(!host && !port) return; struct addrinfo *res, flags = {.ai_flags = AI_NUMERICHOST}; if(getaddrinfo(host ? *host : NULL, port ? *port : NULL, &flags, &res)) return; char hostbuf[NI_MAXHOST], portbuf[NI_MAXSERV]; if(getnameinfo(res->ai_addr, res->ai_addrlen, host ? hostbuf : NULL, host ? sizeof(hostbuf) : 0, port ? portbuf : NULL, port ? sizeof(portbuf) : 0, strstr(protocol, "udp") ? NI_DGRAM : 0)) { freeaddrinfo(res); return; } freeaddrinfo(res); #define SAVE(field) \ if(field) { \ struct hostport_map * kv = xrealloc(NULL, sizeof(struct hostport_map) + strlen(field##buf) + 1); \ kv->key = *field; \ memcpy(kv->value, field##buf, strlen(field##buf) + 1); \ *field = kv->value; \ tsearch(kv, hostport_##field, hostport_cmp); \ } SAVE(host) SAVE(port) } static void nolookup_normalise(char ** host) { if(!**host) return; struct addrinfo *res, flags = {.ai_flags = AI_NUMERICHOST}; int error; if((error = getaddrinfo(*host, NULL, &flags, &res))) return; char newhost[INET6_ADDRSTRLEN]; if(!inet_ntop(res->ai_addr->sa_family, res->ai_addr->sa_family == AF_INET ? (void *)&((struct sockaddr_in *)res->ai_addr)->sin_addr : (void *)&((struct sockaddr_in6 *)res->ai_addr)->sin6_addr /*AF_INET6*/, newhost, sizeof(newhost))) { freeaddrinfo(res); return; } freeaddrinfo(res); *host = xrealloc(*host, strlen(newhost) + 1); memcpy(*host, newhost, strlen(newhost) + 1); } static void push_ip_filter(const char * hostname, struct addrinfo ** ips) { struct addrinfo *res, *itr, *prev = NULL, flags = {}; int error; if((error = getaddrinfo(hostname, NULL, &flags, &res))) errx(1, "%s: %s", hostname, gai_strerror(error)); for(itr = res; itr; itr = itr->ai_next) prev = itr; prev->ai_next = *ips; *ips = res; } static void push_ip_filters(char * arg, struct addrinfo ** ips) { char * sav = NULL; for(char * addr = strtok_r(arg, ", \t\n", &sav); addr; addr = strtok_r(NULL, ", \t\n", &sav)) push_ip_filter(addr, ips); } static bool match_ip_filter(const char * ip, const struct addrinfo * ips) { if(!ips) // no filters set return true; if(!ip) // ip (src=/dst=) not given return true; struct addrinfo *res, flags = {.ai_flags = AI_NUMERICHOST}; int error; if((error = getaddrinfo(ip, NULL, &flags, &res))) return false; for(; ips; ips = ips->ai_next) if(res->ai_family == ips->ai_family) switch(res->ai_family) { case AF_INET: if(((struct sockaddr_in *)res->ai_addr)->sin_addr.s_addr == ((struct sockaddr_in *)ips->ai_addr)->sin_addr.s_addr) goto found; break; case AF_INET6: if(!memcmp(((struct sockaddr_in6 *)res->ai_addr)->sin6_addr.s6_addr, ((struct sockaddr_in6 *)ips->ai_addr)->sin6_addr.s6_addr, sizeof(struct in6_addr))) goto found; break; } freeaddrinfo(res); return false; found: freeaddrinfo(res); return true; } static void * xrealloc(void * oldbuf, size_t newbufsize) { void * newbuf = realloc(oldbuf, newbufsize); if(!newbuf) err(1, NULL); return newbuf; } static char * xstrdup(const char * oldstr) { if(!*oldstr) return ""; char * newstr = strdup(oldstr); if(!newstr) err(1, NULL); return newstr; } struct local_ip_addresses_data { sa_family_t family; union { struct in_addr sin_addr; struct in6_addr sin6_addr; }; }; static void local_ip_addresses_data_init(struct local_ip_addresses_data * this, struct sockaddr * addr) { switch(this->family = addr->sa_family) { case AF_INET: this->sin_addr = ((struct sockaddr_in *)addr)->sin_addr; return; case AF_INET6: this->sin6_addr = ((struct sockaddr_in6 *)addr)->sin6_addr; return; default: __builtin_unreachable(); } } static int local_ip_addresses_cmp(const void * lhs_r, const void * rhs_r) { const struct local_ip_addresses_data * lhs = lhs_r; const struct local_ip_addresses_data * rhs = rhs_r; if(lhs->family != rhs->family) return lhs->family - rhs->family; switch(lhs->family) { case AF_INET: return memcmp(&lhs->sin_addr, &rhs->sin_addr, sizeof(rhs->sin_addr)); case AF_INET6: return memcmp(&lhs->sin6_addr, &rhs->sin6_addr, sizeof(rhs->sin6_addr)); default: __builtin_unreachable(); } } static void * local_ip_addresses; static void local_ip_addresses_add(struct sockaddr * addr) { if(!(addr->sa_family == AF_INET || addr->sa_family == AF_INET6)) return; struct local_ip_addresses_data * entry = xrealloc(NULL, sizeof(*entry)); local_ip_addresses_data_init(entry, addr); struct local_ip_addresses_data ** sought = tsearch(entry, &local_ip_addresses, local_ip_addresses_cmp); if(sought && *sought != entry) free(entry); } static void local_ip_addresses_add_forced(char * envvar) { char * sav = NULL; for(char * addr = strtok_r(envvar, ", \t\n", &sav); addr; addr = strtok_r(NULL, ", \t\n", &sav)) { struct addrinfo *res, flags = {.ai_flags = AI_NUMERICHOST}; int error; if((error = getaddrinfo(addr, NULL, &flags, &res))) errx(1, "%s: %s", addr, gai_strerror(error)); local_ip_addresses_add(res->ai_addr); freeaddrinfo(res); } } static bool local_ip_address(const char * ip) { struct addrinfo *res, flags = {.ai_flags = AI_NUMERICHOST}; if(getaddrinfo(ip, NULL, &flags, &res)) return false; struct local_ip_addresses_data entry; local_ip_addresses_data_init(&entry, res->ai_addr); freeaddrinfo(res); return tfind(&entry, &local_ip_addresses, local_ip_addresses_cmp); } netstat-nat-ng-2a/test000077500000000000000000000175011467256534100151500ustar00rootroot00000000000000#!/bin/sh -e # SPDX-License-Identifier: 0BSD trap 'rm -f "$tmpf"' EXIT INT tmpf="$(mktemp -t "netstat-nat.XXXXXXXXXX")" netstat_nat="./netstat-nat" command -v diff > /dev/null && alias cmp='diff -u' in_szarotka() { NETSTAT_NAT_LOCAL_ADDRS='fc00:e355:e73f:b463:a28e:529d:7838:65be 127.0.0.1 192.168.1.1' "$netstat_nat" "$@" test-data/nf_conntrack.szarotka; } in_tarta() { NETSTAT_NAT_LOCAL_ADDRS=' 127.000.000.001 192.168.1.250 ::1 fe80::226:b9ff:fe86:fdce' "$netstat_nat" "$@" test-data/nf_conntrack.tarta ; } printf '%-5s %-30s %-30s %s\n' 'Proto' 'Source Address' 'Destination Address' 'State' \ 'icmp' 'fc00:e355:e73f:b463:a28e:529d:' 'fc00:4ae7:d829:fd6c:10d:92f0:f' 'ESTABLISHED' \ 'tcp' '192.168.1.1:43356' '192.168.1.250:3493' 'ESTABLISHED' \ 'tcp' '192.168.1.1:53818' '192.168.1.250:445' 'ESTABLISHED' \ 'tcp' '192.168.1.1:853' '192.168.1.250:2049' 'ESTABLISHED' \ 'tcp' '192.168.1.109:63651' '192.168.1.1:22' 'ESTABLISHED' \ 'tcp' '192.168.1.250:1016' '192.168.1.1:2049' 'ESTABLISHED' \ 'tcp' '192.168.1.250:48834' '192.168.1.1:19999' 'TIME_WAIT' \ 'tcp' '192.168.1.250:50964' '192.168.1.1:9050' 'CLOSE' \ 'tcp' '192.168.1.250:54752' '192.168.1.1:9050' 'CLOSE' \ 'tcp' '192.168.1.250:54888' '192.168.1.1:19999' 'TIME_WAIT' \ 'tcp' '192.168.1.250:775' '192.168.1.1:2049' 'ESTABLISHED' \ 'tcp' '[fc00:e355:e73f:b463:a2]:34012' '[fc00:4ae7:d829:fd6c:10d:]:443' 'ESTABLISHED' \ 'udp' '192.168.1.250:56575' '192.168.1.1:53' 'UNREPLIED' > "$tmpf" in_szarotka -nL | cmp - "$tmpf" printf '%-5s %-40s %-40s %s\n' 'Proto' 'Source Address' 'Destination Address' 'State' \ 'icmp' 'fc00:e355:e73f:b463:a28e:529d:7838:65be' 'fc00:4ae7:d829:fd6c:10d:92f0:f19d:851b' 'ESTABLISHED' \ 'tcp' '192.168.1.250:1016' '192.168.1.1:2049' 'ESTABLISHED' \ 'tcp' '[fc00:e355:e73f:b463:a28e:529d:78]:34012' '[fc00:4ae7:d829:fd6c:10d:92f0:f19d:]:443' 'ESTABLISHED' \ 'tcp' '192.168.1.1:43356' '192.168.1.250:3493' 'ESTABLISHED' \ 'tcp' '192.168.1.250:48834' '192.168.1.1:19999' 'TIME_WAIT' \ 'tcp' '192.168.1.250:50964' '192.168.1.1:9050' 'CLOSE' \ 'tcp' '192.168.1.1:53818' '192.168.1.250:445' 'ESTABLISHED' \ 'tcp' '192.168.1.250:54752' '192.168.1.1:9050' 'CLOSE' \ 'tcp' '192.168.1.250:54888' '192.168.1.1:19999' 'TIME_WAIT' \ 'tcp' '192.168.1.109:63651' '192.168.1.1:22' 'ESTABLISHED' \ 'tcp' '192.168.1.250:775' '192.168.1.1:2049' 'ESTABLISHED' \ 'tcp' '192.168.1.1:853' '192.168.1.250:2049' 'ESTABLISHED' \ 'udp' '192.168.1.250:56575' '192.168.1.1:53' 'UNREPLIED' > "$tmpf" in_szarotka -nNLxr src-port | cmp - "$tmpf" printf '%-5s %-30s %-30s %s\n' 'Proto' 'Source Address' 'Destination Address' 'State' > "$tmpf" in_szarotka -nR | cmp - "$tmpf" printf '%-5s %-30s %-30s %s\n' 'Proto' 'NATed Address' 'Destination Address' 'State' \ 'tcp' '192.168.1.250:45660' '142.132.234.132:2016' 'ESTABLISHED' \ 'tcp' '192.168.1.250:43860' '162.159.135.234:443' 'ESTABLISHED' \ 'tcp' '192.168.1.250:39862' '34.107.243.93:443' 'ESTABLISHED' \ 'tcp' '192.168.1.250:50616' '34.107.243.93:443' 'ESTABLISHED' \ 'tcp' '192.168.1.250:53462' '142.250.186.196:443' 'TIME_WAIT' \ 'udp' '192.168.1.250:12337' '108.162.192.220:53' '' \ 'udp' '192.168.1.250:52464' '108.162.193.176:53' '' \ 'udp' '192.168.1.250:11044' '173.245.58.220:53' '' \ 'udp' '192.168.1.250:17210' '216.239.32.10:53' '' \ 'udp' '192.168.1.250:22504' '216.239.32.10:53' '' \ 'udp' '192.168.1.250:45830' '216.239.36.10:53' '' \ 'udp' '192.168.1.250:59949' '216.239.38.10:53' '' \ 'udp' '192.168.1.250:51413' '18.190.61.127:6881' 'ASSURED' \ 'udp' '192.168.1.250:51413' '186.10.181.37:1337' 'ASSURED' \ 'udp' '192.168.1.250:51413' '23.168.232.9:1337' 'ASSURED' \ 'udp' '192.168.1.250:51413' '54.194.124.68:6882' 'ASSURED' \ 'udp' '192.168.1.250:51413' '95.82.96.230:57264' 'ASSURED' \ 'udp' '192.168.1.147:49361' '255.255.255.255:6667' 'UNREPLIED' > "$tmpf" in_tarta -nSDr state | cmp - "$tmpf" printf '%-5s %-30s %-30s %-30s %s\n' 'tcp' '10.103.54.126:36996' '45.55.70.6:36996' '192.168.1.250:5900' 'TIME_WAIT' \ 'tcp' '10.103.54.126:38714' '45.55.70.6:38714' '192.168.1.250:5900' 'TIME_WAIT' \ 'tcp' '10.103.54.126:42354' '45.55.70.6:42354' '192.168.1.250:5900' 'TIME_WAIT' \ 'tcp' '10.103.54.126:43728' '45.55.70.6:43728' '192.168.1.250:5900' 'TIME_WAIT' \ 'tcp' '10.103.54.126:48134' '45.55.70.6:48134' '192.168.1.250:5900' 'TIME_WAIT' \ 'tcp' '10.103.54.126:50652' '45.55.70.6:50652' '192.168.1.250:5900' 'TIME_WAIT' \ 'tcp' '10.103.54.126:54304' '45.55.70.6:54304' '192.168.1.250:5900' 'TIME_WAIT' \ 'tcp' '10.103.54.126:54528' '45.55.70.6:54528' '192.168.1.250:5900' 'TIME_WAIT' \ 'tcp' '10.103.54.126:57288' '45.55.70.6:57288' '192.168.1.250:5900' 'TIME_WAIT' > "$tmpf" in_tarta -nSoN -g 165.22.181.167,45.55.70.6 -s 10.103.54.126 -s 10.153.205.11 | cmp - "$tmpf" netstat-nat-ng-2a/test-data/000077500000000000000000000000001467256534100161255ustar00rootroot00000000000000netstat-nat-ng-2a/test-data/nf_conntrack.szarotka000066400000000000000000001045251467256534100223610ustar00rootroot00000000000000ipv4 2 udp 17 19 src=10.12.90.206 dst=10.20.233.33 sport=55569 dport=53 src=194.0.0.53 dst=139.28.0.0 sport=53 dport=55569 mark=0 zone=0 use=2 ipv4 2 udp 17 1 src=192.168.1.250 dst=10.173.119.118 sport=25718 dport=53 src=185.89.218.12 dst=10.12.90.206 sport=53 dport=25718 mark=0 zone=0 use=2 ipv4 2 tcp 6 431938 ESTABLISHED src=192.168.1.2 dst=10.219.217.30 sport=36486 dport=443 src=34.241.17.166 dst=10.12.90.206 sport=443 dport=36486 [ASSURED] mark=0 zone=0 use=2 ipv4 2 tcp 6 431960 ESTABLISHED src=10.158.229.85 dst=10.12.90.206 sport=33200 dport=443 src=192.168.1.250 dst=165.232.32.235 sport=443 dport=33200 [ASSURED] mark=0 zone=0 use=2 ipv4 2 tcp 6 41 SYN_SENT src=10.242.202.67 dst=10.12.90.206 sport=56618 dport=22 [UNREPLIED] src=192.168.1.250 dst=46.29.161.212 sport=22 dport=56618 mark=0 zone=0 use=2 ipv4 2 tcp 6 50 TIME_WAIT src=10.116.120.169 dst=10.12.90.206 sport=33946 dport=22 src=192.168.1.250 dst=118.45.205.44 sport=22 dport=33946 [ASSURED] mark=0 zone=0 use=2 ipv4 2 tcp 6 399024 ESTABLISHED src=192.168.1.136 dst=10.167.36.211 sport=45646 dport=5228 src=173.194.73.188 dst=10.12.90.206 sport=5228 dport=45646 [ASSURED] mark=0 zone=0 use=2 ipv4 2 tcp 6 20 SYN_RECV src=10.132.198.208 dst=10.12.90.206 sport=45999 dport=80 src=192.168.1.250 dst=15.184.17.242 sport=80 dport=45999 mark=0 zone=0 use=2 ipv4 2 tcp 6 73 TIME_WAIT src=10.241.166.228 dst=10.12.90.206 sport=36128 dport=5900 src=192.168.1.250 dst=45.55.70.6 sport=5900 dport=36128 [ASSURED] mark=0 zone=0 use=2 ipv4 2 tcp 6 74 TIME_WAIT src=10.241.166.228 dst=10.12.90.206 sport=37396 dport=5900 src=192.168.1.250 dst=45.55.70.6 sport=5900 dport=37396 [ASSURED] mark=0 zone=0 use=2 ipv4 2 tcp 6 333992 ESTABLISHED src=192.168.1.136 dst=10.115.188.243 sport=38330 dport=5228 src=108.177.14.188 dst=10.12.90.206 sport=5228 dport=38330 [ASSURED] mark=0 zone=0 use=2 ipv4 2 tcp 6 29 LAST_ACK src=192.168.1.144 dst=10.45.33.247 sport=41932 dport=443 src=57.144.112.144 dst=10.12.90.206 sport=443 dport=41932 [ASSURED] mark=0 zone=0 use=5 ipv4 2 tcp 6 50 SYN_RECV src=10.168.60.18 dst=10.12.90.206 sport=21429 dport=80 src=192.168.1.250 dst=185.207.206.213 sport=80 dport=21429 mark=0 zone=0 use=2 ipv4 2 tcp 6 73 TIME_WAIT src=10.156.126.109 dst=10.12.90.206 sport=52452 dport=5900 src=192.168.1.250 dst=165.22.181.167 sport=5900 dport=52452 [ASSURED] mark=0 zone=0 use=2 ipv4 2 tcp 6 380536 ESTABLISHED src=192.168.1.81 dst=10.52.80.22 sport=47156 dport=5228 src=64.233.163.188 dst=10.12.90.206 sport=5228 dport=47156 [ASSURED] mark=0 zone=0 use=2 ipv4 2 tcp 6 39 TIME_WAIT src=10.156.126.109 dst=10.12.90.206 sport=34732 dport=5900 src=192.168.1.250 dst=165.22.181.167 sport=5900 dport=34732 [ASSURED] mark=0 zone=0 use=2 ipv4 2 tcp 6 106 TIME_WAIT src=10.156.126.109 dst=10.12.90.206 sport=40662 dport=5900 src=192.168.1.250 dst=165.22.181.167 sport=5900 dport=40662 [ASSURED] mark=0 zone=0 use=2 ipv4 2 tcp 6 109 TIME_WAIT src=10.71.143.145 dst=10.12.90.206 sport=41234 dport=22 src=192.168.1.250 dst=8.210.144.77 sport=22 dport=41234 [ASSURED] mark=0 zone=0 use=2 ipv4 2 tcp 6 431981 ESTABLISHED src=192.168.1.109 dst=192.168.1.1 sport=63651 dport=22 src=192.168.1.1 dst=192.168.1.109 sport=22 dport=63651 [ASSURED] mark=0 zone=0 use=2 ipv4 2 tcp 6 9 TIME_WAIT src=10.119.186.35 dst=10.12.90.206 sport=55792 dport=5900 src=192.168.1.250 dst=137.184.185.50 sport=5900 dport=55792 [ASSURED] mark=0 zone=0 use=2 ipv4 2 udp 17 119 src=192.168.1.146 dst=10.222.141.38 sport=52809 dport=50003 src=35.217.1.126 dst=10.12.90.206 sport=50003 dport=52809 [ASSURED] mark=0 zone=0 use=2 ipv4 2 udp 17 19 src=10.12.90.206 dst=139.28.0.0 sport=18233 dport=53 src=139.28.0.0 dst=139.28.0.0 sport=53 dport=18233 mark=0 zone=0 use=2 ipv4 2 udp 17 56 src=192.168.1.146 dst=10.146.217.93 sport=43142 dport=443 src=162.159.130.232 dst=10.12.90.206 sport=443 dport=43142 [ASSURED] mark=0 zone=0 use=2 ipv4 2 tcp 6 58 TIME_WAIT src=10.119.186.35 dst=10.12.90.206 sport=34450 dport=5900 src=192.168.1.250 dst=137.184.185.50 sport=5900 dport=34450 [ASSURED] mark=0 zone=0 use=2 ipv4 2 tcp 6 16 TIME_WAIT src=10.107.146.13 dst=10.12.90.206 sport=46078 dport=443 src=192.168.1.250 dst=107.174.176.172 sport=443 dport=46078 [ASSURED] mark=0 zone=0 use=2 ipv4 2 tcp 6 117 TIME_WAIT src=10.128.149.235 dst=10.12.90.206 sport=56844 dport=443 src=192.168.1.250 dst=142.93.192.140 sport=443 dport=56844 [ASSURED] mark=0 zone=0 use=2 ipv4 2 tcp 6 27 SYN_RECV src=10.132.246.194 dst=10.12.90.206 sport=18386 dport=443 src=192.168.1.250 dst=15.184.40.39 sport=443 dport=18386 mark=0 zone=0 use=2 ipv4 2 tcp 6 54 TIME_WAIT src=10.128.149.235 dst=10.12.90.206 sport=56840 dport=443 src=192.168.1.250 dst=142.93.192.140 sport=443 dport=56840 [ASSURED] mark=0 zone=0 use=2 ipv4 2 tcp 6 431714 ESTABLISHED src=192.168.1.109 dst=10.217.249.184 sport=63225 dport=443 src=34.107.243.93 dst=10.12.90.206 sport=443 dport=63225 [ASSURED] mark=0 zone=0 use=2 ipv4 2 udp 17 4 src=192.168.1.250 dst=10.66.124.175 sport=25887 dport=53 src=65.22.160.17 dst=10.12.90.206 sport=53 dport=25887 mark=0 zone=0 use=2 ipv4 2 tcp 6 62 TIME_WAIT src=10.178.228.11 dst=10.12.90.206 sport=48638 dport=443 src=192.168.1.250 dst=188.165.33.227 sport=443 dport=48638 [ASSURED] mark=0 zone=0 use=2 ipv4 2 tcp 6 38 TIME_WAIT src=10.26.195.83 dst=10.12.90.206 sport=51608 dport=443 src=192.168.1.250 dst=51.178.1.52 sport=443 dport=51608 [ASSURED] mark=0 zone=0 use=2 ipv4 2 tcp 6 75 TIME_WAIT src=10.73.240.11 dst=10.12.90.206 sport=60944 dport=443 src=192.168.1.250 dst=87.98.173.252 sport=443 dport=60944 [ASSURED] mark=0 zone=0 use=2 ipv4 2 tcp 6 46 SYN_SENT src=10.169.164.76 dst=10.12.90.206 sport=60024 dport=22 [UNREPLIED] src=192.168.1.250 dst=185.254.98.118 sport=22 dport=60024 mark=0 zone=0 use=2 ipv4 2 tcp 6 233802 ESTABLISHED src=192.168.1.81 dst=10.16.186.159 sport=41870 dport=5228 src=173.194.220.188 dst=10.12.90.206 sport=5228 dport=41870 [ASSURED] mark=0 zone=0 use=2 ipv4 2 tcp 6 82 TIME_WAIT src=10.105.128.146 dst=10.12.90.206 sport=45946 dport=443 src=192.168.1.250 dst=107.132.109.205 sport=443 dport=45946 [ASSURED] mark=0 zone=0 use=2 ipv4 2 tcp 6 431999 ESTABLISHED src=192.168.1.250 dst=10.147.112.156 sport=43578 dport=443 src=162.159.133.234 dst=10.12.90.206 sport=443 dport=43578 [ASSURED] mark=0 zone=0 use=2 ipv4 2 udp 17 16 src=192.168.1.250 dst=10.42.186.154 sport=51413 dport=6881 src=54.214.105.212 dst=10.12.90.206 sport=6881 dport=33350 mark=0 zone=0 use=2 ipv4 2 tcp 6 35 TIME_WAIT src=192.168.1.109 dst=10.216.10.52 sport=63630 dport=443 src=216.58.209.14 dst=10.12.90.206 sport=443 dport=63630 [ASSURED] mark=0 zone=0 use=2 ipv4 2 tcp 6 97 TIME_WAIT src=10.239.2.211 dst=10.12.90.206 sport=42946 dport=443 src=192.168.1.250 dst=45.148.31.14 sport=443 dport=42946 [ASSURED] mark=0 zone=0 use=2 ipv4 2 tcp 6 14 CLOSE_WAIT src=192.168.1.250 dst=192.168.1.1 sport=50964 dport=9050 src=192.168.1.1 dst=192.168.1.250 sport=9050 dport=50964 [ASSURED] mark=0 zone=0 use=2 ipv4 2 tcp 6 431981 ESTABLISHED src=192.168.1.250 dst=10.218.61.190 sport=48108 dport=443 src=34.120.177.193 dst=10.12.90.206 sport=443 dport=48108 [ASSURED] mark=0 zone=0 use=2 ipv4 2 icmp 1 23 src=10.179.163.88 dst=10.12.90.206 type=8 code=0 id=0 src=139.28.0.0 dst=188.42.196.37 type=0 code=0 id=0 mark=0 zone=0 use=2 ipv4 2 tcp 6 424283 ESTABLISHED src=192.168.1.144 dst=10.53.188.139 sport=37154 dport=5228 src=64.233.164.188 dst=10.12.90.206 sport=5228 dport=37154 [ASSURED] mark=0 zone=0 use=2 ipv4 2 tcp 6 70 SYN_SENT src=10.169.164.76 dst=10.12.90.206 sport=40454 dport=22 [UNREPLIED] src=192.168.1.250 dst=185.254.98.118 sport=22 dport=40454 mark=0 zone=0 use=2 ipv4 2 udp 17 29 src=192.168.1.250 dst=10.208.22.190 sport=60761 dport=53 src=205.251.196.24 dst=10.12.90.206 sport=53 dport=60761 mark=0 zone=0 use=2 ipv4 2 tcp 6 10 SYN_SENT src=10.169.164.76 dst=10.12.90.206 sport=56696 dport=22 [UNREPLIED] src=192.168.1.250 dst=185.254.98.118 sport=22 dport=56696 mark=0 zone=0 use=2 ipv4 2 tcp 6 431996 ESTABLISHED src=192.168.1.206 dst=10.122.160.206 sport=13355 dport=2016 src=142.132.234.132 dst=10.12.90.206 sport=2016 dport=13355 [ASSURED] mark=0 zone=0 use=2 ipv4 2 udp 17 19 src=10.12.90.206 dst=10.211.189.68 sport=53860 dport=53 src=212.18.249.42 dst=139.28.0.0 sport=53 dport=53860 mark=0 zone=0 use=2 ipv4 2 tcp 6 431999 ESTABLISHED src=192.168.1.1 dst=192.168.1.250 sport=853 dport=2049 src=192.168.1.250 dst=192.168.1.1 sport=2049 dport=853 [ASSURED] mark=0 zone=0 use=2 ipv4 2 tcp 6 107 TIME_WAIT src=10.241.166.228 dst=10.12.90.206 sport=43286 dport=5900 src=192.168.1.250 dst=45.55.70.6 sport=5900 dport=43286 [ASSURED] mark=0 zone=0 use=2 ipv4 2 tcp 6 86 SYN_SENT src=10.242.202.67 dst=10.12.90.206 sport=55304 dport=22 [UNREPLIED] src=192.168.1.250 dst=46.29.161.212 sport=22 dport=55304 mark=0 zone=0 use=2 ipv4 2 tcp 6 17 TIME_WAIT src=10.119.186.35 dst=10.12.90.206 sport=52016 dport=5900 src=192.168.1.250 dst=137.184.185.50 sport=5900 dport=52016 [ASSURED] mark=0 zone=0 use=2 ipv4 2 tcp 6 22 SYN_SENT src=10.169.164.76 dst=10.12.90.206 sport=59302 dport=22 [UNREPLIED] src=192.168.1.250 dst=185.254.98.118 sport=22 dport=59302 mark=0 zone=0 use=2 ipv4 2 tcp 6 30 SYN_RECV src=10.132.198.208 dst=10.12.90.206 sport=14395 dport=443 src=192.168.1.250 dst=15.184.17.242 sport=443 dport=14395 mark=0 zone=0 use=2 ipv4 2 tcp 6 111 TIME_WAIT src=10.119.186.35 dst=10.12.90.206 sport=54474 dport=5900 src=192.168.1.250 dst=137.184.185.50 sport=5900 dport=54474 [ASSURED] mark=0 zone=0 use=2 ipv4 2 tcp 6 431995 ESTABLISHED src=192.168.1.146 dst=10.216.211.142 sport=38736 dport=80 src=3.73.239.57 dst=10.12.90.206 sport=80 dport=38736 [ASSURED] mark=0 zone=0 use=2 ipv4 2 tcp 6 45 TIME_WAIT src=10.72.73.14 dst=10.12.90.206 sport=58430 dport=443 src=192.168.1.250 dst=87.98.128.54 sport=443 dport=58430 [ASSURED] mark=0 zone=0 use=2 ipv4 2 tcp 6 260610 ESTABLISHED src=192.168.1.81 dst=10.229.195.178 sport=44358 dport=4244 src=44.192.201.246 dst=10.12.90.206 sport=4244 dport=44358 [ASSURED] mark=0 zone=0 use=2 ipv4 2 tcp 6 117 SYN_SENT src=10.169.164.76 dst=10.12.90.206 sport=44382 dport=22 [UNREPLIED] src=192.168.1.250 dst=185.254.98.118 sport=22 dport=44382 mark=0 zone=0 use=2 ipv4 2 tcp 6 251 ESTABLISHED src=192.168.1.144 dst=10.115.188.243 sport=47540 dport=5228 src=108.177.14.188 dst=10.12.90.206 sport=5228 dport=47540 [ASSURED] mark=0 zone=0 use=2 ipv4 2 tcp 6 38 TIME_WAIT src=10.239.2.211 dst=10.12.90.206 sport=49100 dport=443 src=192.168.1.250 dst=45.148.31.14 sport=443 dport=49100 [ASSURED] mark=0 zone=0 use=2 ipv4 2 udp 17 19 src=10.12.90.206 dst=139.28.0.0 sport=34016 dport=53 src=139.28.0.0 dst=139.28.0.0 sport=53 dport=34016 mark=0 zone=0 use=2 ipv4 2 tcp 6 431984 ESTABLISHED src=192.168.1.109 dst=10.12.90.206 sport=56054 dport=8448 src=139.28.0.0 dst=192.168.1.109 sport=8448 dport=56054 [ASSURED] mark=0 zone=0 use=2 ipv4 2 tcp 6 32 SYN_RECV src=10.132.198.208 dst=10.12.90.206 sport=11803 dport=80 src=192.168.1.250 dst=15.184.17.242 sport=80 dport=11803 mark=0 zone=0 use=2 ipv4 2 tcp 6 431197 ESTABLISHED src=192.168.1.136 dst=10.115.188.243 sport=37334 dport=5228 src=108.177.14.188 dst=10.12.90.206 sport=5228 dport=37334 [ASSURED] mark=0 zone=0 use=2 ipv4 2 tcp 6 387499 ESTABLISHED src=192.168.1.136 dst=10.52.80.22 sport=39404 dport=5228 src=64.233.163.188 dst=10.12.90.206 sport=5228 dport=39404 [ASSURED] mark=0 zone=0 use=2 ipv4 2 tcp 6 104 TIME_WAIT src=10.119.186.35 dst=10.12.90.206 sport=60438 dport=5900 src=192.168.1.250 dst=137.184.185.50 sport=5900 dport=60438 [ASSURED] mark=0 zone=0 use=2 ipv4 2 tcp 6 106 TIME_WAIT src=10.156.126.109 dst=10.12.90.206 sport=42388 dport=5900 src=192.168.1.250 dst=165.22.181.167 sport=5900 dport=42388 [ASSURED] mark=0 zone=0 use=2 ipv4 2 tcp 6 75 TIME_WAIT src=10.30.237.40 dst=10.12.90.206 sport=40186 dport=443 src=192.168.1.250 dst=51.77.195.59 sport=443 dport=40186 [ASSURED] mark=0 zone=0 use=2 ipv4 2 tcp 6 39 SYN_RECV src=10.168.60.18 dst=10.12.90.206 sport=65530 dport=80 src=192.168.1.250 dst=185.207.206.213 sport=80 dport=65530 mark=0 zone=0 use=2 ipv4 2 tcp 6 20 SYN_RECV src=10.132.198.208 dst=10.12.90.206 sport=14556 dport=443 src=192.168.1.250 dst=15.184.17.242 sport=443 dport=14556 mark=0 zone=0 use=2 ipv4 2 icmp 1 11 src=10.200.233.12 dst=10.12.90.206 type=8 code=0 id=60582 src=139.28.0.0 dst=195.123.239.119 type=0 code=0 id=60582 mark=0 zone=0 use=2 ipv4 2 tcp 6 420742 ESTABLISHED src=192.168.1.136 dst=10.115.188.243 sport=49482 dport=5228 src=108.177.14.188 dst=10.12.90.206 sport=5228 dport=49482 [ASSURED] mark=0 zone=0 use=2 ipv4 2 tcp 6 90 TIME_WAIT src=10.158.229.85 dst=10.12.90.206 sport=33188 dport=443 src=192.168.1.250 dst=165.232.32.235 sport=443 dport=33188 [ASSURED] mark=0 zone=0 use=2 ipv4 2 udp 17 29 src=192.168.1.250 dst=10.208.22.190 sport=11183 dport=53 src=205.251.196.24 dst=10.12.90.206 sport=53 dport=11183 mark=0 zone=0 use=2 ipv4 2 tcp 6 23 SYN_RECV src=10.132.246.194 dst=10.12.90.206 sport=18342 dport=443 src=192.168.1.250 dst=15.184.40.39 sport=443 dport=18342 mark=0 zone=0 use=2 ipv4 2 tcp 6 70 SYN_SENT src=10.67.140.245 dst=10.12.90.206 sport=43354 dport=22 [UNREPLIED] src=192.168.1.250 dst=68.183.221.93 sport=22 dport=43354 mark=0 zone=0 use=2 ipv4 2 tcp 6 431989 ESTABLISHED src=192.168.1.250 dst=192.168.1.1 sport=1016 dport=2049 src=192.168.1.1 dst=192.168.1.250 sport=2049 dport=1016 [ASSURED] mark=0 zone=0 use=2 ipv4 2 tcp 6 431998 ESTABLISHED src=192.168.1.1 dst=192.168.1.250 sport=43356 dport=3493 src=192.168.1.250 dst=192.168.1.1 sport=3493 dport=43356 [ASSURED] mark=0 zone=0 use=2 ipv4 2 tcp 6 71 TIME_WAIT src=10.119.186.35 dst=10.12.90.206 sport=46066 dport=5900 src=192.168.1.250 dst=137.184.185.50 sport=5900 dport=46066 [ASSURED] mark=0 zone=0 use=2 ipv4 2 udp 17 11 src=10.117.19.198 dst=127.0.0.1 sport=39313 dport=53 src=127.0.0.1 dst=127.0.0.1 sport=53 dport=39313 mark=0 zone=0 use=2 ipv4 2 tcp 6 238818 ESTABLISHED src=192.168.1.81 dst=10.69.191.86 sport=42986 dport=5228 src=74.125.131.188 dst=10.12.90.206 sport=5228 dport=42986 [ASSURED] mark=0 zone=0 use=2 ipv4 2 tcp 6 431999 ESTABLISHED src=10.95.20.183 dst=10.12.90.206 sport=35306 dport=443 src=192.168.1.250 dst=97.74.81.97 sport=443 dport=35306 [ASSURED] mark=0 zone=0 use=2 ipv4 2 tcp 6 33 TIME_WAIT src=10.237.103.136 dst=10.12.90.206 sport=40790 dport=22 src=192.168.1.250 dst=45.114.125.23 sport=22 dport=40790 [ASSURED] mark=0 zone=0 use=2 ipv4 2 tcp 6 431402 ESTABLISHED src=192.168.1.144 dst=10.231.233.37 sport=38790 dport=443 src=44.192.202.106 dst=10.12.90.206 sport=443 dport=38790 [ASSURED] mark=0 zone=0 use=2 ipv4 2 tcp 6 390556 ESTABLISHED src=192.168.1.136 dst=10.125.73.26 sport=37494 dport=5228 src=142.250.150.188 dst=10.12.90.206 sport=5228 dport=37494 [ASSURED] mark=0 zone=0 use=2 ipv4 2 icmp 1 23 src=10.191.145.29 dst=10.12.90.206 type=8 code=0 id=0 src=139.28.0.0 dst=188.42.196.39 type=0 code=0 id=0 mark=0 zone=0 use=2 ipv4 2 tcp 6 299315 ESTABLISHED src=192.168.1.136 dst=10.51.75.74 sport=47482 dport=5228 src=64.233.161.188 dst=10.12.90.206 sport=5228 dport=47482 [ASSURED] mark=0 zone=0 use=2 ipv4 2 tcp 6 431700 ESTABLISHED src=192.168.1.109 dst=10.74.220.217 sport=53837 dport=8883 src=91.228.165.147 dst=10.12.90.206 sport=8883 dport=53837 [ASSURED] mark=0 zone=0 use=2 ipv4 2 tcp 6 431945 ESTABLISHED src=10.46.202.23 dst=10.12.90.206 sport=56784 dport=443 src=192.168.1.250 dst=62.213.219.53 sport=443 dport=56784 [ASSURED] mark=0 zone=0 use=2 ipv4 2 udp 17 9 src=192.168.1.250 dst=10.168.163.210 sport=51413 dport=14785 src=177.245.155.47 dst=10.12.90.206 sport=14785 dport=33350 mark=0 zone=0 use=2 ipv4 2 tcp 6 6 TIME_WAIT src=10.156.126.109 dst=10.12.90.206 sport=46402 dport=5900 src=192.168.1.250 dst=165.22.181.167 sport=5900 dport=46402 [ASSURED] mark=0 zone=0 use=2 ipv4 2 tcp 6 431974 ESTABLISHED src=192.168.1.146 dst=10.102.10.41 sport=40658 dport=443 src=104.22.48.198 dst=10.12.90.206 sport=443 dport=40658 [ASSURED] mark=0 zone=0 use=2 ipv4 2 tcp 6 28 LAST_ACK src=10.169.164.76 dst=10.12.90.206 sport=43430 dport=22 src=192.168.1.250 dst=185.254.98.118 sport=22 dport=43430 [ASSURED] mark=0 zone=0 use=2 ipv4 2 tcp 6 259721 ESTABLISHED src=192.168.1.81 dst=10.229.195.178 sport=43792 dport=4244 src=44.192.201.246 dst=10.12.90.206 sport=4244 dport=43792 [ASSURED] mark=0 zone=0 use=2 ipv4 2 tcp 6 281 ESTABLISHED src=10.229.144.205 dst=10.12.90.206 sport=55434 dport=22 src=192.168.1.250 dst=42.123.125.111 sport=22 dport=55434 [ASSURED] mark=0 zone=0 use=2 ipv4 2 tcp 6 25 SYN_RECV src=10.132.246.194 dst=10.12.90.206 sport=51329 dport=443 src=192.168.1.250 dst=15.184.40.39 sport=443 dport=51329 mark=0 zone=0 use=2 ipv4 2 tcp 6 47 SYN_RECV src=10.168.60.18 dst=10.12.90.206 sport=60718 dport=80 src=192.168.1.250 dst=185.207.206.213 sport=80 dport=60718 mark=0 zone=0 use=2 ipv4 2 udp 17 25 src=192.168.1.146 dst=10.150.103.215 sport=34375 dport=443 src=162.159.135.232 dst=10.12.90.206 sport=443 dport=34375 [ASSURED] mark=0 zone=0 use=2 ipv4 2 tcp 6 35 SYN_RECV src=10.132.198.208 dst=10.12.90.206 sport=19181 dport=443 src=192.168.1.250 dst=15.184.17.242 sport=443 dport=19181 mark=0 zone=0 use=2 ipv4 2 udp 17 90 src=192.168.1.250 dst=10.70.32.37 sport=51413 dport=6881 src=79.113.105.41 dst=10.12.90.206 sport=6881 dport=33350 [ASSURED] mark=0 zone=0 use=2 ipv4 2 udp 17 100 src=192.168.1.185 dst=10.216.4.90 sport=3076 dport=443 src=3.75.170.205 dst=10.12.90.206 sport=443 dport=3076 [ASSURED] mark=0 zone=0 use=2 ipv4 2 tcp 6 26 TIME_WAIT src=10.13.72.33 dst=10.12.90.206 sport=55228 dport=443 src=192.168.1.250 dst=146.59.209.203 sport=443 dport=55228 [ASSURED] mark=0 zone=0 use=2 ipv4 2 tcp 6 431955 ESTABLISHED src=192.168.1.146 dst=10.73.241.131 sport=60922 dport=443 src=89.149.224.70 dst=10.12.90.206 sport=443 dport=60922 [ASSURED] mark=0 zone=0 use=2 ipv4 2 udp 17 11 src=192.168.1.250 dst=10.80.236.10 sport=50417 dport=53 src=91.228.167.185 dst=10.12.90.206 sport=53 dport=50417 mark=0 zone=0 use=2 ipv4 2 tcp 6 53 TIME_WAIT src=10.241.166.228 dst=10.12.90.206 sport=39460 dport=5900 src=192.168.1.250 dst=45.55.70.6 sport=5900 dport=39460 [ASSURED] mark=0 zone=0 use=2 ipv4 2 tcp 6 57 SYN_SENT src=10.116.120.169 dst=10.12.90.206 sport=47139 dport=22 [UNREPLIED] src=192.168.1.250 dst=118.45.205.44 sport=22 dport=47139 mark=0 zone=0 use=2 ipv4 2 tcp 6 431991 ESTABLISHED src=192.168.1.146 dst=10.32.220.166 sport=57916 dport=7853 src=52.49.191.31 dst=10.12.90.206 sport=7853 dport=57916 [ASSURED] mark=0 zone=0 use=2 ipv4 2 tcp 6 431992 ESTABLISHED src=10.30.237.40 dst=10.12.90.206 sport=38004 dport=443 src=192.168.1.250 dst=51.77.195.59 sport=443 dport=38004 [ASSURED] mark=0 zone=0 use=2 ipv4 2 tcp 6 431990 ESTABLISHED src=192.168.1.109 dst=10.140.90.249 sport=63407 dport=443 src=159.69.152.150 dst=10.12.90.206 sport=443 dport=63407 [ASSURED] mark=0 zone=0 use=2 ipv4 2 udp 17 25 src=192.168.1.250 dst=192.168.1.1 sport=56575 dport=53 [UNREPLIED] src=192.168.1.1 dst=192.168.1.250 sport=53 dport=56575 mark=0 zone=0 use=2 ipv4 2 tcp 6 22 TIME_WAIT src=10.156.126.109 dst=10.12.90.206 sport=38096 dport=5900 src=192.168.1.250 dst=165.22.181.167 sport=5900 dport=38096 [ASSURED] mark=0 zone=0 use=2 ipv4 2 tcp 6 77 TIME_WAIT src=10.241.166.228 dst=10.12.90.206 sport=45342 dport=5900 src=192.168.1.250 dst=45.55.70.6 sport=5900 dport=45342 [ASSURED] mark=0 zone=0 use=2 ipv4 2 tcp 6 431997 ESTABLISHED src=192.168.1.146 dst=10.40.152.192 sport=51200 dport=443 src=54.161.152.147 dst=10.12.90.206 sport=443 dport=51200 [ASSURED] mark=0 zone=0 use=2 ipv4 2 tcp 6 73 TIME_WAIT src=10.156.126.109 dst=10.12.90.206 sport=51206 dport=5900 src=192.168.1.250 dst=165.22.181.167 sport=5900 dport=51206 [ASSURED] mark=0 zone=0 use=2 ipv4 2 tcp 6 258297 ESTABLISHED src=192.168.1.81 dst=10.55.148.225 sport=39602 dport=5228 src=64.233.165.188 dst=10.12.90.206 sport=5228 dport=39602 [ASSURED] mark=0 zone=0 use=2 ipv4 2 tcp 6 88 TIME_WAIT src=10.156.126.109 dst=10.12.90.206 sport=41638 dport=5900 src=192.168.1.250 dst=165.22.181.167 sport=5900 dport=41638 [ASSURED] mark=0 zone=0 use=2 ipv4 2 tcp 6 71 TIME_WAIT src=10.119.186.35 dst=10.12.90.206 sport=47472 dport=5900 src=192.168.1.250 dst=137.184.185.50 sport=5900 dport=47472 [ASSURED] mark=0 zone=0 use=2 ipv4 2 tcp 6 37 TIME_WAIT src=10.241.166.228 dst=10.12.90.206 sport=56374 dport=5900 src=192.168.1.250 dst=45.55.70.6 sport=5900 dport=56374 [ASSURED] mark=0 zone=0 use=2 ipv4 2 icmp 1 23 src=10.181.242.22 dst=10.12.90.206 type=8 code=0 id=0 src=139.28.0.0 dst=188.42.196.38 type=0 code=0 id=0 mark=0 zone=0 use=2 ipv4 2 tcp 6 294443 ESTABLISHED src=192.168.1.81 dst=10.2.113.83 sport=49102 dport=443 src=188.64.81.104 dst=10.12.90.206 sport=443 dport=49102 [ASSURED] mark=0 zone=0 use=2 ipv4 2 tcp 6 259887 ESTABLISHED src=192.168.1.81 dst=10.229.195.178 sport=43864 dport=4244 src=44.192.201.246 dst=10.12.90.206 sport=4244 dport=43864 [ASSURED] mark=0 zone=0 use=2 ipv4 2 tcp 6 4 TIME_WAIT src=10.241.166.228 dst=10.12.90.206 sport=50272 dport=5900 src=192.168.1.250 dst=45.55.70.6 sport=5900 dport=50272 [ASSURED] mark=0 zone=0 use=2 ipv4 2 tcp 6 389324 ESTABLISHED src=192.168.1.136 dst=10.125.8.68 sport=48334 dport=443 src=142.250.157.188 dst=10.12.90.206 sport=443 dport=48334 [ASSURED] mark=0 zone=0 use=2 ipv4 2 tcp 6 114 SYN_SENT src=10.132.45.65 dst=10.12.90.206 sport=55034 dport=22 [UNREPLIED] src=192.168.1.250 dst=154.83.13.250 sport=22 dport=55034 mark=0 zone=0 use=2 ipv4 2 tcp 6 260095 ESTABLISHED src=192.168.1.81 dst=10.229.195.178 sport=43974 dport=4244 src=44.192.201.246 dst=10.12.90.206 sport=4244 dport=43974 [ASSURED] mark=0 zone=0 use=2 ipv4 2 tcp 6 221 ESTABLISHED src=10.116.229.36 dst=10.12.90.206 sport=55008 dport=22 src=192.168.1.250 dst=122.13.25.17 sport=22 dport=55008 [ASSURED] mark=0 zone=0 use=2 ipv4 2 tcp 6 29 TIME_WAIT src=10.87.148.184 dst=10.12.90.206 sport=38822 dport=443 src=192.168.1.250 dst=92.205.54.80 sport=443 dport=38822 [ASSURED] mark=0 zone=0 use=2 ipv4 2 tcp 6 19 TIME_WAIT src=10.241.166.228 dst=10.12.90.206 sport=34706 dport=5900 src=192.168.1.250 dst=45.55.70.6 sport=5900 dport=34706 [ASSURED] mark=0 zone=0 use=2 ipv4 2 tcp 6 67 TIME_WAIT src=10.46.202.23 dst=10.12.90.206 sport=60468 dport=443 src=192.168.1.250 dst=62.213.219.53 sport=443 dport=60468 [ASSURED] mark=0 zone=0 use=2 ipv4 2 tcp 6 24 TIME_WAIT src=10.241.166.228 dst=10.12.90.206 sport=45558 dport=5900 src=192.168.1.250 dst=45.55.70.6 sport=5900 dport=45558 [ASSURED] mark=0 zone=0 use=2 ipv4 2 tcp 6 260348 ESTABLISHED src=192.168.1.81 dst=10.229.195.178 sport=44178 dport=4244 src=44.192.201.246 dst=10.12.90.206 sport=4244 dport=44178 [ASSURED] mark=0 zone=0 use=2 ipv4 2 tcp 6 112 TIME_WAIT src=10.139.246.104 dst=10.12.90.206 sport=15184 dport=22 src=192.168.1.250 dst=159.203.128.174 sport=22 dport=15184 [ASSURED] mark=0 zone=0 use=2 ipv4 2 udp 17 19 src=10.12.90.206 dst=10.2.194.52 sport=10380 dport=53 src=193.47.99.4 dst=139.28.0.0 sport=53 dport=10380 mark=0 zone=0 use=2 ipv4 2 tcp 6 101 TIME_WAIT src=192.168.1.109 dst=10.80.183.24 sport=63652 dport=80 src=91.228.166.16 dst=10.12.90.206 sport=80 dport=63652 [ASSURED] mark=0 zone=0 use=2 ipv4 2 udp 17 29 src=192.168.1.250 dst=10.207.228.209 sport=48191 dport=53 src=205.251.193.85 dst=10.12.90.206 sport=53 dport=48191 mark=0 zone=0 use=2 ipv4 2 tcp 6 119 TIME_WAIT src=192.168.1.146 dst=10.45.200.58 sport=43324 dport=80 src=54.76.105.36 dst=10.12.90.206 sport=80 dport=43324 [ASSURED] mark=0 zone=0 use=2 ipv4 2 tcp 6 65 TIME_WAIT src=10.132.45.65 dst=10.12.90.206 sport=48037 dport=22 src=192.168.1.250 dst=154.83.13.250 sport=22 dport=48037 [ASSURED] mark=0 zone=0 use=2 ipv4 2 tcp 6 431981 ESTABLISHED src=192.168.1.202 dst=10.159.55.128 sport=59030 dport=443 src=167.94.110.3 dst=10.12.90.206 sport=443 dport=59030 [ASSURED] mark=0 zone=0 use=2 ipv4 2 tcp 6 5 TIME_WAIT src=10.71.143.145 dst=10.12.90.206 sport=45144 dport=22 src=192.168.1.250 dst=8.210.144.77 sport=22 dport=45144 [ASSURED] mark=0 zone=0 use=2 ipv4 2 tcp 6 236114 ESTABLISHED src=192.168.1.136 dst=10.51.75.74 sport=43386 dport=5228 src=64.233.161.188 dst=10.12.90.206 sport=5228 dport=43386 [ASSURED] mark=0 zone=0 use=2 ipv4 2 tcp 6 427275 ESTABLISHED src=192.168.1.81 dst=10.161.36.236 sport=39240 dport=5228 src=173.194.222.188 dst=10.12.90.206 sport=5228 dport=39240 [ASSURED] mark=0 zone=0 use=2 ipv4 2 udp 17 3 src=192.168.1.250 dst=10.110.12.108 sport=44386 dport=53 src=108.162.192.183 dst=10.12.90.206 sport=53 dport=44386 mark=0 zone=0 use=2 ipv4 2 tcp 6 20 TIME_WAIT src=10.156.126.109 dst=10.12.90.206 sport=58832 dport=5900 src=192.168.1.250 dst=165.22.181.167 sport=5900 dport=58832 [ASSURED] mark=0 zone=0 use=2 ipv4 2 tcp 6 22 SYN_RECV src=10.132.246.194 dst=10.12.90.206 sport=12621 dport=443 src=192.168.1.250 dst=15.184.40.39 sport=443 dport=12621 mark=0 zone=0 use=2 ipv4 2 tcp 6 260204 ESTABLISHED src=192.168.1.81 dst=10.229.195.178 sport=44096 dport=4244 src=44.192.201.246 dst=10.12.90.206 sport=4244 dport=44096 [ASSURED] mark=0 zone=0 use=2 ipv4 2 tcp 6 431997 ESTABLISHED src=10.12.90.206 dst=10.249.126.192 sport=58726 dport=9001 src=5.254.118.192 dst=139.28.0.0 sport=9001 dport=58726 [ASSURED] mark=0 zone=0 use=2 ipv4 2 tcp 6 31 SYN_RECV src=10.132.198.208 dst=10.12.90.206 sport=36770 dport=443 src=192.168.1.250 dst=15.184.17.242 sport=443 dport=36770 mark=0 zone=0 use=2 ipv4 2 tcp 6 431999 ESTABLISHED src=192.168.1.146 dst=10.147.112.156 sport=34928 dport=443 src=162.159.133.234 dst=10.12.90.206 sport=443 dport=34928 [ASSURED] mark=0 zone=0 use=2 ipv4 2 tcp 6 27 SYN_RECV src=10.132.246.194 dst=10.12.90.206 sport=52866 dport=443 src=192.168.1.250 dst=15.184.40.39 sport=443 dport=52866 mark=0 zone=0 use=2 ipv4 2 tcp 6 260522 ESTABLISHED src=192.168.1.81 dst=10.229.195.178 sport=44270 dport=4244 src=44.192.201.246 dst=10.12.90.206 sport=4244 dport=44270 [ASSURED] mark=0 zone=0 use=2 ipv4 2 tcp 6 5 TIME_WAIT src=10.156.126.109 dst=10.12.90.206 sport=42124 dport=5900 src=192.168.1.250 dst=165.22.181.167 sport=5900 dport=42124 [ASSURED] mark=0 zone=0 use=2 ipv4 2 tcp 6 31 TIME_WAIT src=192.168.1.250 dst=192.168.1.1 sport=48834 dport=19999 src=192.168.1.1 dst=192.168.1.250 sport=19999 dport=48834 [ASSURED] mark=0 zone=0 use=2 ipv4 2 tcp 6 38 TIME_WAIT src=10.119.186.35 dst=10.12.90.206 sport=55186 dport=5900 src=192.168.1.250 dst=137.184.185.50 sport=5900 dport=55186 [ASSURED] mark=0 zone=0 use=2 ipv4 2 tcp 6 431999 ESTABLISHED src=192.168.1.200 dst=10.234.122.238 sport=30140 dport=5222 src=44.242.1.235 dst=10.12.90.206 sport=5222 dport=30140 [ASSURED] mark=0 zone=0 use=2 ipv4 2 tcp 6 86 TIME_WAIT src=10.241.166.228 dst=10.12.90.206 sport=43536 dport=5900 src=192.168.1.250 dst=45.55.70.6 sport=5900 dport=43536 [ASSURED] mark=0 zone=0 use=2 ipv4 2 tcp 6 91 TIME_WAIT src=10.119.186.35 dst=10.12.90.206 sport=53832 dport=5900 src=192.168.1.250 dst=137.184.185.50 sport=5900 dport=53832 [ASSURED] mark=0 zone=0 use=2 ipv4 2 udp 17 119 src=192.168.1.146 dst=10.192.164.53 sport=51327 dport=20033 src=188.42.39.164 dst=10.12.90.206 sport=20033 dport=51327 [ASSURED] mark=0 zone=0 use=2 ipv4 2 tcp 6 38 TIME_WAIT src=10.156.126.109 dst=10.12.90.206 sport=60834 dport=5900 src=192.168.1.250 dst=165.22.181.167 sport=5900 dport=60834 [ASSURED] mark=0 zone=0 use=2 ipv4 2 tcp 6 57 SYN_RECV src=10.168.60.18 dst=10.12.90.206 sport=58806 dport=80 src=192.168.1.250 dst=185.207.206.213 sport=80 dport=58806 mark=0 zone=0 use=2 ipv4 2 tcp 6 21 TIME_WAIT src=10.156.126.109 dst=10.12.90.206 sport=36440 dport=5900 src=192.168.1.250 dst=165.22.181.167 sport=5900 dport=36440 [ASSURED] mark=0 zone=0 use=2 ipv4 2 tcp 6 91 TIME_WAIT src=192.168.1.250 dst=192.168.1.1 sport=54888 dport=19999 src=192.168.1.1 dst=192.168.1.250 sport=19999 dport=54888 [ASSURED] mark=0 zone=0 use=2 ipv4 2 tcp 6 77 TIME_WAIT src=10.119.186.35 dst=10.12.90.206 sport=37576 dport=5900 src=192.168.1.250 dst=137.184.185.50 sport=5900 dport=37576 [ASSURED] mark=0 zone=0 use=2 ipv4 2 tcp 6 0 TIME_WAIT src=10.73.240.11 dst=10.12.90.206 sport=60936 dport=443 src=192.168.1.250 dst=87.98.173.252 sport=443 dport=60936 [ASSURED] mark=0 zone=0 use=2 ipv4 2 tcp 6 20 SYN_RECV src=10.132.198.208 dst=10.12.90.206 sport=16011 dport=443 src=192.168.1.250 dst=15.184.17.242 sport=443 dport=16011 mark=0 zone=0 use=2 ipv4 2 tcp 6 431879 ESTABLISHED src=192.168.1.145 dst=10.55.148.225 sport=44680 dport=5228 src=64.233.165.188 dst=10.12.90.206 sport=5228 dport=44680 [ASSURED] mark=0 zone=0 use=2 ipv4 2 tcp 6 43 ESTABLISHED src=192.168.1.81 dst=10.215.94.244 sport=49338 dport=443 src=216.58.209.10 dst=10.12.90.206 sport=443 dport=49338 [ASSURED] mark=0 zone=0 use=2 ipv4 2 tcp 6 431905 ESTABLISHED src=192.168.1.109 dst=10.100.95.201 sport=63327 dport=443 src=104.18.35.23 dst=10.12.90.206 sport=443 dport=63327 [ASSURED] mark=0 zone=0 use=2 ipv4 2 tcp 6 27 SYN_RECV src=10.132.246.194 dst=10.12.90.206 sport=7810 dport=443 src=192.168.1.250 dst=15.184.40.39 sport=443 dport=7810 mark=0 zone=0 use=2 ipv4 2 tcp 6 110 TIME_WAIT src=10.119.186.35 dst=10.12.90.206 sport=52220 dport=5900 src=192.168.1.250 dst=137.184.185.50 sport=5900 dport=52220 [ASSURED] mark=0 zone=0 use=2 ipv4 2 tcp 6 108 SYN_SENT src=10.67.140.245 dst=10.12.90.206 sport=57852 dport=22 [UNREPLIED] src=192.168.1.250 dst=68.183.221.93 sport=22 dport=57852 mark=0 zone=0 use=2 ipv4 2 tcp 6 105 TIME_WAIT src=10.117.51.133 dst=10.12.90.206 sport=1475 dport=443 src=192.168.1.250 dst=13.74.158.85 sport=443 dport=1475 [ASSURED] mark=0 zone=0 use=2 ipv4 2 tcp 6 325628 ESTABLISHED src=192.168.1.136 dst=10.16.186.159 sport=48330 dport=5228 src=173.194.220.188 dst=10.12.90.206 sport=5228 dport=48330 [ASSURED] mark=0 zone=0 use=2 ipv4 2 tcp 6 4 TIME_WAIT src=10.241.166.228 dst=10.12.90.206 sport=48022 dport=5900 src=192.168.1.250 dst=45.55.70.6 sport=5900 dport=48022 [ASSURED] mark=0 zone=0 use=2 ipv4 2 tcp 6 104 SYN_SENT src=10.116.120.169 dst=10.12.90.206 sport=53733 dport=22 [UNREPLIED] src=192.168.1.250 dst=118.45.205.44 sport=22 dport=53733 mark=0 zone=0 use=2 ipv4 2 tcp 6 300 ESTABLISHED src=192.168.1.1 dst=192.168.1.250 sport=53818 dport=445 src=192.168.1.250 dst=192.168.1.1 sport=445 dport=53818 [ASSURED] mark=0 zone=0 use=2 ipv4 2 tcp 6 231955 ESTABLISHED src=192.168.1.250 dst=192.168.1.1 sport=775 dport=2049 src=192.168.1.1 dst=192.168.1.250 sport=2049 dport=775 [ASSURED] mark=0 zone=0 use=2 ipv4 2 tcp 6 339884 ESTABLISHED src=192.168.1.81 dst=10.53.188.139 sport=42940 dport=5228 src=64.233.164.188 dst=10.12.90.206 sport=5228 dport=42940 [ASSURED] mark=0 zone=0 use=2 ipv4 2 udp 17 19 src=10.117.19.198 dst=127.0.0.1 sport=52318 dport=53 src=127.0.0.1 dst=127.0.0.1 sport=53 dport=52318 mark=0 zone=0 use=2 ipv4 2 tcp 6 9 CLOSE_WAIT src=192.168.1.250 dst=192.168.1.1 sport=54752 dport=9050 src=192.168.1.1 dst=192.168.1.250 sport=9050 dport=54752 [ASSURED] mark=0 zone=0 use=2 ipv4 2 tcp 6 25 TIME_WAIT src=10.119.186.35 dst=10.12.90.206 sport=52484 dport=5900 src=192.168.1.250 dst=137.184.185.50 sport=5900 dport=52484 [ASSURED] mark=0 zone=0 use=2 ipv4 2 tcp 6 390258 ESTABLISHED src=192.168.1.136 dst=10.125.73.26 sport=37444 dport=5228 src=142.250.150.188 dst=10.12.90.206 sport=5228 dport=37444 [ASSURED] mark=0 zone=0 use=2 ipv4 2 tcp 6 47 TIME_WAIT src=10.12.102.217 dst=10.12.90.206 sport=65100 dport=5900 src=192.168.1.250 dst=138.199.18.79 sport=5900 dport=65100 [ASSURED] mark=0 zone=0 use=2 ipv4 2 tcp 6 76 TIME_WAIT src=10.119.186.35 dst=10.12.90.206 sport=34484 dport=5900 src=192.168.1.250 dst=137.184.185.50 sport=5900 dport=34484 [ASSURED] mark=0 zone=0 use=2 ipv4 2 tcp 6 100 TIME_WAIT src=10.169.164.76 dst=10.12.90.206 sport=55664 dport=22 src=192.168.1.250 dst=185.254.98.118 sport=22 dport=55664 [ASSURED] mark=0 zone=0 use=2 ipv4 2 tcp 6 7 TIME_WAIT src=10.169.238.114 dst=10.12.90.206 sport=37876 dport=443 src=192.168.1.250 dst=185.46.14.157 sport=443 dport=37876 [ASSURED] mark=0 zone=0 use=2 ipv4 2 udp 17 81 src=192.168.1.250 dst=10.176.73.170 sport=51413 dport=1337 src=186.10.181.37 dst=10.12.90.206 sport=1337 dport=33350 [ASSURED] mark=0 zone=0 use=2 ipv4 2 tcp 6 61 TIME_WAIT src=10.71.143.145 dst=10.12.90.206 sport=44186 dport=22 src=192.168.1.250 dst=8.210.144.77 sport=22 dport=44186 [ASSURED] mark=0 zone=0 use=2 ipv4 2 tcp 6 20 SYN_RECV src=10.132.198.208 dst=10.12.90.206 sport=18848 dport=443 src=192.168.1.250 dst=15.184.17.242 sport=443 dport=18848 mark=0 zone=0 use=2 ipv4 2 udp 17 19 src=10.117.19.198 dst=127.0.0.1 sport=55070 dport=5353 src=127.0.0.1 dst=127.0.0.1 sport=5353 dport=55070 mark=0 zone=0 use=2 ipv4 2 tcp 6 58 SYN_SENT src=10.169.164.76 dst=10.12.90.206 sport=54654 dport=22 [UNREPLIED] src=192.168.1.250 dst=185.254.98.118 sport=22 dport=54654 mark=0 zone=0 use=2 ipv4 2 tcp 6 431996 ESTABLISHED src=192.168.1.250 dst=10.122.160.206 sport=37624 dport=2016 src=142.132.234.132 dst=10.12.90.206 sport=2016 dport=37624 [ASSURED] mark=0 zone=0 use=2 ipv4 2 tcp 6 431998 ESTABLISHED src=192.168.1.146 dst=10.145.64.226 sport=41060 dport=443 src=162.159.128.235 dst=10.12.90.206 sport=443 dport=41060 [ASSURED] mark=0 zone=0 use=2 ipv6 10 tcp 6 431999 ESTABLISHED src=fc00:e355:e73f:b463:a28e:529d:7838:65be dst=fc00:4ae7:d829:fd6c:010d:92f0:f19d:851b sport=34012 dport=443 src=fc00:4ae7:d829:fd6c:010d:92f0:f19d:851b dst=fc00:e355:e73f:b463:a28e:529d:7838:65be sport=443 dport=34012 [ASSURED] mark=0 zone=0 use=2 ipv6 10 icmp 1 431999 ESTABLISHED src=fc00:e355:e73f:b463:a28e:529d:7838:65be dst=fc00:4ae7:d829:fd6c:010d:92f0:f19d:851b src=fc00:4ae7:d829:fd6c:010d:92f0:f19d:851b dst=fc00:e355:e73f:b463:a28e:529d:7838:65be [ASSURED] mark=0 zone=0 use=2 netstat-nat-ng-2a/test-data/nf_conntrack.tarta000066400000000000000000000440641467256534100216370ustar00rootroot00000000000000ipv4 2 tcp 6 431814 ESTABLISHED src=192.168.1.250 dst=10.41.247.153 sport=50616 dport=443 src=34.107.243.93 dst=192.168.1.250 sport=443 dport=50616 [ASSURED] mark=0 zone=0 use=2 ipv4 2 tcp 6 431995 ESTABLISHED src=192.168.1.109 dst=192.168.1.250 sport=53968 dport=445 src=192.168.1.250 dst=192.168.1.109 sport=445 dport=53968 [ASSURED] mark=0 zone=0 use=2 ipv4 2 tcp 6 60 TIME_WAIT src=127.0.0.1 dst=127.0.0.1 sport=49040 dport=8209 src=127.0.0.1 dst=127.0.0.1 sport=8209 dport=49040 [ASSURED] mark=0 zone=0 use=2 ipv4 2 udp 17 26 src=127.0.0.1 dst=127.0.0.1 sport=52010 dport=323 src=127.0.0.1 dst=127.0.0.1 sport=323 dport=52010 mark=0 zone=0 use=2 ipv4 2 udp 17 108 src=192.168.1.250 dst=10.183.125.164 sport=51413 dport=1337 src=186.10.181.37 dst=192.168.1.250 sport=1337 dport=51413 [ASSURED] mark=0 zone=0 use=2 ipv4 2 tcp 6 33 TIME_WAIT src=10.62.35.175 dst=192.168.1.250 sport=55229 dport=22 src=192.168.1.250 dst=117.247.181.220 sport=22 dport=55229 [ASSURED] mark=0 zone=0 use=2 ipv4 2 tcp 6 431999 ESTABLISHED src=127.0.0.1 dst=127.0.0.1 sport=54068 dport=19999 src=127.0.0.1 dst=127.0.0.1 sport=19999 dport=54068 [ASSURED] mark=0 zone=0 use=2 ipv4 2 tcp 6 97 TIME_WAIT src=10.103.54.126 dst=192.168.1.250 sport=57288 dport=5900 src=192.168.1.250 dst=45.55.70.6 sport=5900 dport=57288 [ASSURED] mark=0 zone=0 use=2 ipv4 2 tcp 6 101 TIME_WAIT src=10.103.54.126 dst=192.168.1.250 sport=38714 dport=5900 src=192.168.1.250 dst=45.55.70.6 sport=5900 dport=38714 [ASSURED] mark=0 zone=0 use=2 ipv4 2 tcp 6 42 TIME_WAIT src=10.101.213.166 dst=192.168.1.250 sport=36672 dport=5900 src=192.168.1.250 dst=165.22.181.167 sport=5900 dport=36672 [ASSURED] mark=0 zone=0 use=2 ipv4 2 tcp 6 41 TIME_WAIT src=10.101.213.166 dst=192.168.1.250 sport=60324 dport=5900 src=192.168.1.250 dst=165.22.181.167 sport=5900 dport=60324 [ASSURED] mark=0 zone=0 use=2 ipv4 2 tcp 6 30 TIME_WAIT src=10.101.213.166 dst=192.168.1.250 sport=54608 dport=5900 src=192.168.1.250 dst=165.22.181.167 sport=5900 dport=54608 [ASSURED] mark=0 zone=0 use=2 ipv4 2 tcp 6 105 TIME_WAIT src=10.153.205.11 dst=192.168.1.250 sport=57958 dport=5900 src=192.168.1.250 dst=137.184.185.50 sport=5900 dport=57958 [ASSURED] mark=0 zone=0 use=2 ipv4 2 udp 17 16 src=192.168.1.204 dst=192.168.1.250 sport=42135 dport=53 src=192.168.1.250 dst=192.168.1.204 sport=53 dport=42135 mark=0 zone=0 use=2 ipv4 2 udp 17 19 src=192.168.1.250 dst=192.168.1.255 sport=138 dport=138 [UNREPLIED] src=192.168.1.255 dst=192.168.1.250 sport=138 dport=138 mark=0 zone=0 use=2 ipv4 2 tcp 6 73 TIME_WAIT src=10.153.205.11 dst=192.168.1.250 sport=46132 dport=5900 src=192.168.1.250 dst=137.184.185.50 sport=5900 dport=46132 [ASSURED] mark=0 zone=0 use=2 ipv4 2 udp 17 27 src=192.168.1.250 dst=10.47.169.24 sport=12337 dport=53 src=108.162.192.220 dst=192.168.1.250 sport=53 dport=12337 mark=0 zone=0 use=2 ipv4 2 tcp 6 68 TIME_WAIT src=10.153.205.11 dst=192.168.1.250 sport=33678 dport=5900 src=192.168.1.250 dst=137.184.185.50 sport=5900 dport=33678 [ASSURED] mark=0 zone=0 use=2 ipv4 2 tcp 6 2 TIME_WAIT src=10.153.205.11 dst=192.168.1.250 sport=59206 dport=5900 src=192.168.1.250 dst=137.184.185.50 sport=5900 dport=59206 [ASSURED] mark=0 zone=0 use=2 ipv4 2 tcp 6 431999 ESTABLISHED src=192.168.1.1 dst=192.168.1.250 sport=853 dport=2049 src=192.168.1.250 dst=192.168.1.1 sport=2049 dport=853 [ASSURED] mark=0 zone=0 use=2 ipv4 2 tcp 6 64 TIME_WAIT src=192.168.1.250 dst=192.168.1.146 sport=43044 dport=22 src=192.168.1.146 dst=192.168.1.250 sport=22 dport=43044 [ASSURED] mark=0 zone=0 use=2 ipv4 2 tcp 6 27 TIME_WAIT src=10.103.54.126 dst=192.168.1.250 sport=43728 dport=5900 src=192.168.1.250 dst=45.55.70.6 sport=5900 dport=43728 [ASSURED] mark=0 zone=0 use=2 ipv4 2 tcp 6 28 TIME_WAIT src=10.103.54.126 dst=192.168.1.250 sport=48134 dport=5900 src=192.168.1.250 dst=45.55.70.6 sport=5900 dport=48134 [ASSURED] mark=0 zone=0 use=2 ipv4 2 tcp 6 178481 ESTABLISHED src=192.168.1.1 dst=192.168.1.250 sport=792 dport=2049 src=192.168.1.250 dst=192.168.1.1 sport=2049 dport=792 [ASSURED] mark=0 zone=0 use=2 ipv4 2 tcp 6 85 TIME_WAIT src=10.101.213.166 dst=192.168.1.250 sport=54742 dport=5900 src=192.168.1.250 dst=165.22.181.167 sport=5900 dport=54742 [ASSURED] mark=0 zone=0 use=2 ipv4 2 tcp 6 38 TIME_WAIT src=10.214.244.189 dst=192.168.1.250 sport=10359 dport=443 src=192.168.1.250 dst=37.99.41.218 sport=443 dport=10359 [ASSURED] mark=0 zone=0 use=2 ipv4 2 tcp 6 96 TIME_WAIT src=10.101.213.166 dst=192.168.1.250 sport=57480 dport=5900 src=192.168.1.250 dst=165.22.181.167 sport=5900 dport=57480 [ASSURED] mark=0 zone=0 use=2 ipv4 2 tcp 6 431999 ESTABLISHED src=192.168.1.146 dst=192.168.1.250 sport=38428 dport=445 src=192.168.1.250 dst=192.168.1.146 sport=445 dport=38428 [ASSURED] mark=0 zone=0 use=2 ipv4 2 tcp 6 431999 ESTABLISHED src=192.168.1.250 dst=192.168.1.109 sport=34906 dport=6000 src=192.168.1.109 dst=192.168.1.250 sport=6000 dport=34906 [ASSURED] mark=0 zone=0 use=2 ipv4 2 tcp 6 426485 ESTABLISHED src=192.168.1.109 dst=192.168.1.250 sport=62345 dport=22 src=192.168.1.250 dst=192.168.1.109 sport=22 dport=62345 [ASSURED] mark=0 zone=0 use=2 ipv4 2 tcp 6 45 TIME_WAIT src=10.103.54.126 dst=192.168.1.250 sport=36996 dport=5900 src=192.168.1.250 dst=45.55.70.6 sport=5900 dport=36996 [ASSURED] mark=0 zone=0 use=2 ipv4 2 tcp 6 431999 ESTABLISHED src=192.168.1.250 dst=10.112.54.226 sport=45660 dport=2016 src=142.132.234.132 dst=192.168.1.250 sport=2016 dport=45660 [ASSURED] mark=0 zone=0 use=2 ipv4 2 tcp 6 6 TIME_WAIT src=127.0.0.1 dst=127.0.0.1 sport=36298 dport=8207 src=127.0.0.1 dst=127.0.0.1 sport=8207 dport=36298 [ASSURED] mark=0 zone=0 use=2 ipv4 2 udp 17 27 src=127.0.0.1 dst=127.0.0.1 sport=46595 dport=5353 src=127.0.0.1 dst=127.0.0.1 sport=5353 dport=46595 mark=0 zone=0 use=2 ipv4 2 udp 17 21 src=192.168.1.250 dst=192.168.1.255 sport=123 dport=123 [UNREPLIED] src=192.168.1.255 dst=192.168.1.250 sport=123 dport=123 mark=0 zone=0 use=2 ipv4 2 tcp 6 111 TIME_WAIT src=10.101.213.166 dst=192.168.1.250 sport=47440 dport=5900 src=192.168.1.250 dst=165.22.181.167 sport=5900 dport=47440 [ASSURED] mark=0 zone=0 use=2 ipv4 2 udp 17 27 src=127.0.0.1 dst=127.0.0.1 sport=39150 dport=53 src=127.0.0.1 dst=127.0.0.1 sport=53 dport=39150 mark=0 zone=0 use=2 ipv4 2 tcp 6 61 TIME_WAIT src=10.34.90.253 dst=192.168.1.250 sport=59136 dport=443 src=192.168.1.250 dst=50.31.197.99 sport=443 dport=59136 [ASSURED] mark=0 zone=0 use=2 ipv4 2 udp 17 27 src=192.168.1.250 dst=10.166.16.182 sport=11044 dport=53 src=173.245.58.220 dst=192.168.1.250 sport=53 dport=11044 mark=0 zone=0 use=2 ipv4 2 tcp 6 431997 ESTABLISHED src=192.168.1.250 dst=192.168.1.250 sport=44762 dport=993 src=192.168.1.250 dst=192.168.1.250 sport=993 dport=44762 [ASSURED] mark=0 zone=0 use=2 ipv4 2 udp 17 7 src=192.168.1.250 dst=192.168.1.248 sport=137 dport=137 [UNREPLIED] src=192.168.1.248 dst=192.168.1.250 sport=137 dport=137 mark=0 zone=0 use=2 ipv4 2 tcp 6 431993 ESTABLISHED src=192.168.1.250 dst=192.168.1.1 sport=1016 dport=2049 src=192.168.1.1 dst=192.168.1.250 sport=2049 dport=1016 [ASSURED] mark=0 zone=0 use=2 ipv4 2 tcp 6 431998 ESTABLISHED src=192.168.1.250 dst=192.168.1.109 sport=37594 dport=6000 src=192.168.1.109 dst=192.168.1.250 sport=6000 dport=37594 [ASSURED] mark=0 zone=0 use=2 ipv4 2 udp 17 111 src=192.168.1.250 dst=10.30.209.161 sport=51413 dport=6882 src=54.194.124.68 dst=192.168.1.250 sport=6882 dport=51413 [ASSURED] mark=0 zone=0 use=2 ipv4 2 udp 17 22 src=192.168.1.2 dst=192.168.1.255 sport=60373 dport=20002 [UNREPLIED] src=192.168.1.255 dst=192.168.1.2 sport=20002 dport=60373 mark=0 zone=0 use=2 ipv4 2 udp 17 1 src=192.168.1.250 dst=10.119.155.75 sport=45830 dport=53 src=216.239.36.10 dst=192.168.1.250 sport=53 dport=45830 mark=0 zone=0 use=2 ipv4 2 tcp 6 27 TIME_WAIT src=10.153.205.11 dst=192.168.1.250 sport=48640 dport=5900 src=192.168.1.250 dst=137.184.185.50 sport=5900 dport=48640 [ASSURED] mark=0 zone=0 use=2 ipv4 2 tcp 6 22 TIME_WAIT src=10.103.54.126 dst=192.168.1.250 sport=54528 dport=5900 src=192.168.1.250 dst=45.55.70.6 sport=5900 dport=54528 [ASSURED] mark=0 zone=0 use=2 ipv4 2 udp 17 16 src=127.0.0.1 dst=127.0.0.1 sport=48780 dport=323 src=127.0.0.1 dst=127.0.0.1 sport=323 dport=48780 mark=0 zone=0 use=2 ipv4 2 udp 17 75 src=192.168.1.250 dst=192.168.1.253 sport=36290 dport=161 src=192.168.1.253 dst=192.168.1.250 sport=161 dport=36290 [ASSURED] mark=0 zone=0 use=2 ipv4 2 tcp 6 59 TIME_WAIT src=10.103.54.126 dst=192.168.1.250 sport=42354 dport=5900 src=192.168.1.250 dst=45.55.70.6 sport=5900 dport=42354 [ASSURED] mark=0 zone=0 use=2 ipv4 2 udp 17 76 src=192.168.1.250 dst=10.130.8.170 sport=51413 dport=6881 src=18.190.61.127 dst=192.168.1.250 sport=6881 dport=51413 [ASSURED] mark=0 zone=0 use=2 ipv4 2 udp 17 22 src=192.168.1.3 dst=192.168.1.255 sport=58215 dport=20002 [UNREPLIED] src=192.168.1.255 dst=192.168.1.3 sport=20002 dport=58215 mark=0 zone=0 use=2 ipv4 2 tcp 6 35 TIME_WAIT src=10.153.205.11 dst=192.168.1.250 sport=46058 dport=5900 src=192.168.1.250 dst=137.184.185.50 sport=5900 dport=46058 [ASSURED] mark=0 zone=0 use=2 ipv6 10 tcp 6 15 TIME_WAIT src=0000:0000:0000:0000:0000:0000:0000:0001 dst=0000:0000:0000:0000:0000:0000:0000:0001 sport=49864 dport=9928 src=0000:0000:0000:0000:0000:0000:0000:0001 dst=0000:0000:0000:0000:0000:0000:0000:0001 sport=9928 dport=49864 [ASSURED] mark=0 zone=0 use=2 ipv4 2 udp 17 98 src=192.168.1.250 dst=10.1.139.64 sport=51413 dport=1337 src=23.168.232.9 dst=192.168.1.250 sport=1337 dport=51413 [ASSURED] mark=0 zone=0 use=2 ipv4 2 udp 17 1 src=127.0.0.1 dst=127.0.0.1 sport=35056 dport=323 src=127.0.0.1 dst=127.0.0.1 sport=323 dport=35056 mark=0 zone=0 use=2 ipv4 2 tcp 6 0 TIME_WAIT src=127.0.0.1 dst=127.0.0.1 sport=33494 dport=19999 src=127.0.0.1 dst=127.0.0.1 sport=19999 dport=33494 [ASSURED] mark=0 zone=0 use=2 ipv4 2 udp 17 96 src=192.168.1.250 dst=10.203.18.93 sport=51413 dport=57264 src=95.82.96.230 dst=192.168.1.250 sport=57264 dport=51413 [ASSURED] mark=0 zone=0 use=2 ipv4 2 tcp 6 48 TIME_WAIT src=192.168.1.250 dst=192.168.1.1 sport=55322 dport=19999 src=192.168.1.1 dst=192.168.1.250 sport=19999 dport=55322 [ASSURED] mark=0 zone=0 use=2 ipv4 2 tcp 6 178222 ESTABLISHED src=192.168.1.250 dst=10.41.247.153 sport=39862 dport=443 src=34.107.243.93 dst=192.168.1.250 sport=443 dport=39862 [ASSURED] mark=0 zone=0 use=2 ipv4 2 udp 17 27 src=127.0.0.1 dst=127.0.0.1 sport=42899 dport=53 src=127.0.0.1 dst=127.0.0.1 sport=53 dport=42899 mark=0 zone=0 use=2 ipv4 2 udp 17 18 src=127.0.0.1 dst=127.0.0.1 sport=58496 dport=53 src=127.0.0.1 dst=127.0.0.1 sport=53 dport=58496 mark=0 zone=0 use=2 ipv4 2 udp 17 19 src=192.168.1.200 dst=192.168.1.255 sport=138 dport=138 [UNREPLIED] src=192.168.1.255 dst=192.168.1.200 sport=138 dport=138 mark=0 zone=0 use=2 ipv4 2 udp 17 3 src=127.0.0.1 dst=127.0.0.1 sport=52026 dport=5353 src=127.0.0.1 dst=127.0.0.1 sport=5353 dport=52026 mark=0 zone=0 use=2 ipv4 2 tcp 6 14 TIME_WAIT src=10.101.213.166 dst=192.168.1.250 sport=60462 dport=5900 src=192.168.1.250 dst=165.22.181.167 sport=5900 dport=60462 [ASSURED] mark=0 zone=0 use=2 ipv4 2 udp 17 1 src=192.168.1.250 dst=10.28.138.116 sport=59949 dport=53 src=216.239.38.10 dst=192.168.1.250 sport=53 dport=59949 mark=0 zone=0 use=2 ipv4 2 tcp 6 431988 ESTABLISHED src=127.0.0.1 dst=127.0.0.1 sport=51416 dport=9199 src=127.0.0.1 dst=127.0.0.1 sport=9199 dport=51416 [ASSURED] mark=0 zone=0 use=2 ipv4 2 udp 17 21 src=127.0.0.1 dst=127.0.0.1 sport=45464 dport=323 src=127.0.0.1 dst=127.0.0.1 sport=323 dport=45464 mark=0 zone=0 use=2 ipv4 2 tcp 6 62 TIME_WAIT src=10.103.54.126 dst=192.168.1.250 sport=50652 dport=5900 src=192.168.1.250 dst=45.55.70.6 sport=5900 dport=50652 [ASSURED] mark=0 zone=0 use=2 ipv4 2 tcp 6 63 TIME_WAIT src=10.103.54.126 dst=192.168.1.250 sport=54304 dport=5900 src=192.168.1.250 dst=45.55.70.6 sport=5900 dport=54304 [ASSURED] mark=0 zone=0 use=2 ipv6 10 tcp 6 75 TIME_WAIT src=0000:0000:0000:0000:0000:0000:0000:0001 dst=0000:0000:0000:0000:0000:0000:0000:0001 sport=50488 dport=9928 src=0000:0000:0000:0000:0000:0000:0000:0001 dst=0000:0000:0000:0000:0000:0000:0000:0001 sport=9928 dport=50488 [ASSURED] mark=0 zone=0 use=2 ipv4 2 tcp 6 181 ESTABLISHED src=10.75.217.91 dst=192.168.1.250 sport=36848 dport=22 src=192.168.1.250 dst=120.78.238.79 sport=22 dport=36848 [ASSURED] mark=0 zone=0 use=2 ipv4 2 tcp 6 52 TIME_WAIT src=10.153.205.11 dst=192.168.1.250 sport=39622 dport=5900 src=192.168.1.250 dst=137.184.185.50 sport=5900 dport=39622 [ASSURED] mark=0 zone=0 use=2 ipv4 2 udp 17 1 src=127.0.0.1 dst=127.0.0.1 sport=55086 dport=5353 src=127.0.0.1 dst=127.0.0.1 sport=5353 dport=55086 mark=0 zone=0 use=2 ipv4 2 tcp 6 108 TIME_WAIT src=127.0.0.1 dst=127.0.0.1 sport=33882 dport=9927 src=127.0.0.1 dst=127.0.0.1 sport=9927 dport=33882 [ASSURED] mark=0 zone=0 use=2 ipv4 2 tcp 6 62 TIME_WAIT src=10.101.213.166 dst=192.168.1.250 sport=44056 dport=5900 src=192.168.1.250 dst=165.22.181.167 sport=5900 dport=44056 [ASSURED] mark=0 zone=0 use=2 ipv4 2 tcp 6 15 TIME_WAIT src=10.153.205.11 dst=192.168.1.250 sport=46050 dport=5900 src=192.168.1.250 dst=137.184.185.50 sport=5900 dport=46050 [ASSURED] mark=0 zone=0 use=2 ipv4 2 tcp 6 80 TIME_WAIT src=10.153.205.11 dst=192.168.1.250 sport=38358 dport=5900 src=192.168.1.250 dst=137.184.185.50 sport=5900 dport=38358 [ASSURED] mark=0 zone=0 use=2 ipv4 2 tcp 6 108 TIME_WAIT src=10.153.205.11 dst=192.168.1.250 sport=36668 dport=5900 src=192.168.1.250 dst=137.184.185.50 sport=5900 dport=36668 [ASSURED] mark=0 zone=0 use=2 ipv4 2 udp 17 1 src=192.168.1.250 dst=10.54.138.227 sport=22504 dport=53 src=216.239.32.10 dst=192.168.1.250 sport=53 dport=22504 mark=0 zone=0 use=2 ipv4 2 tcp 6 31 TIME_WAIT src=10.101.213.166 dst=192.168.1.250 sport=58086 dport=5900 src=192.168.1.250 dst=165.22.181.167 sport=5900 dport=58086 [ASSURED] mark=0 zone=0 use=2 ipv4 2 udp 17 1 src=127.0.0.1 dst=127.0.0.1 sport=58523 dport=5353 src=127.0.0.1 dst=127.0.0.1 sport=5353 dport=58523 mark=0 zone=0 use=2 ipv4 2 tcp 6 76 TIME_WAIT src=10.101.213.166 dst=192.168.1.250 sport=50542 dport=5900 src=192.168.1.250 dst=165.22.181.167 sport=5900 dport=50542 [ASSURED] mark=0 zone=0 use=2 ipv4 2 tcp 6 97 TIME_WAIT src=10.101.213.166 dst=192.168.1.250 sport=34746 dport=5900 src=192.168.1.250 dst=165.22.181.167 sport=5900 dport=34746 [ASSURED] mark=0 zone=0 use=2 ipv4 2 tcp 6 108 TIME_WAIT src=127.0.0.1 dst=127.0.0.1 sport=36832 dport=3493 src=127.0.0.1 dst=127.0.0.1 sport=3493 dport=36832 [ASSURED] mark=0 zone=0 use=2 ipv4 2 udp 17 11 src=127.0.0.1 dst=127.0.0.1 sport=58905 dport=323 src=127.0.0.1 dst=127.0.0.1 sport=323 dport=58905 mark=0 zone=0 use=2 ipv4 2 tcp 6 91 TIME_WAIT src=10.153.205.11 dst=192.168.1.250 sport=41514 dport=5900 src=192.168.1.250 dst=137.184.185.50 sport=5900 dport=41514 [ASSURED] mark=0 zone=0 use=2 ipv4 2 tcp 6 57 TIME_WAIT src=10.153.205.11 dst=192.168.1.250 sport=53370 dport=5900 src=192.168.1.250 dst=137.184.185.50 sport=5900 dport=53370 [ASSURED] mark=0 zone=0 use=2 ipv4 2 tcp 6 55 TIME_WAIT src=10.115.213.166 dst=192.168.1.250 sport=36980 dport=22 src=192.168.1.250 dst=49.235.88.245 sport=22 dport=36980 [ASSURED] mark=0 zone=0 use=2 ipv4 2 tcp 6 299 ESTABLISHED src=10.10.90.125 dst=192.168.1.250 sport=38464 dport=22 src=192.168.1.250 dst=182.61.10.212 sport=22 dport=38464 [ASSURED] mark=0 zone=0 use=2 ipv4 2 udp 17 1 src=192.168.1.109 dst=192.168.1.250 sport=61216 dport=53 src=192.168.1.250 dst=192.168.1.109 sport=53 dport=61216 mark=0 zone=0 use=2 ipv4 2 tcp 6 431997 ESTABLISHED src=192.168.1.250 dst=192.168.1.109 sport=57438 dport=6000 src=192.168.1.109 dst=192.168.1.250 sport=6000 dport=57438 [ASSURED] mark=0 zone=0 use=2 ipv4 2 tcp 6 66 TIME_WAIT src=10.101.213.166 dst=192.168.1.250 sport=54720 dport=5900 src=192.168.1.250 dst=165.22.181.167 sport=5900 dport=54720 [ASSURED] mark=0 zone=0 use=2 ipv4 2 tcp 6 104 TIME_WAIT src=192.168.1.250 dst=10.205.123.175 sport=53462 dport=443 src=142.250.186.196 dst=192.168.1.250 sport=443 dport=53462 [ASSURED] mark=0 zone=0 use=2 ipv4 2 udp 17 27 src=127.0.0.1 dst=127.0.0.1 sport=33533 dport=5353 src=127.0.0.1 dst=127.0.0.1 sport=5353 dport=33533 mark=0 zone=0 use=2 ipv4 2 udp 17 1 src=192.168.1.109 dst=192.168.1.250 sport=56916 dport=53 src=192.168.1.250 dst=192.168.1.109 sport=53 dport=56916 mark=0 zone=0 use=2 ipv4 2 tcp 6 431999 ESTABLISHED src=192.168.1.250 dst=10.174.192.164 sport=43860 dport=443 src=162.159.135.234 dst=192.168.1.250 sport=443 dport=43860 [ASSURED] mark=0 zone=0 use=2 ipv4 2 tcp 6 38 TIME_WAIT src=10.153.205.11 dst=192.168.1.250 sport=52476 dport=5900 src=192.168.1.250 dst=137.184.185.50 sport=5900 dport=52476 [ASSURED] mark=0 zone=0 use=2 ipv4 2 udp 17 1 src=192.168.1.250 dst=10.54.138.227 sport=17210 dport=53 src=216.239.32.10 dst=192.168.1.250 sport=53 dport=17210 mark=0 zone=0 use=2 ipv4 2 tcp 6 108 TIME_WAIT src=127.0.0.1 dst=127.0.0.1 sport=40788 dport=3493 src=127.0.0.1 dst=127.0.0.1 sport=3493 dport=40788 [ASSURED] mark=0 zone=0 use=2 ipv4 2 tcp 6 89 TIME_WAIT src=10.153.205.11 dst=192.168.1.250 sport=36872 dport=5900 src=192.168.1.250 dst=137.184.185.50 sport=5900 dport=36872 [ASSURED] mark=0 zone=0 use=2 ipv4 2 udp 17 27 src=192.168.1.147 dst=10.55.16.176 sport=49361 dport=6667 [UNREPLIED] src=255.255.255.255 dst=192.168.1.147 sport=6667 dport=49361 mark=0 zone=0 use=2 ipv4 2 udp 17 3 src=192.168.1.2 dst=192.168.1.250 sport=32856 dport=53 src=192.168.1.250 dst=192.168.1.2 sport=53 dport=32856 mark=0 zone=0 use=2 ipv4 2 udp 17 27 src=192.168.1.250 dst=10.153.120.56 sport=52464 dport=53 src=108.162.193.176 dst=192.168.1.250 sport=53 dport=52464 mark=0 zone=0 use=2 netstat-nat-ng-2a/tst.c000077700000000000000000000000001467256534100176162netstat-nat.custar00rootroot00000000000000