├── src └── main │ ├── jni │ ├── pdnsd │ │ ├── version │ │ ├── THANKS │ │ ├── contrib │ │ │ └── Makefile.am │ │ ├── ChangeLog │ │ ├── src │ │ │ ├── rc │ │ │ │ ├── Makefile.am │ │ │ │ ├── Slackware │ │ │ │ │ └── Makefile.am │ │ │ │ ├── ArchLinux │ │ │ │ │ └── Makefile.am │ │ │ │ ├── Debian │ │ │ │ │ └── Makefile.am │ │ │ │ └── RedHat │ │ │ │ │ └── Makefile.am │ │ │ ├── pdnsd-ctl │ │ │ │ └── Makefile.am │ │ │ └── sort_namevalues.pl │ │ ├── doc │ │ │ └── html │ │ │ │ └── index.html │ │ └── file-list.base.in │ ├── openssl │ │ ├── MODULE_LICENSE_BSD_LIKE │ │ ├── crypto │ │ │ ├── sha │ │ │ │ └── asm │ │ │ │ │ ├── README │ │ │ │ │ ├── sha1-586.pl │ │ │ │ │ ├── sha256-586.pl │ │ │ │ │ └── sha512-586.pl │ │ │ ├── bn │ │ │ │ ├── asm │ │ │ │ │ ├── x86 │ │ │ │ │ │ ├── f │ │ │ │ │ │ └── div.pl │ │ │ │ │ ├── ia64.S │ │ │ │ │ ├── x86-gf2m.pl │ │ │ │ │ ├── x86_64-gcc.c │ │ │ │ │ ├── armv4-gf2m.pl │ │ │ │ │ ├── s390x-gf2m.pl │ │ │ │ │ └── x86_64-gf2m.pl │ │ │ │ ├── todo │ │ │ │ └── bn.mul │ │ │ ├── pkcs7 │ │ │ │ ├── p7 │ │ │ │ │ ├── a1 │ │ │ │ │ ├── a2 │ │ │ │ │ ├── cert.p7c │ │ │ │ │ ├── smime.p7m │ │ │ │ │ └── smime.p7s │ │ │ │ └── infokey.pem │ │ │ ├── sparccpuid.S │ │ │ ├── whrlpool │ │ │ │ ├── wp_locl.h │ │ │ │ └── asm │ │ │ │ │ └── wp-mmx.pl │ │ │ ├── x509v3 │ │ │ │ ├── v3_pci.c │ │ │ │ └── v3_pcia.c │ │ │ ├── aes │ │ │ │ ├── asm │ │ │ │ │ └── aes-586.pl │ │ │ │ └── README │ │ │ ├── dh │ │ │ │ ├── dh192.pem │ │ │ │ ├── dh512.pem │ │ │ │ └── dh1024.pem │ │ │ ├── modes │ │ │ │ └── asm │ │ │ │ │ ├── ghash-x86.pl │ │ │ │ │ └── ghash-armv4.pl │ │ │ ├── rc4 │ │ │ │ ├── asm │ │ │ │ │ └── rc4-x86_64.pl │ │ │ │ └── rc4_locl.h │ │ │ ├── threads │ │ │ │ ├── ptest.bat │ │ │ │ ├── win32.bat │ │ │ │ ├── solaris.sh │ │ │ │ ├── purify.sh │ │ │ │ ├── profile.sh │ │ │ │ ├── pthread2.sh │ │ │ │ ├── pthread.sh │ │ │ │ ├── pthreads-vms.com │ │ │ │ └── README │ │ │ ├── fips_ers.c │ │ │ ├── rsa │ │ │ │ └── rsa_locl.h │ │ │ ├── bf │ │ │ │ ├── VERSION │ │ │ │ ├── README │ │ │ │ ├── asm │ │ │ │ │ └── readme │ │ │ │ └── INSTALL │ │ │ ├── dsa │ │ │ │ └── README │ │ │ ├── lhash │ │ │ │ └── num.pl │ │ │ ├── cast │ │ │ │ └── asm │ │ │ │ │ └── readme │ │ │ ├── pem │ │ │ │ └── message │ │ │ ├── des │ │ │ │ ├── times │ │ │ │ │ ├── 486-50.sol │ │ │ │ │ ├── alpha.cc │ │ │ │ │ ├── sparc.gcc │ │ │ │ │ ├── hpux.cc │ │ │ │ │ ├── 686-200.fre │ │ │ │ │ └── 586-100.lnx │ │ │ │ ├── DES.pm │ │ │ │ └── t │ │ │ │ │ └── test │ │ │ ├── idea │ │ │ │ └── version │ │ │ ├── asn1 │ │ │ │ └── charmap.h │ │ │ └── ebcdic.h │ │ ├── README.md │ │ └── include │ │ │ └── openssl │ │ │ └── ebcdic.h │ ├── iptables │ │ ├── utils │ │ │ ├── .gitignore │ │ │ └── Makefile.am │ │ ├── libiptc │ │ │ ├── .gitignore │ │ │ ├── libiptc.pc.in │ │ │ └── Makefile.am │ │ ├── m4 │ │ │ └── .gitignore │ │ ├── libipq │ │ │ ├── ipq_perror.3 │ │ │ ├── ipq_get_msgerr.3 │ │ │ ├── ipq_get_packet.3 │ │ │ ├── ipq_destroy_handle.3 │ │ │ └── Makefile.am │ │ ├── autogen.sh │ │ ├── Android.mk │ │ ├── extensions │ │ │ ├── libxt_esp.man │ │ │ ├── libipt_ah.man │ │ │ ├── libipt_unclean.man │ │ │ ├── libxt_NOTRACK.man │ │ │ ├── libxt_pkttype.man │ │ │ ├── libxt_socket.man │ │ │ ├── libxt_comment.man │ │ │ ├── libxt_length.man │ │ │ ├── filter_init │ │ │ ├── libxt_iprange.man │ │ │ ├── libxt_CLASSIFY.man │ │ │ ├── libxt_mac.man │ │ │ ├── libxt_tcpmss.man │ │ │ ├── libxt_quota.man │ │ │ ├── libipt_ttl.man │ │ │ ├── libip6t_dst.man │ │ │ ├── libip6t_hbh.man │ │ │ ├── libip6t_ah.man │ │ │ ├── libip6t_hl.man │ │ │ ├── libxt_connmark.man │ │ │ ├── libxt_SECMARK.man │ │ │ ├── libxt_mark.man │ │ │ ├── libipt_realm.man │ │ │ ├── libipt_unclean.c │ │ │ ├── libipt_icmp.man │ │ │ ├── libipt_MIRROR.c │ │ │ ├── libxt_NOTRACK.c │ │ │ ├── libip6t_eui64.man │ │ │ ├── libxt_helper.man │ │ │ ├── libip6t_mh.man │ │ │ ├── libip6t_eui64.c │ │ │ ├── libxt_CHECKSUM.man │ │ │ ├── libxt_TCPOPTSTRIP.man │ │ │ ├── libxt_AUDIT.man │ │ │ ├── libxt_dscp.man │ │ │ ├── libipt_MIRROR.man │ │ │ ├── libip6t_icmp6.man │ │ │ ├── libipt_NETMAP.man │ │ │ ├── libxt_TRACE.c │ │ │ ├── libxt_dccp.man │ │ │ ├── libipt_ecn.man │ │ │ ├── libxt_cpu.man │ │ │ ├── libxt_TRACE.man │ │ │ ├── libip6t_rt.man │ │ │ ├── libxt_udp.man │ │ │ ├── libxt_TEE.man │ │ │ └── libxt_standard.c │ │ ├── iptables │ │ │ ├── xtables-multi.h │ │ │ ├── .gitignore │ │ │ ├── iptables-multi.h │ │ │ ├── ip6tables-multi.h │ │ │ └── xtables.pc.in │ │ ├── include │ │ │ ├── linux │ │ │ │ ├── netfilter │ │ │ │ │ ├── xt_helper.h │ │ │ │ │ ├── xt_pkttype.h │ │ │ │ │ ├── xt_mac.h │ │ │ │ │ ├── xt_cpu.h │ │ │ │ │ ├── xt_CLASSIFY.h │ │ │ │ │ ├── xt_length.h │ │ │ │ │ ├── xt_comment.h │ │ │ │ │ ├── xt_realm.h │ │ │ │ │ ├── xt_socket.h │ │ │ │ │ ├── xt_tcpmss.h │ │ │ │ │ ├── xt_mark.h │ │ │ │ │ ├── xt_TEE.h │ │ │ │ │ ├── xt_CONNSECMARK.h │ │ │ │ │ ├── xt_state.h │ │ │ │ │ ├── xt_CT.h │ │ │ │ │ ├── xt_cluster.h │ │ │ │ │ ├── nf_conntrack_tuple_common.h │ │ │ │ │ ├── xt_TCPOPTSTRIP.h │ │ │ │ │ ├── xt_owner.h │ │ │ │ │ ├── xt_quota.h │ │ │ │ │ ├── xt_NFLOG.h │ │ │ │ │ ├── xt_esp.h │ │ │ │ │ ├── xt_devgroup.h │ │ │ │ │ ├── xt_LED.h │ │ │ │ │ ├── xt_dccp.h │ │ │ │ │ ├── xt_TPROXY.h │ │ │ │ │ ├── xt_iprange.h │ │ │ │ │ ├── xt_SECMARK.h │ │ │ │ │ ├── xt_time.h │ │ │ │ │ ├── xt_CHECKSUM.h │ │ │ │ │ ├── xt_quota2.h │ │ │ │ │ ├── xt_NFQUEUE.h │ │ │ │ │ ├── xt_connbytes.h │ │ │ │ │ └── xt_physdev.h │ │ │ │ ├── netfilter_ipv4 │ │ │ │ │ ├── ipt_realm.h │ │ │ │ │ ├── ipt_SAME.h │ │ │ │ │ ├── ipt_ah.h │ │ │ │ │ ├── ipt_ttl.h │ │ │ │ │ ├── ipt_REJECT.h │ │ │ │ │ └── ipt_addrtype.h │ │ │ │ └── netfilter_ipv6 │ │ │ │ │ ├── ip6t_REJECT.h │ │ │ │ │ ├── ip6t_mh.h │ │ │ │ │ └── ip6t_hl.h │ │ │ ├── Makefile.am │ │ │ └── iptables │ │ │ │ ├── internal.h │ │ │ │ └── internal.h.in │ │ └── INCOMPATIBILITIES │ ├── redsocks │ │ ├── config.h │ │ ├── version.h │ │ ├── base.h │ │ ├── dnstc.h │ │ └── libevent-compat.h │ ├── badvpn │ │ ├── ncd │ │ │ ├── include_linux_input.c │ │ │ ├── tests │ │ │ │ ├── include_included.ncdi │ │ │ │ ├── include_included2.ncdi │ │ │ │ ├── implode.ncd │ │ │ │ ├── call.ncd │ │ │ │ ├── netmask.ncd │ │ │ │ ├── include.ncd │ │ │ │ ├── concat.ncd │ │ │ │ └── value_substr.ncd │ │ │ ├── examples │ │ │ │ ├── igmpproxy.conf.template │ │ │ │ ├── dhcpd.conf.template │ │ │ │ └── onoff_server_test.ncd │ │ │ └── modules │ │ │ │ ├── buffer_chunks_tree.h │ │ │ │ └── value_maptree.h │ │ ├── lwip │ │ │ ├── lwip-base-version │ │ │ ├── src │ │ │ │ ├── core │ │ │ │ │ └── ipv6 │ │ │ │ │ │ └── README │ │ │ │ └── FILES │ │ │ ├── CHANGELOG │ │ │ ├── FILES │ │ │ ├── test │ │ │ │ └── unit │ │ │ │ │ ├── tcp │ │ │ │ │ ├── test_tcp.h │ │ │ │ │ └── test_tcp_oos.h │ │ │ │ │ ├── udp │ │ │ │ │ └── test_udp.h │ │ │ │ │ ├── core │ │ │ │ │ ├── test_mem.h │ │ │ │ │ └── test_pbuf.h │ │ │ │ │ ├── dhcp │ │ │ │ │ └── test_dhcp.h │ │ │ │ │ └── etharp │ │ │ │ │ └── test_etharp.h │ │ │ └── doc │ │ │ │ └── FILES │ │ ├── stringmap │ │ │ └── CMakeLists.txt │ │ ├── arpprobe │ │ │ └── CMakeLists.txt │ │ ├── random │ │ │ └── CMakeLists.txt │ │ ├── udpgw_client │ │ │ └── CMakeLists.txt │ │ ├── socksclient │ │ │ └── CMakeLists.txt │ │ ├── generated │ │ │ ├── blog_channel_ncd.h │ │ │ ├── blog_channel_BTap.h │ │ │ ├── blog_channel_BTime.h │ │ │ ├── blog_channel_addr.h │ │ │ ├── blog_channel_lwip.h │ │ │ ├── blog_channel_udpgw.h │ │ │ ├── blog_channel_BNetwork.h │ │ │ ├── blog_channel_BProcess.h │ │ │ ├── blog_channel_BReactor.h │ │ │ ├── blog_channel_BSignal.h │ │ │ ├── blog_channel_DPRelay.h │ │ │ ├── blog_channel_Listener.h │ │ │ ├── blog_channel_NCDVal.h │ │ │ ├── blog_channel_PeerChat.h │ │ │ ├── blog_channel_client.h │ │ │ ├── blog_channel_flooder.h │ │ │ ├── blog_channel_ncd_exit.h │ │ │ ├── blog_channel_ncd_file.h │ │ │ ├── blog_channel_ncd_if.h │ │ │ ├── blog_channel_ncd_list.h │ │ │ ├── blog_channel_ncd_log.h │ │ │ ├── blog_channel_ncd_ref.h │ │ │ ├── blog_channel_ncd_run.h │ │ │ ├── blog_channel_ncd_try.h │ │ │ ├── blog_channel_ncd_var.h │ │ │ ├── blog_channel_nsskey.h │ │ │ ├── blog_channel_server.h │ │ │ ├── blog_channel_BArpProbe.h │ │ │ ├── blog_channel_BDatagram.h │ │ │ ├── blog_channel_BPredicate.h │ │ │ ├── blog_channel_DPReceive.h │ │ │ ├── blog_channel_DataProto.h │ │ │ ├── blog_channel_LineBuffer.h │ │ │ ├── blog_channel_NCDRequest.h │ │ │ ├── blog_channel_ncd_alias.h │ │ │ ├── blog_channel_ncd_assert.h │ │ │ ├── blog_channel_ncd_buffer.h │ │ │ ├── blog_channel_ncd_call2.h │ │ │ ├── blog_channel_ncd_choose.h │ │ │ ├── blog_channel_ncd_concat.h │ │ │ ├── blog_channel_ncd_daemon.h │ │ │ ├── blog_channel_ncd_depend.h │ │ │ ├── blog_channel_ncd_getenv.h │ │ │ ├── blog_channel_ncd_index.h │ │ │ ├── blog_channel_ncd_net_up.h │ │ │ ├── blog_channel_ncd_parse.h │ │ │ ├── blog_channel_ncd_print.h │ │ │ ├── blog_channel_ncd_reboot.h │ │ │ ├── blog_channel_ncd_sleep.h │ │ │ ├── blog_channel_ncd_socket.h │ │ │ ├── blog_channel_ncd_spawn.h │ │ │ ├── blog_channel_ncd_strcmp.h │ │ │ ├── blog_channel_ncd_substr.h │ │ │ ├── blog_channel_ncd_timer.h │ │ │ ├── blog_channel_ncd_value.h │ │ │ ├── blog_channel_tun2socks.h │ │ │ ├── blog_channel_BConnection.h │ │ │ ├── blog_channel_BDHCPClient.h │ │ │ ├── blog_channel_BEncryption.h │ │ │ ├── blog_channel_BInputProcess.h │ │ │ ├── blog_channel_BLockReactor.h │ │ │ ├── blog_channel_BSocksClient.h │ │ │ ├── blog_channel_BThreadSignal.h │ │ │ ├── blog_channel_BThreadWork.h │ │ │ ├── blog_channel_BUnixSignal.h │ │ │ ├── blog_channel_FrameDecider.h │ │ │ ├── blog_channel_NCDIfConfig.h │ │ │ ├── blog_channel_NCDUdevCache.h │ │ │ ├── blog_channel_NCDValParser.h │ │ │ ├── blog_channel_PRStreamSink.h │ │ │ ├── blog_channel_StreamPeerIO.h │ │ │ ├── blog_channel_UdpGwClient.h │ │ │ ├── blog_channel_ncd_backtrack.h │ │ │ ├── blog_channel_ncd_blocker.h │ │ │ ├── blog_channel_ncd_explode.h │ │ │ ├── blog_channel_ncd_file_open.h │ │ │ ├── blog_channel_ncd_foreach.h │ │ │ ├── blog_channel_ncd_getargs.h │ │ │ ├── blog_channel_ncd_implode.h │ │ │ ├── blog_channel_ncd_log_msg.h │ │ │ ├── blog_channel_ncd_logical.h │ │ │ ├── blog_channel_ncd_net_dns.h │ │ │ ├── blog_channel_ncd_netmask.h │ │ │ ├── blog_channel_ncd_ondemand.h │ │ │ ├── blog_channel_ncd_request.h │ │ │ ├── blog_channel_ncd_runonce.h │ │ │ ├── blog_channel_ncd_sys_evdev.h │ │ │ ├── blog_channel_ncd_to_string.h │ │ │ ├── blog_channel_BDHCPClientCore.h │ │ │ ├── blog_channel_BSSLConnection.h │ │ │ ├── blog_channel_DatagramPeerIO.h │ │ │ ├── blog_channel_NCDBuildProgram.h │ │ │ ├── blog_channel_NCDConfigParser.h │ │ │ ├── blog_channel_NCDModuleIndex.h │ │ │ ├── blog_channel_NCDUdevManager.h │ │ │ ├── blog_channel_NCDUdevMonitor.h │ │ │ ├── blog_channel_NCDValGenerator.h │ │ │ ├── blog_channel_PRStreamSource.h │ │ │ ├── blog_channel_SPProtoDecoder.h │ │ │ ├── blog_channel_dostest_server.h │ │ │ ├── blog_channel_ncd_arithmetic.h │ │ │ ├── blog_channel_ncd_from_string.h │ │ │ ├── blog_channel_ncd_imperative.h │ │ │ ├── blog_channel_ncd_load_module.h │ │ │ ├── blog_channel_ncd_multidepend.h │ │ │ ├── blog_channel_ncd_regex_match.h │ │ │ ├── blog_channel_ncd_valuemetic.h │ │ │ ├── blog_channel_NCDConfigTokenizer.h │ │ │ ├── blog_channel_NCDModuleProcess.h │ │ │ ├── blog_channel_NCDPlaceholderDb.h │ │ │ ├── blog_channel_NCDRequestClient.h │ │ │ ├── blog_channel_NCDRfkillMonitor.h │ │ │ ├── blog_channel_PacketProtoDecoder.h │ │ │ ├── blog_channel_PasswordListener.h │ │ │ ├── blog_channel_ServerConnection.h │ │ │ ├── blog_channel_SocksUdpGwClient.h │ │ │ ├── blog_channel_dostest_attacker.h │ │ │ ├── blog_channel_ncd_depend_scope.h │ │ │ ├── blog_channel_ncd_dynamic_depend.h │ │ │ ├── blog_channel_ncd_net_iptables.h │ │ │ ├── blog_channel_ncd_net_ipv4_addr.h │ │ │ ├── blog_channel_ncd_net_ipv4_dhcp.h │ │ │ ├── blog_channel_ncd_net_ipv4_route.h │ │ │ ├── blog_channel_ncd_net_ipv6_addr.h │ │ │ ├── blog_channel_ncd_net_ipv6_route.h │ │ │ ├── blog_channel_ncd_sys_watch_usb.h │ │ │ ├── blog_channel_NCDInterfaceMonitor.h │ │ │ ├── blog_channel_NCDUdevMonitorParser.h │ │ │ ├── blog_channel_ncd_process_manager.h │ │ │ ├── blog_channel_ncd_sys_watch_input.h │ │ │ ├── blog_channel_FragmentProtoAssembler.h │ │ │ ├── blog_channel_ncd_net_backend_badvpn.h │ │ │ ├── blog_channel_ncd_net_backend_rfkill.h │ │ │ ├── blog_channel_ncd_net_ipv4_arp_probe.h │ │ │ ├── blog_channel_ncd_sys_request_client.h │ │ │ ├── blog_channel_ncd_sys_request_server.h │ │ │ ├── blog_channel_ncd_sys_start_process.h │ │ │ ├── blog_channel_ncd_sys_watch_directory.h │ │ │ ├── blog_channel_ncd_net_backend_waitlink.h │ │ │ ├── blog_channel_ncd_net_watch_interfaces.h │ │ │ ├── blog_channel_ncd_net_backend_waitdevice.h │ │ │ ├── blog_channel_ncd_net_ipv4_addr_in_network.h │ │ │ ├── blog_channel_ncd_net_ipv6_addr_in_network.h │ │ │ ├── blog_channel_ncd_net_backend_wpa_supplicant.h │ │ │ ├── blog_channel_ncd_net_ipv6_wait_dynamic_addr.h │ │ │ └── NCDValParser_parse.h │ │ ├── tunctl │ │ │ └── CMakeLists.txt │ │ ├── flowextra │ │ │ └── CMakeLists.txt │ │ ├── nspr_support │ │ │ └── CMakeLists.txt │ │ ├── scripts │ │ │ ├── cmake │ │ │ └── toolchain.cmake │ │ ├── udevmonitor │ │ │ └── CMakeLists.txt │ │ ├── udpgw │ │ │ └── CMakeLists.txt │ │ ├── base │ │ │ ├── BPending_list.h │ │ │ └── CMakeLists.txt │ │ ├── predicate │ │ │ └── CMakeLists.txt │ │ ├── server_connection │ │ │ └── CMakeLists.txt │ │ ├── flooder │ │ │ └── CMakeLists.txt │ │ ├── ncd-request │ │ │ └── CMakeLists.txt │ │ ├── security │ │ │ └── CMakeLists.txt │ │ ├── tests │ │ │ ├── bproto_test.bproto │ │ │ └── CMakeLists.txt │ │ ├── threadwork │ │ │ └── CMakeLists.txt │ │ ├── dostest │ │ │ └── CMakeLists.txt │ │ ├── tuntap │ │ │ └── CMakeLists.txt │ │ ├── server │ │ │ └── CMakeLists.txt │ │ ├── tun2socks │ │ │ └── CMakeLists.txt │ │ ├── flow │ │ │ ├── PacketPassFairQueue_tree.h │ │ │ └── PacketPassPriorityQueue_tree.h │ │ ├── dhcpclient │ │ │ └── CMakeLists.txt │ │ ├── fix_flex.php │ │ ├── protocol │ │ │ └── addr.bproto │ │ ├── system │ │ │ └── BReactor.h │ │ ├── examples │ │ │ └── savl_test_tree.h │ │ └── client │ │ │ ├── FrameDecider_groups_tree.h │ │ │ ├── FrameDecider_macs_tree.h │ │ │ ├── FragmentProtoAssembler_tree.h │ │ │ └── FrameDecider_multicast_tree.h │ ├── Application.mk │ └── libevent │ │ └── strlcpy-internal.h │ ├── aidl │ └── com │ │ └── github │ │ └── shadowsocks │ │ └── aidl │ │ ├── Config.aidl │ │ ├── IShadowsocksServiceCallback.aidl │ │ └── IShadowsocksService.aidl │ ├── assets │ └── fonts │ │ └── Iceland.ttf │ └── res │ ├── drawable-hdpi │ ├── ic_drawer.png │ ├── ic_launcher.png │ ├── menu_arrow.png │ ├── ab_solid_shadow.9.png │ ├── ic_stat_shadowsocks.png │ ├── list_focused_shadow.9.png │ ├── list_pressed_shadow.9.png │ ├── progress_bg_shadow.9.png │ ├── tab_selected_shadow.9.png │ ├── ab_bottom_solid_shadow.9.png │ ├── ab_texture_tile_shadow.png │ ├── ab_transparent_shadow.9.png │ ├── md__list_focused_holo.9.png │ ├── tab_unselected_shadow.9.png │ ├── ab_stacked_solid_shadow.9.png │ ├── md__category_background.9.png │ ├── progress_primary_shadow.9.png │ ├── btn_cab_done_default_shadow.9.png │ ├── btn_cab_done_focused_shadow.9.png │ ├── btn_cab_done_pressed_shadow.9.png │ ├── cab_background_top_shadow.9.png │ ├── md__list_longpressed_holo.9.png │ ├── md__list_pressed_holo_dark.9.png │ ├── menu_dropdown_panel_shadow.9.png │ ├── progress_secondary_shadow.9.png │ ├── spinner_ab_default_shadow.9.png │ ├── spinner_ab_disabled_shadow.9.png │ ├── spinner_ab_focused_shadow.9.png │ ├── spinner_ab_pressed_shadow.9.png │ ├── tab_selected_focused_shadow.9.png │ ├── tab_selected_pressed_shadow.9.png │ ├── cab_background_bottom_shadow.9.png │ ├── tab_unselected_focused_shadow.9.png │ ├── tab_unselected_pressed_shadow.9.png │ └── md__list_selector_disabled_holo_dark.9.png │ ├── drawable-mdpi │ ├── ic_drawer.png │ ├── ic_launcher.png │ ├── menu_arrow.png │ ├── ab_solid_shadow.9.png │ ├── ic_stat_shadowsocks.png │ ├── list_focused_shadow.9.png │ ├── list_pressed_shadow.9.png │ ├── progress_bg_shadow.9.png │ ├── tab_selected_shadow.9.png │ ├── ab_bottom_solid_shadow.9.png │ ├── ab_texture_tile_shadow.png │ ├── ab_transparent_shadow.9.png │ ├── md__list_focused_holo.9.png │ ├── tab_unselected_shadow.9.png │ ├── ab_stacked_solid_shadow.9.png │ ├── md__category_background.9.png │ ├── progress_primary_shadow.9.png │ ├── btn_cab_done_default_shadow.9.png │ ├── btn_cab_done_focused_shadow.9.png │ ├── btn_cab_done_pressed_shadow.9.png │ ├── cab_background_top_shadow.9.png │ ├── md__list_longpressed_holo.9.png │ ├── md__list_pressed_holo_dark.9.png │ ├── menu_dropdown_panel_shadow.9.png │ ├── progress_secondary_shadow.9.png │ ├── spinner_ab_default_shadow.9.png │ ├── spinner_ab_disabled_shadow.9.png │ ├── spinner_ab_focused_shadow.9.png │ ├── spinner_ab_pressed_shadow.9.png │ ├── tab_selected_focused_shadow.9.png │ ├── tab_selected_pressed_shadow.9.png │ ├── cab_background_bottom_shadow.9.png │ ├── tab_unselected_focused_shadow.9.png │ ├── tab_unselected_pressed_shadow.9.png │ └── md__list_selector_disabled_holo_dark.9.png │ ├── raw │ └── gtm_default_container │ ├── drawable-xhdpi │ ├── ic_drawer.png │ ├── menu_arrow.png │ ├── ic_launcher.png │ ├── ab_solid_shadow.9.png │ ├── ic_stat_shadowsocks.png │ ├── progress_bg_shadow.9.png │ ├── ab_texture_tile_shadow.png │ ├── ab_transparent_shadow.9.png │ ├── list_focused_shadow.9.png │ ├── list_pressed_shadow.9.png │ ├── md__list_focused_holo.9.png │ ├── tab_selected_shadow.9.png │ ├── tab_unselected_shadow.9.png │ ├── ab_bottom_solid_shadow.9.png │ ├── ab_stacked_solid_shadow.9.png │ ├── md__category_background.9.png │ ├── progress_primary_shadow.9.png │ ├── cab_background_top_shadow.9.png │ ├── md__list_longpressed_holo.9.png │ ├── md__list_pressed_holo_dark.9.png │ ├── menu_dropdown_panel_shadow.9.png │ ├── progress_secondary_shadow.9.png │ ├── spinner_ab_default_shadow.9.png │ ├── spinner_ab_disabled_shadow.9.png │ ├── spinner_ab_focused_shadow.9.png │ ├── spinner_ab_pressed_shadow.9.png │ ├── btn_cab_done_default_shadow.9.png │ ├── btn_cab_done_focused_shadow.9.png │ ├── btn_cab_done_pressed_shadow.9.png │ ├── cab_background_bottom_shadow.9.png │ ├── tab_selected_focused_shadow.9.png │ ├── tab_selected_pressed_shadow.9.png │ ├── tab_unselected_focused_shadow.9.png │ ├── tab_unselected_pressed_shadow.9.png │ └── md__list_selector_disabled_holo_dark.9.png │ ├── drawable-hdpi-v21 │ └── ic_drawer.png │ ├── drawable-mdpi-v21 │ └── ic_drawer.png │ ├── drawable-xhdpi-v21 │ └── ic_drawer.png │ ├── drawable-xxhdpi │ ├── ic_launcher.png │ ├── ab_solid_shadow.9.png │ ├── ic_stat_shadowsocks.png │ ├── ab_texture_tile_shadow.png │ ├── list_focused_shadow.9.png │ ├── list_pressed_shadow.9.png │ ├── progress_bg_shadow.9.png │ ├── tab_selected_shadow.9.png │ ├── ab_bottom_solid_shadow.9.png │ ├── ab_transparent_shadow.9.png │ ├── tab_unselected_shadow.9.png │ ├── ab_stacked_solid_shadow.9.png │ ├── cab_background_top_shadow.9.png │ ├── progress_primary_shadow.9.png │ ├── progress_secondary_shadow.9.png │ ├── spinner_ab_default_shadow.9.png │ ├── spinner_ab_focused_shadow.9.png │ ├── spinner_ab_pressed_shadow.9.png │ ├── btn_cab_done_default_shadow.9.png │ ├── btn_cab_done_focused_shadow.9.png │ ├── btn_cab_done_pressed_shadow.9.png │ ├── menu_dropdown_panel_shadow.9.png │ ├── spinner_ab_disabled_shadow.9.png │ ├── tab_selected_focused_shadow.9.png │ ├── tab_selected_pressed_shadow.9.png │ ├── cab_background_bottom_shadow.9.png │ ├── tab_unselected_focused_shadow.9.png │ └── tab_unselected_pressed_shadow.9.png │ ├── drawable-xxhdpi-v21 │ └── ic_drawer.png │ ├── layout │ ├── menu_row_item.xml │ ├── menu_row_category.xml │ ├── overlay.xml │ └── main.xml │ ├── menu │ └── app_manager_menu.xml │ └── values │ └── colors.xml ├── project ├── build.properties └── plugins.sbt ├── shadow.png ├── travis.keystore ├── deploy ├── shadow-notify.png ├── local.properties.travis ├── local.properties.example ├── .gitmodules ├── laucher.sh └── .gitignore /src/main/jni/pdnsd/version: -------------------------------------------------------------------------------- 1 | 1.2.9b-par 2 | -------------------------------------------------------------------------------- /project/build.properties: -------------------------------------------------------------------------------- 1 | sbt.version=0.13.8 2 | -------------------------------------------------------------------------------- /src/main/jni/openssl/MODULE_LICENSE_BSD_LIKE: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/main/jni/iptables/utils/.gitignore: -------------------------------------------------------------------------------- 1 | /nfnl_osf 2 | -------------------------------------------------------------------------------- /src/main/jni/iptables/libiptc/.gitignore: -------------------------------------------------------------------------------- 1 | /libiptc.pc 2 | -------------------------------------------------------------------------------- /src/main/jni/openssl/crypto/sha/asm/README: -------------------------------------------------------------------------------- 1 | C2.pl works 2 | -------------------------------------------------------------------------------- /src/main/jni/redsocks/config.h: -------------------------------------------------------------------------------- 1 | #define USE_IPTABLES 2 | -------------------------------------------------------------------------------- /src/main/jni/iptables/m4/.gitignore: -------------------------------------------------------------------------------- 1 | /libtool.m4 2 | /lt*.m4 3 | -------------------------------------------------------------------------------- /src/main/jni/iptables/libipq/ipq_perror.3: -------------------------------------------------------------------------------- 1 | .so man3/ipq_errstr.3 2 | -------------------------------------------------------------------------------- /src/main/jni/badvpn/ncd/include_linux_input.c: -------------------------------------------------------------------------------- 1 | #include 2 | -------------------------------------------------------------------------------- /src/main/jni/iptables/libipq/ipq_get_msgerr.3: -------------------------------------------------------------------------------- 1 | .so man3/ipq_message_type.3 2 | -------------------------------------------------------------------------------- /src/main/jni/iptables/libipq/ipq_get_packet.3: -------------------------------------------------------------------------------- 1 | .so man3/ipq_message_type.3 2 | -------------------------------------------------------------------------------- /shadow.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mthli/shadowsocks-android/master/shadow.png -------------------------------------------------------------------------------- /src/main/jni/iptables/libipq/ipq_destroy_handle.3: -------------------------------------------------------------------------------- 1 | .so man3/ipq_create_handle.3 2 | -------------------------------------------------------------------------------- /src/main/jni/badvpn/lwip/lwip-base-version: -------------------------------------------------------------------------------- 1 | 666e84eef281d0059377d0f5029c1c550488f829 2 | -------------------------------------------------------------------------------- /src/main/jni/badvpn/lwip/src/core/ipv6/README: -------------------------------------------------------------------------------- 1 | IPv6 support in lwIP is very experimental. 2 | -------------------------------------------------------------------------------- /src/main/jni/openssl/crypto/bn/asm/x86/f: -------------------------------------------------------------------------------- 1 | #!/usr/local/bin/perl 2 | # x86 assember 3 | 4 | -------------------------------------------------------------------------------- /travis.keystore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mthli/shadowsocks-android/master/travis.keystore -------------------------------------------------------------------------------- /deploy: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | cd ${1} 3 | travis-artifacts upload --path ${2} --target-path nightly 4 | -------------------------------------------------------------------------------- /shadow-notify.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mthli/shadowsocks-android/master/shadow-notify.png -------------------------------------------------------------------------------- /src/main/jni/badvpn/stringmap/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | add_library(stringmap 2 | BStringMap.c 3 | ) 4 | -------------------------------------------------------------------------------- /src/main/jni/iptables/autogen.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | autoreconf -fi; 4 | rm -Rf autom4te*.cache; 5 | -------------------------------------------------------------------------------- /local.properties.travis: -------------------------------------------------------------------------------- 1 | key.alias: travis 2 | key.store: travis.keystore 3 | key.store.password: travis 4 | -------------------------------------------------------------------------------- /src/main/jni/pdnsd/THANKS: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mthli/shadowsocks-android/master/src/main/jni/pdnsd/THANKS -------------------------------------------------------------------------------- /src/main/aidl/com/github/shadowsocks/aidl/Config.aidl: -------------------------------------------------------------------------------- 1 | package com.github.shadowsocks.aidl; 2 | 3 | parcelable Config; -------------------------------------------------------------------------------- /src/main/jni/openssl/README.md: -------------------------------------------------------------------------------- 1 | OpenSSL1.0.1cForAndroid 2 | ======================= 3 | 4 | OpenSSL 1.0.1c For Android -------------------------------------------------------------------------------- /src/main/jni/pdnsd/contrib/Makefile.am: -------------------------------------------------------------------------------- 1 | 2 | EXTRA_DIST = pdnsd_dhcp.pl dhcp2pdnsd change_pdnsd_server_ip.pl README 3 | -------------------------------------------------------------------------------- /src/main/jni/pdnsd/ChangeLog: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mthli/shadowsocks-android/master/src/main/jni/pdnsd/ChangeLog -------------------------------------------------------------------------------- /src/main/assets/fonts/Iceland.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mthli/shadowsocks-android/master/src/main/assets/fonts/Iceland.ttf -------------------------------------------------------------------------------- /src/main/jni/badvpn/lwip/CHANGELOG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mthli/shadowsocks-android/master/src/main/jni/badvpn/lwip/CHANGELOG -------------------------------------------------------------------------------- /src/main/jni/pdnsd/src/rc/Makefile.am: -------------------------------------------------------------------------------- 1 | 2 | SUBDIRS = RedHat SuSE Debian Slackware ArchLinux 3 | 4 | EXTRA_DIST = README 5 | 6 | -------------------------------------------------------------------------------- /local.properties.example: -------------------------------------------------------------------------------- 1 | key.alias: your_key_alias 2 | key.store: /path/to/your/key/store 3 | key.store.password: your_key_password 4 | -------------------------------------------------------------------------------- /src/main/jni/badvpn/arpprobe/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | add_library(arpprobe BArpProbe.c) 2 | target_link_libraries(arpprobe base system flow) 3 | -------------------------------------------------------------------------------- /src/main/jni/badvpn/random/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | add_library(badvpn_random 2 | BRandom2.c 3 | ) 4 | target_link_libraries(badvpn_random base) 5 | -------------------------------------------------------------------------------- /src/main/jni/iptables/Android.mk: -------------------------------------------------------------------------------- 1 | BUILD_IPTABLES_V14 := 1 2 | 3 | LOCAL_PATH:= $(call my-dir) 4 | 5 | include $(call all-subdir-makefiles) 6 | -------------------------------------------------------------------------------- /src/main/jni/openssl/crypto/pkcs7/p7/a1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mthli/shadowsocks-android/master/src/main/jni/openssl/crypto/pkcs7/p7/a1 -------------------------------------------------------------------------------- /src/main/jni/openssl/crypto/pkcs7/p7/a2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mthli/shadowsocks-android/master/src/main/jni/openssl/crypto/pkcs7/p7/a2 -------------------------------------------------------------------------------- /src/main/jni/openssl/crypto/sparccpuid.S: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mthli/shadowsocks-android/master/src/main/jni/openssl/crypto/sparccpuid.S -------------------------------------------------------------------------------- /src/main/jni/pdnsd/doc/html/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mthli/shadowsocks-android/master/src/main/jni/pdnsd/doc/html/index.html -------------------------------------------------------------------------------- /src/main/res/drawable-hdpi/ic_drawer.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mthli/shadowsocks-android/master/src/main/res/drawable-hdpi/ic_drawer.png -------------------------------------------------------------------------------- /src/main/res/drawable-mdpi/ic_drawer.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mthli/shadowsocks-android/master/src/main/res/drawable-mdpi/ic_drawer.png -------------------------------------------------------------------------------- /src/main/res/raw/gtm_default_container: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mthli/shadowsocks-android/master/src/main/res/raw/gtm_default_container -------------------------------------------------------------------------------- /src/main/jni/badvpn/ncd/tests/include_included.ncdi: -------------------------------------------------------------------------------- 1 | include_guard "include_included" 2 | 3 | template incl_tmpl { 4 | var("good") x; 5 | } 6 | -------------------------------------------------------------------------------- /src/main/jni/openssl/crypto/bn/asm/ia64.S: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mthli/shadowsocks-android/master/src/main/jni/openssl/crypto/bn/asm/ia64.S -------------------------------------------------------------------------------- /src/main/jni/openssl/crypto/whrlpool/wp_locl.h: -------------------------------------------------------------------------------- 1 | #include 2 | 3 | void whirlpool_block(WHIRLPOOL_CTX *,const void *,size_t); 4 | -------------------------------------------------------------------------------- /src/main/jni/pdnsd/src/rc/Slackware/Makefile.am: -------------------------------------------------------------------------------- 1 | # TODO: write an install rule for the Slackware start-up script. 2 | 3 | install-exec-local: 4 | -------------------------------------------------------------------------------- /src/main/res/drawable-hdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mthli/shadowsocks-android/master/src/main/res/drawable-hdpi/ic_launcher.png -------------------------------------------------------------------------------- /src/main/res/drawable-hdpi/menu_arrow.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mthli/shadowsocks-android/master/src/main/res/drawable-hdpi/menu_arrow.png -------------------------------------------------------------------------------- /src/main/res/drawable-mdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mthli/shadowsocks-android/master/src/main/res/drawable-mdpi/ic_launcher.png -------------------------------------------------------------------------------- /src/main/res/drawable-mdpi/menu_arrow.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mthli/shadowsocks-android/master/src/main/res/drawable-mdpi/menu_arrow.png -------------------------------------------------------------------------------- /src/main/res/drawable-xhdpi/ic_drawer.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mthli/shadowsocks-android/master/src/main/res/drawable-xhdpi/ic_drawer.png -------------------------------------------------------------------------------- /src/main/res/drawable-xhdpi/menu_arrow.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mthli/shadowsocks-android/master/src/main/res/drawable-xhdpi/menu_arrow.png -------------------------------------------------------------------------------- /src/main/jni/badvpn/ncd/tests/include_included2.ncdi: -------------------------------------------------------------------------------- 1 | include_guard "include_included2" 2 | 3 | template incl_tmpl2 { 4 | var("good2") x; 5 | } 6 | -------------------------------------------------------------------------------- /src/main/jni/badvpn/udpgw_client/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | add_library(udpgw_client UdpGwClient.c) 2 | target_link_libraries(udpgw_client system flow flowextra) 3 | -------------------------------------------------------------------------------- /src/main/jni/openssl/crypto/bn/todo: -------------------------------------------------------------------------------- 1 | Cache RECP_CTX values 2 | make the result argument independant of the inputs. 3 | split up the _exp_ functions 4 | -------------------------------------------------------------------------------- /src/main/jni/openssl/crypto/pkcs7/p7/cert.p7c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mthli/shadowsocks-android/master/src/main/jni/openssl/crypto/pkcs7/p7/cert.p7c -------------------------------------------------------------------------------- /src/main/jni/openssl/crypto/x509v3/v3_pci.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mthli/shadowsocks-android/master/src/main/jni/openssl/crypto/x509v3/v3_pci.c -------------------------------------------------------------------------------- /src/main/jni/openssl/crypto/x509v3/v3_pcia.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mthli/shadowsocks-android/master/src/main/jni/openssl/crypto/x509v3/v3_pcia.c -------------------------------------------------------------------------------- /src/main/res/drawable-hdpi-v21/ic_drawer.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mthli/shadowsocks-android/master/src/main/res/drawable-hdpi-v21/ic_drawer.png -------------------------------------------------------------------------------- /src/main/res/drawable-mdpi-v21/ic_drawer.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mthli/shadowsocks-android/master/src/main/res/drawable-mdpi-v21/ic_drawer.png -------------------------------------------------------------------------------- /src/main/res/drawable-xhdpi-v21/ic_drawer.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mthli/shadowsocks-android/master/src/main/res/drawable-xhdpi-v21/ic_drawer.png -------------------------------------------------------------------------------- /src/main/res/drawable-xhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mthli/shadowsocks-android/master/src/main/res/drawable-xhdpi/ic_launcher.png -------------------------------------------------------------------------------- /src/main/res/drawable-xxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mthli/shadowsocks-android/master/src/main/res/drawable-xxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /src/main/jni/openssl/crypto/aes/asm/aes-586.pl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mthli/shadowsocks-android/master/src/main/jni/openssl/crypto/aes/asm/aes-586.pl -------------------------------------------------------------------------------- /src/main/jni/openssl/crypto/bn/asm/x86-gf2m.pl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mthli/shadowsocks-android/master/src/main/jni/openssl/crypto/bn/asm/x86-gf2m.pl -------------------------------------------------------------------------------- /src/main/jni/openssl/crypto/bn/asm/x86_64-gcc.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mthli/shadowsocks-android/master/src/main/jni/openssl/crypto/bn/asm/x86_64-gcc.c -------------------------------------------------------------------------------- /src/main/jni/openssl/crypto/dh/dh192.pem: -------------------------------------------------------------------------------- 1 | -----BEGIN DH PARAMETERS----- 2 | MB4CGQDUoLoCULb9LsYm5+/WN992xxbiLQlEuIsCAQM= 3 | -----END DH PARAMETERS----- 4 | -------------------------------------------------------------------------------- /src/main/jni/openssl/crypto/pkcs7/p7/smime.p7m: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mthli/shadowsocks-android/master/src/main/jni/openssl/crypto/pkcs7/p7/smime.p7m -------------------------------------------------------------------------------- /src/main/jni/openssl/crypto/pkcs7/p7/smime.p7s: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mthli/shadowsocks-android/master/src/main/jni/openssl/crypto/pkcs7/p7/smime.p7s -------------------------------------------------------------------------------- /src/main/jni/openssl/crypto/sha/asm/sha1-586.pl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mthli/shadowsocks-android/master/src/main/jni/openssl/crypto/sha/asm/sha1-586.pl -------------------------------------------------------------------------------- /src/main/res/drawable-xxhdpi-v21/ic_drawer.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mthli/shadowsocks-android/master/src/main/res/drawable-xxhdpi-v21/ic_drawer.png -------------------------------------------------------------------------------- /.gitmodules: -------------------------------------------------------------------------------- 1 | [submodule "src/main/jni/shadowsocks-libev"] 2 | path = src/main/jni/shadowsocks-libev 3 | url = https://github.com/shadowsocks/shadowsocks-libev 4 | -------------------------------------------------------------------------------- /src/main/jni/openssl/crypto/bn/asm/armv4-gf2m.pl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mthli/shadowsocks-android/master/src/main/jni/openssl/crypto/bn/asm/armv4-gf2m.pl -------------------------------------------------------------------------------- /src/main/jni/openssl/crypto/bn/asm/s390x-gf2m.pl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mthli/shadowsocks-android/master/src/main/jni/openssl/crypto/bn/asm/s390x-gf2m.pl -------------------------------------------------------------------------------- /src/main/jni/openssl/crypto/bn/asm/x86_64-gf2m.pl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mthli/shadowsocks-android/master/src/main/jni/openssl/crypto/bn/asm/x86_64-gf2m.pl -------------------------------------------------------------------------------- /src/main/jni/openssl/crypto/modes/asm/ghash-x86.pl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mthli/shadowsocks-android/master/src/main/jni/openssl/crypto/modes/asm/ghash-x86.pl -------------------------------------------------------------------------------- /src/main/jni/openssl/crypto/rc4/asm/rc4-x86_64.pl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mthli/shadowsocks-android/master/src/main/jni/openssl/crypto/rc4/asm/rc4-x86_64.pl -------------------------------------------------------------------------------- /src/main/jni/openssl/crypto/sha/asm/sha256-586.pl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mthli/shadowsocks-android/master/src/main/jni/openssl/crypto/sha/asm/sha256-586.pl -------------------------------------------------------------------------------- /src/main/jni/openssl/crypto/sha/asm/sha512-586.pl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mthli/shadowsocks-android/master/src/main/jni/openssl/crypto/sha/asm/sha512-586.pl -------------------------------------------------------------------------------- /src/main/jni/openssl/crypto/whrlpool/asm/wp-mmx.pl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mthli/shadowsocks-android/master/src/main/jni/openssl/crypto/whrlpool/asm/wp-mmx.pl -------------------------------------------------------------------------------- /src/main/res/drawable-hdpi/ab_solid_shadow.9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mthli/shadowsocks-android/master/src/main/res/drawable-hdpi/ab_solid_shadow.9.png -------------------------------------------------------------------------------- /src/main/res/drawable-hdpi/ic_stat_shadowsocks.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mthli/shadowsocks-android/master/src/main/res/drawable-hdpi/ic_stat_shadowsocks.png -------------------------------------------------------------------------------- /src/main/res/drawable-mdpi/ab_solid_shadow.9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mthli/shadowsocks-android/master/src/main/res/drawable-mdpi/ab_solid_shadow.9.png -------------------------------------------------------------------------------- /src/main/res/drawable-mdpi/ic_stat_shadowsocks.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mthli/shadowsocks-android/master/src/main/res/drawable-mdpi/ic_stat_shadowsocks.png -------------------------------------------------------------------------------- /src/main/res/drawable-xhdpi/ab_solid_shadow.9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mthli/shadowsocks-android/master/src/main/res/drawable-xhdpi/ab_solid_shadow.9.png -------------------------------------------------------------------------------- /src/main/res/drawable-xxhdpi/ab_solid_shadow.9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mthli/shadowsocks-android/master/src/main/res/drawable-xxhdpi/ab_solid_shadow.9.png -------------------------------------------------------------------------------- /src/main/jni/badvpn/socksclient/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | add_library(socksclient 2 | BSocksClient.c 3 | ) 4 | target_link_libraries(socksclient system flow flowextra) 5 | -------------------------------------------------------------------------------- /src/main/jni/openssl/crypto/modes/asm/ghash-armv4.pl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mthli/shadowsocks-android/master/src/main/jni/openssl/crypto/modes/asm/ghash-armv4.pl -------------------------------------------------------------------------------- /src/main/res/drawable-hdpi/list_focused_shadow.9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mthli/shadowsocks-android/master/src/main/res/drawable-hdpi/list_focused_shadow.9.png -------------------------------------------------------------------------------- /src/main/res/drawable-hdpi/list_pressed_shadow.9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mthli/shadowsocks-android/master/src/main/res/drawable-hdpi/list_pressed_shadow.9.png -------------------------------------------------------------------------------- /src/main/res/drawable-hdpi/progress_bg_shadow.9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mthli/shadowsocks-android/master/src/main/res/drawable-hdpi/progress_bg_shadow.9.png -------------------------------------------------------------------------------- /src/main/res/drawable-hdpi/tab_selected_shadow.9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mthli/shadowsocks-android/master/src/main/res/drawable-hdpi/tab_selected_shadow.9.png -------------------------------------------------------------------------------- /src/main/res/drawable-mdpi/list_focused_shadow.9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mthli/shadowsocks-android/master/src/main/res/drawable-mdpi/list_focused_shadow.9.png -------------------------------------------------------------------------------- /src/main/res/drawable-mdpi/list_pressed_shadow.9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mthli/shadowsocks-android/master/src/main/res/drawable-mdpi/list_pressed_shadow.9.png -------------------------------------------------------------------------------- /src/main/res/drawable-mdpi/progress_bg_shadow.9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mthli/shadowsocks-android/master/src/main/res/drawable-mdpi/progress_bg_shadow.9.png -------------------------------------------------------------------------------- /src/main/res/drawable-mdpi/tab_selected_shadow.9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mthli/shadowsocks-android/master/src/main/res/drawable-mdpi/tab_selected_shadow.9.png -------------------------------------------------------------------------------- /src/main/res/drawable-xhdpi/ic_stat_shadowsocks.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mthli/shadowsocks-android/master/src/main/res/drawable-xhdpi/ic_stat_shadowsocks.png -------------------------------------------------------------------------------- /src/main/res/drawable-xhdpi/progress_bg_shadow.9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mthli/shadowsocks-android/master/src/main/res/drawable-xhdpi/progress_bg_shadow.9.png -------------------------------------------------------------------------------- /src/main/res/drawable-xxhdpi/ic_stat_shadowsocks.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mthli/shadowsocks-android/master/src/main/res/drawable-xxhdpi/ic_stat_shadowsocks.png -------------------------------------------------------------------------------- /src/main/jni/Application.mk: -------------------------------------------------------------------------------- 1 | APP_ABI := armeabi-v7a x86 2 | APP_PLATFORM := android-16 3 | APP_STL := stlport_static 4 | NDK_TOOLCHAIN_VERSION := 4.9 5 | -------------------------------------------------------------------------------- /src/main/jni/badvpn/generated/blog_channel_ncd.h: -------------------------------------------------------------------------------- 1 | #ifdef BLOG_CURRENT_CHANNEL 2 | #undef BLOG_CURRENT_CHANNEL 3 | #endif 4 | #define BLOG_CURRENT_CHANNEL BLOG_CHANNEL_ncd 5 | -------------------------------------------------------------------------------- /src/main/jni/badvpn/tunctl/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | add_executable(badvpn-tunctl tunctl.c) 2 | 3 | install( 4 | TARGETS badvpn-tunctl 5 | RUNTIME DESTINATION bin 6 | ) 7 | -------------------------------------------------------------------------------- /src/main/res/drawable-hdpi/ab_bottom_solid_shadow.9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mthli/shadowsocks-android/master/src/main/res/drawable-hdpi/ab_bottom_solid_shadow.9.png -------------------------------------------------------------------------------- /src/main/res/drawable-hdpi/ab_texture_tile_shadow.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mthli/shadowsocks-android/master/src/main/res/drawable-hdpi/ab_texture_tile_shadow.png -------------------------------------------------------------------------------- /src/main/res/drawable-hdpi/ab_transparent_shadow.9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mthli/shadowsocks-android/master/src/main/res/drawable-hdpi/ab_transparent_shadow.9.png -------------------------------------------------------------------------------- /src/main/res/drawable-hdpi/md__list_focused_holo.9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mthli/shadowsocks-android/master/src/main/res/drawable-hdpi/md__list_focused_holo.9.png -------------------------------------------------------------------------------- /src/main/res/drawable-hdpi/tab_unselected_shadow.9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mthli/shadowsocks-android/master/src/main/res/drawable-hdpi/tab_unselected_shadow.9.png -------------------------------------------------------------------------------- /src/main/res/drawable-mdpi/ab_bottom_solid_shadow.9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mthli/shadowsocks-android/master/src/main/res/drawable-mdpi/ab_bottom_solid_shadow.9.png -------------------------------------------------------------------------------- /src/main/res/drawable-mdpi/ab_texture_tile_shadow.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mthli/shadowsocks-android/master/src/main/res/drawable-mdpi/ab_texture_tile_shadow.png -------------------------------------------------------------------------------- /src/main/res/drawable-mdpi/ab_transparent_shadow.9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mthli/shadowsocks-android/master/src/main/res/drawable-mdpi/ab_transparent_shadow.9.png -------------------------------------------------------------------------------- /src/main/res/drawable-mdpi/md__list_focused_holo.9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mthli/shadowsocks-android/master/src/main/res/drawable-mdpi/md__list_focused_holo.9.png -------------------------------------------------------------------------------- /src/main/res/drawable-mdpi/tab_unselected_shadow.9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mthli/shadowsocks-android/master/src/main/res/drawable-mdpi/tab_unselected_shadow.9.png -------------------------------------------------------------------------------- /src/main/res/drawable-xhdpi/ab_texture_tile_shadow.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mthli/shadowsocks-android/master/src/main/res/drawable-xhdpi/ab_texture_tile_shadow.png -------------------------------------------------------------------------------- /src/main/res/drawable-xhdpi/ab_transparent_shadow.9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mthli/shadowsocks-android/master/src/main/res/drawable-xhdpi/ab_transparent_shadow.9.png -------------------------------------------------------------------------------- /src/main/res/drawable-xhdpi/list_focused_shadow.9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mthli/shadowsocks-android/master/src/main/res/drawable-xhdpi/list_focused_shadow.9.png -------------------------------------------------------------------------------- /src/main/res/drawable-xhdpi/list_pressed_shadow.9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mthli/shadowsocks-android/master/src/main/res/drawable-xhdpi/list_pressed_shadow.9.png -------------------------------------------------------------------------------- /src/main/res/drawable-xhdpi/md__list_focused_holo.9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mthli/shadowsocks-android/master/src/main/res/drawable-xhdpi/md__list_focused_holo.9.png -------------------------------------------------------------------------------- /src/main/res/drawable-xhdpi/tab_selected_shadow.9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mthli/shadowsocks-android/master/src/main/res/drawable-xhdpi/tab_selected_shadow.9.png -------------------------------------------------------------------------------- /src/main/res/drawable-xhdpi/tab_unselected_shadow.9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mthli/shadowsocks-android/master/src/main/res/drawable-xhdpi/tab_unselected_shadow.9.png -------------------------------------------------------------------------------- /src/main/res/drawable-xxhdpi/ab_texture_tile_shadow.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mthli/shadowsocks-android/master/src/main/res/drawable-xxhdpi/ab_texture_tile_shadow.png -------------------------------------------------------------------------------- /src/main/res/drawable-xxhdpi/list_focused_shadow.9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mthli/shadowsocks-android/master/src/main/res/drawable-xxhdpi/list_focused_shadow.9.png -------------------------------------------------------------------------------- /src/main/res/drawable-xxhdpi/list_pressed_shadow.9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mthli/shadowsocks-android/master/src/main/res/drawable-xxhdpi/list_pressed_shadow.9.png -------------------------------------------------------------------------------- /src/main/res/drawable-xxhdpi/progress_bg_shadow.9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mthli/shadowsocks-android/master/src/main/res/drawable-xxhdpi/progress_bg_shadow.9.png -------------------------------------------------------------------------------- /src/main/res/drawable-xxhdpi/tab_selected_shadow.9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mthli/shadowsocks-android/master/src/main/res/drawable-xxhdpi/tab_selected_shadow.9.png -------------------------------------------------------------------------------- /src/main/jni/badvpn/generated/blog_channel_BTap.h: -------------------------------------------------------------------------------- 1 | #ifdef BLOG_CURRENT_CHANNEL 2 | #undef BLOG_CURRENT_CHANNEL 3 | #endif 4 | #define BLOG_CURRENT_CHANNEL BLOG_CHANNEL_BTap 5 | -------------------------------------------------------------------------------- /src/main/jni/badvpn/generated/blog_channel_BTime.h: -------------------------------------------------------------------------------- 1 | #ifdef BLOG_CURRENT_CHANNEL 2 | #undef BLOG_CURRENT_CHANNEL 3 | #endif 4 | #define BLOG_CURRENT_CHANNEL BLOG_CHANNEL_BTime 5 | -------------------------------------------------------------------------------- /src/main/jni/badvpn/generated/blog_channel_addr.h: -------------------------------------------------------------------------------- 1 | #ifdef BLOG_CURRENT_CHANNEL 2 | #undef BLOG_CURRENT_CHANNEL 3 | #endif 4 | #define BLOG_CURRENT_CHANNEL BLOG_CHANNEL_addr 5 | -------------------------------------------------------------------------------- /src/main/jni/badvpn/generated/blog_channel_lwip.h: -------------------------------------------------------------------------------- 1 | #ifdef BLOG_CURRENT_CHANNEL 2 | #undef BLOG_CURRENT_CHANNEL 3 | #endif 4 | #define BLOG_CURRENT_CHANNEL BLOG_CHANNEL_lwip 5 | -------------------------------------------------------------------------------- /src/main/jni/badvpn/generated/blog_channel_udpgw.h: -------------------------------------------------------------------------------- 1 | #ifdef BLOG_CURRENT_CHANNEL 2 | #undef BLOG_CURRENT_CHANNEL 3 | #endif 4 | #define BLOG_CURRENT_CHANNEL BLOG_CHANNEL_udpgw 5 | -------------------------------------------------------------------------------- /src/main/jni/iptables/extensions/libxt_esp.man: -------------------------------------------------------------------------------- 1 | This module matches the SPIs in ESP header of IPsec packets. 2 | .TP 3 | [\fB!\fP] \fB\-\-espspi\fP \fIspi\fP[\fB:\fP\fIspi\fP] 4 | -------------------------------------------------------------------------------- /src/main/jni/openssl/crypto/rc4/rc4_locl.h: -------------------------------------------------------------------------------- 1 | #ifndef HEADER_RC4_LOCL_H 2 | #define HEADER_RC4_LOCL_H 3 | #include 4 | #include 5 | #endif 6 | -------------------------------------------------------------------------------- /src/main/jni/openssl/crypto/threads/ptest.bat: -------------------------------------------------------------------------------- 1 | del mttest.exe 2 | 3 | purify cl /O2 -DWIN32 /MD -I..\..\out mttest.c /Femttest ..\..\out\ssl32.lib ..\..\out\crypt32.lib 4 | 5 | -------------------------------------------------------------------------------- /src/main/jni/openssl/crypto/threads/win32.bat: -------------------------------------------------------------------------------- 1 | del mttest.exe 2 | 3 | cl /O2 -DWIN32 /MD -I..\..\out mttest.c /Femttest ..\..\out\ssleay32.lib ..\..\out\libeay32.lib 4 | 5 | -------------------------------------------------------------------------------- /src/main/res/drawable-hdpi/ab_stacked_solid_shadow.9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mthli/shadowsocks-android/master/src/main/res/drawable-hdpi/ab_stacked_solid_shadow.9.png -------------------------------------------------------------------------------- /src/main/res/drawable-hdpi/md__category_background.9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mthli/shadowsocks-android/master/src/main/res/drawable-hdpi/md__category_background.9.png -------------------------------------------------------------------------------- /src/main/res/drawable-hdpi/progress_primary_shadow.9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mthli/shadowsocks-android/master/src/main/res/drawable-hdpi/progress_primary_shadow.9.png -------------------------------------------------------------------------------- /src/main/res/drawable-mdpi/ab_stacked_solid_shadow.9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mthli/shadowsocks-android/master/src/main/res/drawable-mdpi/ab_stacked_solid_shadow.9.png -------------------------------------------------------------------------------- /src/main/res/drawable-mdpi/md__category_background.9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mthli/shadowsocks-android/master/src/main/res/drawable-mdpi/md__category_background.9.png -------------------------------------------------------------------------------- /src/main/res/drawable-mdpi/progress_primary_shadow.9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mthli/shadowsocks-android/master/src/main/res/drawable-mdpi/progress_primary_shadow.9.png -------------------------------------------------------------------------------- /src/main/res/drawable-xhdpi/ab_bottom_solid_shadow.9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mthli/shadowsocks-android/master/src/main/res/drawable-xhdpi/ab_bottom_solid_shadow.9.png -------------------------------------------------------------------------------- /src/main/res/drawable-xhdpi/ab_stacked_solid_shadow.9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mthli/shadowsocks-android/master/src/main/res/drawable-xhdpi/ab_stacked_solid_shadow.9.png -------------------------------------------------------------------------------- /src/main/res/drawable-xhdpi/md__category_background.9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mthli/shadowsocks-android/master/src/main/res/drawable-xhdpi/md__category_background.9.png -------------------------------------------------------------------------------- /src/main/res/drawable-xhdpi/progress_primary_shadow.9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mthli/shadowsocks-android/master/src/main/res/drawable-xhdpi/progress_primary_shadow.9.png -------------------------------------------------------------------------------- /src/main/res/drawable-xxhdpi/ab_bottom_solid_shadow.9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mthli/shadowsocks-android/master/src/main/res/drawable-xxhdpi/ab_bottom_solid_shadow.9.png -------------------------------------------------------------------------------- /src/main/res/drawable-xxhdpi/ab_transparent_shadow.9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mthli/shadowsocks-android/master/src/main/res/drawable-xxhdpi/ab_transparent_shadow.9.png -------------------------------------------------------------------------------- /src/main/res/drawable-xxhdpi/tab_unselected_shadow.9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mthli/shadowsocks-android/master/src/main/res/drawable-xxhdpi/tab_unselected_shadow.9.png -------------------------------------------------------------------------------- /src/main/jni/badvpn/generated/blog_channel_BNetwork.h: -------------------------------------------------------------------------------- 1 | #ifdef BLOG_CURRENT_CHANNEL 2 | #undef BLOG_CURRENT_CHANNEL 3 | #endif 4 | #define BLOG_CURRENT_CHANNEL BLOG_CHANNEL_BNetwork 5 | -------------------------------------------------------------------------------- /src/main/jni/badvpn/generated/blog_channel_BProcess.h: -------------------------------------------------------------------------------- 1 | #ifdef BLOG_CURRENT_CHANNEL 2 | #undef BLOG_CURRENT_CHANNEL 3 | #endif 4 | #define BLOG_CURRENT_CHANNEL BLOG_CHANNEL_BProcess 5 | -------------------------------------------------------------------------------- /src/main/jni/badvpn/generated/blog_channel_BReactor.h: -------------------------------------------------------------------------------- 1 | #ifdef BLOG_CURRENT_CHANNEL 2 | #undef BLOG_CURRENT_CHANNEL 3 | #endif 4 | #define BLOG_CURRENT_CHANNEL BLOG_CHANNEL_BReactor 5 | -------------------------------------------------------------------------------- /src/main/jni/badvpn/generated/blog_channel_BSignal.h: -------------------------------------------------------------------------------- 1 | #ifdef BLOG_CURRENT_CHANNEL 2 | #undef BLOG_CURRENT_CHANNEL 3 | #endif 4 | #define BLOG_CURRENT_CHANNEL BLOG_CHANNEL_BSignal 5 | -------------------------------------------------------------------------------- /src/main/jni/badvpn/generated/blog_channel_DPRelay.h: -------------------------------------------------------------------------------- 1 | #ifdef BLOG_CURRENT_CHANNEL 2 | #undef BLOG_CURRENT_CHANNEL 3 | #endif 4 | #define BLOG_CURRENT_CHANNEL BLOG_CHANNEL_DPRelay 5 | -------------------------------------------------------------------------------- /src/main/jni/badvpn/generated/blog_channel_Listener.h: -------------------------------------------------------------------------------- 1 | #ifdef BLOG_CURRENT_CHANNEL 2 | #undef BLOG_CURRENT_CHANNEL 3 | #endif 4 | #define BLOG_CURRENT_CHANNEL BLOG_CHANNEL_Listener 5 | -------------------------------------------------------------------------------- /src/main/jni/badvpn/generated/blog_channel_NCDVal.h: -------------------------------------------------------------------------------- 1 | #ifdef BLOG_CURRENT_CHANNEL 2 | #undef BLOG_CURRENT_CHANNEL 3 | #endif 4 | #define BLOG_CURRENT_CHANNEL BLOG_CHANNEL_NCDVal 5 | -------------------------------------------------------------------------------- /src/main/jni/badvpn/generated/blog_channel_PeerChat.h: -------------------------------------------------------------------------------- 1 | #ifdef BLOG_CURRENT_CHANNEL 2 | #undef BLOG_CURRENT_CHANNEL 3 | #endif 4 | #define BLOG_CURRENT_CHANNEL BLOG_CHANNEL_PeerChat 5 | -------------------------------------------------------------------------------- /src/main/jni/badvpn/generated/blog_channel_client.h: -------------------------------------------------------------------------------- 1 | #ifdef BLOG_CURRENT_CHANNEL 2 | #undef BLOG_CURRENT_CHANNEL 3 | #endif 4 | #define BLOG_CURRENT_CHANNEL BLOG_CHANNEL_client 5 | -------------------------------------------------------------------------------- /src/main/jni/badvpn/generated/blog_channel_flooder.h: -------------------------------------------------------------------------------- 1 | #ifdef BLOG_CURRENT_CHANNEL 2 | #undef BLOG_CURRENT_CHANNEL 3 | #endif 4 | #define BLOG_CURRENT_CHANNEL BLOG_CHANNEL_flooder 5 | -------------------------------------------------------------------------------- /src/main/jni/badvpn/generated/blog_channel_ncd_exit.h: -------------------------------------------------------------------------------- 1 | #ifdef BLOG_CURRENT_CHANNEL 2 | #undef BLOG_CURRENT_CHANNEL 3 | #endif 4 | #define BLOG_CURRENT_CHANNEL BLOG_CHANNEL_ncd_exit 5 | -------------------------------------------------------------------------------- /src/main/jni/badvpn/generated/blog_channel_ncd_file.h: -------------------------------------------------------------------------------- 1 | #ifdef BLOG_CURRENT_CHANNEL 2 | #undef BLOG_CURRENT_CHANNEL 3 | #endif 4 | #define BLOG_CURRENT_CHANNEL BLOG_CHANNEL_ncd_file 5 | -------------------------------------------------------------------------------- /src/main/jni/badvpn/generated/blog_channel_ncd_if.h: -------------------------------------------------------------------------------- 1 | #ifdef BLOG_CURRENT_CHANNEL 2 | #undef BLOG_CURRENT_CHANNEL 3 | #endif 4 | #define BLOG_CURRENT_CHANNEL BLOG_CHANNEL_ncd_if 5 | -------------------------------------------------------------------------------- /src/main/jni/badvpn/generated/blog_channel_ncd_list.h: -------------------------------------------------------------------------------- 1 | #ifdef BLOG_CURRENT_CHANNEL 2 | #undef BLOG_CURRENT_CHANNEL 3 | #endif 4 | #define BLOG_CURRENT_CHANNEL BLOG_CHANNEL_ncd_list 5 | -------------------------------------------------------------------------------- /src/main/jni/badvpn/generated/blog_channel_ncd_log.h: -------------------------------------------------------------------------------- 1 | #ifdef BLOG_CURRENT_CHANNEL 2 | #undef BLOG_CURRENT_CHANNEL 3 | #endif 4 | #define BLOG_CURRENT_CHANNEL BLOG_CHANNEL_ncd_log 5 | -------------------------------------------------------------------------------- /src/main/jni/badvpn/generated/blog_channel_ncd_ref.h: -------------------------------------------------------------------------------- 1 | #ifdef BLOG_CURRENT_CHANNEL 2 | #undef BLOG_CURRENT_CHANNEL 3 | #endif 4 | #define BLOG_CURRENT_CHANNEL BLOG_CHANNEL_ncd_ref 5 | -------------------------------------------------------------------------------- /src/main/jni/badvpn/generated/blog_channel_ncd_run.h: -------------------------------------------------------------------------------- 1 | #ifdef BLOG_CURRENT_CHANNEL 2 | #undef BLOG_CURRENT_CHANNEL 3 | #endif 4 | #define BLOG_CURRENT_CHANNEL BLOG_CHANNEL_ncd_run 5 | -------------------------------------------------------------------------------- /src/main/jni/badvpn/generated/blog_channel_ncd_try.h: -------------------------------------------------------------------------------- 1 | #ifdef BLOG_CURRENT_CHANNEL 2 | #undef BLOG_CURRENT_CHANNEL 3 | #endif 4 | #define BLOG_CURRENT_CHANNEL BLOG_CHANNEL_ncd_try 5 | -------------------------------------------------------------------------------- /src/main/jni/badvpn/generated/blog_channel_ncd_var.h: -------------------------------------------------------------------------------- 1 | #ifdef BLOG_CURRENT_CHANNEL 2 | #undef BLOG_CURRENT_CHANNEL 3 | #endif 4 | #define BLOG_CURRENT_CHANNEL BLOG_CHANNEL_ncd_var 5 | -------------------------------------------------------------------------------- /src/main/jni/badvpn/generated/blog_channel_nsskey.h: -------------------------------------------------------------------------------- 1 | #ifdef BLOG_CURRENT_CHANNEL 2 | #undef BLOG_CURRENT_CHANNEL 3 | #endif 4 | #define BLOG_CURRENT_CHANNEL BLOG_CHANNEL_nsskey 5 | -------------------------------------------------------------------------------- /src/main/jni/badvpn/generated/blog_channel_server.h: -------------------------------------------------------------------------------- 1 | #ifdef BLOG_CURRENT_CHANNEL 2 | #undef BLOG_CURRENT_CHANNEL 3 | #endif 4 | #define BLOG_CURRENT_CHANNEL BLOG_CHANNEL_server 5 | -------------------------------------------------------------------------------- /src/main/jni/openssl/crypto/fips_ers.c: -------------------------------------------------------------------------------- 1 | #include 2 | 3 | #ifdef OPENSSL_FIPS 4 | # include "fips_err.h" 5 | #else 6 | static void *dummy=&dummy; 7 | #endif 8 | -------------------------------------------------------------------------------- /src/main/res/drawable-hdpi/btn_cab_done_default_shadow.9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mthli/shadowsocks-android/master/src/main/res/drawable-hdpi/btn_cab_done_default_shadow.9.png -------------------------------------------------------------------------------- /src/main/res/drawable-hdpi/btn_cab_done_focused_shadow.9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mthli/shadowsocks-android/master/src/main/res/drawable-hdpi/btn_cab_done_focused_shadow.9.png -------------------------------------------------------------------------------- /src/main/res/drawable-hdpi/btn_cab_done_pressed_shadow.9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mthli/shadowsocks-android/master/src/main/res/drawable-hdpi/btn_cab_done_pressed_shadow.9.png -------------------------------------------------------------------------------- /src/main/res/drawable-hdpi/cab_background_top_shadow.9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mthli/shadowsocks-android/master/src/main/res/drawable-hdpi/cab_background_top_shadow.9.png -------------------------------------------------------------------------------- /src/main/res/drawable-hdpi/md__list_longpressed_holo.9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mthli/shadowsocks-android/master/src/main/res/drawable-hdpi/md__list_longpressed_holo.9.png -------------------------------------------------------------------------------- /src/main/res/drawable-hdpi/md__list_pressed_holo_dark.9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mthli/shadowsocks-android/master/src/main/res/drawable-hdpi/md__list_pressed_holo_dark.9.png -------------------------------------------------------------------------------- /src/main/res/drawable-hdpi/menu_dropdown_panel_shadow.9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mthli/shadowsocks-android/master/src/main/res/drawable-hdpi/menu_dropdown_panel_shadow.9.png -------------------------------------------------------------------------------- /src/main/res/drawable-hdpi/progress_secondary_shadow.9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mthli/shadowsocks-android/master/src/main/res/drawable-hdpi/progress_secondary_shadow.9.png -------------------------------------------------------------------------------- /src/main/res/drawable-hdpi/spinner_ab_default_shadow.9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mthli/shadowsocks-android/master/src/main/res/drawable-hdpi/spinner_ab_default_shadow.9.png -------------------------------------------------------------------------------- /src/main/res/drawable-hdpi/spinner_ab_disabled_shadow.9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mthli/shadowsocks-android/master/src/main/res/drawable-hdpi/spinner_ab_disabled_shadow.9.png -------------------------------------------------------------------------------- /src/main/res/drawable-hdpi/spinner_ab_focused_shadow.9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mthli/shadowsocks-android/master/src/main/res/drawable-hdpi/spinner_ab_focused_shadow.9.png -------------------------------------------------------------------------------- /src/main/res/drawable-hdpi/spinner_ab_pressed_shadow.9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mthli/shadowsocks-android/master/src/main/res/drawable-hdpi/spinner_ab_pressed_shadow.9.png -------------------------------------------------------------------------------- /src/main/res/drawable-hdpi/tab_selected_focused_shadow.9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mthli/shadowsocks-android/master/src/main/res/drawable-hdpi/tab_selected_focused_shadow.9.png -------------------------------------------------------------------------------- /src/main/res/drawable-hdpi/tab_selected_pressed_shadow.9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mthli/shadowsocks-android/master/src/main/res/drawable-hdpi/tab_selected_pressed_shadow.9.png -------------------------------------------------------------------------------- /src/main/res/drawable-mdpi/btn_cab_done_default_shadow.9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mthli/shadowsocks-android/master/src/main/res/drawable-mdpi/btn_cab_done_default_shadow.9.png -------------------------------------------------------------------------------- /src/main/res/drawable-mdpi/btn_cab_done_focused_shadow.9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mthli/shadowsocks-android/master/src/main/res/drawable-mdpi/btn_cab_done_focused_shadow.9.png -------------------------------------------------------------------------------- /src/main/res/drawable-mdpi/btn_cab_done_pressed_shadow.9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mthli/shadowsocks-android/master/src/main/res/drawable-mdpi/btn_cab_done_pressed_shadow.9.png -------------------------------------------------------------------------------- /src/main/res/drawable-mdpi/cab_background_top_shadow.9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mthli/shadowsocks-android/master/src/main/res/drawable-mdpi/cab_background_top_shadow.9.png -------------------------------------------------------------------------------- /src/main/res/drawable-mdpi/md__list_longpressed_holo.9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mthli/shadowsocks-android/master/src/main/res/drawable-mdpi/md__list_longpressed_holo.9.png -------------------------------------------------------------------------------- /src/main/res/drawable-mdpi/md__list_pressed_holo_dark.9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mthli/shadowsocks-android/master/src/main/res/drawable-mdpi/md__list_pressed_holo_dark.9.png -------------------------------------------------------------------------------- /src/main/res/drawable-mdpi/menu_dropdown_panel_shadow.9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mthli/shadowsocks-android/master/src/main/res/drawable-mdpi/menu_dropdown_panel_shadow.9.png -------------------------------------------------------------------------------- /src/main/res/drawable-mdpi/progress_secondary_shadow.9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mthli/shadowsocks-android/master/src/main/res/drawable-mdpi/progress_secondary_shadow.9.png -------------------------------------------------------------------------------- /src/main/res/drawable-mdpi/spinner_ab_default_shadow.9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mthli/shadowsocks-android/master/src/main/res/drawable-mdpi/spinner_ab_default_shadow.9.png -------------------------------------------------------------------------------- /src/main/res/drawable-mdpi/spinner_ab_disabled_shadow.9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mthli/shadowsocks-android/master/src/main/res/drawable-mdpi/spinner_ab_disabled_shadow.9.png -------------------------------------------------------------------------------- /src/main/res/drawable-mdpi/spinner_ab_focused_shadow.9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mthli/shadowsocks-android/master/src/main/res/drawable-mdpi/spinner_ab_focused_shadow.9.png -------------------------------------------------------------------------------- /src/main/res/drawable-mdpi/spinner_ab_pressed_shadow.9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mthli/shadowsocks-android/master/src/main/res/drawable-mdpi/spinner_ab_pressed_shadow.9.png -------------------------------------------------------------------------------- /src/main/res/drawable-mdpi/tab_selected_focused_shadow.9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mthli/shadowsocks-android/master/src/main/res/drawable-mdpi/tab_selected_focused_shadow.9.png -------------------------------------------------------------------------------- /src/main/res/drawable-mdpi/tab_selected_pressed_shadow.9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mthli/shadowsocks-android/master/src/main/res/drawable-mdpi/tab_selected_pressed_shadow.9.png -------------------------------------------------------------------------------- /src/main/res/drawable-xhdpi/cab_background_top_shadow.9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mthli/shadowsocks-android/master/src/main/res/drawable-xhdpi/cab_background_top_shadow.9.png -------------------------------------------------------------------------------- /src/main/res/drawable-xhdpi/md__list_longpressed_holo.9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mthli/shadowsocks-android/master/src/main/res/drawable-xhdpi/md__list_longpressed_holo.9.png -------------------------------------------------------------------------------- /src/main/res/drawable-xhdpi/md__list_pressed_holo_dark.9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mthli/shadowsocks-android/master/src/main/res/drawable-xhdpi/md__list_pressed_holo_dark.9.png -------------------------------------------------------------------------------- /src/main/res/drawable-xhdpi/menu_dropdown_panel_shadow.9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mthli/shadowsocks-android/master/src/main/res/drawable-xhdpi/menu_dropdown_panel_shadow.9.png -------------------------------------------------------------------------------- /src/main/res/drawable-xhdpi/progress_secondary_shadow.9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mthli/shadowsocks-android/master/src/main/res/drawable-xhdpi/progress_secondary_shadow.9.png -------------------------------------------------------------------------------- /src/main/res/drawable-xhdpi/spinner_ab_default_shadow.9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mthli/shadowsocks-android/master/src/main/res/drawable-xhdpi/spinner_ab_default_shadow.9.png -------------------------------------------------------------------------------- /src/main/res/drawable-xhdpi/spinner_ab_disabled_shadow.9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mthli/shadowsocks-android/master/src/main/res/drawable-xhdpi/spinner_ab_disabled_shadow.9.png -------------------------------------------------------------------------------- /src/main/res/drawable-xhdpi/spinner_ab_focused_shadow.9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mthli/shadowsocks-android/master/src/main/res/drawable-xhdpi/spinner_ab_focused_shadow.9.png -------------------------------------------------------------------------------- /src/main/res/drawable-xhdpi/spinner_ab_pressed_shadow.9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mthli/shadowsocks-android/master/src/main/res/drawable-xhdpi/spinner_ab_pressed_shadow.9.png -------------------------------------------------------------------------------- /src/main/res/drawable-xxhdpi/ab_stacked_solid_shadow.9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mthli/shadowsocks-android/master/src/main/res/drawable-xxhdpi/ab_stacked_solid_shadow.9.png -------------------------------------------------------------------------------- /src/main/res/drawable-xxhdpi/cab_background_top_shadow.9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mthli/shadowsocks-android/master/src/main/res/drawable-xxhdpi/cab_background_top_shadow.9.png -------------------------------------------------------------------------------- /src/main/res/drawable-xxhdpi/progress_primary_shadow.9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mthli/shadowsocks-android/master/src/main/res/drawable-xxhdpi/progress_primary_shadow.9.png -------------------------------------------------------------------------------- /src/main/res/drawable-xxhdpi/progress_secondary_shadow.9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mthli/shadowsocks-android/master/src/main/res/drawable-xxhdpi/progress_secondary_shadow.9.png -------------------------------------------------------------------------------- /src/main/res/drawable-xxhdpi/spinner_ab_default_shadow.9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mthli/shadowsocks-android/master/src/main/res/drawable-xxhdpi/spinner_ab_default_shadow.9.png -------------------------------------------------------------------------------- /src/main/res/drawable-xxhdpi/spinner_ab_focused_shadow.9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mthli/shadowsocks-android/master/src/main/res/drawable-xxhdpi/spinner_ab_focused_shadow.9.png -------------------------------------------------------------------------------- /src/main/res/drawable-xxhdpi/spinner_ab_pressed_shadow.9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mthli/shadowsocks-android/master/src/main/res/drawable-xxhdpi/spinner_ab_pressed_shadow.9.png -------------------------------------------------------------------------------- /src/main/jni/badvpn/flowextra/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | add_library(flowextra 2 | PacketPassInactivityMonitor.c 3 | KeepaliveIO.c 4 | ) 5 | target_link_libraries(flowextra flow system) 6 | -------------------------------------------------------------------------------- /src/main/jni/badvpn/generated/blog_channel_BArpProbe.h: -------------------------------------------------------------------------------- 1 | #ifdef BLOG_CURRENT_CHANNEL 2 | #undef BLOG_CURRENT_CHANNEL 3 | #endif 4 | #define BLOG_CURRENT_CHANNEL BLOG_CHANNEL_BArpProbe 5 | -------------------------------------------------------------------------------- /src/main/jni/badvpn/generated/blog_channel_BDatagram.h: -------------------------------------------------------------------------------- 1 | #ifdef BLOG_CURRENT_CHANNEL 2 | #undef BLOG_CURRENT_CHANNEL 3 | #endif 4 | #define BLOG_CURRENT_CHANNEL BLOG_CHANNEL_BDatagram 5 | -------------------------------------------------------------------------------- /src/main/jni/badvpn/generated/blog_channel_BPredicate.h: -------------------------------------------------------------------------------- 1 | #ifdef BLOG_CURRENT_CHANNEL 2 | #undef BLOG_CURRENT_CHANNEL 3 | #endif 4 | #define BLOG_CURRENT_CHANNEL BLOG_CHANNEL_BPredicate 5 | -------------------------------------------------------------------------------- /src/main/jni/badvpn/generated/blog_channel_DPReceive.h: -------------------------------------------------------------------------------- 1 | #ifdef BLOG_CURRENT_CHANNEL 2 | #undef BLOG_CURRENT_CHANNEL 3 | #endif 4 | #define BLOG_CURRENT_CHANNEL BLOG_CHANNEL_DPReceive 5 | -------------------------------------------------------------------------------- /src/main/jni/badvpn/generated/blog_channel_DataProto.h: -------------------------------------------------------------------------------- 1 | #ifdef BLOG_CURRENT_CHANNEL 2 | #undef BLOG_CURRENT_CHANNEL 3 | #endif 4 | #define BLOG_CURRENT_CHANNEL BLOG_CHANNEL_DataProto 5 | -------------------------------------------------------------------------------- /src/main/jni/badvpn/generated/blog_channel_LineBuffer.h: -------------------------------------------------------------------------------- 1 | #ifdef BLOG_CURRENT_CHANNEL 2 | #undef BLOG_CURRENT_CHANNEL 3 | #endif 4 | #define BLOG_CURRENT_CHANNEL BLOG_CHANNEL_LineBuffer 5 | -------------------------------------------------------------------------------- /src/main/jni/badvpn/generated/blog_channel_NCDRequest.h: -------------------------------------------------------------------------------- 1 | #ifdef BLOG_CURRENT_CHANNEL 2 | #undef BLOG_CURRENT_CHANNEL 3 | #endif 4 | #define BLOG_CURRENT_CHANNEL BLOG_CHANNEL_NCDRequest 5 | -------------------------------------------------------------------------------- /src/main/jni/badvpn/generated/blog_channel_ncd_alias.h: -------------------------------------------------------------------------------- 1 | #ifdef BLOG_CURRENT_CHANNEL 2 | #undef BLOG_CURRENT_CHANNEL 3 | #endif 4 | #define BLOG_CURRENT_CHANNEL BLOG_CHANNEL_ncd_alias 5 | -------------------------------------------------------------------------------- /src/main/jni/badvpn/generated/blog_channel_ncd_assert.h: -------------------------------------------------------------------------------- 1 | #ifdef BLOG_CURRENT_CHANNEL 2 | #undef BLOG_CURRENT_CHANNEL 3 | #endif 4 | #define BLOG_CURRENT_CHANNEL BLOG_CHANNEL_ncd_assert 5 | -------------------------------------------------------------------------------- /src/main/jni/badvpn/generated/blog_channel_ncd_buffer.h: -------------------------------------------------------------------------------- 1 | #ifdef BLOG_CURRENT_CHANNEL 2 | #undef BLOG_CURRENT_CHANNEL 3 | #endif 4 | #define BLOG_CURRENT_CHANNEL BLOG_CHANNEL_ncd_buffer 5 | -------------------------------------------------------------------------------- /src/main/jni/badvpn/generated/blog_channel_ncd_call2.h: -------------------------------------------------------------------------------- 1 | #ifdef BLOG_CURRENT_CHANNEL 2 | #undef BLOG_CURRENT_CHANNEL 3 | #endif 4 | #define BLOG_CURRENT_CHANNEL BLOG_CHANNEL_ncd_call2 5 | -------------------------------------------------------------------------------- /src/main/jni/badvpn/generated/blog_channel_ncd_choose.h: -------------------------------------------------------------------------------- 1 | #ifdef BLOG_CURRENT_CHANNEL 2 | #undef BLOG_CURRENT_CHANNEL 3 | #endif 4 | #define BLOG_CURRENT_CHANNEL BLOG_CHANNEL_ncd_choose 5 | -------------------------------------------------------------------------------- /src/main/jni/badvpn/generated/blog_channel_ncd_concat.h: -------------------------------------------------------------------------------- 1 | #ifdef BLOG_CURRENT_CHANNEL 2 | #undef BLOG_CURRENT_CHANNEL 3 | #endif 4 | #define BLOG_CURRENT_CHANNEL BLOG_CHANNEL_ncd_concat 5 | -------------------------------------------------------------------------------- /src/main/jni/badvpn/generated/blog_channel_ncd_daemon.h: -------------------------------------------------------------------------------- 1 | #ifdef BLOG_CURRENT_CHANNEL 2 | #undef BLOG_CURRENT_CHANNEL 3 | #endif 4 | #define BLOG_CURRENT_CHANNEL BLOG_CHANNEL_ncd_daemon 5 | -------------------------------------------------------------------------------- /src/main/jni/badvpn/generated/blog_channel_ncd_depend.h: -------------------------------------------------------------------------------- 1 | #ifdef BLOG_CURRENT_CHANNEL 2 | #undef BLOG_CURRENT_CHANNEL 3 | #endif 4 | #define BLOG_CURRENT_CHANNEL BLOG_CHANNEL_ncd_depend 5 | -------------------------------------------------------------------------------- /src/main/jni/badvpn/generated/blog_channel_ncd_getenv.h: -------------------------------------------------------------------------------- 1 | #ifdef BLOG_CURRENT_CHANNEL 2 | #undef BLOG_CURRENT_CHANNEL 3 | #endif 4 | #define BLOG_CURRENT_CHANNEL BLOG_CHANNEL_ncd_getenv 5 | -------------------------------------------------------------------------------- /src/main/jni/badvpn/generated/blog_channel_ncd_index.h: -------------------------------------------------------------------------------- 1 | #ifdef BLOG_CURRENT_CHANNEL 2 | #undef BLOG_CURRENT_CHANNEL 3 | #endif 4 | #define BLOG_CURRENT_CHANNEL BLOG_CHANNEL_ncd_index 5 | -------------------------------------------------------------------------------- /src/main/jni/badvpn/generated/blog_channel_ncd_net_up.h: -------------------------------------------------------------------------------- 1 | #ifdef BLOG_CURRENT_CHANNEL 2 | #undef BLOG_CURRENT_CHANNEL 3 | #endif 4 | #define BLOG_CURRENT_CHANNEL BLOG_CHANNEL_ncd_net_up 5 | -------------------------------------------------------------------------------- /src/main/jni/badvpn/generated/blog_channel_ncd_parse.h: -------------------------------------------------------------------------------- 1 | #ifdef BLOG_CURRENT_CHANNEL 2 | #undef BLOG_CURRENT_CHANNEL 3 | #endif 4 | #define BLOG_CURRENT_CHANNEL BLOG_CHANNEL_ncd_parse 5 | -------------------------------------------------------------------------------- /src/main/jni/badvpn/generated/blog_channel_ncd_print.h: -------------------------------------------------------------------------------- 1 | #ifdef BLOG_CURRENT_CHANNEL 2 | #undef BLOG_CURRENT_CHANNEL 3 | #endif 4 | #define BLOG_CURRENT_CHANNEL BLOG_CHANNEL_ncd_print 5 | -------------------------------------------------------------------------------- /src/main/jni/badvpn/generated/blog_channel_ncd_reboot.h: -------------------------------------------------------------------------------- 1 | #ifdef BLOG_CURRENT_CHANNEL 2 | #undef BLOG_CURRENT_CHANNEL 3 | #endif 4 | #define BLOG_CURRENT_CHANNEL BLOG_CHANNEL_ncd_reboot 5 | -------------------------------------------------------------------------------- /src/main/jni/badvpn/generated/blog_channel_ncd_sleep.h: -------------------------------------------------------------------------------- 1 | #ifdef BLOG_CURRENT_CHANNEL 2 | #undef BLOG_CURRENT_CHANNEL 3 | #endif 4 | #define BLOG_CURRENT_CHANNEL BLOG_CHANNEL_ncd_sleep 5 | -------------------------------------------------------------------------------- /src/main/jni/badvpn/generated/blog_channel_ncd_socket.h: -------------------------------------------------------------------------------- 1 | #ifdef BLOG_CURRENT_CHANNEL 2 | #undef BLOG_CURRENT_CHANNEL 3 | #endif 4 | #define BLOG_CURRENT_CHANNEL BLOG_CHANNEL_ncd_socket 5 | -------------------------------------------------------------------------------- /src/main/jni/badvpn/generated/blog_channel_ncd_spawn.h: -------------------------------------------------------------------------------- 1 | #ifdef BLOG_CURRENT_CHANNEL 2 | #undef BLOG_CURRENT_CHANNEL 3 | #endif 4 | #define BLOG_CURRENT_CHANNEL BLOG_CHANNEL_ncd_spawn 5 | -------------------------------------------------------------------------------- /src/main/jni/badvpn/generated/blog_channel_ncd_strcmp.h: -------------------------------------------------------------------------------- 1 | #ifdef BLOG_CURRENT_CHANNEL 2 | #undef BLOG_CURRENT_CHANNEL 3 | #endif 4 | #define BLOG_CURRENT_CHANNEL BLOG_CHANNEL_ncd_strcmp 5 | -------------------------------------------------------------------------------- /src/main/jni/badvpn/generated/blog_channel_ncd_substr.h: -------------------------------------------------------------------------------- 1 | #ifdef BLOG_CURRENT_CHANNEL 2 | #undef BLOG_CURRENT_CHANNEL 3 | #endif 4 | #define BLOG_CURRENT_CHANNEL BLOG_CHANNEL_ncd_substr 5 | -------------------------------------------------------------------------------- /src/main/jni/badvpn/generated/blog_channel_ncd_timer.h: -------------------------------------------------------------------------------- 1 | #ifdef BLOG_CURRENT_CHANNEL 2 | #undef BLOG_CURRENT_CHANNEL 3 | #endif 4 | #define BLOG_CURRENT_CHANNEL BLOG_CHANNEL_ncd_timer 5 | -------------------------------------------------------------------------------- /src/main/jni/badvpn/generated/blog_channel_ncd_value.h: -------------------------------------------------------------------------------- 1 | #ifdef BLOG_CURRENT_CHANNEL 2 | #undef BLOG_CURRENT_CHANNEL 3 | #endif 4 | #define BLOG_CURRENT_CHANNEL BLOG_CHANNEL_ncd_value 5 | -------------------------------------------------------------------------------- /src/main/jni/badvpn/generated/blog_channel_tun2socks.h: -------------------------------------------------------------------------------- 1 | #ifdef BLOG_CURRENT_CHANNEL 2 | #undef BLOG_CURRENT_CHANNEL 3 | #endif 4 | #define BLOG_CURRENT_CHANNEL BLOG_CHANNEL_tun2socks 5 | -------------------------------------------------------------------------------- /src/main/jni/badvpn/lwip/FILES: -------------------------------------------------------------------------------- 1 | src/ - The source code for the lwIP TCP/IP stack. 2 | doc/ - The documentation for lwIP. 3 | 4 | See also the FILES file in each subdirectory. 5 | -------------------------------------------------------------------------------- /src/main/jni/badvpn/lwip/test/unit/tcp/test_tcp.h: -------------------------------------------------------------------------------- 1 | #ifndef __TEST_TCP_H__ 2 | #define __TEST_TCP_H__ 3 | 4 | #include "../lwip_check.h" 5 | 6 | Suite *tcp_suite(void); 7 | 8 | #endif 9 | -------------------------------------------------------------------------------- /src/main/jni/badvpn/lwip/test/unit/udp/test_udp.h: -------------------------------------------------------------------------------- 1 | #ifndef __TEST_UDP_H__ 2 | #define __TEST_UDP_H__ 3 | 4 | #include "../lwip_check.h" 5 | 6 | Suite* udp_suite(void); 7 | 8 | #endif 9 | -------------------------------------------------------------------------------- /src/main/jni/iptables/extensions/libipt_ah.man: -------------------------------------------------------------------------------- 1 | This module matches the SPIs in Authentication header of IPsec packets. 2 | .TP 3 | [\fB!\fP] \fB\-\-ahspi\fP \fIspi\fP[\fB:\fP\fIspi\fP] 4 | -------------------------------------------------------------------------------- /src/main/jni/iptables/extensions/libipt_unclean.man: -------------------------------------------------------------------------------- 1 | This module takes no options, but attempts to match packets which seem 2 | malformed or unusual. This is regarded as experimental. 3 | -------------------------------------------------------------------------------- /src/main/res/drawable-hdpi/cab_background_bottom_shadow.9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mthli/shadowsocks-android/master/src/main/res/drawable-hdpi/cab_background_bottom_shadow.9.png -------------------------------------------------------------------------------- /src/main/res/drawable-hdpi/tab_unselected_focused_shadow.9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mthli/shadowsocks-android/master/src/main/res/drawable-hdpi/tab_unselected_focused_shadow.9.png -------------------------------------------------------------------------------- /src/main/res/drawable-hdpi/tab_unselected_pressed_shadow.9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mthli/shadowsocks-android/master/src/main/res/drawable-hdpi/tab_unselected_pressed_shadow.9.png -------------------------------------------------------------------------------- /src/main/res/drawable-mdpi/cab_background_bottom_shadow.9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mthli/shadowsocks-android/master/src/main/res/drawable-mdpi/cab_background_bottom_shadow.9.png -------------------------------------------------------------------------------- /src/main/res/drawable-mdpi/tab_unselected_focused_shadow.9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mthli/shadowsocks-android/master/src/main/res/drawable-mdpi/tab_unselected_focused_shadow.9.png -------------------------------------------------------------------------------- /src/main/res/drawable-mdpi/tab_unselected_pressed_shadow.9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mthli/shadowsocks-android/master/src/main/res/drawable-mdpi/tab_unselected_pressed_shadow.9.png -------------------------------------------------------------------------------- /src/main/res/drawable-xhdpi/btn_cab_done_default_shadow.9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mthli/shadowsocks-android/master/src/main/res/drawable-xhdpi/btn_cab_done_default_shadow.9.png -------------------------------------------------------------------------------- /src/main/res/drawable-xhdpi/btn_cab_done_focused_shadow.9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mthli/shadowsocks-android/master/src/main/res/drawable-xhdpi/btn_cab_done_focused_shadow.9.png -------------------------------------------------------------------------------- /src/main/res/drawable-xhdpi/btn_cab_done_pressed_shadow.9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mthli/shadowsocks-android/master/src/main/res/drawable-xhdpi/btn_cab_done_pressed_shadow.9.png -------------------------------------------------------------------------------- /src/main/res/drawable-xhdpi/cab_background_bottom_shadow.9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mthli/shadowsocks-android/master/src/main/res/drawable-xhdpi/cab_background_bottom_shadow.9.png -------------------------------------------------------------------------------- /src/main/res/drawable-xhdpi/tab_selected_focused_shadow.9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mthli/shadowsocks-android/master/src/main/res/drawable-xhdpi/tab_selected_focused_shadow.9.png -------------------------------------------------------------------------------- /src/main/res/drawable-xhdpi/tab_selected_pressed_shadow.9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mthli/shadowsocks-android/master/src/main/res/drawable-xhdpi/tab_selected_pressed_shadow.9.png -------------------------------------------------------------------------------- /src/main/res/drawable-xxhdpi/btn_cab_done_default_shadow.9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mthli/shadowsocks-android/master/src/main/res/drawable-xxhdpi/btn_cab_done_default_shadow.9.png -------------------------------------------------------------------------------- /src/main/res/drawable-xxhdpi/btn_cab_done_focused_shadow.9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mthli/shadowsocks-android/master/src/main/res/drawable-xxhdpi/btn_cab_done_focused_shadow.9.png -------------------------------------------------------------------------------- /src/main/res/drawable-xxhdpi/btn_cab_done_pressed_shadow.9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mthli/shadowsocks-android/master/src/main/res/drawable-xxhdpi/btn_cab_done_pressed_shadow.9.png -------------------------------------------------------------------------------- /src/main/res/drawable-xxhdpi/menu_dropdown_panel_shadow.9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mthli/shadowsocks-android/master/src/main/res/drawable-xxhdpi/menu_dropdown_panel_shadow.9.png -------------------------------------------------------------------------------- /src/main/res/drawable-xxhdpi/spinner_ab_disabled_shadow.9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mthli/shadowsocks-android/master/src/main/res/drawable-xxhdpi/spinner_ab_disabled_shadow.9.png -------------------------------------------------------------------------------- /src/main/res/drawable-xxhdpi/tab_selected_focused_shadow.9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mthli/shadowsocks-android/master/src/main/res/drawable-xxhdpi/tab_selected_focused_shadow.9.png -------------------------------------------------------------------------------- /src/main/res/drawable-xxhdpi/tab_selected_pressed_shadow.9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mthli/shadowsocks-android/master/src/main/res/drawable-xxhdpi/tab_selected_pressed_shadow.9.png -------------------------------------------------------------------------------- /src/main/jni/badvpn/generated/blog_channel_BConnection.h: -------------------------------------------------------------------------------- 1 | #ifdef BLOG_CURRENT_CHANNEL 2 | #undef BLOG_CURRENT_CHANNEL 3 | #endif 4 | #define BLOG_CURRENT_CHANNEL BLOG_CHANNEL_BConnection 5 | -------------------------------------------------------------------------------- /src/main/jni/badvpn/generated/blog_channel_BDHCPClient.h: -------------------------------------------------------------------------------- 1 | #ifdef BLOG_CURRENT_CHANNEL 2 | #undef BLOG_CURRENT_CHANNEL 3 | #endif 4 | #define BLOG_CURRENT_CHANNEL BLOG_CHANNEL_BDHCPClient 5 | -------------------------------------------------------------------------------- /src/main/jni/badvpn/generated/blog_channel_BEncryption.h: -------------------------------------------------------------------------------- 1 | #ifdef BLOG_CURRENT_CHANNEL 2 | #undef BLOG_CURRENT_CHANNEL 3 | #endif 4 | #define BLOG_CURRENT_CHANNEL BLOG_CHANNEL_BEncryption 5 | -------------------------------------------------------------------------------- /src/main/jni/badvpn/generated/blog_channel_BInputProcess.h: -------------------------------------------------------------------------------- 1 | #ifdef BLOG_CURRENT_CHANNEL 2 | #undef BLOG_CURRENT_CHANNEL 3 | #endif 4 | #define BLOG_CURRENT_CHANNEL BLOG_CHANNEL_BInputProcess 5 | -------------------------------------------------------------------------------- /src/main/jni/badvpn/generated/blog_channel_BLockReactor.h: -------------------------------------------------------------------------------- 1 | #ifdef BLOG_CURRENT_CHANNEL 2 | #undef BLOG_CURRENT_CHANNEL 3 | #endif 4 | #define BLOG_CURRENT_CHANNEL BLOG_CHANNEL_BLockReactor 5 | -------------------------------------------------------------------------------- /src/main/jni/badvpn/generated/blog_channel_BSocksClient.h: -------------------------------------------------------------------------------- 1 | #ifdef BLOG_CURRENT_CHANNEL 2 | #undef BLOG_CURRENT_CHANNEL 3 | #endif 4 | #define BLOG_CURRENT_CHANNEL BLOG_CHANNEL_BSocksClient 5 | -------------------------------------------------------------------------------- /src/main/jni/badvpn/generated/blog_channel_BThreadSignal.h: -------------------------------------------------------------------------------- 1 | #ifdef BLOG_CURRENT_CHANNEL 2 | #undef BLOG_CURRENT_CHANNEL 3 | #endif 4 | #define BLOG_CURRENT_CHANNEL BLOG_CHANNEL_BThreadSignal 5 | -------------------------------------------------------------------------------- /src/main/jni/badvpn/generated/blog_channel_BThreadWork.h: -------------------------------------------------------------------------------- 1 | #ifdef BLOG_CURRENT_CHANNEL 2 | #undef BLOG_CURRENT_CHANNEL 3 | #endif 4 | #define BLOG_CURRENT_CHANNEL BLOG_CHANNEL_BThreadWork 5 | -------------------------------------------------------------------------------- /src/main/jni/badvpn/generated/blog_channel_BUnixSignal.h: -------------------------------------------------------------------------------- 1 | #ifdef BLOG_CURRENT_CHANNEL 2 | #undef BLOG_CURRENT_CHANNEL 3 | #endif 4 | #define BLOG_CURRENT_CHANNEL BLOG_CHANNEL_BUnixSignal 5 | -------------------------------------------------------------------------------- /src/main/jni/badvpn/generated/blog_channel_FrameDecider.h: -------------------------------------------------------------------------------- 1 | #ifdef BLOG_CURRENT_CHANNEL 2 | #undef BLOG_CURRENT_CHANNEL 3 | #endif 4 | #define BLOG_CURRENT_CHANNEL BLOG_CHANNEL_FrameDecider 5 | -------------------------------------------------------------------------------- /src/main/jni/badvpn/generated/blog_channel_NCDIfConfig.h: -------------------------------------------------------------------------------- 1 | #ifdef BLOG_CURRENT_CHANNEL 2 | #undef BLOG_CURRENT_CHANNEL 3 | #endif 4 | #define BLOG_CURRENT_CHANNEL BLOG_CHANNEL_NCDIfConfig 5 | -------------------------------------------------------------------------------- /src/main/jni/badvpn/generated/blog_channel_NCDUdevCache.h: -------------------------------------------------------------------------------- 1 | #ifdef BLOG_CURRENT_CHANNEL 2 | #undef BLOG_CURRENT_CHANNEL 3 | #endif 4 | #define BLOG_CURRENT_CHANNEL BLOG_CHANNEL_NCDUdevCache 5 | -------------------------------------------------------------------------------- /src/main/jni/badvpn/generated/blog_channel_NCDValParser.h: -------------------------------------------------------------------------------- 1 | #ifdef BLOG_CURRENT_CHANNEL 2 | #undef BLOG_CURRENT_CHANNEL 3 | #endif 4 | #define BLOG_CURRENT_CHANNEL BLOG_CHANNEL_NCDValParser 5 | -------------------------------------------------------------------------------- /src/main/jni/badvpn/generated/blog_channel_PRStreamSink.h: -------------------------------------------------------------------------------- 1 | #ifdef BLOG_CURRENT_CHANNEL 2 | #undef BLOG_CURRENT_CHANNEL 3 | #endif 4 | #define BLOG_CURRENT_CHANNEL BLOG_CHANNEL_PRStreamSink 5 | -------------------------------------------------------------------------------- /src/main/jni/badvpn/generated/blog_channel_StreamPeerIO.h: -------------------------------------------------------------------------------- 1 | #ifdef BLOG_CURRENT_CHANNEL 2 | #undef BLOG_CURRENT_CHANNEL 3 | #endif 4 | #define BLOG_CURRENT_CHANNEL BLOG_CHANNEL_StreamPeerIO 5 | -------------------------------------------------------------------------------- /src/main/jni/badvpn/generated/blog_channel_UdpGwClient.h: -------------------------------------------------------------------------------- 1 | #ifdef BLOG_CURRENT_CHANNEL 2 | #undef BLOG_CURRENT_CHANNEL 3 | #endif 4 | #define BLOG_CURRENT_CHANNEL BLOG_CHANNEL_UdpGwClient 5 | -------------------------------------------------------------------------------- /src/main/jni/badvpn/generated/blog_channel_ncd_backtrack.h: -------------------------------------------------------------------------------- 1 | #ifdef BLOG_CURRENT_CHANNEL 2 | #undef BLOG_CURRENT_CHANNEL 3 | #endif 4 | #define BLOG_CURRENT_CHANNEL BLOG_CHANNEL_ncd_backtrack 5 | -------------------------------------------------------------------------------- /src/main/jni/badvpn/generated/blog_channel_ncd_blocker.h: -------------------------------------------------------------------------------- 1 | #ifdef BLOG_CURRENT_CHANNEL 2 | #undef BLOG_CURRENT_CHANNEL 3 | #endif 4 | #define BLOG_CURRENT_CHANNEL BLOG_CHANNEL_ncd_blocker 5 | -------------------------------------------------------------------------------- /src/main/jni/badvpn/generated/blog_channel_ncd_explode.h: -------------------------------------------------------------------------------- 1 | #ifdef BLOG_CURRENT_CHANNEL 2 | #undef BLOG_CURRENT_CHANNEL 3 | #endif 4 | #define BLOG_CURRENT_CHANNEL BLOG_CHANNEL_ncd_explode 5 | -------------------------------------------------------------------------------- /src/main/jni/badvpn/generated/blog_channel_ncd_file_open.h: -------------------------------------------------------------------------------- 1 | #ifdef BLOG_CURRENT_CHANNEL 2 | #undef BLOG_CURRENT_CHANNEL 3 | #endif 4 | #define BLOG_CURRENT_CHANNEL BLOG_CHANNEL_ncd_file_open 5 | -------------------------------------------------------------------------------- /src/main/jni/badvpn/generated/blog_channel_ncd_foreach.h: -------------------------------------------------------------------------------- 1 | #ifdef BLOG_CURRENT_CHANNEL 2 | #undef BLOG_CURRENT_CHANNEL 3 | #endif 4 | #define BLOG_CURRENT_CHANNEL BLOG_CHANNEL_ncd_foreach 5 | -------------------------------------------------------------------------------- /src/main/jni/badvpn/generated/blog_channel_ncd_getargs.h: -------------------------------------------------------------------------------- 1 | #ifdef BLOG_CURRENT_CHANNEL 2 | #undef BLOG_CURRENT_CHANNEL 3 | #endif 4 | #define BLOG_CURRENT_CHANNEL BLOG_CHANNEL_ncd_getargs 5 | -------------------------------------------------------------------------------- /src/main/jni/badvpn/generated/blog_channel_ncd_implode.h: -------------------------------------------------------------------------------- 1 | #ifdef BLOG_CURRENT_CHANNEL 2 | #undef BLOG_CURRENT_CHANNEL 3 | #endif 4 | #define BLOG_CURRENT_CHANNEL BLOG_CHANNEL_ncd_implode 5 | -------------------------------------------------------------------------------- /src/main/jni/badvpn/generated/blog_channel_ncd_log_msg.h: -------------------------------------------------------------------------------- 1 | #ifdef BLOG_CURRENT_CHANNEL 2 | #undef BLOG_CURRENT_CHANNEL 3 | #endif 4 | #define BLOG_CURRENT_CHANNEL BLOG_CHANNEL_ncd_log_msg 5 | -------------------------------------------------------------------------------- /src/main/jni/badvpn/generated/blog_channel_ncd_logical.h: -------------------------------------------------------------------------------- 1 | #ifdef BLOG_CURRENT_CHANNEL 2 | #undef BLOG_CURRENT_CHANNEL 3 | #endif 4 | #define BLOG_CURRENT_CHANNEL BLOG_CHANNEL_ncd_logical 5 | -------------------------------------------------------------------------------- /src/main/jni/badvpn/generated/blog_channel_ncd_net_dns.h: -------------------------------------------------------------------------------- 1 | #ifdef BLOG_CURRENT_CHANNEL 2 | #undef BLOG_CURRENT_CHANNEL 3 | #endif 4 | #define BLOG_CURRENT_CHANNEL BLOG_CHANNEL_ncd_net_dns 5 | -------------------------------------------------------------------------------- /src/main/jni/badvpn/generated/blog_channel_ncd_netmask.h: -------------------------------------------------------------------------------- 1 | #ifdef BLOG_CURRENT_CHANNEL 2 | #undef BLOG_CURRENT_CHANNEL 3 | #endif 4 | #define BLOG_CURRENT_CHANNEL BLOG_CHANNEL_ncd_netmask 5 | -------------------------------------------------------------------------------- /src/main/jni/badvpn/generated/blog_channel_ncd_ondemand.h: -------------------------------------------------------------------------------- 1 | #ifdef BLOG_CURRENT_CHANNEL 2 | #undef BLOG_CURRENT_CHANNEL 3 | #endif 4 | #define BLOG_CURRENT_CHANNEL BLOG_CHANNEL_ncd_ondemand 5 | -------------------------------------------------------------------------------- /src/main/jni/badvpn/generated/blog_channel_ncd_request.h: -------------------------------------------------------------------------------- 1 | #ifdef BLOG_CURRENT_CHANNEL 2 | #undef BLOG_CURRENT_CHANNEL 3 | #endif 4 | #define BLOG_CURRENT_CHANNEL BLOG_CHANNEL_ncd_request 5 | -------------------------------------------------------------------------------- /src/main/jni/badvpn/generated/blog_channel_ncd_runonce.h: -------------------------------------------------------------------------------- 1 | #ifdef BLOG_CURRENT_CHANNEL 2 | #undef BLOG_CURRENT_CHANNEL 3 | #endif 4 | #define BLOG_CURRENT_CHANNEL BLOG_CHANNEL_ncd_runonce 5 | -------------------------------------------------------------------------------- /src/main/jni/badvpn/generated/blog_channel_ncd_sys_evdev.h: -------------------------------------------------------------------------------- 1 | #ifdef BLOG_CURRENT_CHANNEL 2 | #undef BLOG_CURRENT_CHANNEL 3 | #endif 4 | #define BLOG_CURRENT_CHANNEL BLOG_CHANNEL_ncd_sys_evdev 5 | -------------------------------------------------------------------------------- /src/main/jni/badvpn/generated/blog_channel_ncd_to_string.h: -------------------------------------------------------------------------------- 1 | #ifdef BLOG_CURRENT_CHANNEL 2 | #undef BLOG_CURRENT_CHANNEL 3 | #endif 4 | #define BLOG_CURRENT_CHANNEL BLOG_CHANNEL_ncd_to_string 5 | -------------------------------------------------------------------------------- /src/main/jni/badvpn/lwip/test/unit/core/test_mem.h: -------------------------------------------------------------------------------- 1 | #ifndef __TEST_MEM_H__ 2 | #define __TEST_MEM_H__ 3 | 4 | #include "../lwip_check.h" 5 | 6 | Suite *mem_suite(void); 7 | 8 | #endif 9 | -------------------------------------------------------------------------------- /src/main/jni/badvpn/lwip/test/unit/core/test_pbuf.h: -------------------------------------------------------------------------------- 1 | #ifndef __TEST_PBUF_H__ 2 | #define __TEST_PBUF_H__ 3 | 4 | #include "../lwip_check.h" 5 | 6 | Suite *pbuf_suite(void); 7 | 8 | #endif 9 | -------------------------------------------------------------------------------- /src/main/jni/badvpn/lwip/test/unit/dhcp/test_dhcp.h: -------------------------------------------------------------------------------- 1 | #ifndef __TEST_DHCP_H__ 2 | #define __TEST_DHCP_H__ 3 | 4 | #include "../lwip_check.h" 5 | 6 | Suite* dhcp_suite(void); 7 | 8 | #endif 9 | -------------------------------------------------------------------------------- /src/main/jni/iptables/extensions/libxt_NOTRACK.man: -------------------------------------------------------------------------------- 1 | This target disables connection tracking for all packets matching that rule. 2 | .PP 3 | It can only be used in the 4 | .B raw 5 | table. 6 | -------------------------------------------------------------------------------- /src/main/jni/iptables/extensions/libxt_pkttype.man: -------------------------------------------------------------------------------- 1 | This module matches the link-layer packet type. 2 | .TP 3 | [\fB!\fP] \fB\-\-pkt\-type\fP {\fBunicast\fP|\fBbroadcast\fP|\fBmulticast\fP} 4 | -------------------------------------------------------------------------------- /src/main/jni/openssl/crypto/threads/solaris.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | /bin/rm -f mttest 3 | cc -DSOLARIS -I../../include -g mttest.c -o mttest -L../.. -lthread -lssl -lcrypto -lnsl -lsocket 4 | 5 | -------------------------------------------------------------------------------- /src/main/res/drawable-xhdpi/tab_unselected_focused_shadow.9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mthli/shadowsocks-android/master/src/main/res/drawable-xhdpi/tab_unselected_focused_shadow.9.png -------------------------------------------------------------------------------- /src/main/res/drawable-xhdpi/tab_unselected_pressed_shadow.9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mthli/shadowsocks-android/master/src/main/res/drawable-xhdpi/tab_unselected_pressed_shadow.9.png -------------------------------------------------------------------------------- /src/main/res/drawable-xxhdpi/cab_background_bottom_shadow.9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mthli/shadowsocks-android/master/src/main/res/drawable-xxhdpi/cab_background_bottom_shadow.9.png -------------------------------------------------------------------------------- /src/main/res/drawable-xxhdpi/tab_unselected_focused_shadow.9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mthli/shadowsocks-android/master/src/main/res/drawable-xxhdpi/tab_unselected_focused_shadow.9.png -------------------------------------------------------------------------------- /src/main/res/drawable-xxhdpi/tab_unselected_pressed_shadow.9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mthli/shadowsocks-android/master/src/main/res/drawable-xxhdpi/tab_unselected_pressed_shadow.9.png -------------------------------------------------------------------------------- /src/main/jni/badvpn/generated/blog_channel_BDHCPClientCore.h: -------------------------------------------------------------------------------- 1 | #ifdef BLOG_CURRENT_CHANNEL 2 | #undef BLOG_CURRENT_CHANNEL 3 | #endif 4 | #define BLOG_CURRENT_CHANNEL BLOG_CHANNEL_BDHCPClientCore 5 | -------------------------------------------------------------------------------- /src/main/jni/badvpn/generated/blog_channel_BSSLConnection.h: -------------------------------------------------------------------------------- 1 | #ifdef BLOG_CURRENT_CHANNEL 2 | #undef BLOG_CURRENT_CHANNEL 3 | #endif 4 | #define BLOG_CURRENT_CHANNEL BLOG_CHANNEL_BSSLConnection 5 | -------------------------------------------------------------------------------- /src/main/jni/badvpn/generated/blog_channel_DatagramPeerIO.h: -------------------------------------------------------------------------------- 1 | #ifdef BLOG_CURRENT_CHANNEL 2 | #undef BLOG_CURRENT_CHANNEL 3 | #endif 4 | #define BLOG_CURRENT_CHANNEL BLOG_CHANNEL_DatagramPeerIO 5 | -------------------------------------------------------------------------------- /src/main/jni/badvpn/generated/blog_channel_NCDBuildProgram.h: -------------------------------------------------------------------------------- 1 | #ifdef BLOG_CURRENT_CHANNEL 2 | #undef BLOG_CURRENT_CHANNEL 3 | #endif 4 | #define BLOG_CURRENT_CHANNEL BLOG_CHANNEL_NCDBuildProgram 5 | -------------------------------------------------------------------------------- /src/main/jni/badvpn/generated/blog_channel_NCDConfigParser.h: -------------------------------------------------------------------------------- 1 | #ifdef BLOG_CURRENT_CHANNEL 2 | #undef BLOG_CURRENT_CHANNEL 3 | #endif 4 | #define BLOG_CURRENT_CHANNEL BLOG_CHANNEL_NCDConfigParser 5 | -------------------------------------------------------------------------------- /src/main/jni/badvpn/generated/blog_channel_NCDModuleIndex.h: -------------------------------------------------------------------------------- 1 | #ifdef BLOG_CURRENT_CHANNEL 2 | #undef BLOG_CURRENT_CHANNEL 3 | #endif 4 | #define BLOG_CURRENT_CHANNEL BLOG_CHANNEL_NCDModuleIndex 5 | -------------------------------------------------------------------------------- /src/main/jni/badvpn/generated/blog_channel_NCDUdevManager.h: -------------------------------------------------------------------------------- 1 | #ifdef BLOG_CURRENT_CHANNEL 2 | #undef BLOG_CURRENT_CHANNEL 3 | #endif 4 | #define BLOG_CURRENT_CHANNEL BLOG_CHANNEL_NCDUdevManager 5 | -------------------------------------------------------------------------------- /src/main/jni/badvpn/generated/blog_channel_NCDUdevMonitor.h: -------------------------------------------------------------------------------- 1 | #ifdef BLOG_CURRENT_CHANNEL 2 | #undef BLOG_CURRENT_CHANNEL 3 | #endif 4 | #define BLOG_CURRENT_CHANNEL BLOG_CHANNEL_NCDUdevMonitor 5 | -------------------------------------------------------------------------------- /src/main/jni/badvpn/generated/blog_channel_NCDValGenerator.h: -------------------------------------------------------------------------------- 1 | #ifdef BLOG_CURRENT_CHANNEL 2 | #undef BLOG_CURRENT_CHANNEL 3 | #endif 4 | #define BLOG_CURRENT_CHANNEL BLOG_CHANNEL_NCDValGenerator 5 | -------------------------------------------------------------------------------- /src/main/jni/badvpn/generated/blog_channel_PRStreamSource.h: -------------------------------------------------------------------------------- 1 | #ifdef BLOG_CURRENT_CHANNEL 2 | #undef BLOG_CURRENT_CHANNEL 3 | #endif 4 | #define BLOG_CURRENT_CHANNEL BLOG_CHANNEL_PRStreamSource 5 | -------------------------------------------------------------------------------- /src/main/jni/badvpn/generated/blog_channel_SPProtoDecoder.h: -------------------------------------------------------------------------------- 1 | #ifdef BLOG_CURRENT_CHANNEL 2 | #undef BLOG_CURRENT_CHANNEL 3 | #endif 4 | #define BLOG_CURRENT_CHANNEL BLOG_CHANNEL_SPProtoDecoder 5 | -------------------------------------------------------------------------------- /src/main/jni/badvpn/generated/blog_channel_dostest_server.h: -------------------------------------------------------------------------------- 1 | #ifdef BLOG_CURRENT_CHANNEL 2 | #undef BLOG_CURRENT_CHANNEL 3 | #endif 4 | #define BLOG_CURRENT_CHANNEL BLOG_CHANNEL_dostest_server 5 | -------------------------------------------------------------------------------- /src/main/jni/badvpn/generated/blog_channel_ncd_arithmetic.h: -------------------------------------------------------------------------------- 1 | #ifdef BLOG_CURRENT_CHANNEL 2 | #undef BLOG_CURRENT_CHANNEL 3 | #endif 4 | #define BLOG_CURRENT_CHANNEL BLOG_CHANNEL_ncd_arithmetic 5 | -------------------------------------------------------------------------------- /src/main/jni/badvpn/generated/blog_channel_ncd_from_string.h: -------------------------------------------------------------------------------- 1 | #ifdef BLOG_CURRENT_CHANNEL 2 | #undef BLOG_CURRENT_CHANNEL 3 | #endif 4 | #define BLOG_CURRENT_CHANNEL BLOG_CHANNEL_ncd_from_string 5 | -------------------------------------------------------------------------------- /src/main/jni/badvpn/generated/blog_channel_ncd_imperative.h: -------------------------------------------------------------------------------- 1 | #ifdef BLOG_CURRENT_CHANNEL 2 | #undef BLOG_CURRENT_CHANNEL 3 | #endif 4 | #define BLOG_CURRENT_CHANNEL BLOG_CHANNEL_ncd_imperative 5 | -------------------------------------------------------------------------------- /src/main/jni/badvpn/generated/blog_channel_ncd_load_module.h: -------------------------------------------------------------------------------- 1 | #ifdef BLOG_CURRENT_CHANNEL 2 | #undef BLOG_CURRENT_CHANNEL 3 | #endif 4 | #define BLOG_CURRENT_CHANNEL BLOG_CHANNEL_ncd_load_module 5 | -------------------------------------------------------------------------------- /src/main/jni/badvpn/generated/blog_channel_ncd_multidepend.h: -------------------------------------------------------------------------------- 1 | #ifdef BLOG_CURRENT_CHANNEL 2 | #undef BLOG_CURRENT_CHANNEL 3 | #endif 4 | #define BLOG_CURRENT_CHANNEL BLOG_CHANNEL_ncd_multidepend 5 | -------------------------------------------------------------------------------- /src/main/jni/badvpn/generated/blog_channel_ncd_regex_match.h: -------------------------------------------------------------------------------- 1 | #ifdef BLOG_CURRENT_CHANNEL 2 | #undef BLOG_CURRENT_CHANNEL 3 | #endif 4 | #define BLOG_CURRENT_CHANNEL BLOG_CHANNEL_ncd_regex_match 5 | -------------------------------------------------------------------------------- /src/main/jni/badvpn/generated/blog_channel_ncd_valuemetic.h: -------------------------------------------------------------------------------- 1 | #ifdef BLOG_CURRENT_CHANNEL 2 | #undef BLOG_CURRENT_CHANNEL 3 | #endif 4 | #define BLOG_CURRENT_CHANNEL BLOG_CHANNEL_ncd_valuemetic 5 | -------------------------------------------------------------------------------- /src/main/jni/iptables/iptables/xtables-multi.h: -------------------------------------------------------------------------------- 1 | #ifndef _XTABLES_MULTI_H 2 | #define _XTABLES_MULTI_H 1 3 | 4 | extern int iptables_xml_main(int, char **); 5 | 6 | #endif /* _XTABLES_MULTI_H */ 7 | -------------------------------------------------------------------------------- /src/main/jni/openssl/crypto/threads/purify.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | /bin/rm -f mttest 3 | purify cc -DSOLARIS -I../../include -g mttest.c -o mttest -L../.. -lthread -lssl -lcrypto -lnsl -lsocket 4 | 5 | -------------------------------------------------------------------------------- /src/main/jni/badvpn/generated/blog_channel_NCDConfigTokenizer.h: -------------------------------------------------------------------------------- 1 | #ifdef BLOG_CURRENT_CHANNEL 2 | #undef BLOG_CURRENT_CHANNEL 3 | #endif 4 | #define BLOG_CURRENT_CHANNEL BLOG_CHANNEL_NCDConfigTokenizer 5 | -------------------------------------------------------------------------------- /src/main/jni/badvpn/generated/blog_channel_NCDModuleProcess.h: -------------------------------------------------------------------------------- 1 | #ifdef BLOG_CURRENT_CHANNEL 2 | #undef BLOG_CURRENT_CHANNEL 3 | #endif 4 | #define BLOG_CURRENT_CHANNEL BLOG_CHANNEL_NCDModuleProcess 5 | -------------------------------------------------------------------------------- /src/main/jni/badvpn/generated/blog_channel_NCDPlaceholderDb.h: -------------------------------------------------------------------------------- 1 | #ifdef BLOG_CURRENT_CHANNEL 2 | #undef BLOG_CURRENT_CHANNEL 3 | #endif 4 | #define BLOG_CURRENT_CHANNEL BLOG_CHANNEL_NCDPlaceholderDb 5 | -------------------------------------------------------------------------------- /src/main/jni/badvpn/generated/blog_channel_NCDRequestClient.h: -------------------------------------------------------------------------------- 1 | #ifdef BLOG_CURRENT_CHANNEL 2 | #undef BLOG_CURRENT_CHANNEL 3 | #endif 4 | #define BLOG_CURRENT_CHANNEL BLOG_CHANNEL_NCDRequestClient 5 | -------------------------------------------------------------------------------- /src/main/jni/badvpn/generated/blog_channel_NCDRfkillMonitor.h: -------------------------------------------------------------------------------- 1 | #ifdef BLOG_CURRENT_CHANNEL 2 | #undef BLOG_CURRENT_CHANNEL 3 | #endif 4 | #define BLOG_CURRENT_CHANNEL BLOG_CHANNEL_NCDRfkillMonitor 5 | -------------------------------------------------------------------------------- /src/main/jni/badvpn/generated/blog_channel_PacketProtoDecoder.h: -------------------------------------------------------------------------------- 1 | #ifdef BLOG_CURRENT_CHANNEL 2 | #undef BLOG_CURRENT_CHANNEL 3 | #endif 4 | #define BLOG_CURRENT_CHANNEL BLOG_CHANNEL_PacketProtoDecoder 5 | -------------------------------------------------------------------------------- /src/main/jni/badvpn/generated/blog_channel_PasswordListener.h: -------------------------------------------------------------------------------- 1 | #ifdef BLOG_CURRENT_CHANNEL 2 | #undef BLOG_CURRENT_CHANNEL 3 | #endif 4 | #define BLOG_CURRENT_CHANNEL BLOG_CHANNEL_PasswordListener 5 | -------------------------------------------------------------------------------- /src/main/jni/badvpn/generated/blog_channel_ServerConnection.h: -------------------------------------------------------------------------------- 1 | #ifdef BLOG_CURRENT_CHANNEL 2 | #undef BLOG_CURRENT_CHANNEL 3 | #endif 4 | #define BLOG_CURRENT_CHANNEL BLOG_CHANNEL_ServerConnection 5 | -------------------------------------------------------------------------------- /src/main/jni/badvpn/generated/blog_channel_SocksUdpGwClient.h: -------------------------------------------------------------------------------- 1 | #ifdef BLOG_CURRENT_CHANNEL 2 | #undef BLOG_CURRENT_CHANNEL 3 | #endif 4 | #define BLOG_CURRENT_CHANNEL BLOG_CHANNEL_SocksUdpGwClient 5 | -------------------------------------------------------------------------------- /src/main/jni/badvpn/generated/blog_channel_dostest_attacker.h: -------------------------------------------------------------------------------- 1 | #ifdef BLOG_CURRENT_CHANNEL 2 | #undef BLOG_CURRENT_CHANNEL 3 | #endif 4 | #define BLOG_CURRENT_CHANNEL BLOG_CHANNEL_dostest_attacker 5 | -------------------------------------------------------------------------------- /src/main/jni/badvpn/generated/blog_channel_ncd_depend_scope.h: -------------------------------------------------------------------------------- 1 | #ifdef BLOG_CURRENT_CHANNEL 2 | #undef BLOG_CURRENT_CHANNEL 3 | #endif 4 | #define BLOG_CURRENT_CHANNEL BLOG_CHANNEL_ncd_depend_scope 5 | -------------------------------------------------------------------------------- /src/main/jni/badvpn/generated/blog_channel_ncd_dynamic_depend.h: -------------------------------------------------------------------------------- 1 | #ifdef BLOG_CURRENT_CHANNEL 2 | #undef BLOG_CURRENT_CHANNEL 3 | #endif 4 | #define BLOG_CURRENT_CHANNEL BLOG_CHANNEL_ncd_dynamic_depend 5 | -------------------------------------------------------------------------------- /src/main/jni/badvpn/generated/blog_channel_ncd_net_iptables.h: -------------------------------------------------------------------------------- 1 | #ifdef BLOG_CURRENT_CHANNEL 2 | #undef BLOG_CURRENT_CHANNEL 3 | #endif 4 | #define BLOG_CURRENT_CHANNEL BLOG_CHANNEL_ncd_net_iptables 5 | -------------------------------------------------------------------------------- /src/main/jni/badvpn/generated/blog_channel_ncd_net_ipv4_addr.h: -------------------------------------------------------------------------------- 1 | #ifdef BLOG_CURRENT_CHANNEL 2 | #undef BLOG_CURRENT_CHANNEL 3 | #endif 4 | #define BLOG_CURRENT_CHANNEL BLOG_CHANNEL_ncd_net_ipv4_addr 5 | -------------------------------------------------------------------------------- /src/main/jni/badvpn/generated/blog_channel_ncd_net_ipv4_dhcp.h: -------------------------------------------------------------------------------- 1 | #ifdef BLOG_CURRENT_CHANNEL 2 | #undef BLOG_CURRENT_CHANNEL 3 | #endif 4 | #define BLOG_CURRENT_CHANNEL BLOG_CHANNEL_ncd_net_ipv4_dhcp 5 | -------------------------------------------------------------------------------- /src/main/jni/badvpn/generated/blog_channel_ncd_net_ipv4_route.h: -------------------------------------------------------------------------------- 1 | #ifdef BLOG_CURRENT_CHANNEL 2 | #undef BLOG_CURRENT_CHANNEL 3 | #endif 4 | #define BLOG_CURRENT_CHANNEL BLOG_CHANNEL_ncd_net_ipv4_route 5 | -------------------------------------------------------------------------------- /src/main/jni/badvpn/generated/blog_channel_ncd_net_ipv6_addr.h: -------------------------------------------------------------------------------- 1 | #ifdef BLOG_CURRENT_CHANNEL 2 | #undef BLOG_CURRENT_CHANNEL 3 | #endif 4 | #define BLOG_CURRENT_CHANNEL BLOG_CHANNEL_ncd_net_ipv6_addr 5 | -------------------------------------------------------------------------------- /src/main/jni/badvpn/generated/blog_channel_ncd_net_ipv6_route.h: -------------------------------------------------------------------------------- 1 | #ifdef BLOG_CURRENT_CHANNEL 2 | #undef BLOG_CURRENT_CHANNEL 3 | #endif 4 | #define BLOG_CURRENT_CHANNEL BLOG_CHANNEL_ncd_net_ipv6_route 5 | -------------------------------------------------------------------------------- /src/main/jni/badvpn/generated/blog_channel_ncd_sys_watch_usb.h: -------------------------------------------------------------------------------- 1 | #ifdef BLOG_CURRENT_CHANNEL 2 | #undef BLOG_CURRENT_CHANNEL 3 | #endif 4 | #define BLOG_CURRENT_CHANNEL BLOG_CHANNEL_ncd_sys_watch_usb 5 | -------------------------------------------------------------------------------- /src/main/jni/badvpn/lwip/test/unit/etharp/test_etharp.h: -------------------------------------------------------------------------------- 1 | #ifndef __TEST_ETHARP_H__ 2 | #define __TEST_ETHARP_H__ 3 | 4 | #include "../lwip_check.h" 5 | 6 | Suite* etharp_suite(void); 7 | 8 | #endif 9 | -------------------------------------------------------------------------------- /src/main/res/drawable-hdpi/md__list_selector_disabled_holo_dark.9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mthli/shadowsocks-android/master/src/main/res/drawable-hdpi/md__list_selector_disabled_holo_dark.9.png -------------------------------------------------------------------------------- /src/main/res/drawable-mdpi/md__list_selector_disabled_holo_dark.9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mthli/shadowsocks-android/master/src/main/res/drawable-mdpi/md__list_selector_disabled_holo_dark.9.png -------------------------------------------------------------------------------- /src/main/res/drawable-xhdpi/md__list_selector_disabled_holo_dark.9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mthli/shadowsocks-android/master/src/main/res/drawable-xhdpi/md__list_selector_disabled_holo_dark.9.png -------------------------------------------------------------------------------- /src/main/jni/badvpn/generated/blog_channel_NCDInterfaceMonitor.h: -------------------------------------------------------------------------------- 1 | #ifdef BLOG_CURRENT_CHANNEL 2 | #undef BLOG_CURRENT_CHANNEL 3 | #endif 4 | #define BLOG_CURRENT_CHANNEL BLOG_CHANNEL_NCDInterfaceMonitor 5 | -------------------------------------------------------------------------------- /src/main/jni/badvpn/generated/blog_channel_NCDUdevMonitorParser.h: -------------------------------------------------------------------------------- 1 | #ifdef BLOG_CURRENT_CHANNEL 2 | #undef BLOG_CURRENT_CHANNEL 3 | #endif 4 | #define BLOG_CURRENT_CHANNEL BLOG_CHANNEL_NCDUdevMonitorParser 5 | -------------------------------------------------------------------------------- /src/main/jni/badvpn/generated/blog_channel_ncd_process_manager.h: -------------------------------------------------------------------------------- 1 | #ifdef BLOG_CURRENT_CHANNEL 2 | #undef BLOG_CURRENT_CHANNEL 3 | #endif 4 | #define BLOG_CURRENT_CHANNEL BLOG_CHANNEL_ncd_process_manager 5 | -------------------------------------------------------------------------------- /src/main/jni/badvpn/generated/blog_channel_ncd_sys_watch_input.h: -------------------------------------------------------------------------------- 1 | #ifdef BLOG_CURRENT_CHANNEL 2 | #undef BLOG_CURRENT_CHANNEL 3 | #endif 4 | #define BLOG_CURRENT_CHANNEL BLOG_CHANNEL_ncd_sys_watch_input 5 | -------------------------------------------------------------------------------- /src/main/jni/badvpn/lwip/test/unit/tcp/test_tcp_oos.h: -------------------------------------------------------------------------------- 1 | #ifndef __TEST_TCP_OOS_H__ 2 | #define __TEST_TCP_OOS_H__ 3 | 4 | #include "../lwip_check.h" 5 | 6 | Suite *tcp_oos_suite(void); 7 | 8 | #endif 9 | -------------------------------------------------------------------------------- /src/main/jni/badvpn/generated/blog_channel_FragmentProtoAssembler.h: -------------------------------------------------------------------------------- 1 | #ifdef BLOG_CURRENT_CHANNEL 2 | #undef BLOG_CURRENT_CHANNEL 3 | #endif 4 | #define BLOG_CURRENT_CHANNEL BLOG_CHANNEL_FragmentProtoAssembler 5 | -------------------------------------------------------------------------------- /src/main/jni/badvpn/generated/blog_channel_ncd_net_backend_badvpn.h: -------------------------------------------------------------------------------- 1 | #ifdef BLOG_CURRENT_CHANNEL 2 | #undef BLOG_CURRENT_CHANNEL 3 | #endif 4 | #define BLOG_CURRENT_CHANNEL BLOG_CHANNEL_ncd_net_backend_badvpn 5 | -------------------------------------------------------------------------------- /src/main/jni/badvpn/generated/blog_channel_ncd_net_backend_rfkill.h: -------------------------------------------------------------------------------- 1 | #ifdef BLOG_CURRENT_CHANNEL 2 | #undef BLOG_CURRENT_CHANNEL 3 | #endif 4 | #define BLOG_CURRENT_CHANNEL BLOG_CHANNEL_ncd_net_backend_rfkill 5 | -------------------------------------------------------------------------------- /src/main/jni/badvpn/generated/blog_channel_ncd_net_ipv4_arp_probe.h: -------------------------------------------------------------------------------- 1 | #ifdef BLOG_CURRENT_CHANNEL 2 | #undef BLOG_CURRENT_CHANNEL 3 | #endif 4 | #define BLOG_CURRENT_CHANNEL BLOG_CHANNEL_ncd_net_ipv4_arp_probe 5 | -------------------------------------------------------------------------------- /src/main/jni/badvpn/generated/blog_channel_ncd_sys_request_client.h: -------------------------------------------------------------------------------- 1 | #ifdef BLOG_CURRENT_CHANNEL 2 | #undef BLOG_CURRENT_CHANNEL 3 | #endif 4 | #define BLOG_CURRENT_CHANNEL BLOG_CHANNEL_ncd_sys_request_client 5 | -------------------------------------------------------------------------------- /src/main/jni/badvpn/generated/blog_channel_ncd_sys_request_server.h: -------------------------------------------------------------------------------- 1 | #ifdef BLOG_CURRENT_CHANNEL 2 | #undef BLOG_CURRENT_CHANNEL 3 | #endif 4 | #define BLOG_CURRENT_CHANNEL BLOG_CHANNEL_ncd_sys_request_server 5 | -------------------------------------------------------------------------------- /src/main/jni/badvpn/generated/blog_channel_ncd_sys_start_process.h: -------------------------------------------------------------------------------- 1 | #ifdef BLOG_CURRENT_CHANNEL 2 | #undef BLOG_CURRENT_CHANNEL 3 | #endif 4 | #define BLOG_CURRENT_CHANNEL BLOG_CHANNEL_ncd_sys_start_process 5 | -------------------------------------------------------------------------------- /src/main/jni/badvpn/generated/blog_channel_ncd_sys_watch_directory.h: -------------------------------------------------------------------------------- 1 | #ifdef BLOG_CURRENT_CHANNEL 2 | #undef BLOG_CURRENT_CHANNEL 3 | #endif 4 | #define BLOG_CURRENT_CHANNEL BLOG_CHANNEL_ncd_sys_watch_directory 5 | -------------------------------------------------------------------------------- /src/main/jni/iptables/extensions/libxt_socket.man: -------------------------------------------------------------------------------- 1 | This matches if an open socket can be found by doing a socket lookup on the 2 | packet. 3 | .TP 4 | \fB\-\-transparent\fP 5 | Ignore non-transparent sockets. 6 | -------------------------------------------------------------------------------- /src/main/jni/openssl/crypto/dh/dh512.pem: -------------------------------------------------------------------------------- 1 | -----BEGIN DH PARAMETERS----- 2 | MEYCQQDaWDwW2YUiidDkr3VvTMqS3UvlM7gE+w/tlO+cikQD7VdGUNNpmdsp13Yn 3 | a6LT1BLiGPTdHghM9tgAPnxHdOgzAgEC 4 | -----END DH PARAMETERS----- 5 | -------------------------------------------------------------------------------- /src/main/jni/badvpn/generated/blog_channel_ncd_net_backend_waitlink.h: -------------------------------------------------------------------------------- 1 | #ifdef BLOG_CURRENT_CHANNEL 2 | #undef BLOG_CURRENT_CHANNEL 3 | #endif 4 | #define BLOG_CURRENT_CHANNEL BLOG_CHANNEL_ncd_net_backend_waitlink 5 | -------------------------------------------------------------------------------- /src/main/jni/badvpn/generated/blog_channel_ncd_net_watch_interfaces.h: -------------------------------------------------------------------------------- 1 | #ifdef BLOG_CURRENT_CHANNEL 2 | #undef BLOG_CURRENT_CHANNEL 3 | #endif 4 | #define BLOG_CURRENT_CHANNEL BLOG_CHANNEL_ncd_net_watch_interfaces 5 | -------------------------------------------------------------------------------- /src/main/jni/iptables/include/linux/netfilter/xt_helper.h: -------------------------------------------------------------------------------- 1 | #ifndef _XT_HELPER_H 2 | #define _XT_HELPER_H 3 | 4 | struct xt_helper_info { 5 | int invert; 6 | char name[30]; 7 | }; 8 | #endif /* _XT_HELPER_H */ 9 | -------------------------------------------------------------------------------- /src/main/jni/iptables/include/linux/netfilter/xt_pkttype.h: -------------------------------------------------------------------------------- 1 | #ifndef _XT_PKTTYPE_H 2 | #define _XT_PKTTYPE_H 3 | 4 | struct xt_pkttype_info { 5 | int pkttype; 6 | int invert; 7 | }; 8 | #endif /*_XT_PKTTYPE_H*/ 9 | -------------------------------------------------------------------------------- /src/main/jni/openssl/crypto/threads/profile.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | /bin/rm -f mttest 3 | cc -p -DSOLARIS -I../../include -g mttest.c -o mttest -L/usr/lib/libc -ldl -L../.. -lthread -lssl -lcrypto -lnsl -lsocket 4 | 5 | -------------------------------------------------------------------------------- /src/main/jni/badvpn/generated/blog_channel_ncd_net_backend_waitdevice.h: -------------------------------------------------------------------------------- 1 | #ifdef BLOG_CURRENT_CHANNEL 2 | #undef BLOG_CURRENT_CHANNEL 3 | #endif 4 | #define BLOG_CURRENT_CHANNEL BLOG_CHANNEL_ncd_net_backend_waitdevice 5 | -------------------------------------------------------------------------------- /src/main/jni/badvpn/generated/blog_channel_ncd_net_ipv4_addr_in_network.h: -------------------------------------------------------------------------------- 1 | #ifdef BLOG_CURRENT_CHANNEL 2 | #undef BLOG_CURRENT_CHANNEL 3 | #endif 4 | #define BLOG_CURRENT_CHANNEL BLOG_CHANNEL_ncd_net_ipv4_addr_in_network 5 | -------------------------------------------------------------------------------- /src/main/jni/badvpn/generated/blog_channel_ncd_net_ipv6_addr_in_network.h: -------------------------------------------------------------------------------- 1 | #ifdef BLOG_CURRENT_CHANNEL 2 | #undef BLOG_CURRENT_CHANNEL 3 | #endif 4 | #define BLOG_CURRENT_CHANNEL BLOG_CHANNEL_ncd_net_ipv6_addr_in_network 5 | -------------------------------------------------------------------------------- /src/main/jni/iptables/include/linux/netfilter/xt_mac.h: -------------------------------------------------------------------------------- 1 | #ifndef _XT_MAC_H 2 | #define _XT_MAC_H 3 | 4 | struct xt_mac_info { 5 | unsigned char srcaddr[ETH_ALEN]; 6 | int invert; 7 | }; 8 | #endif /*_XT_MAC_H*/ 9 | -------------------------------------------------------------------------------- /src/main/aidl/com/github/shadowsocks/aidl/IShadowsocksServiceCallback.aidl: -------------------------------------------------------------------------------- 1 | package com.github.shadowsocks.aidl; 2 | 3 | interface IShadowsocksServiceCallback { 4 | oneway void stateChanged(int state, String msg); 5 | } 6 | -------------------------------------------------------------------------------- /src/main/jni/badvpn/generated/blog_channel_ncd_net_backend_wpa_supplicant.h: -------------------------------------------------------------------------------- 1 | #ifdef BLOG_CURRENT_CHANNEL 2 | #undef BLOG_CURRENT_CHANNEL 3 | #endif 4 | #define BLOG_CURRENT_CHANNEL BLOG_CHANNEL_ncd_net_backend_wpa_supplicant 5 | -------------------------------------------------------------------------------- /src/main/jni/badvpn/generated/blog_channel_ncd_net_ipv6_wait_dynamic_addr.h: -------------------------------------------------------------------------------- 1 | #ifdef BLOG_CURRENT_CHANNEL 2 | #undef BLOG_CURRENT_CHANNEL 3 | #endif 4 | #define BLOG_CURRENT_CHANNEL BLOG_CHANNEL_ncd_net_ipv6_wait_dynamic_addr 5 | -------------------------------------------------------------------------------- /src/main/jni/redsocks/version.h: -------------------------------------------------------------------------------- 1 | #ifndef VERSION_H_SUN_NOV_27_03_22_30_2011 2 | #define VERSION_H_SUN_NOV_27_03_22_30_2011 3 | 4 | const char* redsocks_version = "0.4"; 5 | 6 | #endif // VERSION_H_SUN_NOV_27_03_22_30_2011 7 | -------------------------------------------------------------------------------- /src/main/jni/badvpn/nspr_support/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | add_library(nspr_support 2 | DummyPRFileDesc.c 3 | BSSLConnection.c 4 | ) 5 | target_link_libraries(nspr_support system flow threadwork ${NSPR_LIBRARIES} ${NSS_LIBRARIES}) 6 | -------------------------------------------------------------------------------- /src/main/jni/iptables/include/linux/netfilter_ipv4/ipt_realm.h: -------------------------------------------------------------------------------- 1 | #ifndef _IPT_REALM_H 2 | #define _IPT_REALM_H 3 | 4 | #include 5 | #define ipt_realm_info xt_realm_info 6 | 7 | #endif /* _IPT_REALM_H */ 8 | -------------------------------------------------------------------------------- /src/main/jni/openssl/crypto/rsa/rsa_locl.h: -------------------------------------------------------------------------------- 1 | extern int int_rsa_verify(int dtype, const unsigned char *m, unsigned int m_len, 2 | unsigned char *rm, size_t *prm_len, 3 | const unsigned char *sigbuf, size_t siglen, 4 | RSA *rsa); 5 | -------------------------------------------------------------------------------- /src/main/jni/openssl/crypto/bf/VERSION: -------------------------------------------------------------------------------- 1 | The version numbers will follow my SSL implementation 2 | 3 | 0.7.2r - Some reasonable default compiler options from 4 | Peter Gutman 5 | 6 | 0.7.2m - the first release 7 | -------------------------------------------------------------------------------- /src/main/jni/badvpn/scripts/cmake: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | export ROOT="" 4 | export MINGW="/home//mingw/cross_win32" 5 | 6 | export PATH="$MINGW/bin:$PATH" 7 | 8 | exec /usr/bin/cmake -DCMAKE_TOOLCHAIN_FILE="$ROOT/toolchain.cmake" "$@" 9 | -------------------------------------------------------------------------------- /src/main/jni/badvpn/udevmonitor/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | add_library(udevmonitor 2 | NCDUdevMonitorParser.c 3 | NCDUdevMonitor.c 4 | NCDUdevCache.c 5 | NCDUdevManager.c 6 | ) 7 | target_link_libraries(udevmonitor system flow stringmap) 8 | -------------------------------------------------------------------------------- /src/main/jni/iptables/include/linux/netfilter/xt_cpu.h: -------------------------------------------------------------------------------- 1 | #ifndef _XT_CPU_H 2 | #define _XT_CPU_H 3 | 4 | #include 5 | 6 | struct xt_cpu_info { 7 | __u32 cpu; 8 | __u32 invert; 9 | }; 10 | 11 | #endif /*_XT_CPU_H*/ 12 | -------------------------------------------------------------------------------- /src/main/jni/badvpn/udpgw/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | add_executable(badvpn-udpgw 2 | udpgw.c 3 | ) 4 | target_link_libraries(badvpn-udpgw system flow flowextra) 5 | 6 | install( 7 | TARGETS badvpn-udpgw 8 | RUNTIME DESTINATION bin 9 | ) 10 | -------------------------------------------------------------------------------- /src/main/jni/iptables/extensions/libxt_comment.man: -------------------------------------------------------------------------------- 1 | Allows you to add comments (up to 256 characters) to any rule. 2 | .TP 3 | \fB\-\-comment\fP \fIcomment\fP 4 | .TP 5 | Example: 6 | iptables \-A INPUT \-i eth1 \-m comment \-\-comment "my local LAN" 7 | -------------------------------------------------------------------------------- /src/main/jni/badvpn/base/BPending_list.h: -------------------------------------------------------------------------------- 1 | #define SLINKEDLIST_PARAM_NAME BPending__List 2 | #define SLINKEDLIST_PARAM_FEATURE_LAST 0 3 | #define SLINKEDLIST_PARAM_TYPE_ENTRY struct BSmallPending_s 4 | #define SLINKEDLIST_PARAM_MEMBER_NODE pending_node 5 | -------------------------------------------------------------------------------- /src/main/jni/badvpn/predicate/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | add_library(predicate 2 | BPredicate.c 3 | ${PROJECT_SOURCE_DIR}/generated/flex_BPredicate.c 4 | ${PROJECT_SOURCE_DIR}/generated/bison_BPredicate.c 5 | ) 6 | target_link_libraries(predicate system) 7 | -------------------------------------------------------------------------------- /src/main/jni/openssl/crypto/aes/README: -------------------------------------------------------------------------------- 1 | This is an OpenSSL-compatible version of AES (also called Rijndael). 2 | aes_core.c is basically the same as rijndael-alg-fst.c but with an 3 | API that looks like the rest of the OpenSSL symmetric cipher suite. 4 | -------------------------------------------------------------------------------- /src/main/jni/openssl/crypto/threads/pthread2.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | # 3 | # build using pthreads where it's already built into the system 4 | # 5 | /bin/rm -f mttest 6 | gcc -DPTHREADS -I../../include -g mttest.c -o mttest -L../.. -lssl -lcrypto -lpthread 7 | 8 | -------------------------------------------------------------------------------- /src/main/jni/badvpn/server_connection/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | add_library(server_conection 2 | ServerConnection.c 3 | SCKeepaliveSource.c 4 | ) 5 | target_link_libraries(server_conection system flow flowextra nspr_support ${NSPR_LIBRARIES} ${NSS_LIBRARIES}) 6 | -------------------------------------------------------------------------------- /src/main/jni/openssl/crypto/dsa/README: -------------------------------------------------------------------------------- 1 | The stuff in here is based on patches supplied to me by 2 | Steven Schoch to do DSS. 3 | I have since modified a them a little but a debt of gratitude 4 | is due for doing the initial work. 5 | -------------------------------------------------------------------------------- /src/main/jni/iptables/extensions/libxt_length.man: -------------------------------------------------------------------------------- 1 | This module matches the length of the layer-3 payload (e.g. layer-4 packet) 2 | of a packet against a specific value 3 | or range of values. 4 | .TP 5 | [\fB!\fP] \fB\-\-length\fP \fIlength\fP[\fB:\fP\fIlength\fP] 6 | -------------------------------------------------------------------------------- /src/main/jni/iptables/include/linux/netfilter/xt_CLASSIFY.h: -------------------------------------------------------------------------------- 1 | #ifndef _XT_CLASSIFY_H 2 | #define _XT_CLASSIFY_H 3 | 4 | #include 5 | 6 | struct xt_classify_target_info { 7 | __u32 priority; 8 | }; 9 | 10 | #endif /*_XT_CLASSIFY_H */ 11 | -------------------------------------------------------------------------------- /src/main/jni/pdnsd/src/rc/ArchLinux/Makefile.am: -------------------------------------------------------------------------------- 1 | 2 | install-exec-local: 3 | if [ "$(distribution)" = "ArchLinux" ] ; then \ 4 | $(mkinstalldirs) "$(DESTDIR)/etc/rc.d"; \ 5 | $(INSTALL_SCRIPT) $(srcdir)/pdnsd "$(DESTDIR)/etc/rc.d/pdnsd";\ 6 | fi 7 | 8 | -------------------------------------------------------------------------------- /src/main/jni/iptables/include/linux/netfilter/xt_length.h: -------------------------------------------------------------------------------- 1 | #ifndef _XT_LENGTH_H 2 | #define _XT_LENGTH_H 3 | 4 | #include 5 | 6 | struct xt_length_info { 7 | __u16 min, max; 8 | __u8 invert; 9 | }; 10 | 11 | #endif /*_XT_LENGTH_H*/ 12 | -------------------------------------------------------------------------------- /src/main/jni/iptables/include/linux/netfilter/xt_comment.h: -------------------------------------------------------------------------------- 1 | #ifndef _XT_COMMENT_H 2 | #define _XT_COMMENT_H 3 | 4 | #define XT_MAX_COMMENT_LEN 256 5 | 6 | struct xt_comment_info { 7 | char comment[XT_MAX_COMMENT_LEN]; 8 | }; 9 | 10 | #endif /* XT_COMMENT_H */ 11 | -------------------------------------------------------------------------------- /src/main/jni/iptables/include/linux/netfilter/xt_realm.h: -------------------------------------------------------------------------------- 1 | #ifndef _XT_REALM_H 2 | #define _XT_REALM_H 3 | 4 | #include 5 | 6 | struct xt_realm_info { 7 | __u32 id; 8 | __u32 mask; 9 | __u8 invert; 10 | }; 11 | 12 | #endif /* _XT_REALM_H */ 13 | -------------------------------------------------------------------------------- /src/main/jni/iptables/include/linux/netfilter/xt_socket.h: -------------------------------------------------------------------------------- 1 | #ifndef _XT_SOCKET_H 2 | #define _XT_SOCKET_H 3 | 4 | enum { 5 | XT_SOCKET_TRANSPARENT = 1 << 0, 6 | }; 7 | 8 | struct xt_socket_mtinfo1 { 9 | __u8 flags; 10 | }; 11 | 12 | #endif /* _XT_SOCKET_H */ 13 | -------------------------------------------------------------------------------- /src/main/jni/badvpn/flooder/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | add_executable(badvpn-flooder flooder.c) 2 | target_link_libraries(badvpn-flooder system flow server_conection ${NSPR_LIBRARIES} ${NSS_LIBRARIES}) 3 | 4 | install( 5 | TARGETS badvpn-flooder 6 | RUNTIME DESTINATION bin 7 | ) 8 | -------------------------------------------------------------------------------- /src/main/jni/openssl/crypto/threads/pthread.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | # 3 | # build using pthreads 4 | # 5 | # http://www.mit.edu:8001/people/proven/pthreads.html 6 | # 7 | /bin/rm -f mttest 8 | pgcc -DPTHREADS -I../../include -g mttest.c -o mttest -L../.. -lssl -lcrypto 9 | 10 | -------------------------------------------------------------------------------- /src/main/jni/iptables/utils/Makefile.am: -------------------------------------------------------------------------------- 1 | # -*- Makefile -*- 2 | 3 | AM_CFLAGS = ${regular_CFLAGS} 4 | AM_CPPFLAGS = ${regular_CPPFLAGS} -I${top_builddir}/include -I${top_srcdir}/include 5 | 6 | sbin_PROGRAMS = nfnl_osf 7 | pkgdata_DATA = pf.os 8 | 9 | nfnl_osf_LDADD = -lnfnetlink 10 | -------------------------------------------------------------------------------- /src/main/jni/badvpn/ncd-request/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | add_executable(badvpn-ncd-request 2 | ncd-request.c 3 | ) 4 | target_link_libraries(badvpn-ncd-request ncdrequest ncdvalgenerator ncdvalparser) 5 | 6 | install( 7 | TARGETS badvpn-ncd-request 8 | RUNTIME DESTINATION bin 9 | ) 10 | -------------------------------------------------------------------------------- /src/main/jni/iptables/extensions/filter_init: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | # This is for working around Android.mk's incapability to handle $* in CFLAGS, 3 | # even with SECONDEXPNASION. 4 | # LOCAL_CFLAGS:=-D_INIT=$*_init 5 | f=${1##*/} 6 | f=${f%%.*} 7 | sed "s/\([ ]*\)\(_init\)\(([ ]*void\)/\1${f}_init\3/" $1 8 | -------------------------------------------------------------------------------- /src/main/jni/iptables/include/linux/netfilter/xt_tcpmss.h: -------------------------------------------------------------------------------- 1 | #ifndef _XT_TCPMSS_MATCH_H 2 | #define _XT_TCPMSS_MATCH_H 3 | 4 | #include 5 | 6 | struct xt_tcpmss_match_info { 7 | __u16 mss_min, mss_max; 8 | __u8 invert; 9 | }; 10 | 11 | #endif /*_XT_TCPMSS_MATCH_H*/ 12 | -------------------------------------------------------------------------------- /src/main/jni/iptables/iptables/.gitignore: -------------------------------------------------------------------------------- 1 | /ip6tables 2 | /ip6tables.8 3 | /ip6tables-save 4 | /ip6tables-restore 5 | /ip6tables-static 6 | /iptables 7 | /iptables.8 8 | /iptables-save 9 | /iptables-restore 10 | /iptables-static 11 | /iptables-xml 12 | /xtables-multi 13 | 14 | /xtables.pc 15 | -------------------------------------------------------------------------------- /src/main/jni/iptables/iptables/iptables-multi.h: -------------------------------------------------------------------------------- 1 | #ifndef _IPTABLES_MULTI_H 2 | #define _IPTABLES_MULTI_H 1 3 | 4 | extern int iptables_main(int, char **); 5 | extern int iptables_save_main(int, char **); 6 | extern int iptables_restore_main(int, char **); 7 | 8 | #endif /* _IPTABLES_MULTI_H */ 9 | -------------------------------------------------------------------------------- /src/main/jni/badvpn/security/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | add_library(security 2 | BSecurity.c 3 | BEncryption.c 4 | BHash.c 5 | BRandom.c 6 | OTPCalculator.c 7 | OTPChecker.c 8 | OTPGenerator.c 9 | ) 10 | target_link_libraries(security system threadwork ${LIBCRYPTO_LIBRARIES}) 11 | -------------------------------------------------------------------------------- /src/main/jni/badvpn/tests/bproto_test.bproto: -------------------------------------------------------------------------------- 1 | message msg1 { 2 | required uint16 a = 5; 3 | optional uint32 b = 6; 4 | required repeated uint64 c = 7; 5 | repeated uint16 d = 8; 6 | required uint8 e = 9; 7 | required data f = 10; 8 | required data("4") g = 11; 9 | }; 10 | -------------------------------------------------------------------------------- /src/main/jni/iptables/iptables/ip6tables-multi.h: -------------------------------------------------------------------------------- 1 | #ifndef _IP6TABLES_MULTI_H 2 | #define _IP6TABLES_MULTI_H 1 3 | 4 | extern int ip6tables_main(int, char **); 5 | extern int ip6tables_save_main(int, char **); 6 | extern int ip6tables_restore_main(int, char **); 7 | 8 | #endif /* _IP6TABLES_MULTI_H */ 9 | -------------------------------------------------------------------------------- /src/main/jni/openssl/crypto/dh/dh1024.pem: -------------------------------------------------------------------------------- 1 | -----BEGIN DH PARAMETERS----- 2 | MIGHAoGBAJf2QmHKtQXdKCjhPx1ottPb0PMTBH9A6FbaWMsTuKG/K3g6TG1Z1fkq 3 | /Gz/PWk/eLI9TzFgqVAuPvr3q14a1aZeVUMTgo2oO5/y2UHe6VaJ+trqCTat3xlx 4 | /mNbIK9HA2RgPC3gWfVLZQrY+gz3ASHHR5nXWHEyvpuZm7m3h+irAgEC 5 | -----END DH PARAMETERS----- 6 | -------------------------------------------------------------------------------- /src/main/res/layout/menu_row_item.xml: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /src/main/jni/badvpn/scripts/toolchain.cmake: -------------------------------------------------------------------------------- 1 | SET(CMAKE_SYSTEM_NAME Windows) 2 | SET(CMAKE_C_COMPILER i686-w64-mingw32-gcc) 3 | SET(CMAKE_FIND_ROOT_PATH $ENV{ROOT}) 4 | SET(CMAKE_FIND_ROOT_PATH_MODE_PROGRAM BOTH) 5 | SET(CMAKE_FIND_ROOT_PATH_MODE_LIBRARY ONLY) 6 | SET(CMAKE_FIND_ROOT_PATH_MODE_INCLUDE ONLY) 7 | -------------------------------------------------------------------------------- /src/main/jni/badvpn/tests/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | add_executable(chunkbuffer2_test chunkbuffer2_test.c) 2 | 3 | add_executable(bproto_test bproto_test.c) 4 | 5 | if (BUILDING_THREADWORK) 6 | add_executable(threadwork_test threadwork_test.c) 7 | target_link_libraries(threadwork_test threadwork) 8 | endif () 9 | -------------------------------------------------------------------------------- /src/main/jni/pdnsd/src/rc/Debian/Makefile.am: -------------------------------------------------------------------------------- 1 | 2 | install-exec-local: 3 | if [ "$(distribution)" = "Debian" ] ; then \ 4 | CURDIR=`pwd`; \ 5 | $(mkinstalldirs) "$(DESTDIR)/etc/init.d"; \ 6 | $(INSTALL_SCRIPT) $(srcdir)/pdnsd "$(DESTDIR)/etc/init.d"; \ 7 | update-rc.d pdnsd defaults 19 ;\ 8 | fi 9 | -------------------------------------------------------------------------------- /src/main/res/layout/menu_row_category.xml: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /src/main/jni/badvpn/threadwork/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | set(BADVPN_THREADWORK_EXTRA_LIBS) 2 | if (BADVPN_THREADWORK_USE_PTHREAD) 3 | list(APPEND BADVPN_THREADWORK_EXTRA_LIBS pthread) 4 | endif () 5 | 6 | add_library(threadwork BThreadWork.c) 7 | target_link_libraries(threadwork system ${BADVPN_THREADWORK_EXTRA_LIBS}) 8 | -------------------------------------------------------------------------------- /src/main/jni/badvpn/dostest/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | add_executable(dostest-server 2 | dostest-server.c 3 | StreamBuffer.c 4 | ) 5 | target_link_libraries(dostest-server base system) 6 | 7 | add_executable(dostest-attacker 8 | dostest-attacker.c 9 | ) 10 | target_link_libraries(dostest-attacker base system) 11 | -------------------------------------------------------------------------------- /src/main/jni/iptables/include/linux/netfilter/xt_mark.h: -------------------------------------------------------------------------------- 1 | #ifndef _XT_MARK_H 2 | #define _XT_MARK_H 3 | 4 | #include 5 | 6 | struct xt_mark_tginfo2 { 7 | __u32 mark, mask; 8 | }; 9 | 10 | struct xt_mark_mtinfo1 { 11 | __u32 mark, mask; 12 | __u8 invert; 13 | }; 14 | 15 | #endif /*_XT_MARK_H*/ 16 | -------------------------------------------------------------------------------- /src/main/jni/badvpn/tuntap/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | set(TUNTAP_ADDITIONAL_SOURCES) 2 | if (WIN32) 3 | list(APPEND TUNTAP_ADDITIONAL_SOURCES tapwin32-funcs.c) 4 | endif () 5 | 6 | set(TUNTAP_SOURCES 7 | BTap.c 8 | ${TUNTAP_ADDITIONAL_SOURCES} 9 | ) 10 | badvpn_add_library(tuntap "system;flow" "" "${TUNTAP_SOURCES}") 11 | -------------------------------------------------------------------------------- /src/main/jni/pdnsd/file-list.base.in: -------------------------------------------------------------------------------- 1 | %defattr(-,root,root) 2 | %doc AUTHORS THANKS COPYING COPYING.BSD ChangeLog ChangeLog.old INSTALL NEWS README README.par README.par.old TODO 3 | %config /etc/pdnsd.conf.sample 4 | %attr(750, @def_id@, @def_id@) %dir @cachedir@ 5 | %attr(640, @def_id@, @def_id@) %config @cachedir@/pdnsd.cache 6 | -------------------------------------------------------------------------------- /src/main/jni/openssl/crypto/lhash/num.pl: -------------------------------------------------------------------------------- 1 | #!/usr/local/bin/perl 2 | 3 | #node 10 -> 4 4 | 5 | while (<>) 6 | { 7 | next unless /^node/; 8 | chop; 9 | @a=split; 10 | $num{$a[3]}++; 11 | } 12 | 13 | @a=sort {$a <=> $b } keys %num; 14 | foreach (0 .. $a[$#a]) 15 | { 16 | printf "%4d:%4d\n",$_,$num{$_}; 17 | } 18 | -------------------------------------------------------------------------------- /src/main/jni/iptables/extensions/libxt_iprange.man: -------------------------------------------------------------------------------- 1 | This matches on a given arbitrary range of IP addresses. 2 | .TP 3 | [\fB!\fP] \fB\-\-src\-range\fP \fIfrom\fP[\fB\-\fP\fIto\fP] 4 | Match source IP in the specified range. 5 | .TP 6 | [\fB!\fP] \fB\-\-dst\-range\fP \fIfrom\fP[\fB\-\fP\fIto\fP] 7 | Match destination IP in the specified range. 8 | -------------------------------------------------------------------------------- /src/main/jni/openssl/crypto/cast/asm/readme: -------------------------------------------------------------------------------- 1 | There is a ppro flag in cast-586 which turns on/off 2 | generation of pentium pro/II friendly code 3 | 4 | This flag makes the inner loop one cycle longer, but generates 5 | code that runs %30 faster on the pentium pro/II, while only %7 slower 6 | on the pentium. By default, this flag is on. 7 | 8 | -------------------------------------------------------------------------------- /laucher.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | convert shadow.png -resize 48x48 src/main/res/drawable-mdpi/ic_launcher.png 3 | convert shadow.png -resize 72x72 src/main/res/drawable-hdpi/ic_launcher.png 4 | convert shadow.png -resize 96x96 src/main/res/drawable-xhdpi/ic_launcher.png 5 | convert shadow.png -resize 144x144 src/main/res/drawable-xxhdpi/ic_launcher.png 6 | -------------------------------------------------------------------------------- /src/main/jni/iptables/include/Makefile.am: -------------------------------------------------------------------------------- 1 | # -*- Makefile -*- 2 | 3 | include_HEADERS = 4 | nobase_include_HEADERS = xtables.h 5 | 6 | if ENABLE_LIBIPQ 7 | include_HEADERS += libipq/libipq.h 8 | endif 9 | 10 | nobase_include_HEADERS += \ 11 | libiptc/ipt_kernel_headers.h libiptc/libiptc.h \ 12 | libiptc/libip6tc.h libiptc/libxtc.h 13 | -------------------------------------------------------------------------------- /src/main/jni/openssl/crypto/bn/asm/x86/div.pl: -------------------------------------------------------------------------------- 1 | #!/usr/local/bin/perl 2 | # x86 assember 3 | 4 | sub bn_div_words 5 | { 6 | local($name)=@_; 7 | 8 | &function_begin($name,""); 9 | &mov("edx",&wparam(0)); # 10 | &mov("eax",&wparam(1)); # 11 | &mov("ebx",&wparam(2)); # 12 | &div("ebx"); 13 | &function_end($name); 14 | } 15 | 1; 16 | -------------------------------------------------------------------------------- /src/main/jni/iptables/extensions/libxt_CLASSIFY.man: -------------------------------------------------------------------------------- 1 | This module allows you to set the skb\->priority value (and thus classify the packet into a specific CBQ class). 2 | .TP 3 | \fB\-\-set\-class\fP \fImajor\fP\fB:\fP\fIminor\fP 4 | Set the major and minor class value. The values are always interpreted as 5 | hexadecimal even if no 0x prefix is given. 6 | -------------------------------------------------------------------------------- /src/main/jni/iptables/extensions/libxt_mac.man: -------------------------------------------------------------------------------- 1 | .TP 2 | [\fB!\fP] \fB\-\-mac\-source\fP \fIaddress\fP 3 | Match source MAC address. It must be of the form XX:XX:XX:XX:XX:XX. 4 | Note that this only makes sense for packets coming from an Ethernet device 5 | and entering the 6 | .BR PREROUTING , 7 | .B FORWARD 8 | or 9 | .B INPUT 10 | chains. 11 | -------------------------------------------------------------------------------- /src/main/jni/iptables/include/iptables/internal.h: -------------------------------------------------------------------------------- 1 | #ifndef IPTABLES_INTERNAL_H 2 | #define IPTABLES_INTERNAL_H 1 3 | 4 | #define IPTABLES_VERSION "1.4.11.1" 5 | 6 | /** 7 | * Program's own name and version. 8 | */ 9 | extern const char *program_name, *program_version; 10 | 11 | extern int line; 12 | 13 | #endif /* IPTABLES_INTERNAL_H */ 14 | -------------------------------------------------------------------------------- /src/main/jni/iptables/include/linux/netfilter/xt_TEE.h: -------------------------------------------------------------------------------- 1 | #ifndef _XT_TEE_TARGET_H 2 | #define _XT_TEE_TARGET_H 3 | 4 | struct xt_tee_tginfo { 5 | union nf_inet_addr gw; 6 | char oif[16]; 7 | 8 | /* used internally by the kernel */ 9 | struct xt_tee_priv *priv __attribute__((aligned(8))); 10 | }; 11 | 12 | #endif /* _XT_TEE_TARGET_H */ 13 | -------------------------------------------------------------------------------- /src/main/jni/badvpn/base/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | set(BASE_ADDITIONAL_SOURCES) 2 | 3 | if (HAVE_SYSLOG_H) 4 | list(APPEND BASE_ADDITIONAL_SOURCES BLog_syslog.c) 5 | endif () 6 | 7 | set(BASE_SOURCES 8 | DebugObject.c 9 | BLog.c 10 | BPending.c 11 | ${BASE_ADDITIONAL_SOURCES} 12 | ) 13 | badvpn_add_library(base "" "" "${BASE_SOURCES}") 14 | -------------------------------------------------------------------------------- /src/main/jni/iptables/libiptc/libiptc.pc.in: -------------------------------------------------------------------------------- 1 | 2 | prefix=@prefix@ 3 | exec_prefix=@exec_prefix@ 4 | libdir=@libdir@ 5 | includedir=@includedir@ 6 | 7 | Name: libiptc 8 | Description: iptables ruleset ADT and kernel interface 9 | Version: @PACKAGE_VERSION@ 10 | Libs: -L${libdir} -liptc 11 | Libs.private: -lip4tc -lip6tc 12 | Cflags: -I${includedir} 13 | -------------------------------------------------------------------------------- /src/main/jni/badvpn/generated/NCDValParser_parse.h: -------------------------------------------------------------------------------- 1 | #define COMMA 1 2 | #define CURLY_OPEN 2 3 | #define CURLY_CLOSE 3 4 | #define COLON 4 5 | #define BRACKET_OPEN 5 6 | #define BRACKET_CLOSE 6 7 | #define STRING 7 8 | -------------------------------------------------------------------------------- /src/main/jni/iptables/include/iptables/internal.h.in: -------------------------------------------------------------------------------- 1 | #ifndef IPTABLES_INTERNAL_H 2 | #define IPTABLES_INTERNAL_H 1 3 | 4 | #define IPTABLES_VERSION "@PACKAGE_VERSION@" 5 | 6 | /** 7 | * Program's own name and version. 8 | */ 9 | extern const char *program_name, *program_version; 10 | 11 | extern int line; 12 | 13 | #endif /* IPTABLES_INTERNAL_H */ 14 | -------------------------------------------------------------------------------- /src/main/jni/badvpn/ncd/examples/igmpproxy.conf.template: -------------------------------------------------------------------------------- 1 | quickleave 2 | 3 | phyint upstream ratelimit 0 threshold 1 4 | altnet 89.143.8.0/24 5 | altnet 95.176.0.0/16 6 | 7 | phyint downstream ratelimit 0 threshold 1 8 | 9 | # A lot of these will be appended by make_igmpproxy_config: 10 | # phyint eth0 disabled 11 | -------------------------------------------------------------------------------- /src/main/jni/badvpn/ncd/tests/implode.ncd: -------------------------------------------------------------------------------- 1 | process main { 2 | implode("X", {"a", "bb", "", "c"}) str; 3 | strcmp(str, "aXbbXXc") a; 4 | assert(a); 5 | 6 | implode("", {"a", "b"}) str; 7 | strcmp(str, "ab") a; 8 | assert(a); 9 | 10 | implode("X", {}) str; 11 | strcmp(str, "") a; 12 | assert(a); 13 | 14 | exit("0"); 15 | } 16 | -------------------------------------------------------------------------------- /src/main/jni/iptables/extensions/libxt_tcpmss.man: -------------------------------------------------------------------------------- 1 | This matches the TCP MSS (maximum segment size) field of the TCP header. You can only use this on TCP SYN or SYN/ACK packets, since the MSS is only negotiated during the TCP handshake at connection startup time. 2 | .TP 3 | [\fB!\fP] \fB\-\-mss\fP \fIvalue\fP[\fB:\fP\fIvalue\fP] 4 | Match a given TCP MSS value or range. 5 | -------------------------------------------------------------------------------- /src/main/jni/iptables/include/linux/netfilter/xt_CONNSECMARK.h: -------------------------------------------------------------------------------- 1 | #ifndef _XT_CONNSECMARK_H_target 2 | #define _XT_CONNSECMARK_H_target 3 | 4 | #include 5 | 6 | enum { 7 | CONNSECMARK_SAVE = 1, 8 | CONNSECMARK_RESTORE, 9 | }; 10 | 11 | struct xt_connsecmark_target_info { 12 | __u8 mode; 13 | }; 14 | 15 | #endif /*_XT_CONNSECMARK_H_target */ 16 | -------------------------------------------------------------------------------- /src/main/jni/badvpn/ncd/examples/dhcpd.conf.template: -------------------------------------------------------------------------------- 1 | default-lease-time 600; 2 | max-lease-time 7200; 3 | log-facility local7; 4 | ddns-update-style none; 5 | local-address ; 6 | 7 | subnet netmask { 8 | range ; 9 | option routers ; 10 | option domain-name-servers ; 11 | } 12 | -------------------------------------------------------------------------------- /src/main/jni/iptables/extensions/libxt_quota.man: -------------------------------------------------------------------------------- 1 | Implements network quotas by decrementing a byte counter with each 2 | packet. The condition matches until the byte counter reaches zero. Behavior 3 | is reversed with negation (i.e. the condition does not match until the 4 | byte counter reaches zero). 5 | .TP 6 | [\fB!\fP] \fB\-\-quota\fP \fIbytes\fP 7 | The quota in bytes. 8 | -------------------------------------------------------------------------------- /src/main/jni/iptables/extensions/libipt_ttl.man: -------------------------------------------------------------------------------- 1 | This module matches the time to live field in the IP header. 2 | .TP 3 | \fB\-\-ttl\-eq\fP \fIttl\fP 4 | Matches the given TTL value. 5 | .TP 6 | \fB\-\-ttl\-gt\fP \fIttl\fP 7 | Matches if TTL is greater than the given TTL value. 8 | .TP 9 | \fB\-\-ttl\-lt\fP \fIttl\fP 10 | Matches if TTL is less than the given TTL value. 11 | -------------------------------------------------------------------------------- /src/main/jni/iptables/include/linux/netfilter/xt_state.h: -------------------------------------------------------------------------------- 1 | #ifndef _XT_STATE_H 2 | #define _XT_STATE_H 3 | 4 | #define XT_STATE_BIT(ctinfo) (1 << ((ctinfo)%IP_CT_IS_REPLY+1)) 5 | #define XT_STATE_INVALID (1 << 0) 6 | 7 | #define XT_STATE_UNTRACKED (1 << (IP_CT_NUMBER + 1)) 8 | 9 | struct xt_state_info { 10 | unsigned int statemask; 11 | }; 12 | #endif /*_XT_STATE_H*/ 13 | -------------------------------------------------------------------------------- /src/main/jni/openssl/crypto/bf/README: -------------------------------------------------------------------------------- 1 | This is a quick packaging up of my blowfish code into a library. 2 | It has been lifted from SSLeay. 3 | The copyright notices seem a little harsh because I have not spent the 4 | time to rewrite the conditions from the normal SSLeay ones. 5 | 6 | Basically if you just want to play with the library, not a problem. 7 | 8 | eric 15-Apr-1997 9 | -------------------------------------------------------------------------------- /src/main/res/layout/overlay.xml: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /src/main/jni/iptables/extensions/libip6t_dst.man: -------------------------------------------------------------------------------- 1 | This module matches the parameters in Destination Options header 2 | .TP 3 | [\fB!\fP] \fB\-\-dst\-len\fP \fIlength\fP 4 | Total length of this header in octets. 5 | .TP 6 | \fB\-\-dst\-opts\fP \fItype\fP[\fB:\fP\fIlength\fP][\fB,\fP\fItype\fP[\fB:\fP\fIlength\fP]...] 7 | numeric type of option and the length of the option data in octets. 8 | -------------------------------------------------------------------------------- /src/main/jni/iptables/extensions/libip6t_hbh.man: -------------------------------------------------------------------------------- 1 | This module matches the parameters in Hop-by-Hop Options header 2 | .TP 3 | [\fB!\fP] \fB\-\-hbh\-len\fP \fIlength\fP 4 | Total length of this header in octets. 5 | .TP 6 | \fB\-\-hbh\-opts\fP \fItype\fP[\fB:\fP\fIlength\fP][\fB,\fP\fItype\fP[\fB:\fP\fIlength\fP]...] 7 | numeric type of option and the length of the option data in octets. 8 | -------------------------------------------------------------------------------- /src/main/jni/iptables/iptables/xtables.pc.in: -------------------------------------------------------------------------------- 1 | 2 | prefix=@prefix@ 3 | exec_prefix=@exec_prefix@ 4 | libdir=@libdir@ 5 | xtlibdir=@xtlibdir@ 6 | includedir=@includedir@ 7 | 8 | Name: xtables 9 | Description: Shared Xtables code for extensions and iproute2 10 | Version: @PACKAGE_VERSION@ 11 | Cflags: -I${includedir} 12 | Libs: -L${libdir} -lxtables 13 | Libs.private: -ldl 14 | -------------------------------------------------------------------------------- /src/main/jni/badvpn/server/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | add_executable(badvpn-server server.c) 2 | target_link_libraries(badvpn-server system flow flowextra nspr_support predicate security ${NSPR_LIBRARIES} ${NSS_LIBRARIES}) 3 | 4 | install( 5 | TARGETS badvpn-server 6 | RUNTIME DESTINATION bin 7 | ) 8 | 9 | install( 10 | FILES badvpn-server.8 11 | DESTINATION share/man/man8 12 | ) 13 | -------------------------------------------------------------------------------- /src/main/jni/iptables/extensions/libip6t_ah.man: -------------------------------------------------------------------------------- 1 | This module matches the parameters in Authentication header of IPsec packets. 2 | .TP 3 | [\fB!\fP] \fB\-\-ahspi\fP \fIspi\fP[\fB:\fP\fIspi\fP] 4 | Matches SPI. 5 | .TP 6 | [\fB!\fP] \fB\-\-ahlen\fP \fIlength\fP 7 | Total length of this header in octets. 8 | .TP 9 | \fB\-\-ahres\fP 10 | Matches if the reserved field is filled with zero. 11 | -------------------------------------------------------------------------------- /src/main/res/menu/app_manager_menu.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 8 | 9 | -------------------------------------------------------------------------------- /src/main/jni/iptables/extensions/libip6t_hl.man: -------------------------------------------------------------------------------- 1 | This module matches the Hop Limit field in the IPv6 header. 2 | .TP 3 | [\fB!\fP] \fB\-\-hl\-eq\fP \fIvalue\fP 4 | Matches if Hop Limit equals \fIvalue\fP. 5 | .TP 6 | \fB\-\-hl\-lt\fP \fIvalue\fP 7 | Matches if Hop Limit is less than \fIvalue\fP. 8 | .TP 9 | \fB\-\-hl\-gt\fP \fIvalue\fP 10 | Matches if Hop Limit is greater than \fIvalue\fP. 11 | -------------------------------------------------------------------------------- /src/main/jni/iptables/extensions/libxt_connmark.man: -------------------------------------------------------------------------------- 1 | This module matches the netfilter mark field associated with a connection 2 | (which can be set using the \fBCONNMARK\fP target below). 3 | .TP 4 | [\fB!\fP] \fB\-\-mark\fP \fIvalue\fP[\fB/\fP\fImask\fP] 5 | Matches packets in connections with the given mark value (if a mask is 6 | specified, this is logically ANDed with the mark before the comparison). 7 | -------------------------------------------------------------------------------- /src/main/jni/openssl/crypto/pem/message: -------------------------------------------------------------------------------- 1 | -----BEGIN PRIVACY-ENHANCED MESSAGE----- 2 | Proc-Type: 4,ENCRYPTED 3 | Proc-Type: 4,MIC-ONLY 4 | Proc-Type: 4,MIC-CLEAR 5 | Content-Domain: RFC822 6 | DEK-Info: DES-CBC,0123456789abcdef 7 | Originator-Certificate 8 | xxxx 9 | Issuer-Certificate 10 | xxxx 11 | MIC-Info: RSA-MD5,RSA, 12 | xxxx 13 | 14 | 15 | -----END PRIVACY-ENHANCED MESSAGE----- 16 | 17 | -------------------------------------------------------------------------------- /src/main/jni/badvpn/tun2socks/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | add_executable(badvpn-tun2socks 2 | tun2socks.c 3 | SocksUdpGwClient.c 4 | ) 5 | target_link_libraries(badvpn-tun2socks system flow tuntap lwip socksclient udpgw_client) 6 | 7 | install( 8 | TARGETS badvpn-tun2socks 9 | RUNTIME DESTINATION bin 10 | ) 11 | 12 | install( 13 | FILES badvpn-tun2socks.8 14 | DESTINATION share/man/man8 15 | ) 16 | -------------------------------------------------------------------------------- /src/main/jni/iptables/extensions/libxt_SECMARK.man: -------------------------------------------------------------------------------- 1 | This is used to set the security mark value associated with the 2 | packet for use by security subsystems such as SELinux. It is 3 | valid in the 4 | .B security 5 | table (for backwards compatibility with older kernels, it is also 6 | valid in the 7 | .B mangle 8 | table). The mark is 32 bits wide. 9 | .TP 10 | \fB\-\-selctx\fP \fIsecurity_context\fP 11 | -------------------------------------------------------------------------------- /src/main/jni/iptables/include/linux/netfilter/xt_CT.h: -------------------------------------------------------------------------------- 1 | #ifndef _XT_CT_H 2 | #define _XT_CT_H 3 | 4 | #define XT_CT_NOTRACK 0x1 5 | 6 | struct xt_ct_target_info { 7 | __u16 flags; 8 | __u16 zone; 9 | __u32 ct_events; 10 | __u32 exp_events; 11 | char helper[16]; 12 | 13 | /* Used internally by the kernel */ 14 | struct nf_conn *ct __attribute__((aligned(8))); 15 | }; 16 | 17 | #endif /* _XT_CT_H */ 18 | -------------------------------------------------------------------------------- /src/main/jni/iptables/extensions/libxt_mark.man: -------------------------------------------------------------------------------- 1 | This module matches the netfilter mark field associated with a packet 2 | (which can be set using the 3 | .B MARK 4 | target below). 5 | .TP 6 | [\fB!\fP] \fB\-\-mark\fP \fIvalue\fP[\fB/\fP\fImask\fP] 7 | Matches packets with the given unsigned mark value (if a \fImask\fP is 8 | specified, this is logically ANDed with the \fImask\fP before the 9 | comparison). 10 | -------------------------------------------------------------------------------- /src/main/jni/openssl/crypto/bf/asm/readme: -------------------------------------------------------------------------------- 1 | There are blowfish assembler generation scripts. 2 | bf-586.pl version is for the pentium and 3 | bf-686.pl is my original version, which is faster on the pentium pro. 4 | 5 | When using a bf-586.pl, the pentium pro/II is %8 slower than using 6 | bf-686.pl. When using a bf-686.pl, the pentium is %16 slower 7 | than bf-586.pl 8 | 9 | So the default is bf-586.pl 10 | 11 | -------------------------------------------------------------------------------- /src/main/jni/redsocks/base.h: -------------------------------------------------------------------------------- 1 | #ifndef BASE_H_SUN_JUN__3_20_15_57_2007 2 | #define BASE_H_SUN_JUN__3_20_15_57_2007 3 | 4 | int getdestaddr(int fd, const struct sockaddr_in *client, const struct sockaddr_in *bindaddr, struct sockaddr_in *destaddr); 5 | 6 | /* vim:set tabstop=4 softtabstop=4 shiftwidth=4: */ 7 | /* vim:set foldmethod=marker foldlevel=32 foldmarker={,}: */ 8 | #endif /* BASE_H_SUN_JUN__3_20_15_57_2007 */ 9 | -------------------------------------------------------------------------------- /project/plugins.sbt: -------------------------------------------------------------------------------- 1 | resolvers += Resolver.url("scalasbt releases", new URL("http://scalasbt.artifactoryonline.com/scalasbt/sbt-plugin-snapshots"))(Resolver.ivyStylePatterns) 2 | 3 | addSbtPlugin("com.hanhuy.sbt" % "android-sdk-plugin" % "1.4.8") 4 | 5 | resolvers += "Sonatype snapshots" at "https://oss.sonatype.org/content/repositories/snapshots/" 6 | 7 | addSbtPlugin("com.github.mpeltonen" % "sbt-idea" % "1.7.0-SNAPSHOT") 8 | -------------------------------------------------------------------------------- /src/main/jni/iptables/extensions/libipt_realm.man: -------------------------------------------------------------------------------- 1 | This matches the routing realm. Routing realms are used in complex routing 2 | setups involving dynamic routing protocols like BGP. 3 | .TP 4 | [\fB!\fP] \fB\-\-realm\fP \fIvalue\fP[\fB/\fP\fImask\fP] 5 | Matches a given realm number (and optionally mask). If not a number, value 6 | can be a named realm from /etc/iproute2/rt_realms (mask can not be used in 7 | that case). 8 | -------------------------------------------------------------------------------- /src/main/jni/iptables/include/linux/netfilter/xt_cluster.h: -------------------------------------------------------------------------------- 1 | #ifndef _XT_CLUSTER_MATCH_H 2 | #define _XT_CLUSTER_MATCH_H 3 | 4 | enum xt_cluster_flags { 5 | XT_CLUSTER_F_INV = (1 << 0) 6 | }; 7 | 8 | struct xt_cluster_match_info { 9 | __u32 total_nodes; 10 | __u32 node_mask; 11 | __u32 hash_seed; 12 | __u32 flags; 13 | }; 14 | 15 | #define XT_CLUSTER_NODES_MAX 32 16 | 17 | #endif /* _XT_CLUSTER_MATCH_H */ 18 | -------------------------------------------------------------------------------- /src/main/jni/badvpn/flow/PacketPassFairQueue_tree.h: -------------------------------------------------------------------------------- 1 | #define SAVL_PARAM_NAME PacketPassFairQueue__Tree 2 | #define SAVL_PARAM_FEATURE_COUNTS 0 3 | #define SAVL_PARAM_FEATURE_NOKEYS 1 4 | #define SAVL_PARAM_TYPE_ENTRY struct PacketPassFairQueueFlow_s 5 | #define SAVL_PARAM_TYPE_ARG int 6 | #define SAVL_PARAM_FUN_COMPARE_ENTRIES(arg, entry1, entry2) compare_flows((entry1), (entry2)) 7 | #define SAVL_PARAM_MEMBER_NODE queued.tree_node 8 | -------------------------------------------------------------------------------- /src/main/jni/badvpn/ncd/tests/call.ncd: -------------------------------------------------------------------------------- 1 | process main { 2 | var("bad_x") x; 3 | var("good_x") y; 4 | call("helper_func", {}) helper; 5 | call_with_caller_target("func1", {}, "helper") c; 6 | val_equal(c.x, "good_x") a; 7 | assert(a); 8 | 9 | exit("0"); 10 | } 11 | 12 | template helper_func { 13 | var(_caller.y) x; 14 | } 15 | 16 | template func1 { 17 | var(_caller.x) x; 18 | } 19 | -------------------------------------------------------------------------------- /src/main/jni/badvpn/ncd/tests/netmask.ncd: -------------------------------------------------------------------------------- 1 | process main { 2 | ipv4_prefix_to_mask("16") mask; 3 | strcmp(mask, "255.255.0.0") a; 4 | assert(a); 5 | 6 | ipv4_mask_to_prefix("128.0.0.0") prefix; 7 | strcmp(prefix, "1") a; 8 | assert(a); 9 | 10 | ipv4_net_from_addr_and_prefix("192.168.1.4", "24") net; 11 | strcmp(net, "192.168.1.0") a; 12 | assert(a); 13 | 14 | exit("0"); 15 | } 16 | -------------------------------------------------------------------------------- /src/main/jni/iptables/include/linux/netfilter/nf_conntrack_tuple_common.h: -------------------------------------------------------------------------------- 1 | #ifndef _NF_CONNTRACK_TUPLE_COMMON_H 2 | #define _NF_CONNTRACK_TUPLE_COMMON_H 3 | 4 | enum ip_conntrack_dir 5 | { 6 | IP_CT_DIR_ORIGINAL, 7 | IP_CT_DIR_REPLY, 8 | IP_CT_DIR_MAX 9 | }; 10 | 11 | #define CTINFO2DIR(ctinfo) ((ctinfo) >= IP_CT_IS_REPLY ? IP_CT_DIR_REPLY : IP_CT_DIR_ORIGINAL) 12 | 13 | #endif /* _NF_CONNTRACK_TUPLE_COMMON_H */ 14 | -------------------------------------------------------------------------------- /src/main/jni/badvpn/ncd/tests/include.ncd: -------------------------------------------------------------------------------- 1 | include "include_included.ncdi" 2 | include "include_included.ncdi" 3 | include "include_included2.ncdi" 4 | include "include_included2.ncdi" 5 | 6 | process main { 7 | call("incl_tmpl", {}) c; 8 | val_equal(c.x, "good") a; 9 | assert(a); 10 | 11 | call("incl_tmpl2", {}) c; 12 | val_equal(c.x, "good2") a; 13 | assert(a); 14 | 15 | exit("0"); 16 | } 17 | -------------------------------------------------------------------------------- /src/main/jni/iptables/extensions/libipt_unclean.c: -------------------------------------------------------------------------------- 1 | /* Shared library add-on to iptables for unclean. */ 2 | #include 3 | 4 | static struct xtables_match unclean_mt_reg = { 5 | .name = "unclean", 6 | .version = XTABLES_VERSION, 7 | .family = NFPROTO_IPV4, 8 | .size = XT_ALIGN(0), 9 | .userspacesize = XT_ALIGN(0), 10 | }; 11 | 12 | void _init(void) 13 | { 14 | xtables_register_match(&unclean_mt_reg); 15 | } 16 | -------------------------------------------------------------------------------- /src/main/jni/iptables/include/linux/netfilter/xt_TCPOPTSTRIP.h: -------------------------------------------------------------------------------- 1 | #ifndef _XT_TCPOPTSTRIP_H 2 | #define _XT_TCPOPTSTRIP_H 3 | 4 | #define tcpoptstrip_set_bit(bmap, idx) \ 5 | (bmap[(idx) >> 5] |= 1U << (idx & 31)) 6 | #define tcpoptstrip_test_bit(bmap, idx) \ 7 | (((1U << (idx & 31)) & bmap[(idx) >> 5]) != 0) 8 | 9 | struct xt_tcpoptstrip_target_info { 10 | __u32 strip_bmap[8]; 11 | }; 12 | 13 | #endif /* _XT_TCPOPTSTRIP_H */ 14 | -------------------------------------------------------------------------------- /src/main/jni/badvpn/flow/PacketPassPriorityQueue_tree.h: -------------------------------------------------------------------------------- 1 | #define SAVL_PARAM_NAME PacketPassPriorityQueue__Tree 2 | #define SAVL_PARAM_FEATURE_COUNTS 0 3 | #define SAVL_PARAM_FEATURE_NOKEYS 1 4 | #define SAVL_PARAM_TYPE_ENTRY struct PacketPassPriorityQueueFlow_s 5 | #define SAVL_PARAM_TYPE_ARG int 6 | #define SAVL_PARAM_FUN_COMPARE_ENTRIES(arg, entry1, entry2) compare_flows((entry1), (entry2)) 7 | #define SAVL_PARAM_MEMBER_NODE queued.tree_node 8 | -------------------------------------------------------------------------------- /src/main/jni/iptables/extensions/libipt_icmp.man: -------------------------------------------------------------------------------- 1 | This extension can be used if `\-\-protocol icmp' is specified. It 2 | provides the following option: 3 | .TP 4 | [\fB!\fP] \fB\-\-icmp\-type\fP {\fItype\fP[\fB/\fP\fIcode\fP]|\fItypename\fP} 5 | This allows specification of the ICMP type, which can be a numeric 6 | ICMP type, type/code pair, or one of the ICMP type names shown by the command 7 | .nf 8 | iptables \-p icmp \-h 9 | .fi 10 | -------------------------------------------------------------------------------- /src/main/jni/iptables/include/linux/netfilter/xt_owner.h: -------------------------------------------------------------------------------- 1 | #ifndef _XT_OWNER_MATCH_H 2 | #define _XT_OWNER_MATCH_H 3 | 4 | #include 5 | 6 | enum { 7 | XT_OWNER_UID = 1 << 0, 8 | XT_OWNER_GID = 1 << 1, 9 | XT_OWNER_SOCKET = 1 << 2, 10 | }; 11 | 12 | struct xt_owner_match_info { 13 | __u32 uid_min, uid_max; 14 | __u32 gid_min, gid_max; 15 | __u8 match, invert; 16 | }; 17 | 18 | #endif /* _XT_OWNER_MATCH_H */ 19 | -------------------------------------------------------------------------------- /src/main/jni/iptables/include/linux/netfilter_ipv4/ipt_SAME.h: -------------------------------------------------------------------------------- 1 | #ifndef _IPT_SAME_H 2 | #define _IPT_SAME_H 3 | 4 | #define IPT_SAME_MAX_RANGE 10 5 | 6 | #define IPT_SAME_NODST 0x01 7 | 8 | struct ipt_same_info { 9 | unsigned char info; 10 | u_int32_t rangesize; 11 | u_int32_t ipnum; 12 | u_int32_t *iparray; 13 | 14 | /* hangs off end. */ 15 | struct nf_nat_range range[IPT_SAME_MAX_RANGE]; 16 | }; 17 | 18 | #endif /*_IPT_SAME_H*/ 19 | -------------------------------------------------------------------------------- /src/main/jni/openssl/crypto/bn/bn.mul: -------------------------------------------------------------------------------- 1 | We need 2 | 3 | * bn_mul_comba8 4 | * bn_mul_comba4 5 | * bn_mul_normal 6 | * bn_mul_recursive 7 | 8 | * bn_sqr_comba8 9 | * bn_sqr_comba4 10 | bn_sqr_normal -> BN_sqr 11 | * bn_sqr_recursive 12 | 13 | * bn_mul_low_recursive 14 | * bn_mul_low_normal 15 | * bn_mul_high 16 | 17 | * bn_mul_part_recursive # symetric but not power of 2 18 | 19 | bn_mul_asymetric_recursive # uneven, but do the chop up. 20 | -------------------------------------------------------------------------------- /src/main/jni/badvpn/dhcpclient/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | add_library(dhcpclientcore 2 | BDHCPClientCore.c 3 | ) 4 | target_link_libraries(dhcpclientcore system flow flowextra badvpn_random) 5 | 6 | if (CMAKE_SYSTEM_NAME STREQUAL "Linux") 7 | add_library(dhcpclient 8 | BDHCPClient.c 9 | DHCPIpUdpEncoder.c 10 | DHCPIpUdpDecoder.c 11 | ) 12 | target_link_libraries(dhcpclient system flow dhcpclientcore) 13 | endif () 14 | -------------------------------------------------------------------------------- /src/main/jni/badvpn/fix_flex.php: -------------------------------------------------------------------------------- 1 | ", "#if defined (__STDC_VERSION__) && __STDC_VERSION__ >= 199901L"); 7 | $replace = array("", "#if 1"); 8 | $contents = str_replace($search, $replace, $contents); 9 | $res = file_put_contents($filename, $contents); 10 | if ($res === FALSE) exit(1); 11 | -------------------------------------------------------------------------------- /src/main/jni/iptables/extensions/libipt_MIRROR.c: -------------------------------------------------------------------------------- 1 | /* Shared library add-on to iptables to add MIRROR target support. */ 2 | #include 3 | 4 | static struct xtables_target mirror_tg_reg = { 5 | .name = "MIRROR", 6 | .version = XTABLES_VERSION, 7 | .family = NFPROTO_IPV4, 8 | .size = XT_ALIGN(0), 9 | .userspacesize = XT_ALIGN(0), 10 | }; 11 | 12 | void _init(void) 13 | { 14 | xtables_register_target(&mirror_tg_reg); 15 | } 16 | -------------------------------------------------------------------------------- /src/main/jni/badvpn/lwip/doc/FILES: -------------------------------------------------------------------------------- 1 | savannah.txt - How to obtain the current development source code. 2 | contrib.txt - How to contribute to lwIP as a developer. 3 | rawapi.txt - The documentation for the core API of lwIP. 4 | Also provides an overview about the other APIs and multithreading. 5 | snmp_agent.txt - The documentation for the lwIP SNMP agent. 6 | sys_arch.txt - The documentation for a system abstraction layer of lwIP. 7 | -------------------------------------------------------------------------------- /src/main/jni/iptables/extensions/libxt_NOTRACK.c: -------------------------------------------------------------------------------- 1 | /* Shared library add-on to iptables to add NOTRACK target support. */ 2 | #include 3 | 4 | static struct xtables_target notrack_target = { 5 | .family = NFPROTO_UNSPEC, 6 | .name = "NOTRACK", 7 | .version = XTABLES_VERSION, 8 | .size = XT_ALIGN(0), 9 | .userspacesize = XT_ALIGN(0), 10 | }; 11 | 12 | void _init(void) 13 | { 14 | xtables_register_target(¬rack_target); 15 | } 16 | -------------------------------------------------------------------------------- /src/main/jni/iptables/include/linux/netfilter/xt_quota.h: -------------------------------------------------------------------------------- 1 | #ifndef _XT_QUOTA_H 2 | #define _XT_QUOTA_H 3 | 4 | enum xt_quota_flags { 5 | XT_QUOTA_INVERT = 0x1, 6 | }; 7 | #define XT_QUOTA_MASK 0x1 8 | 9 | struct xt_quota_priv; 10 | 11 | struct xt_quota_info { 12 | __u32 flags; 13 | __u32 pad; 14 | aligned_u64 quota; 15 | 16 | /* Used internally by the kernel */ 17 | struct xt_quota_priv *master; 18 | }; 19 | 20 | #endif /* _XT_QUOTA_H */ 21 | -------------------------------------------------------------------------------- /src/main/jni/libevent/strlcpy-internal.h: -------------------------------------------------------------------------------- 1 | #ifndef _STRLCPY_INTERNAL_H_ 2 | #define _STRLCPY_INTERNAL_H_ 3 | 4 | #ifdef __cplusplus 5 | extern "C" { 6 | #endif 7 | 8 | #include "event2/event-config.h" 9 | 10 | #ifndef _EVENT_HAVE_STRLCPY 11 | #include 12 | size_t _event_strlcpy(char *dst, const char *src, size_t siz); 13 | #define strlcpy _event_strlcpy 14 | #endif 15 | 16 | #ifdef __cplusplus 17 | } 18 | #endif 19 | 20 | #endif 21 | 22 | -------------------------------------------------------------------------------- /src/main/jni/badvpn/protocol/addr.bproto: -------------------------------------------------------------------------------- 1 | // message for an AddrProto address 2 | message addr { 3 | // address type. from addr.h 4 | required uint8 type = 1; 5 | // for IPv4 and IPv6 addresses, the port (network byte order) 6 | optional data("2") ip_port = 2; 7 | // for IPv4 addresses, the IP address 8 | optional data("4") ipv4_addr = 3; 9 | // for IPv6 addresses, the IP address 10 | optional data("16") ipv6_addr = 4; 11 | }; 12 | -------------------------------------------------------------------------------- /src/main/jni/badvpn/system/BReactor.h: -------------------------------------------------------------------------------- 1 | #if defined(BADVPN_BREACTOR_BADVPN) + defined(BADVPN_BREACTOR_GLIB) + defined(BADVPN_BREACTOR_EMSCRIPTEN) != 1 2 | #error No reactor backend or too many reactor backens 3 | #endif 4 | 5 | #if defined(BADVPN_BREACTOR_BADVPN) 6 | #include "BReactor_badvpn.h" 7 | #elif defined(BADVPN_BREACTOR_GLIB) 8 | #include "BReactor_glib.h" 9 | #elif defined(BADVPN_BREACTOR_EMSCRIPTEN) 10 | #include "BReactor_emscripten.h" 11 | #endif 12 | -------------------------------------------------------------------------------- /src/main/jni/iptables/extensions/libip6t_eui64.man: -------------------------------------------------------------------------------- 1 | This module matches the EUI-64 part of a stateless autoconfigured IPv6 address. 2 | It compares the EUI-64 derived from the source MAC address in Ethernet frame 3 | with the lower 64 bits of the IPv6 source address. But "Universal/Local" 4 | bit is not compared. This module doesn't match other link layer frame, and 5 | is only valid in the 6 | .BR PREROUTING , 7 | .BR INPUT 8 | and 9 | .BR FORWARD 10 | chains. 11 | -------------------------------------------------------------------------------- /src/main/jni/iptables/extensions/libxt_helper.man: -------------------------------------------------------------------------------- 1 | This module matches packets related to a specific conntrack-helper. 2 | .TP 3 | [\fB!\fP] \fB\-\-helper\fP \fIstring\fP 4 | Matches packets related to the specified conntrack-helper. 5 | .RS 6 | .PP 7 | string can be "ftp" for packets related to a ftp-session on default port. 8 | For other ports append \-portnr to the value, ie. "ftp\-2121". 9 | .PP 10 | Same rules apply for other conntrack-helpers. 11 | .RE 12 | -------------------------------------------------------------------------------- /src/main/jni/iptables/extensions/libip6t_mh.man: -------------------------------------------------------------------------------- 1 | This extension is loaded if `\-\-protocol ipv6\-mh' or `\-\-protocol mh' is 2 | specified. It provides the following option: 3 | .TP 4 | [\fB!\fP] \fB\-\-mh\-type\fP \fItype\fP[\fB:\fP\fItype\fP] 5 | This allows specification of the Mobility Header(MH) type, which can be 6 | a numeric MH 7 | .IR type , 8 | .IR type 9 | or one of the MH type names shown by the command 10 | .nf 11 | ip6tables \-p ipv6\-mh \-h 12 | .fi 13 | -------------------------------------------------------------------------------- /src/main/jni/iptables/include/linux/netfilter/xt_NFLOG.h: -------------------------------------------------------------------------------- 1 | #ifndef _XT_NFLOG_TARGET 2 | #define _XT_NFLOG_TARGET 3 | 4 | #include 5 | 6 | #define XT_NFLOG_DEFAULT_GROUP 0x1 7 | #define XT_NFLOG_DEFAULT_THRESHOLD 0 8 | 9 | #define XT_NFLOG_MASK 0x0 10 | 11 | struct xt_nflog_info { 12 | __u32 len; 13 | __u16 group; 14 | __u16 threshold; 15 | __u16 flags; 16 | __u16 pad; 17 | char prefix[64]; 18 | }; 19 | 20 | #endif /* _XT_NFLOG_TARGET */ 21 | -------------------------------------------------------------------------------- /src/main/jni/iptables/include/linux/netfilter_ipv4/ipt_ah.h: -------------------------------------------------------------------------------- 1 | #ifndef _IPT_AH_H 2 | #define _IPT_AH_H 3 | 4 | struct ipt_ah { 5 | u_int32_t spis[2]; /* Security Parameter Index */ 6 | u_int8_t invflags; /* Inverse flags */ 7 | }; 8 | 9 | 10 | 11 | /* Values for "invflags" field in struct ipt_ah. */ 12 | #define IPT_AH_INV_SPI 0x01 /* Invert the sense of spi. */ 13 | #define IPT_AH_INV_MASK 0x01 /* All possible flags. */ 14 | 15 | #endif /*_IPT_AH_H*/ 16 | -------------------------------------------------------------------------------- /src/main/jni/badvpn/examples/savl_test_tree.h: -------------------------------------------------------------------------------- 1 | #define SAVL_PARAM_NAME MyTree 2 | #define SAVL_PARAM_FEATURE_COUNTS 1 3 | #define SAVL_PARAM_FEATURE_NOKEYS 1 4 | #define SAVL_PARAM_TYPE_ENTRY struct mynode 5 | #define SAVL_PARAM_TYPE_ARG int 6 | #define SAVL_PARAM_TYPE_COUNT int 7 | #define SAVL_PARAM_VALUE_COUNT_MAX INT_MAX 8 | #define SAVL_PARAM_FUN_COMPARE_ENTRIES(arg, entry1, entry2) B_COMPARE((entry1)->num, (entry2)->num) 9 | #define SAVL_PARAM_MEMBER_NODE tree_node 10 | -------------------------------------------------------------------------------- /src/main/jni/iptables/extensions/libip6t_eui64.c: -------------------------------------------------------------------------------- 1 | /* Shared library add-on to ip6tables to add EUI64 address checking support. */ 2 | #include 3 | 4 | static struct xtables_match eui64_mt6_reg = { 5 | .name = "eui64", 6 | .version = XTABLES_VERSION, 7 | .family = NFPROTO_IPV6, 8 | .size = XT_ALIGN(sizeof(int)), 9 | .userspacesize = XT_ALIGN(sizeof(int)), 10 | }; 11 | 12 | void _init(void) 13 | { 14 | xtables_register_match(&eui64_mt6_reg); 15 | } 16 | -------------------------------------------------------------------------------- /src/main/jni/iptables/include/linux/netfilter/xt_esp.h: -------------------------------------------------------------------------------- 1 | #ifndef _XT_ESP_H 2 | #define _XT_ESP_H 3 | 4 | #include 5 | 6 | struct xt_esp { 7 | __u32 spis[2]; /* Security Parameter Index */ 8 | __u8 invflags; /* Inverse flags */ 9 | }; 10 | 11 | /* Values for "invflags" field in struct xt_esp. */ 12 | #define XT_ESP_INV_SPI 0x01 /* Invert the sense of spi. */ 13 | #define XT_ESP_INV_MASK 0x01 /* All possible flags. */ 14 | 15 | #endif /*_XT_ESP_H*/ 16 | -------------------------------------------------------------------------------- /src/main/jni/redsocks/dnstc.h: -------------------------------------------------------------------------------- 1 | #ifndef DNSTC_H 2 | #define DNSTC_H 3 | 4 | typedef struct dnstc_config_t { 5 | struct sockaddr_in bindaddr; 6 | } dnstc_config; 7 | 8 | typedef struct dnstc_instance_t { 9 | list_head list; 10 | dnstc_config config; 11 | struct event listener; 12 | } dnstc_instance; 13 | 14 | /* vim:set tabstop=4 softtabstop=4 shiftwidth=4: */ 15 | /* vim:set foldmethod=marker foldlevel=32 foldmarker={,}: */ 16 | #endif /* REDUDP_H */ 17 | -------------------------------------------------------------------------------- /src/main/jni/iptables/extensions/libxt_CHECKSUM.man: -------------------------------------------------------------------------------- 1 | This target allows to selectively work around broken/old applications. 2 | It can only be used in the mangle table. 3 | .TP 4 | \fB\-\-checksum\-fill\fP 5 | Compute and fill in the checksum in a packet that lacks a checksum. 6 | This is particularly useful, if you need to work around old applications 7 | such as dhcp clients, that do not work well with checksum offloads, 8 | but don't want to disable checksum offload in your device. 9 | -------------------------------------------------------------------------------- /src/main/jni/iptables/include/linux/netfilter_ipv6/ip6t_REJECT.h: -------------------------------------------------------------------------------- 1 | #ifndef _IP6T_REJECT_H 2 | #define _IP6T_REJECT_H 3 | 4 | enum ip6t_reject_with { 5 | IP6T_ICMP6_NO_ROUTE, 6 | IP6T_ICMP6_ADM_PROHIBITED, 7 | IP6T_ICMP6_NOT_NEIGHBOUR, 8 | IP6T_ICMP6_ADDR_UNREACH, 9 | IP6T_ICMP6_PORT_UNREACH, 10 | IP6T_ICMP6_ECHOREPLY, 11 | IP6T_TCP_RESET 12 | }; 13 | 14 | struct ip6t_reject_info { 15 | u_int32_t with; /* reject type */ 16 | }; 17 | 18 | #endif /*_IP6T_REJECT_H*/ 19 | -------------------------------------------------------------------------------- /src/main/jni/iptables/include/linux/netfilter_ipv6/ip6t_mh.h: -------------------------------------------------------------------------------- 1 | #ifndef _IP6T_MH_H 2 | #define _IP6T_MH_H 3 | 4 | /* MH matching stuff */ 5 | struct ip6t_mh { 6 | u_int8_t types[2]; /* MH type range */ 7 | u_int8_t invflags; /* Inverse flags */ 8 | }; 9 | 10 | /* Values for "invflags" field in struct ip6t_mh. */ 11 | #define IP6T_MH_INV_TYPE 0x01 /* Invert the sense of type. */ 12 | #define IP6T_MH_INV_MASK 0x01 /* All possible flags. */ 13 | 14 | #endif /*_IP6T_MH_H*/ 15 | -------------------------------------------------------------------------------- /src/main/jni/iptables/extensions/libxt_TCPOPTSTRIP.man: -------------------------------------------------------------------------------- 1 | This target will strip TCP options off a TCP packet. (It will actually replace 2 | them by NO-OPs.) As such, you will need to add the \fB\-p tcp\fP parameters. 3 | .TP 4 | \fB\-\-strip\-options\fP \fIoption\fP[\fB,\fP\fIoption\fP...] 5 | Strip the given option(s). The options may be specified by TCP option number or 6 | by symbolic name. The list of recognized options can be obtained by calling 7 | iptables with \fB\-j TCPOPTSTRIP \-h\fP. 8 | -------------------------------------------------------------------------------- /src/main/jni/badvpn/ncd/tests/concat.ncd: -------------------------------------------------------------------------------- 1 | process main { 2 | concat("Hello", "", "World") x; 3 | strcmp(x, "HelloWorld") a; 4 | assert(a); 5 | 6 | concat("\x00\x00", "\x00") x; 7 | strcmp(x, "\x00\x00\x00") a; 8 | assert(a); 9 | 10 | concatv({"Hello", "", "World"}) x; 11 | strcmp(x, "HelloWorld") a; 12 | assert(a); 13 | 14 | concatv({"\x00\x00", "\x00"}) x; 15 | strcmp(x, "\x00\x00\x00") a; 16 | assert(a); 17 | 18 | exit("0"); 19 | } 20 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | classes 2 | bin 3 | gen 4 | target 5 | local.properties 6 | .classpath 7 | .project 8 | .settings 9 | tests/bin 10 | tests/gen 11 | tests/local.properties 12 | NUL 13 | gen_* 14 | *.class 15 | *.o 16 | local.sbt 17 | 18 | #Intellij IDEA 19 | *.iml 20 | *.ipr 21 | *.iws 22 | .idea/ 23 | out/ 24 | 25 | #NDK 26 | src/main/obj 27 | src/main/libs 28 | src/main/assets/armeabi 29 | src/main/assets/armeabi-v7a 30 | src/main/assets/x86 31 | src/main/assets/api-16/ 32 | jni/Application.mk 33 | -------------------------------------------------------------------------------- /src/main/jni/iptables/extensions/libxt_AUDIT.man: -------------------------------------------------------------------------------- 1 | This target allows to create audit records for packets hitting the target. 2 | It can be used to record accepted, dropped, and rejected packets. See 3 | auditd(8) for additional details. 4 | .TP 5 | \fB\-\-type\fP {\fBaccept\fP|\fBdrop\fP|\fBreject\fP} 6 | Set type of audit record. 7 | .PP 8 | Example: 9 | .IP 10 | iptables \-N AUDIT_DROP 11 | .IP 12 | iptables \-A AUDIT_DROP \-j AUDIT \-\-type drop 13 | .IP 14 | iptables \-A AUDIT_DROP \-j DROP 15 | -------------------------------------------------------------------------------- /src/main/jni/iptables/extensions/libxt_dscp.man: -------------------------------------------------------------------------------- 1 | This module matches the 6 bit DSCP field within the TOS field in the 2 | IP header. DSCP has superseded TOS within the IETF. 3 | .TP 4 | [\fB!\fP] \fB\-\-dscp\fP \fIvalue\fP 5 | Match against a numeric (decimal or hex) value [0-63]. 6 | .TP 7 | [\fB!\fP] \fB\-\-dscp\-class\fP \fIclass\fP 8 | Match the DiffServ class. This value may be any of the 9 | BE, EF, AFxx or CSx classes. It will then be converted 10 | into its according numeric value. 11 | -------------------------------------------------------------------------------- /src/main/res/layout/main.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 6 | 7 | 11 | 12 | -------------------------------------------------------------------------------- /src/main/jni/iptables/include/linux/netfilter_ipv4/ipt_ttl.h: -------------------------------------------------------------------------------- 1 | /* IP tables module for matching the value of the TTL 2 | * (C) 2000 by Harald Welte */ 3 | 4 | #ifndef _IPT_TTL_H 5 | #define _IPT_TTL_H 6 | 7 | enum { 8 | IPT_TTL_EQ = 0, /* equals */ 9 | IPT_TTL_NE, /* not equals */ 10 | IPT_TTL_LT, /* less than */ 11 | IPT_TTL_GT, /* greater than */ 12 | }; 13 | 14 | 15 | struct ipt_ttl_info { 16 | u_int8_t mode; 17 | u_int8_t ttl; 18 | }; 19 | 20 | 21 | #endif 22 | -------------------------------------------------------------------------------- /src/main/jni/openssl/crypto/threads/pthreads-vms.com: -------------------------------------------------------------------------------- 1 | $! To compile mttest on VMS. 2 | $! 3 | $! WARNING: only tested with DEC C so far. 4 | $ 5 | $ if (f$getsyi("cpu").lt.128) 6 | $ then 7 | $ arch := VAX 8 | $ else 9 | $ arch = f$edit( f$getsyi( "ARCH_NAME"), "UPCASE") 10 | $ if (arch .eqs. "") then arch = "UNK" 11 | $ endif 12 | $ define/user openssl [--.include.openssl] 13 | $ cc/def=PTHREADS mttest.c 14 | $ link mttest,[--.'arch'.exe.ssl]libssl/lib,[--.'arch'.exe.crypto]libcrypto/lib 15 | -------------------------------------------------------------------------------- /src/main/jni/pdnsd/src/rc/RedHat/Makefile.am: -------------------------------------------------------------------------------- 1 | 2 | # no need to create links. 'chkconfig' will take care of this. 3 | # In the spec case, chkconfig is called during rpm install 4 | install-exec-local: 5 | if [ "$(distribution)" = "RedHat" ] ; then \ 6 | $(mkinstalldirs) "$(DESTDIR)/etc/rc.d/init.d"; \ 7 | $(INSTALL_SCRIPT) $(srcdir)/pdnsd "$(DESTDIR)/etc/rc.d/init.d/pdnsd"; \ 8 | if [ "$(specbuild)" = "no" ] ; then \ 9 | /sbin/chkconfig --add pdnsd; \ 10 | fi \ 11 | fi 12 | 13 | -------------------------------------------------------------------------------- /src/main/jni/redsocks/libevent-compat.h: -------------------------------------------------------------------------------- 1 | #ifndef UUID_FC148CFA_5ECC_488E_8A62_CD39406C9F1E 2 | #define UUID_FC148CFA_5ECC_488E_8A62_CD39406C9F1E 3 | 4 | /* evutil_socket_t is macros in libevent-2.0, not typedef, libevent-1.4 is 5 | * still supported because of Ubuntu 10.04 LTS */ 6 | #ifndef evutil_socket_t 7 | # warning Using hardcoded value for evutil_socket_t as libevent headers do not define it. 8 | # define evutil_socket_t int 9 | #endif 10 | 11 | #endif // FC148CFA_5ECC_488E_8A62_CD39406C9F1E 12 | -------------------------------------------------------------------------------- /src/main/jni/iptables/extensions/libipt_MIRROR.man: -------------------------------------------------------------------------------- 1 | This is an experimental demonstration target which inverts the source 2 | and destination fields in the IP header and retransmits the packet. 3 | It is only valid in the 4 | .BR INPUT , 5 | .B FORWARD 6 | and 7 | .B PREROUTING 8 | chains, and user-defined chains which are only called from those 9 | chains. Note that the outgoing packets are 10 | .B NOT 11 | seen by any packet filtering chains, connection tracking or NAT, to 12 | avoid loops and other problems. 13 | -------------------------------------------------------------------------------- /src/main/jni/iptables/include/linux/netfilter/xt_devgroup.h: -------------------------------------------------------------------------------- 1 | #ifndef _XT_DEVGROUP_H 2 | #define _XT_DEVGROUP_H 3 | 4 | #include 5 | 6 | enum xt_devgroup_flags { 7 | XT_DEVGROUP_MATCH_SRC = 0x1, 8 | XT_DEVGROUP_INVERT_SRC = 0x2, 9 | XT_DEVGROUP_MATCH_DST = 0x4, 10 | XT_DEVGROUP_INVERT_DST = 0x8, 11 | }; 12 | 13 | struct xt_devgroup_info { 14 | __u32 flags; 15 | __u32 src_group; 16 | __u32 src_mask; 17 | __u32 dst_group; 18 | __u32 dst_mask; 19 | }; 20 | 21 | #endif /* _XT_DEVGROUP_H */ 22 | -------------------------------------------------------------------------------- /src/main/jni/iptables/extensions/libip6t_icmp6.man: -------------------------------------------------------------------------------- 1 | This extension can be used if `\-\-protocol ipv6\-icmp' or `\-\-protocol icmpv6' is 2 | specified. It provides the following option: 3 | .TP 4 | [\fB!\fP] \fB\-\-icmpv6\-type\fP \fItype\fP[\fB/\fP\fIcode\fP]|\fItypename\fP 5 | This allows specification of the ICMPv6 type, which can be a numeric 6 | ICMPv6 7 | .IR type , 8 | .IR type 9 | and 10 | .IR code , 11 | or one of the ICMPv6 type names shown by the command 12 | .nf 13 | ip6tables \-p ipv6\-icmp \-h 14 | .fi 15 | -------------------------------------------------------------------------------- /src/main/jni/iptables/extensions/libipt_NETMAP.man: -------------------------------------------------------------------------------- 1 | This target allows you to statically map a whole network of addresses onto 2 | another network of addresses. It can only be used from rules in the 3 | .B nat 4 | table. 5 | .TP 6 | \fB\-\-to\fP \fIaddress\fP[\fB/\fP\fImask\fP] 7 | Network address to map to. The resulting address will be constructed in the 8 | following way: All 'one' bits in the mask are filled in from the new `address'. 9 | All bits that are zero in the mask are filled in from the original address. 10 | -------------------------------------------------------------------------------- /src/main/jni/iptables/include/linux/netfilter/xt_LED.h: -------------------------------------------------------------------------------- 1 | #ifndef _XT_LED_H 2 | #define _XT_LED_H 3 | 4 | #include 5 | 6 | struct xt_led_info { 7 | char id[27]; /* Unique ID for this trigger in the LED class */ 8 | __u8 always_blink; /* Blink even if the LED is already on */ 9 | __u32 delay; /* Delay until LED is switched off after trigger */ 10 | 11 | /* Kernel data used in the module */ 12 | void *internal_data __attribute__((aligned(8))); 13 | }; 14 | 15 | #endif /* _XT_LED_H */ 16 | -------------------------------------------------------------------------------- /src/main/jni/iptables/include/linux/netfilter_ipv6/ip6t_hl.h: -------------------------------------------------------------------------------- 1 | /* ip6tables module for matching the Hop Limit value 2 | * Maciej Soltysiak 3 | * Based on HW's ttl module */ 4 | 5 | #ifndef _IP6T_HL_H 6 | #define _IP6T_HL_H 7 | 8 | enum { 9 | IP6T_HL_EQ = 0, /* equals */ 10 | IP6T_HL_NE, /* not equals */ 11 | IP6T_HL_LT, /* less than */ 12 | IP6T_HL_GT, /* greater than */ 13 | }; 14 | 15 | 16 | struct ip6t_hl_info { 17 | u_int8_t mode; 18 | u_int8_t hop_limit; 19 | }; 20 | 21 | 22 | #endif 23 | -------------------------------------------------------------------------------- /src/main/jni/iptables/libipq/Makefile.am: -------------------------------------------------------------------------------- 1 | # -*- Makefile -*- 2 | 3 | AM_CFLAGS = ${regular_CFLAGS} 4 | AM_CPPFLAGS = ${regular_CPPFLAGS} -I${top_builddir}/include -I${top_srcdir}/include 5 | 6 | libipq_la_SOURCES = libipq.c 7 | lib_LTLIBRARIES = libipq.la 8 | man_MANS = ipq_create_handle.3 ipq_destroy_handle.3 ipq_errstr.3 \ 9 | ipq_get_msgerr.3 ipq_get_packet.3 ipq_message_type.3 \ 10 | ipq_perror.3 ipq_read.3 ipq_set_mode.3 ipq_set_verdict.3 \ 11 | libipq.3 12 | -------------------------------------------------------------------------------- /src/main/jni/openssl/crypto/des/times/486-50.sol: -------------------------------------------------------------------------------- 1 | Solaris 2.4, 486 50mhz, gcc 2.6.3 2 | options des ecb/s 3 | 16 r2 i 43552.51 100.0% 4 | 16 r1 i 43487.45 99.9% 5 | 16 c p 43003.23 98.7% 6 | 16 r2 p 42339.00 97.2% 7 | 16 c i 41900.91 96.2% 8 | 16 r1 p 41360.64 95.0% 9 | 4 c i 38728.48 88.9% 10 | 4 c p 38225.63 87.8% 11 | 4 r1 i 38085.79 87.4% 12 | 4 r2 i 37825.64 86.9% 13 | 4 r2 p 34611.00 79.5% 14 | 4 r1 p 31802.00 73.0% 15 | -DDES_UNROLL -DDES_RISC2 16 | 17 | -------------------------------------------------------------------------------- /src/main/jni/pdnsd/src/pdnsd-ctl/Makefile.am: -------------------------------------------------------------------------------- 1 | 2 | sbin_PROGRAMS = pdnsd-ctl 3 | 4 | pdnsd_ctl_SOURCES = pdnsd-ctl.c 5 | pdnsd_ctl_LDADD = rr_types.o 6 | pdnsd_ctl_DEPENDENCIES = rr_types.o 7 | 8 | # These are Symlinks we want to have in the package 9 | #EXTRA_DIST = rr_types.h 10 | 11 | pdnsd-ctl.o rr_types.o: ../rr_types.h 12 | 13 | ../rr_types.h: ../make_rr_types_h.pl ../rr_types.in 14 | perl ../make_rr_types_h.pl ../rr_types.in > ../rr_types.h 15 | 16 | rr_types.o: %.o: ../%.c 17 | $(COMPILE) -DCLIENT_ONLY -c $< 18 | 19 | -------------------------------------------------------------------------------- /src/main/aidl/com/github/shadowsocks/aidl/IShadowsocksService.aidl: -------------------------------------------------------------------------------- 1 | package com.github.shadowsocks.aidl; 2 | 3 | import com.github.shadowsocks.aidl.Config; 4 | import com.github.shadowsocks.aidl.IShadowsocksServiceCallback; 5 | 6 | interface IShadowsocksService { 7 | int getMode(); 8 | int getState(); 9 | 10 | oneway void registerCallback(IShadowsocksServiceCallback cb); 11 | oneway void unregisterCallback(IShadowsocksServiceCallback cb); 12 | 13 | oneway void start(in Config config); 14 | oneway void stop(); 15 | } 16 | -------------------------------------------------------------------------------- /src/main/jni/openssl/crypto/des/times/alpha.cc: -------------------------------------------------------------------------------- 1 | cc -O2 2 | DES_LONG is 'unsigned int' 3 | 4 | options des ecb/s 5 | 4 r2 p 181146.14 100.0% 6 | 16 r2 p 172102.94 95.0% 7 | 4 r2 i 165424.11 91.3% 8 | 16 c p 160468.64 88.6% 9 | 4 c p 156653.59 86.5% 10 | 4 c i 155245.18 85.7% 11 | 4 r1 p 154729.68 85.4% 12 | 16 r2 i 154137.69 85.1% 13 | 16 r1 p 152357.96 84.1% 14 | 16 c i 148743.91 82.1% 15 | 4 r1 i 146695.59 81.0% 16 | 16 r1 i 144961.00 80.0% 17 | -DDES_RISC2 -DDES_PTR 18 | 19 | -------------------------------------------------------------------------------- /src/main/jni/openssl/crypto/des/DES.pm: -------------------------------------------------------------------------------- 1 | package DES; 2 | 3 | require Exporter; 4 | require DynaLoader; 5 | @ISA = qw(Exporter DynaLoader); 6 | # Items to export into callers namespace by default 7 | # (move infrequently used names to @EXPORT_OK below) 8 | @EXPORT = qw( 9 | ); 10 | # Other items we are prepared to export if requested 11 | @EXPORT_OK = qw( 12 | crypt 13 | ); 14 | 15 | # Preloaded methods go here. Autoload methods go after __END__, and are 16 | # processed by the autosplit program. 17 | bootstrap DES; 18 | 1; 19 | __END__ 20 | -------------------------------------------------------------------------------- /src/main/jni/openssl/crypto/des/times/sparc.gcc: -------------------------------------------------------------------------------- 1 | solaris 2.5.1 - sparc 10 50mhz - gcc 2.7.2 2 | 3 | options des ecb/s 4 | 16 c i 124382.70 100.0% 5 | 4 c i 118884.68 95.6% 6 | 16 c p 112261.20 90.3% 7 | 16 r2 i 111777.10 89.9% 8 | 16 r2 p 108896.30 87.5% 9 | 16 r1 p 108791.59 87.5% 10 | 4 c p 107290.10 86.3% 11 | 4 r1 p 104583.80 84.1% 12 | 16 r1 i 104206.20 83.8% 13 | 4 r2 p 103709.80 83.4% 14 | 4 r2 i 98306.43 79.0% 15 | 4 r1 i 91525.80 73.6% 16 | -DDES_UNROLL 17 | 18 | -------------------------------------------------------------------------------- /src/main/jni/badvpn/ncd/modules/buffer_chunks_tree.h: -------------------------------------------------------------------------------- 1 | #define SAVL_PARAM_NAME ChunksTree 2 | #define SAVL_PARAM_FEATURE_COUNTS 0 3 | #define SAVL_PARAM_FEATURE_NOKEYS 0 4 | #define SAVL_PARAM_TYPE_ENTRY struct chunk 5 | #define SAVL_PARAM_TYPE_KEY size_t 6 | #define SAVL_PARAM_TYPE_ARG int 7 | #define SAVL_PARAM_FUN_COMPARE_ENTRIES(arg, entry1, entry2) B_COMPARE((entry1)->offset, (entry2)->offset) 8 | #define SAVL_PARAM_FUN_COMPARE_KEY_ENTRY(arg, key1, entry2) B_COMPARE((key1), (entry2)->offset) 9 | #define SAVL_PARAM_MEMBER_NODE chunks_tree_node 10 | -------------------------------------------------------------------------------- /src/main/jni/iptables/include/linux/netfilter_ipv4/ipt_REJECT.h: -------------------------------------------------------------------------------- 1 | #ifndef _IPT_REJECT_H 2 | #define _IPT_REJECT_H 3 | 4 | enum ipt_reject_with { 5 | IPT_ICMP_NET_UNREACHABLE, 6 | IPT_ICMP_HOST_UNREACHABLE, 7 | IPT_ICMP_PROT_UNREACHABLE, 8 | IPT_ICMP_PORT_UNREACHABLE, 9 | IPT_ICMP_ECHOREPLY, 10 | IPT_ICMP_NET_PROHIBITED, 11 | IPT_ICMP_HOST_PROHIBITED, 12 | IPT_TCP_RESET, 13 | IPT_ICMP_ADMIN_PROHIBITED 14 | }; 15 | 16 | struct ipt_reject_info { 17 | enum ipt_reject_with with; /* reject type */ 18 | }; 19 | 20 | #endif /*_IPT_REJECT_H*/ 21 | -------------------------------------------------------------------------------- /src/main/jni/openssl/crypto/des/times/hpux.cc: -------------------------------------------------------------------------------- 1 | HPUX 10 - 9000/887 - cc -D_HPUX_SOURCE -Aa +ESlit +O2 -Wl,-a,archive 2 | 3 | options des ecb/s 4 | 16 c i 149448.90 100.0% 5 | 4 c i 145861.79 97.6% 6 | 16 r2 i 141710.96 94.8% 7 | 16 r1 i 139455.33 93.3% 8 | 4 r2 i 138800.00 92.9% 9 | 4 r1 i 136692.65 91.5% 10 | 16 r2 p 110228.17 73.8% 11 | 16 r1 p 109397.07 73.2% 12 | 16 c p 109209.89 73.1% 13 | 4 c p 108014.71 72.3% 14 | 4 r2 p 107873.88 72.2% 15 | 4 r1 p 107685.83 72.1% 16 | -DDES_UNROLL 17 | 18 | -------------------------------------------------------------------------------- /src/main/res/values/colors.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | #ff5e5e5e 6 | #17170443 7 | #FFFFFF 8 | #000000 9 | #646464 10 | #c8c8c8 11 | #323232 12 | #00000000 13 | #FF555555 14 | 15 | 16 | -------------------------------------------------------------------------------- /src/main/jni/badvpn/client/FrameDecider_groups_tree.h: -------------------------------------------------------------------------------- 1 | #define SAVL_PARAM_NAME FDGroupsTree 2 | #define SAVL_PARAM_FEATURE_COUNTS 0 3 | #define SAVL_PARAM_FEATURE_NOKEYS 0 4 | #define SAVL_PARAM_TYPE_ENTRY struct _FrameDecider_group_entry 5 | #define SAVL_PARAM_TYPE_KEY uint32_t 6 | #define SAVL_PARAM_TYPE_ARG int 7 | #define SAVL_PARAM_FUN_COMPARE_ENTRIES(arg, entry1, entry2) B_COMPARE((entry1)->group, (entry2)->group) 8 | #define SAVL_PARAM_FUN_COMPARE_KEY_ENTRY(arg, key1, entry2) B_COMPARE((key1), (entry2)->group) 9 | #define SAVL_PARAM_MEMBER_NODE tree_node 10 | -------------------------------------------------------------------------------- /src/main/jni/badvpn/client/FrameDecider_macs_tree.h: -------------------------------------------------------------------------------- 1 | #define SAVL_PARAM_NAME FDMacsTree 2 | #define SAVL_PARAM_FEATURE_COUNTS 0 3 | #define SAVL_PARAM_FEATURE_NOKEYS 0 4 | #define SAVL_PARAM_TYPE_ENTRY struct _FrameDecider_mac_entry 5 | #define SAVL_PARAM_TYPE_KEY FDMacsTree_key 6 | #define SAVL_PARAM_TYPE_ARG int 7 | #define SAVL_PARAM_FUN_COMPARE_ENTRIES(arg, entry1, entry2) compare_macs((entry1)->mac, (entry2)->mac) 8 | #define SAVL_PARAM_FUN_COMPARE_KEY_ENTRY(arg, key1, entry2) compare_macs((key1), (entry2)->mac) 9 | #define SAVL_PARAM_MEMBER_NODE tree_node 10 | -------------------------------------------------------------------------------- /src/main/jni/badvpn/ncd/examples/onoff_server_test.ncd: -------------------------------------------------------------------------------- 1 | include "onoff_server.ncdi" 2 | 3 | process main { 4 | call("onoff_server_main", {"/home/ambro/onoff.socket"}) onoff_server; 5 | 6 | process_manager() mgr; 7 | mgr->start("service1", {}); 8 | #mgr->start("service2", {}); 9 | } 10 | 11 | template service1 { 12 | alias("_caller") main; 13 | 14 | call("onoff_server_onoff", {"_caller.main.onoff_server", "ServiceId1", "true"}); 15 | 16 | println("service1 up"); 17 | rprintln("service1 down"); 18 | 19 | # Do your stuff. 20 | } 21 | -------------------------------------------------------------------------------- /src/main/jni/openssl/crypto/pkcs7/infokey.pem: -------------------------------------------------------------------------------- 1 | -----BEGIN RSA PRIVATE KEY----- 2 | MIIBOgIBAAJBAK3nI4nuDYe3nDJES5WBc90igEstxWC4/h4YY+/ciYki35U8ets9 3 | mgaoCNYp/e9BCZHtvK2Y+fYokGJv5+cMTQsCAwEAAQJBAIHpvXvqEcOEoDRRHuIG 4 | fkcB4jPHcr9KE9TpxabH6xs9beN6OJnkePXAHwaz5MnUgSnbpOKq+cw8miKjXwe/ 5 | zVECIQDVLwncT2lRmXarEYHzb+q/0uaSvKhWKKt3kJasLNTrAwIhANDUc/ghut29 6 | p3jJYjurzUKuG774/5eLjPLsxPPIZzNZAiA/10hSq41UnGqHLEUIS9m2/EeEZe7b 7 | bm567dfRU9OnVQIgDo8ROrZXSchEGbaog5J5r/Fle83uO8l93R3GqVxKXZkCIFfk 8 | IPD5PIYQAyyod3hyKKza7ZP4CGY4oOfZetbkSGGG 9 | -----END RSA PRIVATE KEY----- 10 | -------------------------------------------------------------------------------- /src/main/jni/badvpn/client/FragmentProtoAssembler_tree.h: -------------------------------------------------------------------------------- 1 | #define SAVL_PARAM_NAME FPAFramesTree 2 | #define SAVL_PARAM_FEATURE_COUNTS 0 3 | #define SAVL_PARAM_FEATURE_NOKEYS 0 4 | #define SAVL_PARAM_TYPE_ENTRY struct FragmentProtoAssembler_frame 5 | #define SAVL_PARAM_TYPE_KEY fragmentproto_frameid 6 | #define SAVL_PARAM_TYPE_ARG int 7 | #define SAVL_PARAM_FUN_COMPARE_ENTRIES(arg, entry1, entry2) B_COMPARE((entry1)->id, (entry2)->id) 8 | #define SAVL_PARAM_FUN_COMPARE_KEY_ENTRY(arg, key1, entry2) B_COMPARE((key1), (entry2)->id) 9 | #define SAVL_PARAM_MEMBER_NODE tree_node 10 | -------------------------------------------------------------------------------- /src/main/jni/openssl/crypto/threads/README: -------------------------------------------------------------------------------- 1 | Mutithreading testing area. 2 | 3 | Since this stuff is very very platorm specific, this is not part of the 4 | normal build. Have a read of doc/threads.doc. 5 | 6 | mttest will do some testing and will currently build under Windows NT/95, 7 | Solaris and Linux. The IRIX stuff is not finished. 8 | 9 | I have tested this program on a 12 CPU ultra sparc box (solaris 2.5.1) 10 | and things seem to work ok. 11 | 12 | The Linux pthreads package can be retrieved from 13 | http://www.mit.edu:8001/people/proven/pthreads.html 14 | 15 | -------------------------------------------------------------------------------- /src/main/jni/badvpn/lwip/src/FILES: -------------------------------------------------------------------------------- 1 | api/ - The code for the high-level wrapper API. Not needed if 2 | you use the lowel-level call-back/raw API. 3 | 4 | core/ - The core of the TPC/IP stack; protocol implementations, 5 | memory and buffer management, and the low-level raw API. 6 | 7 | include/ - lwIP include files. 8 | 9 | netif/ - Generic network interface device drivers are kept here, 10 | as well as the ARP module. 11 | 12 | For more information on the various subdirectories, check the FILES 13 | file in each directory. 14 | -------------------------------------------------------------------------------- /src/main/jni/badvpn/ncd/tests/value_substr.ncd: -------------------------------------------------------------------------------- 1 | process foo { 2 | value("0123456789") str; 3 | 4 | str->substr("0") sub; 5 | strcmp(sub, str) a; 6 | assert(a); 7 | 8 | str->substr("1") sub; 9 | strcmp(sub, "123456789") a; 10 | assert(a); 11 | 12 | str->substr("1", "0") sub; 13 | strcmp(sub, "") a; 14 | assert(a); 15 | 16 | str->substr("1", "9") sub; 17 | strcmp(sub, "123456789") a; 18 | assert(a); 19 | 20 | str->substr("1", "8") sub; 21 | strcmp(sub, "12345678") a; 22 | assert(a); 23 | 24 | exit("0"); 25 | } 26 | -------------------------------------------------------------------------------- /src/main/jni/iptables/extensions/libxt_TRACE.c: -------------------------------------------------------------------------------- 1 | /* Shared library add-on to iptables to add TRACE target support. */ 2 | #include 3 | #include 4 | #include 5 | #include 6 | 7 | #include 8 | #include 9 | 10 | static struct xtables_target trace_target = { 11 | .family = NFPROTO_UNSPEC, 12 | .name = "TRACE", 13 | .version = XTABLES_VERSION, 14 | .size = XT_ALIGN(0), 15 | .userspacesize = XT_ALIGN(0), 16 | }; 17 | 18 | void _init(void) 19 | { 20 | xtables_register_target(&trace_target); 21 | } 22 | -------------------------------------------------------------------------------- /src/main/jni/iptables/include/linux/netfilter/xt_dccp.h: -------------------------------------------------------------------------------- 1 | #ifndef _XT_DCCP_H_ 2 | #define _XT_DCCP_H_ 3 | 4 | #include 5 | 6 | #define XT_DCCP_SRC_PORTS 0x01 7 | #define XT_DCCP_DEST_PORTS 0x02 8 | #define XT_DCCP_TYPE 0x04 9 | #define XT_DCCP_OPTION 0x08 10 | 11 | #define XT_DCCP_VALID_FLAGS 0x0f 12 | 13 | struct xt_dccp_info { 14 | __u16 dpts[2]; /* Min, Max */ 15 | __u16 spts[2]; /* Min, Max */ 16 | 17 | __u16 flags; 18 | __u16 invflags; 19 | 20 | __u16 typemask; 21 | __u8 option; 22 | }; 23 | 24 | #endif /* _XT_DCCP_H_ */ 25 | 26 | -------------------------------------------------------------------------------- /src/main/jni/openssl/crypto/bf/INSTALL: -------------------------------------------------------------------------------- 1 | This Eric Young's blowfish implementation, taken from his SSLeay library 2 | and made available as a separate library. 3 | 4 | The version number (0.7.2m) is the SSLeay version that this library was 5 | taken from. 6 | 7 | To build, just unpack and type make. 8 | If you are not using gcc, edit the Makefile. 9 | If you are compiling for an x86 box, try the assembler (it needs improving). 10 | There are also some compile time options that can improve performance, 11 | these are documented in the Makefile. 12 | 13 | eric 15-Apr-1997 14 | 15 | -------------------------------------------------------------------------------- /src/main/jni/badvpn/client/FrameDecider_multicast_tree.h: -------------------------------------------------------------------------------- 1 | #define SAVL_PARAM_NAME FDMulticastTree 2 | #define SAVL_PARAM_FEATURE_COUNTS 0 3 | #define SAVL_PARAM_FEATURE_NOKEYS 0 4 | #define SAVL_PARAM_TYPE_ENTRY struct _FrameDecider_group_entry 5 | #define SAVL_PARAM_TYPE_KEY uint32_t 6 | #define SAVL_PARAM_TYPE_ARG int 7 | #define SAVL_PARAM_FUN_COMPARE_ENTRIES(arg, entry1, entry2) B_COMPARE((entry1)->master.sig, (entry2)->master.sig) 8 | #define SAVL_PARAM_FUN_COMPARE_KEY_ENTRY(arg, key1, entry2) B_COMPARE((key1), (entry2)->master.sig) 9 | #define SAVL_PARAM_MEMBER_NODE master.tree_node 10 | -------------------------------------------------------------------------------- /src/main/jni/iptables/extensions/libxt_dccp.man: -------------------------------------------------------------------------------- 1 | .TP 2 | [\fB!\fP] \fB\-\-source\-port\fP,\fB\-\-sport\fP \fIport\fP[\fB:\fP\fIport\fP] 3 | .TP 4 | [\fB!\fP] \fB\-\-destination\-port\fP,\fB\-\-dport\fP \fIport\fP[\fB:\fP\fIport\fP] 5 | .TP 6 | [\fB!\fP] \fB\-\-dccp\-types\fP \fImask\fP 7 | Match when the DCCP packet type is one of 'mask'. 'mask' is a comma-separated 8 | list of packet types. Packet types are: 9 | .BR "REQUEST RESPONSE DATA ACK DATAACK CLOSEREQ CLOSE RESET SYNC SYNCACK INVALID" . 10 | .TP 11 | [\fB!\fP] \fB\-\-dccp\-option\fP \fInumber\fP 12 | Match if DCP option set. 13 | -------------------------------------------------------------------------------- /src/main/jni/openssl/crypto/idea/version: -------------------------------------------------------------------------------- 1 | 1.1 07/12/95 - eay 2 | Many thanks to Rhys Weatherley 3 | for pointing out that I was assuming little endian byte 4 | order for all quantities what idea actually used 5 | bigendian. No where in the spec does it mention 6 | this, it is all in terms of 16 bit numbers and even the example 7 | does not use byte streams for the input example :-(. 8 | If you byte swap each pair of input, keys and iv, the functions 9 | would produce the output as the old version :-(. 10 | 11 | 1.0 ??/??/95 - eay 12 | First version. 13 | -------------------------------------------------------------------------------- /src/main/jni/iptables/extensions/libipt_ecn.man: -------------------------------------------------------------------------------- 1 | This allows you to match the ECN bits of the IPv4 and TCP header. ECN is the Explicit Congestion Notification mechanism as specified in RFC3168 2 | .TP 3 | [\fB!\fP] \fB\-\-ecn\-tcp\-cwr\fP 4 | This matches if the TCP ECN CWR (Congestion Window Received) bit is set. 5 | .TP 6 | [\fB!\fP] \fB\-\-ecn\-tcp\-ece\fP 7 | This matches if the TCP ECN ECE (ECN Echo) bit is set. 8 | .TP 9 | [\fB!\fP] \fB\-\-ecn\-ip\-ect\fP \fInum\fP 10 | This matches a particular IPv4 ECT (ECN-Capable Transport). You have to specify 11 | a number between `0' and `3'. 12 | -------------------------------------------------------------------------------- /src/main/jni/iptables/extensions/libxt_cpu.man: -------------------------------------------------------------------------------- 1 | .TP 2 | [\fB!\fP] \fB\-\-cpu\fP \fInumber\fP 3 | Match cpu handling this packet. cpus are numbered from 0 to NR_CPUS-1 4 | Can be used in combination with RPS (Remote Packet Steering) or 5 | multiqueue NICs to spread network traffic on different queues. 6 | .PP 7 | Example: 8 | .PP 9 | iptables \-t nat \-A PREROUTING \-p tcp \-\-dport 80 \-m cpu \-\-cpu 0 10 | \-j REDIRECT \-\-to\-port 8080 11 | .PP 12 | iptables \-t nat \-A PREROUTING \-p tcp \-\-dport 80 \-m cpu \-\-cpu 1 13 | \-j REDIRECT \-\-to\-port 8081 14 | .PP 15 | Available since Linux 2.6.36. 16 | -------------------------------------------------------------------------------- /src/main/jni/iptables/include/linux/netfilter/xt_TPROXY.h: -------------------------------------------------------------------------------- 1 | #ifndef _XT_TPROXY_H 2 | #define _XT_TPROXY_H 3 | 4 | /* TPROXY target is capable of marking the packet to perform 5 | * redirection. We can get rid of that whenever we get support for 6 | * mutliple targets in the same rule. */ 7 | struct xt_tproxy_target_info { 8 | __u32 mark_mask; 9 | __u32 mark_value; 10 | __be32 laddr; 11 | __be16 lport; 12 | }; 13 | 14 | struct xt_tproxy_target_info_v1 { 15 | __u32 mark_mask; 16 | __u32 mark_value; 17 | union nf_inet_addr laddr; 18 | __be16 lport; 19 | }; 20 | 21 | #endif /* _XT_TPROXY_H */ 22 | -------------------------------------------------------------------------------- /src/main/jni/openssl/crypto/des/times/686-200.fre: -------------------------------------------------------------------------------- 1 | Pentium 100 2 | Free BSD 2.1.5 kernel 3 | gcc 2.7.2.2 -O3 -fomit-frame-pointer 4 | options des ecb/s 5 | assember 578000.00 133.1% 6 | 16 r2 i 434454.80 100.0% 7 | 16 r1 i 433621.43 99.8% 8 | 16 r2 p 431375.69 99.3% 9 | 4 r1 i 423722.30 97.5% 10 | 4 r2 i 422399.40 97.2% 11 | 16 r1 p 421739.40 97.1% 12 | 16 c i 399027.94 91.8% 13 | 16 c p 372251.70 85.7% 14 | 4 c i 365118.35 84.0% 15 | 4 c p 352880.51 81.2% 16 | 4 r2 p 255104.90 58.7% 17 | 4 r1 p 251289.18 57.8% 18 | -DDES_UNROLL -DDES_RISC2 19 | -------------------------------------------------------------------------------- /src/main/jni/iptables/extensions/libxt_TRACE.man: -------------------------------------------------------------------------------- 1 | This target marks packes so that the kernel will log every rule which match 2 | the packets as those traverse the tables, chains, rules. 3 | .PP 4 | A logging backend, such as ip(6)t_LOG or nfnetlink_log, must be loaded for this 5 | to be visible. 6 | The packets are logged with the string prefix: 7 | "TRACE: tablename:chainname:type:rulenum " where type can be "rule" for 8 | plain rule, "return" for implicit rule at the end of a user defined chain 9 | and "policy" for the policy of the built in chains. 10 | .br 11 | It can only be used in the 12 | .BR raw 13 | table. 14 | -------------------------------------------------------------------------------- /src/main/jni/iptables/include/linux/netfilter/xt_iprange.h: -------------------------------------------------------------------------------- 1 | #ifndef _LINUX_NETFILTER_XT_IPRANGE_H 2 | #define _LINUX_NETFILTER_XT_IPRANGE_H 1 3 | 4 | #include 5 | 6 | enum { 7 | IPRANGE_SRC = 1 << 0, /* match source IP address */ 8 | IPRANGE_DST = 1 << 1, /* match destination IP address */ 9 | IPRANGE_SRC_INV = 1 << 4, /* negate the condition */ 10 | IPRANGE_DST_INV = 1 << 5, /* -"- */ 11 | }; 12 | 13 | struct xt_iprange_mtinfo { 14 | union nf_inet_addr src_min, src_max; 15 | union nf_inet_addr dst_min, dst_max; 16 | __u8 flags; 17 | }; 18 | 19 | #endif /* _LINUX_NETFILTER_XT_IPRANGE_H */ 20 | -------------------------------------------------------------------------------- /src/main/jni/openssl/crypto/asn1/charmap.h: -------------------------------------------------------------------------------- 1 | /* Auto generated with chartype.pl script. 2 | * Mask of various character properties 3 | */ 4 | 5 | static const unsigned char char_type[] = { 6 | 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 7 | 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 8 | 120, 0, 1,40, 0, 0, 0,16,16,16, 0,25,25,16,16,16, 9 | 16,16,16,16,16,16,16,16,16,16,16, 9, 9,16, 9,16, 10 | 0,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16, 11 | 16,16,16,16,16,16,16,16,16,16,16, 0, 1, 0, 0, 0, 12 | 0,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16, 13 | 16,16,16,16,16,16,16,16,16,16,16, 0, 0, 0, 0, 2 14 | }; 15 | 16 | -------------------------------------------------------------------------------- /src/main/jni/iptables/include/linux/netfilter/xt_SECMARK.h: -------------------------------------------------------------------------------- 1 | #ifndef _XT_SECMARK_H_target 2 | #define _XT_SECMARK_H_target 3 | 4 | #include 5 | 6 | /* 7 | * This is intended for use by various security subsystems (but not 8 | * at the same time). 9 | * 10 | * 'mode' refers to the specific security subsystem which the 11 | * packets are being marked for. 12 | */ 13 | #define SECMARK_MODE_SEL 0x01 /* SELinux */ 14 | #define SECMARK_SECCTX_MAX 256 15 | 16 | struct xt_secmark_target_info { 17 | __u8 mode; 18 | __u32 secid; 19 | char secctx[SECMARK_SECCTX_MAX]; 20 | }; 21 | 22 | #endif /*_XT_SECMARK_H_target */ 23 | -------------------------------------------------------------------------------- /src/main/jni/iptables/include/linux/netfilter/xt_time.h: -------------------------------------------------------------------------------- 1 | #ifndef _XT_TIME_H 2 | #define _XT_TIME_H 1 3 | 4 | struct xt_time_info { 5 | __u32 date_start; 6 | __u32 date_stop; 7 | __u32 daytime_start; 8 | __u32 daytime_stop; 9 | __u32 monthdays_match; 10 | __u8 weekdays_match; 11 | __u8 flags; 12 | }; 13 | 14 | enum { 15 | /* Match against local time (instead of UTC) */ 16 | XT_TIME_LOCAL_TZ = 1 << 0, 17 | 18 | /* Shortcuts */ 19 | XT_TIME_ALL_MONTHDAYS = 0xFFFFFFFE, 20 | XT_TIME_ALL_WEEKDAYS = 0xFE, 21 | XT_TIME_MIN_DAYTIME = 0, 22 | XT_TIME_MAX_DAYTIME = 24 * 60 * 60 - 1, 23 | }; 24 | 25 | #endif /* _XT_TIME_H */ 26 | -------------------------------------------------------------------------------- /src/main/jni/iptables/extensions/libip6t_rt.man: -------------------------------------------------------------------------------- 1 | Match on IPv6 routing header 2 | .TP 3 | [\fB!\fP] \fB\-\-rt\-type\fP \fItype\fP 4 | Match the type (numeric). 5 | .TP 6 | [\fB!\fP] \fB\-\-rt\-segsleft\fP \fInum\fP[\fB:\fP\fInum\fP] 7 | Match the `segments left' field (range). 8 | .TP 9 | [\fB!\fP] \fB\-\-rt\-len\fP \fIlength\fP 10 | Match the length of this header. 11 | .TP 12 | \fB\-\-rt\-0\-res\fP 13 | Match the reserved field, too (type=0) 14 | .TP 15 | \fB\-\-rt\-0\-addrs\fP \fIaddr\fP[\fB,\fP\fIaddr\fP...] 16 | Match type=0 addresses (list). 17 | .TP 18 | \fB\-\-rt\-0\-not\-strict\fP 19 | List of type=0 addresses is not a strict list. 20 | -------------------------------------------------------------------------------- /src/main/jni/iptables/extensions/libxt_udp.man: -------------------------------------------------------------------------------- 1 | These extensions can be used if `\-\-protocol udp' is specified. It 2 | provides the following options: 3 | .TP 4 | [\fB!\fP] \fB\-\-source\-port\fP,\fB\-\-sport\fP \fIport\fP[\fB:\fP\fIport\fP] 5 | Source port or port range specification. 6 | See the description of the 7 | \fB\-\-source\-port\fP 8 | option of the TCP extension for details. 9 | .TP 10 | [\fB!\fP] \fB\-\-destination\-port\fP,\fB\-\-dport\fP \fIport\fP[\fB:\fP\fIport\fP] 11 | Destination port or port range specification. 12 | See the description of the 13 | \fB\-\-destination\-port\fP 14 | option of the TCP extension for details. 15 | -------------------------------------------------------------------------------- /src/main/jni/iptables/include/linux/netfilter/xt_CHECKSUM.h: -------------------------------------------------------------------------------- 1 | /* Header file for iptables ipt_CHECKSUM target 2 | * 3 | * (C) 2002 by Harald Welte 4 | * (C) 2010 Red Hat Inc 5 | * Author: Michael S. Tsirkin 6 | * 7 | * This software is distributed under GNU GPL v2, 1991 8 | */ 9 | #ifndef _XT_CHECKSUM_TARGET_H 10 | #define _XT_CHECKSUM_TARGET_H 11 | 12 | #include 13 | 14 | #define XT_CHECKSUM_OP_FILL 0x01 /* fill in checksum in IP header */ 15 | 16 | struct xt_CHECKSUM_info { 17 | __u8 operation; /* bitset of operations */ 18 | }; 19 | 20 | #endif /* _XT_CHECKSUM_TARGET_H */ 21 | -------------------------------------------------------------------------------- /src/main/jni/iptables/include/linux/netfilter/xt_quota2.h: -------------------------------------------------------------------------------- 1 | #ifndef _XT_QUOTA_H 2 | #define _XT_QUOTA_H 3 | 4 | enum xt_quota_flags { 5 | XT_QUOTA_INVERT = 1 << 0, 6 | XT_QUOTA_GROW = 1 << 1, 7 | XT_QUOTA_PACKET = 1 << 2, 8 | XT_QUOTA_NO_CHANGE = 1 << 3, 9 | XT_QUOTA_MASK = 0x0F, 10 | }; 11 | 12 | struct xt_quota_counter; 13 | 14 | struct xt_quota_mtinfo2 { 15 | char name[15]; 16 | u_int8_t flags; 17 | 18 | /* Comparison-invariant */ 19 | aligned_u64 quota; 20 | 21 | /* Used internally by the kernel */ 22 | struct xt_quota_counter *master __attribute__((aligned(8))); 23 | }; 24 | 25 | #endif /* _XT_QUOTA_H */ 26 | -------------------------------------------------------------------------------- /src/main/jni/iptables/extensions/libxt_TEE.man: -------------------------------------------------------------------------------- 1 | The \fBTEE\fP target will clone a packet and redirect this clone to another 2 | machine on the \fBlocal\fP network segment. In other words, the nexthop 3 | must be the target, or you will have to configure the nexthop to forward it 4 | further if so desired. 5 | .TP 6 | \fB\-\-gateway\fP \fIipaddr\fP 7 | Send the cloned packet to the host reachable at the given IP address. 8 | Use of 0.0.0.0 (for IPv4 packets) or :: (IPv6) is invalid. 9 | .PP 10 | To forward all incoming traffic on eth0 to an Network Layer logging box: 11 | .PP 12 | \-t mangle \-A PREROUTING \-i eth0 \-j TEE \-\-gateway 2001:db8::1 13 | -------------------------------------------------------------------------------- /src/main/jni/openssl/crypto/ebcdic.h: -------------------------------------------------------------------------------- 1 | /* crypto/ebcdic.h */ 2 | 3 | #ifndef HEADER_EBCDIC_H 4 | #define HEADER_EBCDIC_H 5 | 6 | #include 7 | 8 | /* Avoid name clashes with other applications */ 9 | #define os_toascii _openssl_os_toascii 10 | #define os_toebcdic _openssl_os_toebcdic 11 | #define ebcdic2ascii _openssl_ebcdic2ascii 12 | #define ascii2ebcdic _openssl_ascii2ebcdic 13 | 14 | extern const unsigned char os_toascii[256]; 15 | extern const unsigned char os_toebcdic[256]; 16 | void *ebcdic2ascii(void *dest, const void *srce, size_t count); 17 | void *ascii2ebcdic(void *dest, const void *srce, size_t count); 18 | 19 | #endif 20 | -------------------------------------------------------------------------------- /src/main/jni/iptables/libiptc/Makefile.am: -------------------------------------------------------------------------------- 1 | # -*- Makefile -*- 2 | 3 | AM_CFLAGS = ${regular_CFLAGS} 4 | AM_CPPFLAGS = ${regular_CPPFLAGS} -I${top_builddir}/include -I${top_srcdir}/include ${kinclude_CPPFLAGS} 5 | 6 | pkgconfig_DATA = libiptc.pc 7 | 8 | lib_LTLIBRARIES = libip4tc.la libip6tc.la libiptc.la 9 | libiptc_la_SOURCES = 10 | libiptc_la_LIBADD = libip4tc.la libip6tc.la 11 | libiptc_la_LDFLAGS = -version-info 0:0:0 ${libiptc_LDFLAGS2} 12 | libip4tc_la_SOURCES = libip4tc.c 13 | libip4tc_la_LDFLAGS = -version-info 0:0:0 14 | libip6tc_la_SOURCES = libip6tc.c 15 | libip6tc_la_LDFLAGS = -version-info 0:0:0 ${libiptc_LDFLAGS2} 16 | -------------------------------------------------------------------------------- /src/main/jni/iptables/include/linux/netfilter/xt_NFQUEUE.h: -------------------------------------------------------------------------------- 1 | /* iptables module for using NFQUEUE mechanism 2 | * 3 | * (C) 2005 Harald Welte 4 | * 5 | * This software is distributed under GNU GPL v2, 1991 6 | * 7 | */ 8 | #ifndef _XT_NFQ_TARGET_H 9 | #define _XT_NFQ_TARGET_H 10 | 11 | #include 12 | 13 | /* target info */ 14 | struct xt_NFQ_info { 15 | __u16 queuenum; 16 | }; 17 | 18 | struct xt_NFQ_info_v1 { 19 | __u16 queuenum; 20 | __u16 queues_total; 21 | }; 22 | 23 | struct xt_NFQ_info_v2 { 24 | __u16 queuenum; 25 | __u16 queues_total; 26 | __u16 bypass; 27 | }; 28 | 29 | #endif /* _XT_NFQ_TARGET_H */ 30 | -------------------------------------------------------------------------------- /src/main/jni/openssl/include/openssl/ebcdic.h: -------------------------------------------------------------------------------- 1 | /* crypto/ebcdic.h */ 2 | 3 | #ifndef HEADER_EBCDIC_H 4 | #define HEADER_EBCDIC_H 5 | 6 | #include 7 | 8 | /* Avoid name clashes with other applications */ 9 | #define os_toascii _openssl_os_toascii 10 | #define os_toebcdic _openssl_os_toebcdic 11 | #define ebcdic2ascii _openssl_ebcdic2ascii 12 | #define ascii2ebcdic _openssl_ascii2ebcdic 13 | 14 | extern const unsigned char os_toascii[256]; 15 | extern const unsigned char os_toebcdic[256]; 16 | void *ebcdic2ascii(void *dest, const void *srce, size_t count); 17 | void *ascii2ebcdic(void *dest, const void *srce, size_t count); 18 | 19 | #endif 20 | -------------------------------------------------------------------------------- /src/main/jni/pdnsd/src/sort_namevalues.pl: -------------------------------------------------------------------------------- 1 | #!/usr/bin/perl -w 2 | 3 | use strict; 4 | 5 | my %dic; 6 | my $maxkeylen=0; 7 | 8 | while(<>) { 9 | if(/"(\w+)".*?(\w+)/) { 10 | my $key=$1; my $val=$2; 11 | if($dic{$key}) {die "The key \"$key\" does not have a unique value.\n"} 12 | $dic{$key}=$val; 13 | if(length($key)>$maxkeylen) {$maxkeylen=length($key)} 14 | } 15 | else {die "Can't find key-value pair in following line:\n$_\n"} 16 | } 17 | 18 | my $linenr=0; 19 | foreach my $key (sort(keys %dic)) { 20 | if($linenr++) {print ",\n"} 21 | printf("\t{%-*s%s}",$maxkeylen+4,"\"$key\",",$dic{$key}); 22 | } 23 | print "\n"; 24 | 25 | exit 26 | -------------------------------------------------------------------------------- /src/main/jni/badvpn/ncd/modules/value_maptree.h: -------------------------------------------------------------------------------- 1 | #define SAVL_PARAM_NAME MapTree 2 | #define SAVL_PARAM_FEATURE_COUNTS 1 3 | #define SAVL_PARAM_FEATURE_NOKEYS 0 4 | #define SAVL_PARAM_TYPE_ENTRY struct value 5 | #define SAVL_PARAM_TYPE_KEY NCDValRef 6 | #define SAVL_PARAM_TYPE_ARG int 7 | #define SAVL_PARAM_TYPE_COUNT size_t 8 | #define SAVL_PARAM_VALUE_COUNT_MAX SIZE_MAX 9 | #define SAVL_PARAM_FUN_COMPARE_ENTRIES(arg, entry1, entry2) NCDVal_Compare((entry1)->map_parent.key, (entry2)->map_parent.key) 10 | #define SAVL_PARAM_FUN_COMPARE_KEY_ENTRY(arg, key1, entry2) NCDVal_Compare((key1), (entry2)->map_parent.key) 11 | #define SAVL_PARAM_MEMBER_NODE map_parent.maptree_node 12 | -------------------------------------------------------------------------------- /src/main/jni/iptables/extensions/libxt_standard.c: -------------------------------------------------------------------------------- 1 | /* Shared library add-on to iptables for standard target support. */ 2 | #include 3 | #include 4 | 5 | static void standard_help(void) 6 | { 7 | printf( 8 | "standard match options:\n" 9 | "(If target is DROP, ACCEPT, RETURN or nothing)\n"); 10 | } 11 | 12 | static struct xtables_target standard_target = { 13 | .family = NFPROTO_UNSPEC, 14 | .name = "standard", 15 | .version = XTABLES_VERSION, 16 | .size = XT_ALIGN(sizeof(int)), 17 | .userspacesize = XT_ALIGN(sizeof(int)), 18 | .help = standard_help, 19 | }; 20 | 21 | void _init(void) 22 | { 23 | xtables_register_target(&standard_target); 24 | } 25 | -------------------------------------------------------------------------------- /src/main/jni/iptables/include/linux/netfilter/xt_connbytes.h: -------------------------------------------------------------------------------- 1 | #ifndef _XT_CONNBYTES_H 2 | #define _XT_CONNBYTES_H 3 | 4 | #include 5 | 6 | enum xt_connbytes_what { 7 | XT_CONNBYTES_PKTS, 8 | XT_CONNBYTES_BYTES, 9 | XT_CONNBYTES_AVGPKT, 10 | }; 11 | 12 | enum xt_connbytes_direction { 13 | XT_CONNBYTES_DIR_ORIGINAL, 14 | XT_CONNBYTES_DIR_REPLY, 15 | XT_CONNBYTES_DIR_BOTH, 16 | }; 17 | 18 | struct xt_connbytes_info { 19 | struct { 20 | aligned_u64 from; /* count to be matched */ 21 | aligned_u64 to; /* count to be matched */ 22 | } count; 23 | __u8 what; /* ipt_connbytes_what */ 24 | __u8 direction; /* ipt_connbytes_direction */ 25 | }; 26 | #endif 27 | -------------------------------------------------------------------------------- /src/main/jni/iptables/include/linux/netfilter/xt_physdev.h: -------------------------------------------------------------------------------- 1 | #ifndef _XT_PHYSDEV_H 2 | #define _XT_PHYSDEV_H 3 | 4 | #include 5 | 6 | #ifdef __KERNEL__ 7 | #include 8 | #endif 9 | 10 | #define XT_PHYSDEV_OP_IN 0x01 11 | #define XT_PHYSDEV_OP_OUT 0x02 12 | #define XT_PHYSDEV_OP_BRIDGED 0x04 13 | #define XT_PHYSDEV_OP_ISIN 0x08 14 | #define XT_PHYSDEV_OP_ISOUT 0x10 15 | #define XT_PHYSDEV_OP_MASK (0x20 - 1) 16 | 17 | struct xt_physdev_info { 18 | char physindev[IFNAMSIZ]; 19 | char in_mask[IFNAMSIZ]; 20 | char physoutdev[IFNAMSIZ]; 21 | char out_mask[IFNAMSIZ]; 22 | __u8 invert; 23 | __u8 bitmask; 24 | }; 25 | 26 | #endif /*_XT_PHYSDEV_H*/ 27 | -------------------------------------------------------------------------------- /src/main/jni/openssl/crypto/des/t/test: -------------------------------------------------------------------------------- 1 | #!./perl 2 | 3 | BEGIN { push(@INC, qw(../../../lib ../../lib ../lib lib)); } 4 | 5 | use DES; 6 | 7 | $key='00000000'; 8 | $ks=DES::set_key($key); 9 | @a=split(//,$ks); 10 | foreach (@a) { printf "%02x-",ord($_); } 11 | print "\n"; 12 | 13 | 14 | $key=DES::random_key(); 15 | print "($_)\n"; 16 | @a=split(//,$key); 17 | foreach (@a) { printf "%02x-",ord($_); } 18 | print "\n"; 19 | $str="this is and again into the breach"; 20 | ($k1,$k2)=DES::string_to_2keys($str); 21 | @a=split(//,$k1); 22 | foreach (@a) { printf "%02x-",ord($_); } 23 | print "\n"; 24 | @a=split(//,$k2); 25 | foreach (@a) { printf "%02x-",ord($_); } 26 | print "\n"; 27 | 28 | -------------------------------------------------------------------------------- /src/main/jni/iptables/include/linux/netfilter_ipv4/ipt_addrtype.h: -------------------------------------------------------------------------------- 1 | #ifndef _IPT_ADDRTYPE_H 2 | #define _IPT_ADDRTYPE_H 3 | 4 | enum { 5 | IPT_ADDRTYPE_INVERT_SOURCE = 0x0001, 6 | IPT_ADDRTYPE_INVERT_DEST = 0x0002, 7 | IPT_ADDRTYPE_LIMIT_IFACE_IN = 0x0004, 8 | IPT_ADDRTYPE_LIMIT_IFACE_OUT = 0x0008, 9 | }; 10 | 11 | struct ipt_addrtype_info_v1 { 12 | u_int16_t source; /* source-type mask */ 13 | u_int16_t dest; /* dest-type mask */ 14 | u_int32_t flags; 15 | }; 16 | 17 | /* revision 0 */ 18 | struct ipt_addrtype_info { 19 | u_int16_t source; /* source-type mask */ 20 | u_int16_t dest; /* dest-type mask */ 21 | u_int32_t invert_source; 22 | u_int32_t invert_dest; 23 | }; 24 | 25 | #endif 26 | -------------------------------------------------------------------------------- /src/main/jni/openssl/crypto/des/times/586-100.lnx: -------------------------------------------------------------------------------- 1 | Pentium 100 2 | Linux 2 kernel 3 | gcc 2.7.0 -O3 -fomit-frame-pointer 4 | No X server running, just a console, it makes the top speed jump from 151,000 5 | to 158,000 :-). 6 | options des ecb/s 7 | assember 281000.00 177.1% 8 | 16 r1 p 158667.40 100.0% 9 | 16 r1 i 148471.70 93.6% 10 | 16 r2 p 143961.80 90.7% 11 | 16 r2 i 141689.20 89.3% 12 | 4 r1 i 140100.00 88.3% 13 | 4 r2 i 134049.40 84.5% 14 | 16 c i 124145.20 78.2% 15 | 16 c p 121584.20 76.6% 16 | 4 c i 118116.00 74.4% 17 | 4 r2 p 117977.90 74.4% 18 | 4 c p 114971.40 72.5% 19 | 4 r1 p 114578.40 72.2% 20 | -DDES_UNROLL -DDES_RISC1 -DDES_PTR 21 | -------------------------------------------------------------------------------- /src/main/jni/iptables/INCOMPATIBILITIES: -------------------------------------------------------------------------------- 1 | INCOMPATIBILITIES: 2 | 3 | - The REJECT target has an '--reject-with admin-prohib' option which used 4 | with kernels that do not support it, will result in a plain DROP instead 5 | of REJECT. Use with caution. 6 | Kernels that do support it: 7 | 2.4 - since 2.4.22-pre9 8 | 2.6 - all 9 | 10 | - There are some issues related to upgrading from 1.2.x to 1.3.x on a system 11 | with dynamic ruleset changes during runtime. (Please see 12 | https://bugzilla.netfilter.org/bugzilla/show_bug.cgi?id=334). 13 | After upgrading from 1.2 to 1.3, it suggest go do an iptables-save, then 14 | iptables-restore to ensure your dynamic rule changes continue to work. 15 | --------------------------------------------------------------------------------