]> git.saurik.com Git - apple/network_cmds.git/commitdiff
network_cmds-606.100.3.tar.gz master macos-113 v606.100.3
authorApple <opensource@apple.com>
Thu, 28 Jan 2021 19:00:09 +0000 (19:00 +0000)
committerApple <opensource@apple.com>
Thu, 28 Jan 2021 19:00:09 +0000 (19:00 +0000)
netstat.tproj/ipsec.c
netstat.tproj/netstat.1
netstat.tproj/route.c
network_cmds.xcodeproj/project.pbxproj
route.tproj/route.c

index 0eab1623f1d3a8b18855da304cd2d3ce41b4c68b..393f05345eb45b0dc1eae5c8b3725c6bcc3bee27 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2008-2012 Apple Inc. All rights reserved.
+ * Copyright (c) 2008-2012, 2021 Apple Inc. All rights reserved.
  *
  * @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  *
@@ -159,6 +159,12 @@ static struct val2str ipsec_espnames[] = {
        { SADB_X_EALG_BLOWFISHCBC, "blowfish-cbc", },
 #ifdef SADB_X_EALG_RIJNDAELCBC
        { SADB_X_EALG_RIJNDAELCBC, "rijndael-cbc", },
+#endif
+#ifdef SADB_X_EALG_AES_GCM
+       { SADB_X_EALG_AES_GCM, "aes-gcm", },
+#endif
+#ifdef SADB_X_EALG_CHACHA20POLY1305
+       { SADB_X_EALG_CHACHA20POLY1305, "chacha20-poly1305", },
 #endif
        { -1, NULL },
 };
index 61ab8436150b927ce86c413e401a74f3ee8d68a5..5e2abee1d47e05cc1e1e78aacccc828b78aa0a86 100644 (file)
@@ -395,6 +395,7 @@ U   RTF_UP          Route usable
 W      RTF_WASCLONED   Route was generated as a result of cloning
 X      RTF_XRESOLVE    External daemon translates proto to link address
 Y      RTF_PROXY       Proxying; cloned routes will not be scoped
+g      RTF_GLOBAL      Route to a destination of the global internet (policy hint)
 .El
 .Pp
 Direct routes are created for each interface attached to the local host;
index 943e3c8ffa4b95b669448d24027ce230f74fbafb..31e2bea7a7a20fb669de0a4d3f8cbae39be354aa 100644 (file)
@@ -120,6 +120,9 @@ struct bits {
        { RTF_IFREF,    'i' },
        { RTF_PROXY,    'Y' },
        { RTF_ROUTER,   'r' },
+#ifdef RTF_GLOBAL
+       { RTF_GLOBAL,   'g' },
+#endif /* RTF_GLOBAL */
        { 0 }
 };
 
index cce64f8bb53a4f3e732a7ab401483fe2897cb361..3c5a36dbd413612881881b41136c6d65ea9874e8 100755 (executable)
@@ -3,7 +3,7 @@
        archiveVersion = 1;
        classes = {
        };
-       objectVersion = 46;
+       objectVersion = 52;
        objects = {
 
 /* Begin PBXAggregateTarget section */
                                "$(DERIVED_FILES_DIR)/$(INPUT_FILE_BASE).h",
                                "$(DERIVED_FILES_DIR)/$(INPUT_FILE_BASE)_xdr.c",
                        );
-                       script = "/usr/bin/rpcgen -h -o ${DERIVED_FILES_DIR}/${INPUT_FILE_BASE}.h ${INPUT_FILE_PATH}\n/usr/bin/rpcgen -c -o ${DERIVED_FILES_DIR}/${INPUT_FILE_BASE}_xdr.c ${INPUT_FILE_PATH}";
+                       runOncePerArchitecture = 0;
+                       script = "/usr/bin/rpcgen -h -o ${DERIVED_FILES_DIR}/${INPUT_FILE_BASE}.h ${INPUT_FILE_PATH}\n/usr/bin/rpcgen -c -o ${DERIVED_FILES_DIR}/${INPUT_FILE_BASE}_xdr.c ${INPUT_FILE_PATH}\n";
                };
 /* End PBXBuildRule section */
 
                        isa = XCBuildConfiguration;
                        buildSettings = {
                                ALWAYS_SEARCH_USER_PATHS = NO;
+                               CODE_SIGN_IDENTITY = "-";
                                COPY_PHASE_STRIP = YES;
                                DEAD_CODE_STRIPPING = YES;
                                DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
                        isa = XCBuildConfiguration;
                        buildSettings = {
                                PRODUCT_NAME = network_cmds;
-                               SDKROOT = iphoneos;
+                               SDKROOT = iphoneos.internal;
                                SUPPORTED_PLATFORMS = "iphonesimulator iphoneos";
                                TARGETED_DEVICE_FAMILY = "1,2";
                        };
                        buildSettings = {
                                ALWAYS_SEARCH_USER_PATHS = NO;
                                ASSETCATALOG_COMPRESSION = lossless;
+                               CODE_SIGN_IDENTITY = "-";
                                COPY_PHASE_STRIP = NO;
                                DEAD_CODE_STRIPPING = YES;
                                ENABLE_TESTABILITY = YES;
                        buildSettings = {
                                ALWAYS_SEARCH_USER_PATHS = NO;
                                ASSETCATALOG_COMPRESSION = "respect-asset-catalog";
+                               CODE_SIGN_IDENTITY = "-";
                                COPY_PHASE_STRIP = YES;
                                DEAD_CODE_STRIPPING = YES;
                                DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
                        isa = XCBuildConfiguration;
                        buildSettings = {
                                PRODUCT_NAME = network_cmds;
-                               SDKROOT = iphoneos;
+                               SDKROOT = iphoneos.internal;
                                SUPPORTED_PLATFORMS = "iphonesimulator iphoneos";
                                TARGETED_DEVICE_FAMILY = "1,2";
                        };
                        isa = XCBuildConfiguration;
                        buildSettings = {
                                PRODUCT_NAME = network_cmds;
-                               SDKROOT = iphoneos;
+                               SDKROOT = iphoneos.internal;
                                SUPPORTED_PLATFORMS = "iphonesimulator iphoneos";
                                TARGETED_DEVICE_FAMILY = "1,2";
                        };
                                GCC_DYNAMIC_NO_PIC = NO;
                                GCC_OPTIMIZATION_LEVEL = 0;
                                PRODUCT_NAME = "All-EmbeddedOther";
-                               SDKROOT = iphoneos;
-                               SUPPORTED_PLATFORMS = "iphonesimulator iphoneos";
+                               SDKROOT = iphoneos.internal;
+                               SUPPORTED_PLATFORMS = "appletvos watchos";
                                TARGETED_DEVICE_FAMILY = "1,2";
                        };
                        name = Debug;
                                DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
                                GCC_ENABLE_FIX_AND_CONTINUE = NO;
                                PRODUCT_NAME = "All-EmbeddedOther";
-                               SDKROOT = iphoneos;
-                               SUPPORTED_PLATFORMS = "iphonesimulator iphoneos";
+                               SDKROOT = iphoneos.internal;
+                               SUPPORTED_PLATFORMS = "appletvos watchos";
                                TARGETED_DEVICE_FAMILY = "1,2";
                                ZERO_LINK = NO;
                        };
                        isa = XCBuildConfiguration;
                        buildSettings = {
                                PRODUCT_NAME = "All-EmbeddedOther";
-                               SDKROOT = iphoneos;
-                               SUPPORTED_PLATFORMS = "iphonesimulator iphoneos";
+                               SDKROOT = iphoneos.internal;
+                               SUPPORTED_PLATFORMS = "appletvos watchos";
                                TARGETED_DEVICE_FAMILY = "1,2";
                        };
                        name = "Ignore Me";
index 9f7f4bdb4e866a4d94301b17dfd9e5f50f0c56fb..54fb858ec219136592bae3115e6d2953baabf4ef 100644 (file)
@@ -1266,7 +1266,7 @@ char routeflags[] =
 "\011CLONING\012XRESOLVE\013LLINFO\014STATIC\015BLACKHOLE\016b016"
 "\017PROTO2\020PROTO1\021PRCLONING\022WASCLONED\023PROTO3\024b024"
 "\025PINNED\026LOCAL\027BROADCAST\030MULTICAST\031IFSCOPE\032CONDEMNED"
-"\033IFREF\034PROXY\035ROUTER";
+"\033IFREF\034PROXY\035ROUTER\037GLOBAL";
 char ifnetflags[] =
 "\1UP\2BROADCAST\3DEBUG\4LOOPBACK\5PTP\6b6\7RUNNING\010NOARP"
 "\011PPROMISC\012ALLMULTI\013OACTIVE\014SIMPLEX\015LINK0\016LINK1"