PORTAGE_RSYNC_INITIAL_TIMEOUT=60 fixes rsync error: received SIGINT, SIGTERM, or SIGHUP (code 20) at rsync.c(544) [generator=3.0.6]
Just a useful note for anyone trying to setup the combo above (myself included for future reference):
turns out that % as a hostmask doesn’t include localhost
Been doing some “work” on getting around these 2 problems in relation to WoW. My initial intent was to connect to my proxy in Jaring via stunnel/dante-sockd… and having iptables reroute the traffic through socat which would disable Nagle’s and set tcp-nodelay to true. For some strange reason (or maybe I just suck at writing iptables rules), I was unable to get iptables to pick up anything to route to socat. So after more research, I decided to take the SS5 SOCKS Server (or SS5) source code any modify it slightly to mangle ALL packets that came through (which should be only WoW traffic unless you are trying to abuse my machine).
(1) Grab the SS5 source.
(2) Open SS5Server.c
– #include “netinet/tcp.h”; (Line 26)
– setsockopt(S5SocksSocket, IPPROTO_TCP, TCP_NODELAY, &reuseAddrFlag, sizeof(int)); (Line 197)
(3) ./configure && make && make install
(4) proxify all WoW traffic to ipaddress:port that you configured.
You now have WoW minus Nagle+delayed ACKs. Congratulations.
Recompiling your kernel remotely is bad. Gentoo decided to remove the driver for my eth0 (which wasn’t in use) making my eth1 into eth0… in the process breaking netmount and all related daemons! The new kernel also decided to break apache… so I recompiled that… which broke PHP… which I recompiled… but it depended on ssmtp because qmail was masked. I used superglue to fix everything and now it’s all good.
I would also like to kick Nagle in the nuts… as well as the guy who implemented delayed acks. Thanks.