| 12345678910111213141516171819202122232425262728293031323334 |
- /**
- * @file tun2socks.h
- * @author Ambroz Bizjak <ambrop7@gmail.com>
- *
- * @section LICENSE
- *
- * This file is part of BadVPN.
- *
- * BadVPN is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 2
- * as published by the Free Software Foundation.
- *
- * BadVPN is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License along
- * with this program; if not, write to the Free Software Foundation, Inc.,
- * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
- */
- // name of the program
- #define PROGRAM_NAME "tun2socks"
- // device write buffer size, in number of packets
- // WARNING: each packet takes at least 65535 bytes
- #define DEVICE_WRITE_BUFFER_SIZE 1
- // size of temporary buffer for passing data from the SOCKS server to TCP for sending
- #define CLIENT_SOCKS_RECV_BUF_SIZE 8192
- // option to override the destination addresses to give the SOCKS server
- //#define OVERRIDE_DEST_ADDR "10.111.0.2:2000"
|