mirror of
https://github.com/opnsense/src.git
synced 2026-03-29 22:23:16 -04:00
Summary: Simplify srtt and rto values in siftr log. Test Plan: Tested in Emulab testbed: cc@s1:~ % sudo sysctl net.inet.siftr net.inet.siftr.port_filter: 0 net.inet.siftr.genhashes: 0 net.inet.siftr.ppl: 1 net.inet.siftr.logfile: /var/log/siftr.log net.inet.siftr.enabled: 0 cc@s1:~ % sudo sysctl net.inet.siftr.port_filter=5001 net.inet.siftr.port_filter: 0 -> 5001 cc@s1:~ % sudo sysctl net.inet.siftr.enabled=1 net.inet.siftr.enabled: 0 -> 1 cc@s1:~ % cc@s1:~ % iperf -c r1 -n 1M ------------------------------------------------------------ Client connecting to r1, TCP port 5001 TCP window size: 32.0 KByte (default) ------------------------------------------------------------ [ 1] local 10.1.1.2 port 33817 connected with 10.1.1.3 port 5001 [ ID] Interval Transfer Bandwidth [ 1] 0.00-0.91 sec 1.00 MBytes 9.22 Mbits/sec cc@s1:~ % sudo sysctl net.inet.siftr.enabled=0 net.inet.siftr.enabled: 1 -> 0 cc@s1:~ % ll /var/log/siftr.log -rw-r--r-- 1 root wheel 91K Apr 25 09:38 /var/log/siftr.log cc@s1:~ % cat /var/log/siftr.log enable_time_secs=1682437111 enable_time_usecs=121115 siftrver=1.3.0 sysname=FreeBSD sysver=1400088 ipmode=4 o,0x00000000,1682437125.907343,10.1.1.2,33817,10.1.1.3,5001,1073725440,1073725440,2,0,0,0,0,2,536,0,1,672,1000000,32768,0,65536,0,0,0,0,0 i,0x00000000,1682437126.106759,10.1.1.2,33817,10.1.1.3,5001,1073725440,1073725440,2,0,0,0,0,2,536,0,1,672,1000000,32768,0,65536,0,1,0,0,0 o,0x00000000,1682437126.106767,10.1.1.2,33817,10.1.1.3,5001,1073725440,14480,2,65535,65700,9,9,4,1460,201000,1,16778209,803000,33580,0,65700,0,0,0,0,0 o,0x00000000,1682437126.107141,10.1.1.2,33817,10.1.1.3,5001,1073725440,14480,2,65535,65700,9,9,4,1460,201000,1,16778208,803000,33580,60,65700,0,0,0,0,0 ... i,0x00000000,1682437127.016754,10.1.1.2,33817,10.1.1.3,5001,1073725440,606109,1030,748544,66048,9,9,9,1460,100812,1,1008,303000,475948,0,65700,0,0,0,0,0 o,0x00000000,1682437127.016759,10.1.1.2,33817,10.1.1.3,5001,1073725440,606109,1030,748544,66048,9,9,10,1460,100812,1,1011,303000,475948,0,65700,0,0,0,0,0 disable_time_secs=1682437131 disable_time_usecs=767582 num_inbound_tcp_pkts=371 num_outbound_tcp_pkts=186 total_tcp_pkts=557 num_inbound_skipped_pkts_malloc=0 num_outbound_skipped_pkts_malloc=0 num_inbound_skipped_pkts_tcpcb=0 num_outbound_skipped_pkts_tcpcb=0 num_inbound_skipped_pkts_inpcb=0 num_outbound_skipped_pkts_inpcb=0 total_skipped_tcp_pkts=0 flow_list=10.1.1.2;33817-10.1.1.3;5001, Reviewers: rscheff, tuexen Approved by: rscheff, tuexen Subscribers: imp, melifaro, glebius Differential Revision: https://reviews.freebsd.org/D39803 |
||
|---|---|---|
| .. | ||
| cc | ||
| khelp | ||
| libalias | ||
| netdump | ||
| tcp_stacks | ||
| accf_data.c | ||
| accf_dns.c | ||
| accf_http.c | ||
| dccp.h | ||
| icmp6.h | ||
| icmp_var.h | ||
| if_ether.c | ||
| if_ether.h | ||
| igmp.c | ||
| igmp.h | ||
| igmp_var.h | ||
| in.c | ||
| in.h | ||
| in_cksum.c | ||
| in_debug.c | ||
| in_fib.c | ||
| in_fib.h | ||
| in_fib_algo.c | ||
| in_fib_dxr.c | ||
| in_gif.c | ||
| in_jail.c | ||
| in_kdtrace.c | ||
| in_kdtrace.h | ||
| in_mcast.c | ||
| in_pcb.c | ||
| in_pcb.h | ||
| in_pcb_var.h | ||
| in_prot.c | ||
| in_proto.c | ||
| in_rmx.c | ||
| in_rss.c | ||
| in_rss.h | ||
| in_systm.h | ||
| in_var.h | ||
| ip.h | ||
| ip6.h | ||
| ip_carp.c | ||
| ip_carp.h | ||
| ip_carp_nl.h | ||
| ip_divert.c | ||
| ip_divert.h | ||
| ip_dummynet.h | ||
| ip_ecn.c | ||
| ip_ecn.h | ||
| ip_encap.c | ||
| ip_encap.h | ||
| ip_fastfwd.c | ||
| ip_fw.h | ||
| ip_gre.c | ||
| ip_icmp.c | ||
| ip_icmp.h | ||
| ip_id.c | ||
| ip_input.c | ||
| ip_mroute.c | ||
| ip_mroute.h | ||
| ip_options.c | ||
| ip_options.h | ||
| ip_output.c | ||
| ip_reass.c | ||
| ip_var.h | ||
| pim.h | ||
| pim_var.h | ||
| raw_ip.c | ||
| sctp.h | ||
| sctp_asconf.c | ||
| sctp_asconf.h | ||
| sctp_auth.c | ||
| sctp_auth.h | ||
| sctp_bsd_addr.c | ||
| sctp_bsd_addr.h | ||
| sctp_cc_functions.c | ||
| sctp_constants.h | ||
| sctp_crc32.c | ||
| sctp_crc32.h | ||
| sctp_header.h | ||
| sctp_indata.c | ||
| sctp_indata.h | ||
| sctp_input.c | ||
| sctp_input.h | ||
| sctp_kdtrace.c | ||
| sctp_kdtrace.h | ||
| sctp_lock_bsd.h | ||
| sctp_module.c | ||
| sctp_os.h | ||
| sctp_os_bsd.h | ||
| sctp_output.c | ||
| sctp_output.h | ||
| sctp_pcb.c | ||
| sctp_pcb.h | ||
| sctp_peeloff.c | ||
| sctp_peeloff.h | ||
| sctp_ss_functions.c | ||
| sctp_structs.h | ||
| sctp_syscalls.c | ||
| sctp_sysctl.c | ||
| sctp_sysctl.h | ||
| sctp_timer.c | ||
| sctp_timer.h | ||
| sctp_uio.h | ||
| sctp_usrreq.c | ||
| sctp_var.h | ||
| sctputil.c | ||
| sctputil.h | ||
| siftr.c | ||
| tcp.h | ||
| tcp_accounting.h | ||
| tcp_ecn.c | ||
| tcp_ecn.h | ||
| tcp_fastopen.c | ||
| tcp_fastopen.h | ||
| tcp_fsm.h | ||
| tcp_hostcache.c | ||
| tcp_hpts.c | ||
| tcp_hpts.h | ||
| tcp_input.c | ||
| tcp_log_buf.c | ||
| tcp_log_buf.h | ||
| tcp_lro.c | ||
| tcp_lro.h | ||
| tcp_offload.c | ||
| tcp_offload.h | ||
| tcp_output.c | ||
| tcp_pcap.c | ||
| tcp_pcap.h | ||
| tcp_ratelimit.c | ||
| tcp_ratelimit.h | ||
| tcp_reass.c | ||
| tcp_sack.c | ||
| tcp_seq.h | ||
| tcp_stats.c | ||
| tcp_subr.c | ||
| tcp_syncache.c | ||
| tcp_syncache.h | ||
| tcp_timer.c | ||
| tcp_timer.h | ||
| tcp_timewait.c | ||
| tcp_usrreq.c | ||
| tcp_var.h | ||
| tcpip.h | ||
| toecore.c | ||
| toecore.h | ||
| udp.h | ||
| udp_usrreq.c | ||
| udp_var.h | ||
| udplite.h | ||