Advertisement
Guest User

antinat.xml throttle issue

a guest
Aug 22nd, 2010
1,816
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 2.94 KB | None | 0 0
  1. <?xml version='1.0'?>
  2. <antinatconfig>
  3.         <!-- Any interface -->
  4.         <interface value='0.0.0.0'/>
  5.  
  6.         <!-- Port to listen on -->
  7.         <port value='1080'/>
  8.  
  9.         <!-- Allow users to be authenticated against UNIX usernames -->
  10.         <allowlocalusers/>
  11.  
  12.         <!-- Time in seconds to listen for outside incoming connections when
  13.             applications request a BIND operation before timeout -->
  14.         <maxbindwait value='60'/>
  15.         <!-- demonstration user account -->
  16.         <!-- <user user='testuser' password='testpass'/> -->
  17.         <chain name='foobar'>
  18.                 <uri value='socks5://127.0.0.1:10005'/>
  19.         </chain>
  20.  
  21.  
  22.         <!-- What logs should we keep? -->
  23.         <log>
  24.                 <addrdaylog value='/usr/local/var/log/antinat-0.90/day_addr.log'/>
  25.                 <userdaylog value='/usr/local/var/log/antinat-0.90/day_user.log'/>
  26.                 <connlog value='/usr/local/var/log/antinat-0.90/connection.log'/>
  27.         </log>
  28.  
  29.         <!-- What security methods do we offer clients? -->
  30.         <authchoice source_addrtype='ipv4'>
  31.                 <authchoice source_addr='127.0.0.1/32'>
  32.                         <select mechanism='anonymous'/>
  33.                 </authchoice>
  34.                 <authchoice source_addr='192.168.0.0/16'>
  35.                         <select mechanism='anonymous'/>
  36.                 </authchoice>
  37.                 <authchoice source_addr='172.16.0.0/12'>
  38.                         <select mechanism='anonymous'/>
  39.                 </authchoice>
  40.                 <authchoice source_addr='10.0.0.0/8'>
  41.                         <select mechanism='anonymous'/>
  42.                 </authchoice>
  43.                 <select mechanism='chap'/>
  44.                 <select mechanism='cleartext'/>
  45.         </authchoice>
  46.  
  47.         <!-- Which connections should we accept or reject? -->
  48.         <filter>
  49.  
  50.  
  51. <filter source_addrtype='ipv4'>
  52. <filter source_addr='10.100.98.104'>
  53. <chain name='foobar'/>
  54. </filter>
  55. </filter>
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.                 <filter source_addrtype='ipv4' dest_addrtype='ipv4'>
  64.                         <filter user='root'>
  65.                                 <reject/>
  66.                         </filter>
  67.                         <filter source_addr='127.0.0.1/32'>
  68.                                 <accept/>
  69.                         </filter>
  70.                         <filter dest_addr='127.0.0.1/32'>
  71.                                 <reject/>
  72.                         </filter>
  73.                         <filter source_addr='192.168.0.0/16'>
  74.                                 <accept/>
  75.                         </filter>
  76.                         <filter source_addr='172.16.0.0/12'>
  77.                                 <accept/>
  78.                         </filter>
  79.                         <filter source_addr='10.0.0.0/8'>
  80.                                 <accept/>
  81.                         </filter>
  82.                 </filter>
  83.                 <reject/>
  84.         </filter>
  85.  
  86. </antinatconfig>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement