/freebsd-10.1-release/etc/ |
H A D | rc.firewall | 85 ${fwcmd} add 100 pass all from any to any via lo0 86 ${fwcmd} add 200 deny all from any to 127.0.0.0/8 87 ${fwcmd} add 300 deny ip from 127.0.0.0/8 to any 89 ${fwcmd} add 400 deny all from any to ::1 90 ${fwcmd} add 500 deny all from ::1 to any 103 ${fwcmd} add pass ipv6-icmp from :: to ff02::/16 105 ${fwcmd} add pass ipv6-icmp from fe80::/10 to fe80::/10 106 ${fwcmd} add pass ipv6-icmp from fe80::/10 to ff02::/16 109 ${fwcmd} add pass ipv6-icmp from any to any icmp6types 1 112 ${fwcmd} add pass ipv6-icmp from an [all...] |
/freebsd-10.1-release/contrib/ipfilter/rules/ |
H A D | example.11 | 2 # allow any TCP packets from the same subnet as foo is on through to host 5 pass in proto tcp from 10.2.2.2/24 to 10.1.1.2/32 port = 6667 7 # allow in UDP packets which are NOT from port 53 and are destined for 10 pass in proto udp from 10.2.2.2 port != 53 to localhost 14 block in proto tcp from any to any port 5999 >< 6010 20 pass in proto tcp/udp from any to any port 512 <> 515 26 block in proto tcp/udp from any to any port 511 >< 516
|
H A D | example.sr | 4 log in on le0 from any to any with ipopts 11 block in log quick on le0 from any to any with short frag 18 log in on le0 proto tcp from any to any flags S/SA 22 block in log on le0 proto icmp from any to any icmp-type unreach 27 block in log on le0 proto udp from any to any port = 2049 29 # quickly allow any packets to/from a particular pair of hosts 31 pass in quick from any to 10.1.3.2/32 32 pass in quick from any to 10.1.0.13/32 33 pass in quick from 10.1.3.2/32 to any 34 pass in quick from 10. [all...] |
H A D | example.8 | 5 block in proto tcp from any to any flags S/SA 6 block return-rst in quick proto tcp from any to any port = 113 flags S/SA 10 block return-icmp in proto udp from any to any
|
H A D | example.10 | 4 pass in proto tcp from 10.1.0.0/16 port = 23 to 10.2.0.0/16 flags A/A 5 pass out proto tcp from 10.1.0.0/16 port = 23 to 10.2.0.0/16 flags A/A 7 # block incoming connection requests to my internal network from the big bad 10 block in on le0 proto tcp from any to 10.1.0.0/16 flags S/SA 12 block out on le0 proto tcp from 10.1.0.0 to any flags SA/SA
|
H A D | example.6 | 5 block in proto tcp from any to any flags S/SA
|
H A D | BASIC_1.FW | 27 block in log on ed0 from w.x.y.z/24 to any head 200 36 block in log quick from 127.0.0.0/8 to any group 100 37 block in log quick from any to 127.0.0.0/8 group 100 38 block in log quick from 127.0.0.0/8 to any group 200 39 block in log quick from any to 127.0.0.0/8 group 200 49 block in log quick from 10.0.0.0/8 to any group 100 50 block in log quick from 192.168.0.0/16 to any group 100 51 block in log quick from 172.16.0.0/12 to any group 100 55 block in log quick from a.b.c.d/24 to any group 100 60 pass in quick proto udp from an [all...] |
/freebsd-10.1-release/crypto/openssh/openbsd-compat/ |
H A D | bsd-statvfs.c | 31 copy_statfs_to_statvfs(struct statvfs *to, struct statfs *from) argument 33 to->f_bsize = from->f_bsize; 34 to->f_frsize = from->f_bsize; /* no exact equivalent */ 35 to->f_blocks = from->f_blocks; 36 to->f_bfree = from->f_bfree; 37 to->f_bavail = from->f_bavail; 38 to->f_files = from->f_files; 39 to->f_ffree = from->f_ffree; 40 to->f_favail = from->f_ffree; /* no exact equivalent */ 42 to->f_flag = from [all...] |
/freebsd-10.1-release/sbin/natd/samples/ |
H A D | natd.test | 10 ipfw add divert 32000 ip from any to any via $1 11 ipfw add pass ip from any to any
|
/freebsd-10.1-release/crypto/openssl/crypto/rsa/ |
H A D | rsa_none.c | 35 * The word 'cryptographic' can be left out if the rouines from the library 37 * 4. If you include any Windows specific code (or a derivative thereof) from 66 const unsigned char *from, int flen) 78 memcpy(to, from, (unsigned int)flen); 83 const unsigned char *from, int flen, int num) 92 memcpy(to + tlen - flen, from, flen); 65 RSA_padding_add_none(unsigned char *to, int tlen, const unsigned char *from, int flen) argument 82 RSA_padding_check_none(unsigned char *to, int tlen, const unsigned char *from, int flen, int num) argument
|
H A D | rsa_null.c | 27 * endorse or promote products derived from this software without 31 * 5. Products derived from this software may not be called "OpenSSL" 74 static int RSA_null_public_encrypt(int flen, const unsigned char *from, 76 static int RSA_null_private_encrypt(int flen, const unsigned char *from, 78 static int RSA_null_public_decrypt(int flen, const unsigned char *from, 80 static int RSA_null_private_decrypt(int flen, const unsigned char *from, 109 static int RSA_null_public_encrypt(int flen, const unsigned char *from, argument 116 static int RSA_null_private_encrypt(int flen, const unsigned char *from, argument 124 static int RSA_null_private_decrypt(int flen, const unsigned char *from, argument 132 static int RSA_null_public_decrypt(int flen, const unsigned char *from, argument [all...] |
/freebsd-10.1-release/tools/tools/tinybsd/conf/firewall/etc/ |
H A D | rc.firewall | 84 ${fwcmd} add 100 pass all from any to any via lo0 85 ${fwcmd} add 200 deny all from any to 127.0.0.0/8 86 ${fwcmd} add 300 deny ip from 127.0.0.0/8 to any 124 ${fwcmd} add 50 divert natd all from any to any via ${natd_interface} 136 # ${fwcmd} add 65000 pass all from any to any 144 ${fwcmd} add 65000 pass all from any to any 150 # against people from outside your own network. 160 # Allow any traffic to or from my own net. 161 ${fwcmd} add pass all from ${ip} to ${net}:${mask} 162 ${fwcmd} add pass all from [all...] |
/freebsd-10.1-release/tools/tools/tinybsd/conf/wireless/etc/ |
H A D | rc.firewall | 84 ${fwcmd} add 100 pass all from any to any via lo0 85 ${fwcmd} add 200 deny all from any to 127.0.0.0/8 86 ${fwcmd} add 300 deny ip from 127.0.0.0/8 to any 124 ${fwcmd} add 50 divert natd all from any to any via ${natd_interface} 136 # ${fwcmd} add 65000 pass all from any to any 144 ${fwcmd} add 65000 pass all from any to any 150 # against people from outside your own network. 160 # Allow any traffic to or from my own net. 161 ${fwcmd} add pass all from ${ip} to ${net}:${mask} 162 ${fwcmd} add pass all from [all...] |
/freebsd-10.1-release/contrib/flex/ |
H A D | mkskel.sh | 16 # may be used to endorse or promote products derived from this software 25 /* File created from flex.skl via mkskel.sh */
|
/freebsd-10.1-release/contrib/ncurses/ncurses/tinfo/ |
H A D | make_keys.c | 74 char from[256]; local 84 from[sizeof(from) - 1] = '\0'; 86 scanned = sscanf(buffer, "%255s %255s", to, from); 88 int code = lookup(from); 91 if ((int) strlen(from) > maxlen) 92 maxlen = strlen(from); 97 from);
|
/freebsd-10.1-release/crypto/heimdal/lib/asn1/ |
H A D | gen_copy.c | 18 * may be used to endorse or promote products derived from this software 41 copy_primitive (const char *typename, const char *from, const char *to) argument 44 typename, from, to); 49 copy_type (const char *from, const char *to, const Type *t, int preserve) argument 54 copy_type (from, to, t->symbol->type, preserve); 57 t->symbol->gen_name, from, to); 62 copy_primitive ("heim_integer", from, to); 67 fprintf(codefile, "*(%s) = *(%s);\n", to, from); 70 copy_primitive ("octet_string", from, to); 74 copy_primitive ("bit_string", from, t [all...] |
/freebsd-10.1-release/crypto/heimdal/lib/krb5/ |
H A D | copy_host_realm.c | 18 * may be used to endorse or promote products derived from this software 37 * Copy the list of realms from `from' to `to'. 40 * @param from list of realms to copy from. 51 const krb5_realm *from, 57 for (n = 1, p = from; *p != NULL; ++p) 67 for (i = 0, p = from; *p != NULL; ++p, ++i) { 50 krb5_copy_host_realm(krb5_context context, const krb5_realm *from, krb5_realm **to) argument
|
H A D | asn1_glue.c | 18 * may be used to endorse or promote products derived from this software 42 const krb5_principal from) 44 return copy_PrincipalName(&from->name, p); 50 const PrincipalName from, 59 ret = copy_PrincipalName(&from, &p->name); 41 _krb5_principal2principalname(PrincipalName *p, const krb5_principal from) argument 48 _krb5_principalname2krb5_principal(krb5_context context, krb5_principal *principal, const PrincipalName from, const Realm realm) argument
|
/freebsd-10.1-release/usr.sbin/IPXrouted/ |
H A D | sap_input.c | 16 * may be used to endorse or promote products derived from this software 45 sap_input(from, size) 46 struct sockaddr *from; 57 ifp = if_ifwithnet(from); 58 ipxp = (struct sockaddr_ipx *)from; 61 fprintf(ftrace, "Received bogus packet from %s\n", 68 dumpsappacket(ftrace, "received", from, (char *)sap_msg , size); 70 if (from->sa_family >= AF_MAX) 72 afp = &afswitch[from->sa_family]; 94 (*afp->af_output)(sapsock, 0, from, newsiz [all...] |
/freebsd-10.1-release/lib/libz/ |
H A D | inffast.c | 78 unsigned dmax; /* maximum distance from zlib header */ 95 unsigned char FAR *from; /* where to copy match from */ local 187 if (dist > op) { /* see if copy from window */ 208 from = out - dist; 210 PUP(out) = PUP(from); 216 from = window - OFF; 218 from += wsize - op; 219 if (op < len) { /* some from window */ 222 PUP(out) = PUP(from); [all...] |
/freebsd-10.1-release/bin/mv/ |
H A D | mv.c | 5 * This code is derived from software contributed to Berkeley by 17 * may be used to endorse or promote products derived from this software 174 do_move(const char *from, const char *to) argument 188 if (lstat(from, &sb) == -1) { 189 warn("%s", from); 225 if (!rename(from, to)) { 227 printf("%s -> %s\n", from, to); 239 if (lstat(from, &sb) == -1) { 240 warn("%s", from); 245 if (realpath(from, pat 274 fastcopy(const char *from, const char *to, struct stat *sbp) argument 365 copy(const char *from, const char *to) argument [all...] |
/freebsd-10.1-release/contrib/unbound/util/ |
H A D | random.h | 20 * be used to endorse or promote products derived from this software without 51 * Initialize the system randomness. Obtains entropy from the system 62 * @param from: if not NULL, the seed is taken from this random structure. 68 struct ub_randstate* from); 71 * Generate next random number from the state passed along. 83 * random number is picked from the random stream to satisfy this.
|
/freebsd-10.1-release/lib/libkiconv/ |
H A D | xlat16_sysctl.c | 17 * may be used to endorse or promote products derived from this software 51 kiconv_add_xlat16_table(const char *to, const char *from, const void *data, int datalen) argument 57 if (strlen(from) >= ICONV_CSNMAXLEN || strlen(to) >= ICONV_CSNMAXLEN) 61 strcpy(din.ia_from, from); 78 kiconv_add_xlat16_table(const char *to __unused, const char *from __unused,
|
/freebsd-10.1-release/sys/boot/arm/at91/libat91/ |
H A D | lib.h | 36 /* from data_add for size bytes. */ 60 char *strcpy(char *to, const char *from); 61 void memcpy(void *to, const void *from, unsigned size); 62 int p_memcmp(const char *to, const char *from, unsigned size); 63 int strcmp(const char *to, const char *from);
|
/freebsd-10.1-release/sys/powerpc/powerpc/ |
H A D | syncicache.c | 18 * derived from this software without specific prior written permission. 51 __syncicache(void *from, int len) argument 56 off = (uintptr_t)from & (cacheline_size - 1); 58 p = (char *)from - off; 65 p = (char *)from - off;
|