├── .gitignore ├── LICENSE ├── Makefile ├── PKGBUILD ├── README.md ├── bin └── tcpsnitch ├── configure ├── constants.c ├── constants.h ├── constants ├── _sol_ip_options.h ├── errnos.h ├── fcntl_cmds.h ├── ioctl_requests.h ├── socket_domains.h ├── socket_types.h ├── sockopt_levels.h ├── sol_ip_options.h ├── sol_ipv6_options.h ├── sol_packet_options.h ├── sol_raw_options.h ├── sol_socket_options.h ├── sol_tcp_options.h └── sol_udp_options.h ├── init.c ├── init.h ├── json_builder.c ├── json_builder.h ├── lib.c ├── lib.h ├── libc_overrides.c ├── logger.c ├── logger.h ├── packet_sniffer.c ├── packet_sniffer.h ├── resizable_array.c ├── resizable_array.h ├── sock_events.c ├── sock_events.h ├── string_builders.c ├── string_builders.h ├── tests ├── .gitignore ├── Gemfile ├── README.md ├── Rakefile ├── c_programs │ ├── bind.c │ ├── bind_dgram.c │ ├── bind_fail.c │ ├── close.c │ ├── close_dgram.c │ ├── close_fail.c │ ├── concurrent_connections.c │ ├── connect.c │ ├── connect_dgram.c │ ├── connect_fail.c │ ├── consecutive_connections.c │ ├── dup.c │ ├── dup2.c │ ├── dup2_dgram.c │ ├── dup2_fail.c │ ├── dup3.c │ ├── dup3_dgram.c │ ├── dup3_fail.c │ ├── dup_dgram.c │ ├── dup_fail.c │ ├── epoll_ctl.c │ ├── epoll_ctl_dgram.c │ ├── epoll_ctl_fail.c │ ├── epoll_pwait.c │ ├── epoll_pwait_dgram.c │ ├── epoll_pwait_fail.c │ ├── epoll_wait.c │ ├── epoll_wait_dgram.c │ ├── epoll_wait_fail.c │ ├── fcntl.c │ ├── fcntl_dgram.c │ ├── fcntl_fail.c │ ├── fdopen.c │ ├── fdopen_dgram.c │ ├── fdopen_fail.c │ ├── fork.c │ ├── getpeername.c │ ├── getpeername_dgram.c │ ├── getpeername_fail.c │ ├── getsockname.c │ ├── getsockname_dgram.c │ ├── getsockname_fail.c │ ├── getsockopt.c │ ├── getsockopt_dgram.c │ ├── getsockopt_fail.c │ ├── ioctl.c │ ├── ioctl_dgram.c │ ├── ioctl_fail.c │ ├── isfdtype.c │ ├── isfdtype_dgram.c │ ├── isfdtype_fail.c │ ├── listen.c │ ├── listen_fail.c │ ├── poll.c │ ├── poll_dgram.c │ ├── ppoll.c │ ├── ppoll_dgram.c │ ├── pselect.c │ ├── pselect_dgram.c │ ├── pselect_fail.c │ ├── read.c │ ├── read_dgram.c │ ├── read_fail.c │ ├── readv.c │ ├── readv_dgram.c │ ├── readv_fail.c │ ├── recv.c │ ├── recv_dgram.c │ ├── recv_fail.c │ ├── recvfrom.c │ ├── recvfrom_dgram.c │ ├── recvfrom_fail.c │ ├── recvmmsg.c │ ├── recvmmsg_dgram.c │ ├── recvmmsg_fail.c │ ├── recvmsg.c │ ├── recvmsg_dgram.c │ ├── recvmsg_fail.c │ ├── select.c │ ├── select_dgram.c │ ├── select_fail.c │ ├── send.c │ ├── send_dgram.c │ ├── send_fail.c │ ├── sendfile.c │ ├── sendfile_dgram.c │ ├── sendfile_fail.c │ ├── sendmmsg.c │ ├── sendmmsg_dgram.c │ ├── sendmmsg_fail.c │ ├── sendmsg.c │ ├── sendmsg_dgram.c │ ├── sendmsg_fail.c │ ├── sendto.c │ ├── sendto_dgram.c │ ├── sendto_fail.c │ ├── setsockopt.c │ ├── setsockopt_dgram.c │ ├── setsockopt_fail.c │ ├── shutdown.c │ ├── shutdown_dgram.c │ ├── shutdown_fail.c │ ├── sockatmark.c │ ├── socket.c │ ├── socket_dgram.c │ ├── socket_fail.c │ ├── write.c │ ├── write_dgram.c │ ├── write_fail.c │ ├── writev.c │ ├── writev_dgram.c │ └── writev_fail.c ├── lib │ ├── constants.rb │ ├── cprog.rb │ ├── lib.rb │ ├── webserver.rb │ └── write_cprogs.rb ├── test_compatibility.rb ├── test_libc_overrides.rb ├── test_packet_sniffer.rb ├── test_sock_events.rb └── test_tcpsnitch.rb ├── verbose_mode.c └── verbose_mode.h /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GregoryVds/tcpsnitch/HEAD/.gitignore -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GregoryVds/tcpsnitch/HEAD/LICENSE -------------------------------------------------------------------------------- /Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GregoryVds/tcpsnitch/HEAD/Makefile -------------------------------------------------------------------------------- /PKGBUILD: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GregoryVds/tcpsnitch/HEAD/PKGBUILD -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GregoryVds/tcpsnitch/HEAD/README.md -------------------------------------------------------------------------------- /bin/tcpsnitch: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GregoryVds/tcpsnitch/HEAD/bin/tcpsnitch -------------------------------------------------------------------------------- /configure: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GregoryVds/tcpsnitch/HEAD/configure -------------------------------------------------------------------------------- /constants.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GregoryVds/tcpsnitch/HEAD/constants.c -------------------------------------------------------------------------------- /constants.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GregoryVds/tcpsnitch/HEAD/constants.h -------------------------------------------------------------------------------- /constants/_sol_ip_options.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GregoryVds/tcpsnitch/HEAD/constants/_sol_ip_options.h -------------------------------------------------------------------------------- /constants/errnos.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GregoryVds/tcpsnitch/HEAD/constants/errnos.h -------------------------------------------------------------------------------- /constants/fcntl_cmds.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GregoryVds/tcpsnitch/HEAD/constants/fcntl_cmds.h -------------------------------------------------------------------------------- /constants/ioctl_requests.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GregoryVds/tcpsnitch/HEAD/constants/ioctl_requests.h -------------------------------------------------------------------------------- /constants/socket_domains.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GregoryVds/tcpsnitch/HEAD/constants/socket_domains.h -------------------------------------------------------------------------------- /constants/socket_types.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GregoryVds/tcpsnitch/HEAD/constants/socket_types.h -------------------------------------------------------------------------------- /constants/sockopt_levels.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GregoryVds/tcpsnitch/HEAD/constants/sockopt_levels.h -------------------------------------------------------------------------------- /constants/sol_ip_options.h: -------------------------------------------------------------------------------- 1 | static const IntStrPair SOL_IP_OPTIONS[] = { 2 | #include "_sol_ip_options.h" 3 | }; 4 | -------------------------------------------------------------------------------- /constants/sol_ipv6_options.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GregoryVds/tcpsnitch/HEAD/constants/sol_ipv6_options.h -------------------------------------------------------------------------------- /constants/sol_packet_options.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GregoryVds/tcpsnitch/HEAD/constants/sol_packet_options.h -------------------------------------------------------------------------------- /constants/sol_raw_options.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GregoryVds/tcpsnitch/HEAD/constants/sol_raw_options.h -------------------------------------------------------------------------------- /constants/sol_socket_options.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GregoryVds/tcpsnitch/HEAD/constants/sol_socket_options.h -------------------------------------------------------------------------------- /constants/sol_tcp_options.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GregoryVds/tcpsnitch/HEAD/constants/sol_tcp_options.h -------------------------------------------------------------------------------- /constants/sol_udp_options.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GregoryVds/tcpsnitch/HEAD/constants/sol_udp_options.h -------------------------------------------------------------------------------- /init.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GregoryVds/tcpsnitch/HEAD/init.c -------------------------------------------------------------------------------- /init.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GregoryVds/tcpsnitch/HEAD/init.h -------------------------------------------------------------------------------- /json_builder.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GregoryVds/tcpsnitch/HEAD/json_builder.c -------------------------------------------------------------------------------- /json_builder.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GregoryVds/tcpsnitch/HEAD/json_builder.h -------------------------------------------------------------------------------- /lib.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GregoryVds/tcpsnitch/HEAD/lib.c -------------------------------------------------------------------------------- /lib.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GregoryVds/tcpsnitch/HEAD/lib.h -------------------------------------------------------------------------------- /libc_overrides.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GregoryVds/tcpsnitch/HEAD/libc_overrides.c -------------------------------------------------------------------------------- /logger.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GregoryVds/tcpsnitch/HEAD/logger.c -------------------------------------------------------------------------------- /logger.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GregoryVds/tcpsnitch/HEAD/logger.h -------------------------------------------------------------------------------- /packet_sniffer.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GregoryVds/tcpsnitch/HEAD/packet_sniffer.c -------------------------------------------------------------------------------- /packet_sniffer.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GregoryVds/tcpsnitch/HEAD/packet_sniffer.h -------------------------------------------------------------------------------- /resizable_array.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GregoryVds/tcpsnitch/HEAD/resizable_array.c -------------------------------------------------------------------------------- /resizable_array.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GregoryVds/tcpsnitch/HEAD/resizable_array.h -------------------------------------------------------------------------------- /sock_events.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GregoryVds/tcpsnitch/HEAD/sock_events.c -------------------------------------------------------------------------------- /sock_events.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GregoryVds/tcpsnitch/HEAD/sock_events.h -------------------------------------------------------------------------------- /string_builders.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GregoryVds/tcpsnitch/HEAD/string_builders.c -------------------------------------------------------------------------------- /string_builders.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GregoryVds/tcpsnitch/HEAD/string_builders.h -------------------------------------------------------------------------------- /tests/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GregoryVds/tcpsnitch/HEAD/tests/.gitignore -------------------------------------------------------------------------------- /tests/Gemfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GregoryVds/tcpsnitch/HEAD/tests/Gemfile -------------------------------------------------------------------------------- /tests/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GregoryVds/tcpsnitch/HEAD/tests/README.md -------------------------------------------------------------------------------- /tests/Rakefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GregoryVds/tcpsnitch/HEAD/tests/Rakefile -------------------------------------------------------------------------------- /tests/c_programs/bind.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GregoryVds/tcpsnitch/HEAD/tests/c_programs/bind.c -------------------------------------------------------------------------------- /tests/c_programs/bind_dgram.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GregoryVds/tcpsnitch/HEAD/tests/c_programs/bind_dgram.c -------------------------------------------------------------------------------- /tests/c_programs/bind_fail.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GregoryVds/tcpsnitch/HEAD/tests/c_programs/bind_fail.c -------------------------------------------------------------------------------- /tests/c_programs/close.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GregoryVds/tcpsnitch/HEAD/tests/c_programs/close.c -------------------------------------------------------------------------------- /tests/c_programs/close_dgram.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GregoryVds/tcpsnitch/HEAD/tests/c_programs/close_dgram.c -------------------------------------------------------------------------------- /tests/c_programs/close_fail.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GregoryVds/tcpsnitch/HEAD/tests/c_programs/close_fail.c -------------------------------------------------------------------------------- /tests/c_programs/concurrent_connections.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GregoryVds/tcpsnitch/HEAD/tests/c_programs/concurrent_connections.c -------------------------------------------------------------------------------- /tests/c_programs/connect.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GregoryVds/tcpsnitch/HEAD/tests/c_programs/connect.c -------------------------------------------------------------------------------- /tests/c_programs/connect_dgram.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GregoryVds/tcpsnitch/HEAD/tests/c_programs/connect_dgram.c -------------------------------------------------------------------------------- /tests/c_programs/connect_fail.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GregoryVds/tcpsnitch/HEAD/tests/c_programs/connect_fail.c -------------------------------------------------------------------------------- /tests/c_programs/consecutive_connections.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GregoryVds/tcpsnitch/HEAD/tests/c_programs/consecutive_connections.c -------------------------------------------------------------------------------- /tests/c_programs/dup.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GregoryVds/tcpsnitch/HEAD/tests/c_programs/dup.c -------------------------------------------------------------------------------- /tests/c_programs/dup2.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GregoryVds/tcpsnitch/HEAD/tests/c_programs/dup2.c -------------------------------------------------------------------------------- /tests/c_programs/dup2_dgram.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GregoryVds/tcpsnitch/HEAD/tests/c_programs/dup2_dgram.c -------------------------------------------------------------------------------- /tests/c_programs/dup2_fail.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GregoryVds/tcpsnitch/HEAD/tests/c_programs/dup2_fail.c -------------------------------------------------------------------------------- /tests/c_programs/dup3.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GregoryVds/tcpsnitch/HEAD/tests/c_programs/dup3.c -------------------------------------------------------------------------------- /tests/c_programs/dup3_dgram.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GregoryVds/tcpsnitch/HEAD/tests/c_programs/dup3_dgram.c -------------------------------------------------------------------------------- /tests/c_programs/dup3_fail.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GregoryVds/tcpsnitch/HEAD/tests/c_programs/dup3_fail.c -------------------------------------------------------------------------------- /tests/c_programs/dup_dgram.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GregoryVds/tcpsnitch/HEAD/tests/c_programs/dup_dgram.c -------------------------------------------------------------------------------- /tests/c_programs/dup_fail.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GregoryVds/tcpsnitch/HEAD/tests/c_programs/dup_fail.c -------------------------------------------------------------------------------- /tests/c_programs/epoll_ctl.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GregoryVds/tcpsnitch/HEAD/tests/c_programs/epoll_ctl.c -------------------------------------------------------------------------------- /tests/c_programs/epoll_ctl_dgram.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GregoryVds/tcpsnitch/HEAD/tests/c_programs/epoll_ctl_dgram.c -------------------------------------------------------------------------------- /tests/c_programs/epoll_ctl_fail.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GregoryVds/tcpsnitch/HEAD/tests/c_programs/epoll_ctl_fail.c -------------------------------------------------------------------------------- /tests/c_programs/epoll_pwait.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GregoryVds/tcpsnitch/HEAD/tests/c_programs/epoll_pwait.c -------------------------------------------------------------------------------- /tests/c_programs/epoll_pwait_dgram.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GregoryVds/tcpsnitch/HEAD/tests/c_programs/epoll_pwait_dgram.c -------------------------------------------------------------------------------- /tests/c_programs/epoll_pwait_fail.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GregoryVds/tcpsnitch/HEAD/tests/c_programs/epoll_pwait_fail.c -------------------------------------------------------------------------------- /tests/c_programs/epoll_wait.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GregoryVds/tcpsnitch/HEAD/tests/c_programs/epoll_wait.c -------------------------------------------------------------------------------- /tests/c_programs/epoll_wait_dgram.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GregoryVds/tcpsnitch/HEAD/tests/c_programs/epoll_wait_dgram.c -------------------------------------------------------------------------------- /tests/c_programs/epoll_wait_fail.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GregoryVds/tcpsnitch/HEAD/tests/c_programs/epoll_wait_fail.c -------------------------------------------------------------------------------- /tests/c_programs/fcntl.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GregoryVds/tcpsnitch/HEAD/tests/c_programs/fcntl.c -------------------------------------------------------------------------------- /tests/c_programs/fcntl_dgram.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GregoryVds/tcpsnitch/HEAD/tests/c_programs/fcntl_dgram.c -------------------------------------------------------------------------------- /tests/c_programs/fcntl_fail.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GregoryVds/tcpsnitch/HEAD/tests/c_programs/fcntl_fail.c -------------------------------------------------------------------------------- /tests/c_programs/fdopen.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GregoryVds/tcpsnitch/HEAD/tests/c_programs/fdopen.c -------------------------------------------------------------------------------- /tests/c_programs/fdopen_dgram.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GregoryVds/tcpsnitch/HEAD/tests/c_programs/fdopen_dgram.c -------------------------------------------------------------------------------- /tests/c_programs/fdopen_fail.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GregoryVds/tcpsnitch/HEAD/tests/c_programs/fdopen_fail.c -------------------------------------------------------------------------------- /tests/c_programs/fork.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GregoryVds/tcpsnitch/HEAD/tests/c_programs/fork.c -------------------------------------------------------------------------------- /tests/c_programs/getpeername.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GregoryVds/tcpsnitch/HEAD/tests/c_programs/getpeername.c -------------------------------------------------------------------------------- /tests/c_programs/getpeername_dgram.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GregoryVds/tcpsnitch/HEAD/tests/c_programs/getpeername_dgram.c -------------------------------------------------------------------------------- /tests/c_programs/getpeername_fail.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GregoryVds/tcpsnitch/HEAD/tests/c_programs/getpeername_fail.c -------------------------------------------------------------------------------- /tests/c_programs/getsockname.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GregoryVds/tcpsnitch/HEAD/tests/c_programs/getsockname.c -------------------------------------------------------------------------------- /tests/c_programs/getsockname_dgram.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GregoryVds/tcpsnitch/HEAD/tests/c_programs/getsockname_dgram.c -------------------------------------------------------------------------------- /tests/c_programs/getsockname_fail.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GregoryVds/tcpsnitch/HEAD/tests/c_programs/getsockname_fail.c -------------------------------------------------------------------------------- /tests/c_programs/getsockopt.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GregoryVds/tcpsnitch/HEAD/tests/c_programs/getsockopt.c -------------------------------------------------------------------------------- /tests/c_programs/getsockopt_dgram.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GregoryVds/tcpsnitch/HEAD/tests/c_programs/getsockopt_dgram.c -------------------------------------------------------------------------------- /tests/c_programs/getsockopt_fail.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GregoryVds/tcpsnitch/HEAD/tests/c_programs/getsockopt_fail.c -------------------------------------------------------------------------------- /tests/c_programs/ioctl.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GregoryVds/tcpsnitch/HEAD/tests/c_programs/ioctl.c -------------------------------------------------------------------------------- /tests/c_programs/ioctl_dgram.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GregoryVds/tcpsnitch/HEAD/tests/c_programs/ioctl_dgram.c -------------------------------------------------------------------------------- /tests/c_programs/ioctl_fail.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GregoryVds/tcpsnitch/HEAD/tests/c_programs/ioctl_fail.c -------------------------------------------------------------------------------- /tests/c_programs/isfdtype.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GregoryVds/tcpsnitch/HEAD/tests/c_programs/isfdtype.c -------------------------------------------------------------------------------- /tests/c_programs/isfdtype_dgram.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GregoryVds/tcpsnitch/HEAD/tests/c_programs/isfdtype_dgram.c -------------------------------------------------------------------------------- /tests/c_programs/isfdtype_fail.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GregoryVds/tcpsnitch/HEAD/tests/c_programs/isfdtype_fail.c -------------------------------------------------------------------------------- /tests/c_programs/listen.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GregoryVds/tcpsnitch/HEAD/tests/c_programs/listen.c -------------------------------------------------------------------------------- /tests/c_programs/listen_fail.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GregoryVds/tcpsnitch/HEAD/tests/c_programs/listen_fail.c -------------------------------------------------------------------------------- /tests/c_programs/poll.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GregoryVds/tcpsnitch/HEAD/tests/c_programs/poll.c -------------------------------------------------------------------------------- /tests/c_programs/poll_dgram.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GregoryVds/tcpsnitch/HEAD/tests/c_programs/poll_dgram.c -------------------------------------------------------------------------------- /tests/c_programs/ppoll.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GregoryVds/tcpsnitch/HEAD/tests/c_programs/ppoll.c -------------------------------------------------------------------------------- /tests/c_programs/ppoll_dgram.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GregoryVds/tcpsnitch/HEAD/tests/c_programs/ppoll_dgram.c -------------------------------------------------------------------------------- /tests/c_programs/pselect.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GregoryVds/tcpsnitch/HEAD/tests/c_programs/pselect.c -------------------------------------------------------------------------------- /tests/c_programs/pselect_dgram.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GregoryVds/tcpsnitch/HEAD/tests/c_programs/pselect_dgram.c -------------------------------------------------------------------------------- /tests/c_programs/pselect_fail.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GregoryVds/tcpsnitch/HEAD/tests/c_programs/pselect_fail.c -------------------------------------------------------------------------------- /tests/c_programs/read.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GregoryVds/tcpsnitch/HEAD/tests/c_programs/read.c -------------------------------------------------------------------------------- /tests/c_programs/read_dgram.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GregoryVds/tcpsnitch/HEAD/tests/c_programs/read_dgram.c -------------------------------------------------------------------------------- /tests/c_programs/read_fail.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GregoryVds/tcpsnitch/HEAD/tests/c_programs/read_fail.c -------------------------------------------------------------------------------- /tests/c_programs/readv.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GregoryVds/tcpsnitch/HEAD/tests/c_programs/readv.c -------------------------------------------------------------------------------- /tests/c_programs/readv_dgram.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GregoryVds/tcpsnitch/HEAD/tests/c_programs/readv_dgram.c -------------------------------------------------------------------------------- /tests/c_programs/readv_fail.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GregoryVds/tcpsnitch/HEAD/tests/c_programs/readv_fail.c -------------------------------------------------------------------------------- /tests/c_programs/recv.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GregoryVds/tcpsnitch/HEAD/tests/c_programs/recv.c -------------------------------------------------------------------------------- /tests/c_programs/recv_dgram.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GregoryVds/tcpsnitch/HEAD/tests/c_programs/recv_dgram.c -------------------------------------------------------------------------------- /tests/c_programs/recv_fail.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GregoryVds/tcpsnitch/HEAD/tests/c_programs/recv_fail.c -------------------------------------------------------------------------------- /tests/c_programs/recvfrom.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GregoryVds/tcpsnitch/HEAD/tests/c_programs/recvfrom.c -------------------------------------------------------------------------------- /tests/c_programs/recvfrom_dgram.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GregoryVds/tcpsnitch/HEAD/tests/c_programs/recvfrom_dgram.c -------------------------------------------------------------------------------- /tests/c_programs/recvfrom_fail.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GregoryVds/tcpsnitch/HEAD/tests/c_programs/recvfrom_fail.c -------------------------------------------------------------------------------- /tests/c_programs/recvmmsg.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GregoryVds/tcpsnitch/HEAD/tests/c_programs/recvmmsg.c -------------------------------------------------------------------------------- /tests/c_programs/recvmmsg_dgram.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GregoryVds/tcpsnitch/HEAD/tests/c_programs/recvmmsg_dgram.c -------------------------------------------------------------------------------- /tests/c_programs/recvmmsg_fail.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GregoryVds/tcpsnitch/HEAD/tests/c_programs/recvmmsg_fail.c -------------------------------------------------------------------------------- /tests/c_programs/recvmsg.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GregoryVds/tcpsnitch/HEAD/tests/c_programs/recvmsg.c -------------------------------------------------------------------------------- /tests/c_programs/recvmsg_dgram.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GregoryVds/tcpsnitch/HEAD/tests/c_programs/recvmsg_dgram.c -------------------------------------------------------------------------------- /tests/c_programs/recvmsg_fail.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GregoryVds/tcpsnitch/HEAD/tests/c_programs/recvmsg_fail.c -------------------------------------------------------------------------------- /tests/c_programs/select.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GregoryVds/tcpsnitch/HEAD/tests/c_programs/select.c -------------------------------------------------------------------------------- /tests/c_programs/select_dgram.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GregoryVds/tcpsnitch/HEAD/tests/c_programs/select_dgram.c -------------------------------------------------------------------------------- /tests/c_programs/select_fail.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GregoryVds/tcpsnitch/HEAD/tests/c_programs/select_fail.c -------------------------------------------------------------------------------- /tests/c_programs/send.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GregoryVds/tcpsnitch/HEAD/tests/c_programs/send.c -------------------------------------------------------------------------------- /tests/c_programs/send_dgram.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GregoryVds/tcpsnitch/HEAD/tests/c_programs/send_dgram.c -------------------------------------------------------------------------------- /tests/c_programs/send_fail.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GregoryVds/tcpsnitch/HEAD/tests/c_programs/send_fail.c -------------------------------------------------------------------------------- /tests/c_programs/sendfile.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GregoryVds/tcpsnitch/HEAD/tests/c_programs/sendfile.c -------------------------------------------------------------------------------- /tests/c_programs/sendfile_dgram.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GregoryVds/tcpsnitch/HEAD/tests/c_programs/sendfile_dgram.c -------------------------------------------------------------------------------- /tests/c_programs/sendfile_fail.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GregoryVds/tcpsnitch/HEAD/tests/c_programs/sendfile_fail.c -------------------------------------------------------------------------------- /tests/c_programs/sendmmsg.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GregoryVds/tcpsnitch/HEAD/tests/c_programs/sendmmsg.c -------------------------------------------------------------------------------- /tests/c_programs/sendmmsg_dgram.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GregoryVds/tcpsnitch/HEAD/tests/c_programs/sendmmsg_dgram.c -------------------------------------------------------------------------------- /tests/c_programs/sendmmsg_fail.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GregoryVds/tcpsnitch/HEAD/tests/c_programs/sendmmsg_fail.c -------------------------------------------------------------------------------- /tests/c_programs/sendmsg.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GregoryVds/tcpsnitch/HEAD/tests/c_programs/sendmsg.c -------------------------------------------------------------------------------- /tests/c_programs/sendmsg_dgram.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GregoryVds/tcpsnitch/HEAD/tests/c_programs/sendmsg_dgram.c -------------------------------------------------------------------------------- /tests/c_programs/sendmsg_fail.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GregoryVds/tcpsnitch/HEAD/tests/c_programs/sendmsg_fail.c -------------------------------------------------------------------------------- /tests/c_programs/sendto.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GregoryVds/tcpsnitch/HEAD/tests/c_programs/sendto.c -------------------------------------------------------------------------------- /tests/c_programs/sendto_dgram.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GregoryVds/tcpsnitch/HEAD/tests/c_programs/sendto_dgram.c -------------------------------------------------------------------------------- /tests/c_programs/sendto_fail.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GregoryVds/tcpsnitch/HEAD/tests/c_programs/sendto_fail.c -------------------------------------------------------------------------------- /tests/c_programs/setsockopt.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GregoryVds/tcpsnitch/HEAD/tests/c_programs/setsockopt.c -------------------------------------------------------------------------------- /tests/c_programs/setsockopt_dgram.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GregoryVds/tcpsnitch/HEAD/tests/c_programs/setsockopt_dgram.c -------------------------------------------------------------------------------- /tests/c_programs/setsockopt_fail.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GregoryVds/tcpsnitch/HEAD/tests/c_programs/setsockopt_fail.c -------------------------------------------------------------------------------- /tests/c_programs/shutdown.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GregoryVds/tcpsnitch/HEAD/tests/c_programs/shutdown.c -------------------------------------------------------------------------------- /tests/c_programs/shutdown_dgram.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GregoryVds/tcpsnitch/HEAD/tests/c_programs/shutdown_dgram.c -------------------------------------------------------------------------------- /tests/c_programs/shutdown_fail.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GregoryVds/tcpsnitch/HEAD/tests/c_programs/shutdown_fail.c -------------------------------------------------------------------------------- /tests/c_programs/sockatmark.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GregoryVds/tcpsnitch/HEAD/tests/c_programs/sockatmark.c -------------------------------------------------------------------------------- /tests/c_programs/socket.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GregoryVds/tcpsnitch/HEAD/tests/c_programs/socket.c -------------------------------------------------------------------------------- /tests/c_programs/socket_dgram.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GregoryVds/tcpsnitch/HEAD/tests/c_programs/socket_dgram.c -------------------------------------------------------------------------------- /tests/c_programs/socket_fail.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GregoryVds/tcpsnitch/HEAD/tests/c_programs/socket_fail.c -------------------------------------------------------------------------------- /tests/c_programs/write.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GregoryVds/tcpsnitch/HEAD/tests/c_programs/write.c -------------------------------------------------------------------------------- /tests/c_programs/write_dgram.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GregoryVds/tcpsnitch/HEAD/tests/c_programs/write_dgram.c -------------------------------------------------------------------------------- /tests/c_programs/write_fail.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GregoryVds/tcpsnitch/HEAD/tests/c_programs/write_fail.c -------------------------------------------------------------------------------- /tests/c_programs/writev.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GregoryVds/tcpsnitch/HEAD/tests/c_programs/writev.c -------------------------------------------------------------------------------- /tests/c_programs/writev_dgram.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GregoryVds/tcpsnitch/HEAD/tests/c_programs/writev_dgram.c -------------------------------------------------------------------------------- /tests/c_programs/writev_fail.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GregoryVds/tcpsnitch/HEAD/tests/c_programs/writev_fail.c -------------------------------------------------------------------------------- /tests/lib/constants.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GregoryVds/tcpsnitch/HEAD/tests/lib/constants.rb -------------------------------------------------------------------------------- /tests/lib/cprog.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GregoryVds/tcpsnitch/HEAD/tests/lib/cprog.rb -------------------------------------------------------------------------------- /tests/lib/lib.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GregoryVds/tcpsnitch/HEAD/tests/lib/lib.rb -------------------------------------------------------------------------------- /tests/lib/webserver.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GregoryVds/tcpsnitch/HEAD/tests/lib/webserver.rb -------------------------------------------------------------------------------- /tests/lib/write_cprogs.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GregoryVds/tcpsnitch/HEAD/tests/lib/write_cprogs.rb -------------------------------------------------------------------------------- /tests/test_compatibility.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GregoryVds/tcpsnitch/HEAD/tests/test_compatibility.rb -------------------------------------------------------------------------------- /tests/test_libc_overrides.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GregoryVds/tcpsnitch/HEAD/tests/test_libc_overrides.rb -------------------------------------------------------------------------------- /tests/test_packet_sniffer.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GregoryVds/tcpsnitch/HEAD/tests/test_packet_sniffer.rb -------------------------------------------------------------------------------- /tests/test_sock_events.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GregoryVds/tcpsnitch/HEAD/tests/test_sock_events.rb -------------------------------------------------------------------------------- /tests/test_tcpsnitch.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GregoryVds/tcpsnitch/HEAD/tests/test_tcpsnitch.rb -------------------------------------------------------------------------------- /verbose_mode.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GregoryVds/tcpsnitch/HEAD/verbose_mode.c -------------------------------------------------------------------------------- /verbose_mode.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GregoryVds/tcpsnitch/HEAD/verbose_mode.h --------------------------------------------------------------------------------