/netbsd/sys/external/bsd/ipf/netinet/ |
H A D | ip_ipsec_pxy.c | 140 ipsec_pxy_t *ipsec; in ipf_p_ipsec_new() local 169 if (ipsec == NULL) in ipf_p_ipsec_new() 174 KFREE(ipsec); in ipf_p_ipsec_new() 180 bzero((char *)ipsec, sizeof(*ipsec)); in ipf_p_ipsec_new() 237 if ((ipsec->ipsc_rcookie[0]|ipsec->ipsc_rcookie[1]) != 0) in ipf_p_ipsec_new() 241 ipsec->ipsc_nat = ipf_nat_add(&fi, ipn, &ipsec->ipsc_nat, in ipf_p_ipsec_new() 268 ipsec_pxy_t *ipsec; in ipf_p_ipsec_inout() local 285 if ((ipsec->ipsc_nat == NULL) || (ipsec->ipsc_state == NULL)) { in ipf_p_ipsec_inout() 308 ipsec->ipsc_nat = ipf_nat_add(&fi, ipsec->ipsc_rule, in ipf_p_ipsec_inout() 352 ipsec_pxy_t *ipsec; in ipf_p_ipsec_match() local [all …]
|
/netbsd/external/bsd/tcpdump/dist/tests/ |
H A D | isakmp-no-none-np.out | 3 …(n: doi=ipsec proto=isakmp type=INVALID-MAJOR-VERSION spi=000000000b1005005f724dc600000054 data=(0… 4 …(n: doi=ipsec proto=isakmp type=INVALID-MAJOR-VERSION spi=000000000b1005005f724dc600000054 data=(0… 5 …(n: doi=ipsec proto=isakmp type=INVALID-MAJOR-VERSION spi=000000000b1005005f724dc600000054 data=(0… 6 …(n: doi=ipsec proto=isakmp type=INVALID-MAJOR-VERSION spi=000000000b1005005f724dc600000054 data=(0… 7 …(n: doi=ipsec proto=isakmp type=INVALID-MAJOR-VERSION spi=000000000b1005005f724dc600000054 data=(0… 8 …(n: doi=ipsec proto=isakmp type=INVALID-MAJOR-VERSION spi=000000000b1005005f724dc600000054 data=(0… 9 …(n: doi=ipsec proto=isakmp type=INVALID-MAJOR-VERSION spi=000000000b1005005f724dc600000054 data=(0… 10 …(n: doi=ipsec proto=isakmp type=INVALID-MAJOR-VERSION spi=000000000b1005005f724dc600000054 data=(0… 11 …(n: doi=ipsec proto=isakmp type=INVALID-MAJOR-VERSION spi=000000000b1005005f724dc600000054 data=(0… 12 …(n: doi=ipsec proto=isakmp type=INVALID-MAJOR-VERSION spi=000000000b1005005f724dc600000054 data=(0… [all …]
|
/netbsd/sys/netipsec/ |
H A D | files.netipsec | 8 file netipsec/ipsec.c ipsec needs-flag 9 file netipsec/ipsec_input.c ipsec 10 file netipsec/ipsec_mbuf.c ipsec 11 file netipsec/ipsec_output.c ipsec 12 file netipsec/xform_ah.c ipsec 13 file netipsec/xform_esp.c ipsec 14 file netipsec/xform_ipcomp.c ipsec 15 file netipsec/xform_ipip.c ipsec 18 file netipsec/key.c ipsec 19 file netipsec/key_debug.c ipsec [all …]
|
/netbsd/tests/net/ipsec/ |
H A D | t_ipsec_sysctl.sh | 46 rump.sysctl net.inet.ipsec.enabled 73 atf_check -s exit:0 -o match:'= 1' rump.sysctl net.inet.ipsec.enabled 78 atf_check -s exit:0 -o match:'= 0' rump.sysctl net.inet.ipsec.used 88 atf_check -s exit:0 -o match:'= 0' rump.sysctl net.inet.ipsec.used 93 spdadd 10.0.0.1 10.0.0.2 any -P out ipsec esp/transport//use; 97 atf_check -s exit:0 -o match:'= 1' rump.sysctl net.inet.ipsec.used 123 atf_check -s exit:0 -o match:'= 1' rump.sysctl net.inet.ipsec.enabled 126 atf_check -s exit:0 -o match:'= 0' rump.sysctl net.inet.ipsec.used 135 atf_check -s exit:0 -o match:'= 0' rump.sysctl net.inet.ipsec.used 140 spdadd fd00::1 fd00::2 any -P out ipsec esp/transport//use; [all …]
|
H A D | t_ipsec_gif.sh | 160 spdadd $subnet_local/24 $subnet_remote/24 any -P out ipsec 162 spdadd $subnet_remote/24 $subnet_local/24 any -P in ipsec 172 spdadd $subnet_remote/24 $subnet_local/24 any -P out ipsec 174 spdadd $subnet_local/24 $subnet_remote/24 any -P in ipsec 185 spdadd $ip_gwlo_tun/32 $ip_gwre_tun/32 any -P out ipsec 187 spdadd $ip_gwre_tun/32 $ip_gwlo_tun/32 any -P in ipsec 197 spdadd $ip_gwre_tun/32 $ip_gwlo_tun/32 any -P out ipsec 199 spdadd $ip_gwlo_tun/32 $ip_gwre_tun/32 any -P in ipsec 313 spdadd $subnet_remote/64 $subnet_local/64 any -P in ipsec 338 spdadd $ip_gwre_tun/128 $ip_gwlo_tun/128 any -P in ipsec [all …]
|
H A D | t_ipsec_l2tp.sh | 155 spdadd $subnet_local/24 $subnet_remote/24 any -P out ipsec 157 spdadd $subnet_remote/24 $subnet_local/24 any -P in ipsec 167 spdadd $subnet_remote/24 $subnet_local/24 any -P out ipsec 169 spdadd $subnet_local/24 $subnet_remote/24 any -P in ipsec 180 spdadd $ip_gwlo_tun/32 $ip_gwre_tun/32 any -P out ipsec 182 spdadd $ip_gwre_tun/32 $ip_gwlo_tun/32 any -P in ipsec 192 spdadd $ip_gwre_tun/32 $ip_gwlo_tun/32 any -P out ipsec 194 spdadd $ip_gwlo_tun/32 $ip_gwre_tun/32 any -P in ipsec 299 spdadd $subnet_remote/64 $subnet_local/64 any -P in ipsec 324 spdadd $ip_gwre_tun/128 $ip_gwlo_tun/128 any -P in ipsec [all …]
|
H A D | t_ipsec_spflags.sh | 37 rump_server_crypto_start $SOCK_LOCAL netipsec ipsec 56 rump_server_crypto_start $SOCK_LOCAL netipsec ipsec 61 spdadd $ip_gwlo_tun $ip_gwre_tun ipv4 -P in ipsec esp/transport//require ; 62 spdadd $ip_gwre_tun $ip_gwlo_tun ipv4 -P out ipsec esp/transport//require ;
|
H A D | t_ipsec_tunnel.sh | 130 spdadd $subnet_local/24 $subnet_remote/24 any -P out ipsec 132 spdadd $subnet_remote/24 $subnet_local/24 any -P in ipsec 144 spdadd $subnet_remote/24 $subnet_local/24 any -P out ipsec 146 spdadd $subnet_local/24 $subnet_remote/24 any -P in ipsec 230 spdadd $subnet_local/64 $subnet_remote/64 any -P out ipsec 232 spdadd $subnet_remote/64 $subnet_local/64 any -P in ipsec 244 spdadd $subnet_remote/64 $subnet_local/64 any -P out ipsec 246 spdadd $subnet_local/64 $subnet_remote/64 any -P in ipsec
|
H A D | t_ipsec_tunnel_ipcomp.sh | 128 rump.sysctl -a |grep ipsec 164 spdadd $subnet_local/24 $subnet_remote/24 any -P out ipsec 167 spdadd $subnet_remote/24 $subnet_local/24 any -P in ipsec 182 spdadd $subnet_remote/24 $subnet_local/24 any -P out ipsec 185 spdadd $subnet_local/24 $subnet_remote/24 any -P in ipsec 290 spdadd $subnet_local/64 $subnet_remote/64 any -P out ipsec 293 spdadd $subnet_remote/64 $subnet_local/64 any -P in ipsec 308 spdadd $subnet_remote/64 $subnet_local/64 any -P out ipsec 311 spdadd $subnet_local/64 $subnet_remote/64 any -P in ipsec
|
H A D | t_ipsec_tunnel_odd.sh | 136 spdadd $subnet_local/24 $subnet_remote/24 any -P out ipsec 138 spdadd $subnet_remote/24 $subnet_local/24 any -P in ipsec 150 spdadd $subnet_remote/24 $subnet_local/24 any -P out ipsec 152 spdadd $subnet_local/24 $subnet_remote/24 any -P in ipsec 242 spdadd $subnet_local/64 $subnet_remote/64 any -P out ipsec 244 spdadd $subnet_remote/64 $subnet_local/64 any -P in ipsec 256 spdadd $subnet_remote/64 $subnet_local/64 any -P out ipsec 258 spdadd $subnet_local/64 $subnet_remote/64 any -P in ipsec
|
/netbsd/crypto/dist/ipsec-tools/src/setkey/ |
H A D | sample-policy02.cf | 8 -P out ipsec 13 -P out ipsec 16 -P in ipsec 19 -P out ipsec 24 -P out ipsec 29 -P out ipsec 34 -P out ipsec
|
H A D | sample.cf | 45 spdadd fec0::10[any] fec0::11[110] tcp -P out ipsec 47 spdadd fec0::11[110] fec0::10[any] tcp -P in ipsec 71 spdadd 10.0.1.0/24 10.0.2.0/24 any -P out ipsec 73 spdadd 10.0.2.0/24 10.0.1.0/24 any -P in ipsec 88 spdadd 10.0.2.0/24 10.0.1.0/24 any -P out ipsec 90 spdadd 10.0.1.0/24 10.0.2.0/24 any -P in ipsec 111 spdadd fec0:0:0:1::/64 fec0:0:0:2::/64 any -P out ipsec 114 spdadd fec0:0:0:2::/64 fec0:0:0:1::/64 any -P in ipsec 146 spdadd fec0:0:0:1::1[any] fec0:0:0:2::2[80] tcp -P out ipsec 149 spdadd fec0:0:0:2::1[80] fec0:0:0:1::1[any] tcp -P in ipsec
|
H A D | sample-policy01.cf | 7 -P out ipsec 10 -P out ipsec
|
/netbsd/external/bsd/ipf/dist/lib/ |
H A D | printaps.c | 25 ipsec_pxy_t ipsec; local 102 (ap.aps_psiz == sizeof(ipsec))) { 103 if (kmemcpy((char *)&ipsec, (long)ap.aps_data, sizeof(ipsec))) 107 (u_int)ntohl(ipsec.ipsc_icookie[0]), 108 (u_int)ntohl(ipsec.ipsc_icookie[1]), 109 (u_int)ntohl(ipsec.ipsc_rcookie[0]), 110 (u_int)ntohl(ipsec.ipsc_rcookie[1]), 111 ipsec.ipsc_rckset ? "(Set)" : "(Not set)");
|
/netbsd/crypto/dist/ipsec-tools/rpm/ |
H A D | Makefile.am | 4 ipsec-tools.spec.in 6 all-local: ipsec-tools.spec 12 ipsec-tools.spec: ipsec-tools.spec.in Makefile 18 CLEANFILES = ipsec-tools.spec
|
H A D | ipsec-tools.FC1 | 17 IPSEC_SPD=/etc/sysconfig/ipsec.spd 18 VAR_SUBSYS_IPSEC=/var/lock/subsys/ipsec
|
/netbsd/crypto/dist/ipsec-tools/ |
H A D | README | 17 The ipsec-tools code has been maintained and developed by: 34 http://ipsec-tools.sourceforge.net/ 39 src/crypto/dist/ipsec-tools 51 https://trac.ipsec-tools.net/ 57 ipsec-tools-devel@lists.sourceforge.net 58 ipsec-tools-users@lists.sourceforge.net 61 http://sf.net/mailarchive/forum.php?forum_name=ipsec-tools-devel
|
H A D | configure.ac | 5 AC_INIT(ipsec-tools, CVS) 47 # FreeBSD >=7 has only <netipsec/ipsec.h> 48 # NetBSD has <netinet6/ipsec.h> but not <netinet/ipsec.h> 49 # XXX some *BSD still have both <netinet6/ipsec.h> and <netipsec/ipsec.h>, 50 # we can't decide which one to use (actually <netinet6/ipsec.h>) 55 AC_DEFINE(PATH_IPSEC_H, [<netipsec/ipsec.h>], [Path to ipsec.h]) 59 AC_DEFINE(PATH_IPSEC_H, [<netinet6/ipsec.h>], [Path to ipsec.h]) 62 AC_DEFINE(PATH_IPSEC_H, [<netinet/ipsec.h>], [Path to ipsec.h]) 729 #include <linux/ipsec.h> 747 #include <netinet6/ipsec.h> [all …]
|
/netbsd/tests/net/if_ipsec/ |
H A D | Makefile | 8 .for name in ipsec ipsec_natt ipsec_pfil ipsec_unnumbered 11 ../ipsec/common.sh ../ipsec/algorithms.sh
|
H A D | t_ipsec_natt.sh | 40 rump_server_crypto_start $SOCK_LOCAL_A netipsec ipsec 41 rump_server_crypto_start $SOCK_LOCAL_B netipsec ipsec 43 rump_server_crypto_start $SOCK_REMOTE netipsec ipsec 63 rump_server_add_iface $sock ipsec$ifid 64 atf_check -s exit:0 rump.ifconfig ipsec$ifid link0 # enable NAT-T 65 atf_check -s exit:0 rump.ifconfig ipsec$ifid tunnel ${src_ip},${src_port} ${dst_ip},${dst_port} 66 atf_check -s exit:0 rump.ifconfig ipsec$ifid ${ipsecif_ip}/32
|
/netbsd/crypto/dist/ipsec-tools/src/racoon/doc/ |
H A D | FAQ | 2 apply to ipsec-tools (they are obsolete or not up to date). They are 27 ipsec-tools is also available as a package in the NetBSD pkgsrc 39 http://ipsec-tools.sourceforge.net/netbsd_nat-t.diff 43 When ipsec-tools is built with --enable-natt, racoon 92 using (like "ipsec-tools-0.5"), and information to repeat the 104 <ipsec-tools-devel@lists.sourceforge.net> 107 <ipsec-tools-core@lists.sourceforge.net> 112 http://www.NetBSD.org/docs/network/ipsec/
|
/netbsd/crypto/dist/ipsec-tools/rpm/suse/ |
H A D | ipsec-tools.spec.in | 2 # spec file for package ipsec-tools 16 Name: ipsec-tools 25 Source: http://prdownloads.sourceforge.net/ipsec-tools/ipsec-tools-%{version}.tar.bz2 28 URL: http://ipsec-tools.sourceforge.net/ 44 http://ipsec-tools.sourceforge.net/ 110 %changelog -n ipsec-tools
|
H A D | Makefile.am | 1 EXTRA_DIST = ipsec-tools.spec.in ipsec-tools.spec racoon.init sysconfig.racoon
|
/netbsd/etc/rc.d/ |
H A D | ipsec | 23 if [ ! -f /etc/ipsec.conf ]; then 46 /sbin/setkey -f /etc/ipsec.conf 50 -e "s/@LOCAL_ADDR_V6@/$2/" /etc/ipsec.conf | \
|
/netbsd/usr.sbin/altq/altqd/altq.conf.samples/ |
H A D | cbq.widecamp | 67 class cbq sr0 ipsec intr borrow priority 4 pbandwidth 4 maxburst 8 red ecn 68 filter sr0 ipsec 0 0 0 0 50 # ipsec (ah) 69 filter sr0 ipsec 0 0 0 0 51 # ipsec (esp)
|