/netbsd-6-1-5-RELEASE/dist/ipf/rules/ |
H A D | ftppxy | 6 echo "map ed0 0/0 -> 192.1.1.1/32 proxy port ftp ftp/tcp" | /sbin/ipnat -f -
|
/netbsd-6-1-5-RELEASE/usr.sbin/ipf/ipnat/ |
H A D | Makefile | 3 PROG= ipnat 4 SRCS= ipnat.c ipnat_y.c ipnat_l.c 5 MAN= ipnat.8 ipnat.4 ipnat.5 6 MLINKS= ipnat.5 ipnat.conf.5
|
/netbsd-6-1-5-RELEASE/dist/ipf/lib/ |
H A D | getnattype.c | 26 ipnat_t *ipn, ipnat; local 36 if (kmemcpy((char *)&ipnat, (long)ipn, sizeof(ipnat))) 38 type = ipnat.in_redir;
|
/netbsd-6-1-5-RELEASE/usr.sbin/ipf/ |
H A D | Makefile | 4 SUBDIR+= ipf ipfs ipfstat ipftest ipmon ipnat ippool ipresend
|
/netbsd-6-1-5-RELEASE/etc/rc.d/ |
H A D | ipnat | 3 # $NetBSD: ipnat,v 1.12 2004/10/11 15:00:51 christos Exp $ 6 # PROVIDE: ipnat 12 name="ipnat" 14 config="/etc/ipnat.conf" 16 stop_cmd="/usr/sbin/ipnat -F -C" 17 reload_cmd="/usr/sbin/ipnat -C -f ${config}" 18 restart_cmd="/usr/sbin/ipnat -F -C -f ${config}" 27 logger -s -p daemon.warning -t ipnat \ 35 /usr/sbin/ipnat -F -f ${config}
|
H A D | ipfs | 7 # REQUIRE: ipnat mountcritremote downinterfaces isdnd 20 if [ -r /var/db/ipf/ipstate.ipf -a -r /var/db/ipf/ipnat.ipf ]; then 22 rm -f /var/db/ipf/ipstate.ipf /var/db/ipf/ipnat.ipf
|
H A D | Makefile | 25 identd ifwatchd inetd ipfilter ipfs ipmon ipnat ipsec \
|
/netbsd-6-1-5-RELEASE/tests/ipf/ |
H A D | t_nat_parse.sh | 37 atf_check -o file:exp -e ignore ipnat -Rnvf reg
|
/netbsd-6-1-5-RELEASE/usr.sbin/ipf/ipftest/ |
H A D | Makefile | 29 CLEANFILES+= ipnat.tab.c ipnat.tab.h 36 ${YACC} -b ipnat -d ${.ALLSRC} 40 ipnat.tab.c > ${.TARGET} 43 ipnat.tab.h > ${.TARGET:.c=.h}
|
/netbsd-6-1-5-RELEASE/dist/ipf/man/ |
H A D | Makefile | 11 $(INSTALL) -m 0644 -c -o root -g bin ipnat.8 $(MANDIR)/man8 15 $(INSTALL) -m 0644 -c -o root -g bin ipnat.4 $(MANDIR)/man4 18 $(INSTALL) -m 0644 -c -o root -g bin ipnat.5 $(MANDIR)/man5
|
/netbsd-6-1-5-RELEASE/sys/dist/ipf/netinet/ |
H A D | ip_nat.h | 99 struct ipnat *nat_ptr; /* pointer back to the rule */ 176 typedef struct ipnat { struct 178 struct ipnat *in_next; /* NAT rule list next */ 179 struct ipnat *in_rnext; /* rdr rule hash next */ 180 struct ipnat **in_prnext; /* prior rdr next ptr */ 181 struct ipnat *in_mnext; /* map rule hash next */ 182 struct ipnat **in_pmnext; /* prior map next ptr */ 291 struct ipnat ipn_ipnat; 316 struct ipnat *hm_ipnat;
|
H A D | ip_proxy.h | 30 struct ipnat; 452 extern int appr_ok(fr_info_t *, tcphdr_t *, struct ipnat *);
|
H A D | ip_rpcb_pxy.c | 1112 ipnat_t *ipn, ipnat; local 1187 bcopy((char *)ipn, (char *)&ipnat, sizeof(ipnat)); 1208 bcopy((char *)&ipnat, (char *)ipn, sizeof(ipnat));
|
H A D | ip_fil_compat.c | 351 struct ipnat *in_next; 352 struct ipnat *in_rnext; 353 struct ipnat **in_prnext; 354 struct ipnat *in_mnext; 355 struct ipnat **in_pmnext; 406 struct ipnat *nat_ptr; 448 struct ipnat *nat_ptr;
|
H A D | ip_nat.c | 195 static void nat_addnat(struct ipnat *); 196 static void nat_addrdr(struct ipnat *); 197 static void nat_delrdr(struct ipnat *); 198 static void nat_delnat(struct ipnat *); 1082 MUTEX_INIT(&n->in_lock, "ipnat rule lock"); 1476 bzero((char *)in, offsetof(struct ipnat, in_next6)); 1690 struct ipnat *ipn; 4664 struct ipnat *np; 5046 /* Fetch the next nat/ipnat structure pointer from the linked list and */
|
H A D | fil.c | 5395 { 0, sizeof(struct ipnat), 4011400 },
|
/netbsd-6-1-5-RELEASE/dist/ipf/ |
H A D | ipf.h | 224 extern void nat_setgroupmap(struct ipnat *); 256 extern void printproto(struct protoent *, int, struct ipnat *); 278 extern void printnat(struct ipnat *, int);
|
H A D | ip_rpcb_pxy.c | 1107 ipnat_t *ipn, ipnat; local 1182 bcopy((char *)ipn, (char *)&ipnat, sizeof(ipnat)); 1203 bcopy((char *)&ipnat, (char *)ipn, sizeof(ipnat));
|
H A D | HISTORY | 300 using ipnat -l can lead to memory corruption in high stress situations 330 add hash table bucket stats display to ipnat -s 383 print out the TCP state population with ipfstat/ipnat 455 return ipf ticks via SIOCGETGS for /dev/ipnat so "ipnat -l" can display ttl 469 fix problems with parsing and printing "-" as an interface name in ipnat.conf 507 make ipfstat, ippool, ipnat retrieve information via ioctls rather than /dev/kmem 740 parsing port numbers in ipf/ipnat was confusing as the port number was returned 762 expand documention on the karma of using "auto" in ipnat map rules 764 add matching on IP protocol to ipnat ma [all...] |
H A D | ip_fil_compat.c | 351 struct ipnat *in_next; 352 struct ipnat *in_rnext; 353 struct ipnat **in_prnext; 354 struct ipnat *in_mnext; 355 struct ipnat **in_pmnext; 406 struct ipnat *nat_ptr; 448 struct ipnat *nat_ptr;
|
/netbsd-6-1-5-RELEASE/etc/defaults/ |
H A D | rc.conf | 166 ipnat=NO # uses /etc/ipnat.conf 167 ipfs=NO ipfs_flags="" # save/load ipnat and ipf states
|
/netbsd-6-1-5-RELEASE/sys/compat/netbsd32/ |
H A D | netbsd32_ioctl.h | 203 netinet/ip_nat.h:22:#define SIOCADNAT _IOW('r', 80, struct ipnat) 204 netinet/ip_nat.h:23:#define SIOCRMNAT _IOW('r', 81, struct ipnat)
|
/netbsd-6-1-5-RELEASE/dist/pf/usr.sbin/ftp-proxy/ |
H A D | ipf.c | 86 struct ipnat ipn;
|
/netbsd-6-1-5-RELEASE/dist/ipf/l4check/ |
H A D | l4check.c | 39 struct ipnat l4_nat; /* NAT rule */
|
/netbsd-6-1-5-RELEASE/etc/ |
H A D | MAKEDEV.tmpl | 1400 mkdev ipnat c %ipl_chr% 1
|