003 File Manager
Current Path:
/usr/src/contrib/ipfilter/ipsend
usr
/
src
/
contrib
/
ipfilter
/
ipsend
/
📁
..
📄
44arp.c
(2.15 KB)
📄
Crashable
(326 B)
📄
Makefile
(6.05 KB)
📄
arp.c
(2.93 KB)
📄
dlcommon.c
(29.36 KB)
📄
dltest.h
(515 B)
📄
ip.c
(7.71 KB)
📄
ipresend.1
(2.93 KB)
📄
ipresend.c
(2.45 KB)
📄
ipsend.1
(2.58 KB)
📄
ipsend.5
(12.72 KB)
📄
ipsend.c
(8.34 KB)
📄
ipsend.h
(2.53 KB)
📄
ipsopt.c
(3.89 KB)
📄
iptest.1
(3.44 KB)
📄
iptest.c
(4.1 KB)
📄
iptests.c
(30.95 KB)
📄
resend.c
(2.93 KB)
📄
sbpf.c
(2.8 KB)
📄
sdlpi.c
(3.15 KB)
📄
snit.c
(3.05 KB)
📄
sock.c
(6.3 KB)
📄
sockraw.c
(1.73 KB)
Editing: ipsend.h
/* $FreeBSD$ */ /* * ipsend.h (C) 1997-1998 Darren Reed * * This was written to test what size TCP fragments would get through * various TCP/IP packet filters, as used in IP firewalls. In certain * conditions, enough of the TCP header is missing for unpredictable * results unless the filter is aware that this can happen. * * The author provides this program as-is, with no gaurantee for its * suitability for any specific purpose. The author takes no responsibility * for the misuse/abuse of this program and provides it for the sole purpose * of testing packet filter policies. This file maybe distributed freely * providing it is not modified and that this notice remains in tact. * */ #ifndef __P # define __P(x) x #endif #include <net/if.h> #include "ipf.h" /* XXX: The following is needed by tcpip.h */ #include <netinet/ip_var.h> #include "netinet/tcpip.h" #include "ipt.h" extern int resolve __P((char *, char *)); extern int arp __P((char *, char *)); extern u_short chksum __P((u_short *, int)); extern int send_ether __P((int, char *, int, struct in_addr)); extern int send_ip __P((int, int, ip_t *, struct in_addr, int)); extern int send_tcp __P((int, int, ip_t *, struct in_addr)); extern int send_udp __P((int, int, ip_t *, struct in_addr)); extern int send_icmp __P((int, int, ip_t *, struct in_addr)); extern int send_packet __P((int, int, ip_t *, struct in_addr)); extern int send_packets __P((char *, int, ip_t *, struct in_addr)); extern u_short ipseclevel __P((char *)); extern u_32_t buildopts __P((char *, char *, int)); extern int addipopt __P((char *, struct ipopt_names *, int, char *)); extern int initdevice __P((char *, int)); extern int sendip __P((int, char *, int)); extern struct tcpcb *find_tcp __P((int, struct tcpiphdr *)); extern int ip_resend __P((char *, int, struct ipread *, struct in_addr, char *)); extern void ip_test1 __P((char *, int, ip_t *, struct in_addr, int)); extern void ip_test2 __P((char *, int, ip_t *, struct in_addr, int)); extern void ip_test3 __P((char *, int, ip_t *, struct in_addr, int)); extern void ip_test4 __P((char *, int, ip_t *, struct in_addr, int)); extern void ip_test5 __P((char *, int, ip_t *, struct in_addr, int)); extern void ip_test6 __P((char *, int, ip_t *, struct in_addr, int)); extern void ip_test7 __P((char *, int, ip_t *, struct in_addr, int)); extern int do_socket __P((char *, int, struct tcpiphdr *, struct in_addr)); extern int kmemcpy __P((char *, void *, int)); #define KMCPY(a,b,c) kmemcpy((char *)(a), (void *)(b), (int)(c)) #ifndef OPT_RAW #define OPT_RAW 0x80000 #endif
Upload File
Create Folder