dear users, we use vtun 3.0.2 on openWRT to reduce airtime-usage between wireless links. So we have enabled UDP/tun tunnels with lzo:9 and shaping. everything is working fine.
what is not written on documentation: if lzo compresses good and we have enabled shaping, than the user behind the tunnel gets a higher bandwidth than exspected. so the shaping works not before the data goes into the tunnel. (means: on the inner side, but not on the outer side). So if the tunneled user downloads a textfile but is shaped to 50K, than he can exspect to download with 200K. It's not a problem, just want to mention this, haven't found an answer on this, till i just tried it. In the manpages is a MTU of 1450 for UDP/tun proposed - why? Is'nt it just an ipip-tunnel with an UDP-header? Meaning 20 bytes IP-header and 8 bytes UDP-header? so if our wireless link has an MTU of 1500, wo can stick the tunnel to 1500 - 20 - 8 = 1472 bytes MTU? I have read something about header compression, there was a patch on a mailinglist. Is it already included? if yes, how does it change the MTU problem? Another thing to mention: if a program in the up or down-section fails, we don't see this in the logs, so we have to care for ourselfs. maybe a sentence worth in the doc. Another thing: what is the best thing to get the PID of a specific tunnel? (for sending a SIGHUP) whould'nt it be good to have a placeholder in the up-section to have the chance to write it to a file? something like "%pid" or "%i"? this is too hackish and not fast: line="$( ps ax | fgrep "vtund[c]: ${tunnel_name} connecting to" | fgrep -v "fgrep" | head -n1 )" set $line pid="$1" Another thing: i propose a pre-up section. because we dynamically create the config-files, and there es an error, we have no chance to make an (automatic) change, before the daemon tries to establish the connection. our workaround is, to regulary check all established conns and rewrite some rules, if some conns are missing... bye, Bastian ------------------------------------------------------------------------------ Get a FREE DOWNLOAD! and learn more about uberSVN rich system, user administration capabilities and model configuration. Take the hassle out of deploying and managing Subversion and the tools developers use with it. http://p.sf.net/sfu/wandisco-dev2dev _______________________________________________ Vtun-Users mailing list Vtun-Users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/vtun-users