/freebsd/share/examples/ipfilter/ |
H A D | rules.txt | 2 # block all incoming TCP packets on le0 from host "foo" to any destination. 9 # block all outgoing TCP packets on le0 from any host to port 23 of host bar. 16 # block all inbound packets. 20 # pass through packets to and from localhost. 37 # block all outbound packets. 41 # allow any packets destined for localhost out. 59 # block all ICMP packets. 68 # allow packets coming from foo to bar through. 72 # allow any TCP packets from the same subnet as foo is on through to host 77 # allow in UDP packets which are NOT from port 53 and are destined for [all …]
|
H A D | examples.txt | 18 [Image] Logging packets to network devices 20 Authenticating packets 21 Pre-authenticating packets 31 # setup default to block all packets. 34 # pass packets from host firewall to any destination 46 # drop all inbound packets from localhost coming from ethernet 81 # block all incoming ICMP packets 87 # allow all IP packets in which are protocol 4 94 # prevent any packets destined for NFS from coming in 108 To filter out these nasties, it is possible to select fragmented packets out [all …]
|
/freebsd/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/funcs/ |
H A D | tst.system.d.out | 5 1 packets transmitted, 1 packets received, 0.0% packet loss 10 1 packets transmitted, 1 packets received, 0.0% packet loss 15 1 packets transmitted, 1 packets received, 0.0% packet loss
|
/freebsd/tests/sys/netinet6/frag6/ |
H A D | frag6_05.sh | 97 <dropped-short-packets>0</dropped-short-packets> 105 <reassembled-packets>0</reassembled-packets> 106 <forwarded-packets>0</forwarded-packets> 107 <packets-not-forwardable>0</packets-not-forwardable> 109 <send-packets-fabricated-header>0</send-packets-fabricated-header> 172 <discard-packets>0</discard-packets> 177 <reassembled-packets>0</reassembled-packets> 290 <dropped-short-packets>0</dropped-short-packets> 298 <reassembled-packets>0</reassembled-packets> 299 <forwarded-packets>0</forwarded-packets> [all …]
|
H A D | frag6_01.sh | 92 <dropped-short-packets>0</dropped-short-packets> 100 <reassembled-packets>0</reassembled-packets> 101 <forwarded-packets>0</forwarded-packets> 102 <packets-not-forwardable>0</packets-not-forwardable> 104 <send-packets-fabricated-header>0</send-packets-fabricated-header> 167 <discard-packets>0</discard-packets> 172 <reassembled-packets>0</reassembled-packets>
|
H A D | frag6_03.sh | 93 <dropped-short-packets>0</dropped-short-packets> 101 <reassembled-packets>0</reassembled-packets> 102 <forwarded-packets>0</forwarded-packets> 103 <packets-not-forwardable>0</packets-not-forwardable> 105 <send-packets-fabricated-header>0</send-packets-fabricated-header> 168 <discard-packets>0</discard-packets> 173 <reassembled-packets>2</reassembled-packets>
|
H A D | frag6_07.sh | 89 <dropped-short-packets>0</dropped-short-packets> 97 <reassembled-packets>0</reassembled-packets> 98 <forwarded-packets>0</forwarded-packets> 99 <packets-not-forwardable>0</packets-not-forwardable> 101 <send-packets-fabricated-header>0</send-packets-fabricated-header> 164 <discard-packets>0</discard-packets> 169 <reassembled-packets>0</reassembled-packets>
|
H A D | frag6_08.sh | 89 <dropped-short-packets>0</dropped-short-packets> 97 <reassembled-packets>0</reassembled-packets> 98 <forwarded-packets>0</forwarded-packets> 99 <packets-not-forwardable>0</packets-not-forwardable> 101 <send-packets-fabricated-header>0</send-packets-fabricated-header> 164 <discard-packets>0</discard-packets> 169 <reassembled-packets>0</reassembled-packets>
|
H A D | frag6_09.sh | 92 <dropped-short-packets>0</dropped-short-packets> 100 <reassembled-packets>0</reassembled-packets> 101 <forwarded-packets>0</forwarded-packets> 102 <packets-not-forwardable>0</packets-not-forwardable> 104 <send-packets-fabricated-header>0</send-packets-fabricated-header> 166 <discard-packets>0</discard-packets> 171 <reassembled-packets>0</reassembled-packets>
|
H A D | frag6_19.sh | 77 <dropped-short-packets>0</dropped-short-packets> 85 <reassembled-packets>0</reassembled-packets> 86 <forwarded-packets>0</forwarded-packets> 87 <packets-not-forwardable>0</packets-not-forwardable> 89 <send-packets-fabricated-header>0</send-packets-fabricated-header> 153 <discard-packets>0</discard-packets> 158 <reassembled-packets>0</reassembled-packets>
|
H A D | frag6_20.sh | 88 <dropped-short-packets>0</dropped-short-packets> 96 <reassembled-packets>0</reassembled-packets> 97 <forwarded-packets>0</forwarded-packets> 98 <packets-not-forwardable>0</packets-not-forwardable> 100 <send-packets-fabricated-header>0</send-packets-fabricated-header> 163 <discard-packets>0</discard-packets> 168 <reassembled-packets>0</reassembled-packets>
|
H A D | frag6_02.sh | 93 <dropped-short-packets>0</dropped-short-packets> 101 <reassembled-packets>0</reassembled-packets> 102 <forwarded-packets>0</forwarded-packets> 103 <packets-not-forwardable>0</packets-not-forwardable> 105 <send-packets-fabricated-header>0</send-packets-fabricated-header> 167 <discard-packets>0</discard-packets> 172 <reassembled-packets>0</reassembled-packets>
|
H A D | frag6_04.sh | 93 <dropped-short-packets>0</dropped-short-packets> 101 <reassembled-packets>0</reassembled-packets> 102 <forwarded-packets>0</forwarded-packets> 103 <packets-not-forwardable>0</packets-not-forwardable> 105 <send-packets-fabricated-header>0</send-packets-fabricated-header> 168 <discard-packets>0</discard-packets> 173 <reassembled-packets>0</reassembled-packets>
|
H A D | frag6_10.sh | 94 <dropped-short-packets>0</dropped-short-packets> 102 <reassembled-packets>0</reassembled-packets> 103 <forwarded-packets>0</forwarded-packets> 104 <packets-not-forwardable>0</packets-not-forwardable> 106 <send-packets-fabricated-header>0</send-packets-fabricated-header> 168 <discard-packets>0</discard-packets> 173 <reassembled-packets>0</reassembled-packets>
|
H A D | frag6_11.sh | 93 <dropped-short-packets>0</dropped-short-packets> 101 <reassembled-packets>0</reassembled-packets> 102 <forwarded-packets>0</forwarded-packets> 103 <packets-not-forwardable>0</packets-not-forwardable> 105 <send-packets-fabricated-header>0</send-packets-fabricated-header> 167 <discard-packets>0</discard-packets> 172 <reassembled-packets>0</reassembled-packets>
|
H A D | frag6_12.sh | 92 <dropped-short-packets>0</dropped-short-packets> 100 <reassembled-packets>0</reassembled-packets> 101 <forwarded-packets>0</forwarded-packets> 102 <packets-not-forwardable>0</packets-not-forwardable> 104 <send-packets-fabricated-header>0</send-packets-fabricated-header> 166 <discard-packets>0</discard-packets> 171 <reassembled-packets>0</reassembled-packets>
|
H A D | frag6_13.sh | 92 <dropped-short-packets>0</dropped-short-packets> 100 <reassembled-packets>0</reassembled-packets> 101 <forwarded-packets>0</forwarded-packets> 102 <packets-not-forwardable>0</packets-not-forwardable> 104 <send-packets-fabricated-header>0</send-packets-fabricated-header> 166 <discard-packets>0</discard-packets> 171 <reassembled-packets>0</reassembled-packets>
|
H A D | frag6_14.sh | 92 <dropped-short-packets>0</dropped-short-packets> 100 <reassembled-packets>0</reassembled-packets> 101 <forwarded-packets>0</forwarded-packets> 102 <packets-not-forwardable>0</packets-not-forwardable> 104 <send-packets-fabricated-header>0</send-packets-fabricated-header> 166 <discard-packets>0</discard-packets> 171 <reassembled-packets>0</reassembled-packets>
|
H A D | frag6_16.sh | 89 <dropped-short-packets>0</dropped-short-packets> 97 <reassembled-packets>1</reassembled-packets> 98 <forwarded-packets>0</forwarded-packets> 99 <packets-not-forwardable>0</packets-not-forwardable> 101 <send-packets-fabricated-header>0</send-packets-fabricated-header> 165 <discard-packets>0</discard-packets> 170 <reassembled-packets>1</reassembled-packets>
|
H A D | frag6_15.sh | 111 <dropped-short-packets>0</dropped-short-packets> 119 <reassembled-packets>0</reassembled-packets> 120 <forwarded-packets>0</forwarded-packets> 121 <packets-not-forwardable>0</packets-not-forwardable> 123 <send-packets-fabricated-header>0</send-packets-fabricated-header> 187 <discard-packets>0</discard-packets> 192 <reassembled-packets>0</reassembled-packets>
|
H A D | frag6_06.sh | 111 <dropped-short-packets>0</dropped-short-packets> 119 <reassembled-packets>0</reassembled-packets> 120 <forwarded-packets>0</forwarded-packets> 121 <packets-not-forwardable>0</packets-not-forwardable> 123 <send-packets-fabricated-header>0</send-packets-fabricated-header> 186 <discard-packets>0</discard-packets> 191 <reassembled-packets>0</reassembled-packets>
|
/freebsd/tests/sys/common/ |
H A D | sender.py | 100 packets = sc.sniff(iface=args.iface, started_callback=send_cb, 102 assert len(packets) > 0 103 fwd_pkt = packets[-1] 111 for a_packet in packets: 136 packets = sc.sniff(iface=args.iface, started_callback=send_cb, 138 assert len(packets) > 0 139 check_forwarded_ip_packet(pkt, packets[-1]) 179 packets = sc.sniff(iface=args.iface, started_callback=send_cb, 181 assert len(packets) > 0 182 fwd_pkt = packets[-1] [all …]
|
/freebsd/tools/tools/mctest/ |
H A D | mctest.cc | 156 timeval packets[number]; in sink() local 191 gettimeofday(&packets[ntohl(*(int *)packet)], 0); in sink() 200 cout << "sec: " << packets[i].tv_sec << " usec: " << in sink() 201 packets[i].tv_usec << endl; in sink() 203 timersub(&packets[i+1], &packets[i], &result); in sink() 222 struct timeval *packets; ///< The timestamps of returning packets member 272 gettimeofday(&args->packets[ntohl(*(int *)packet)], 0); in server() 355 char *packets[number]; in source() local 357 packets[i] = new char[pkt_size]; in source() 358 *(int *)packets[i] = htonl(i); in source() [all …]
|
/freebsd/tests/sys/netpfil/common/ |
H A D | sniffer.py | 58 self.packets = [] 63 self.packets = sp.sniff(session=sp.IPSession, iface=self._recvif, 65 for p in self.packets: 68 self.packets = sp.sniff(session=sp.DefaultSession, iface=self._recvif, 70 for p in sp.defragment6(self.packets): 73 self.packets = sp.sniff(iface=self._recvif,
|
/freebsd/sbin/pfctl/ |
H A D | pfctl_qstats.c | 342 (unsigned long long)cur.data.cbq_stats.xmit_cnt.packets, 344 (unsigned long long)cur.data.cbq_stats.drop_cnt.packets, 363 (unsigned long long)cur.data.codel_stats.cl_xmitcnt.packets, 365 (unsigned long long)cur.data.codel_stats.cl_dropcnt.packets + 366 cur.data.codel_stats.stats.drop_cnt.packets, 385 (unsigned long long)cur.data.priq_stats.xmitcnt.packets, 387 (unsigned long long)cur.data.priq_stats.dropcnt.packets, 405 (unsigned long long)cur.data.hfsc_stats.xmit_cnt.packets, 407 (unsigned long long)cur.data.hfsc_stats.drop_cnt.packets, 425 (unsigned long long)cur.data.fairq_stats.xmit_cnt.packets, [all …]
|