Shouldn't it be --dports 27017,27019 ? 2012/10/16 Kyle Sanderson <kyle.l...@gmail.com>
> Yup. > > iptables -A OUTPUT -p tcp -m multiport --dports 27017:27019 -j REJECT > --reject-with icmp-port-unreachable > > Huge thanks to Ryan for his Windows rules (and discovering the solution). > This statement seems to work fine for me. You can probably define it even > more by specifying the process and or user. It's a shame no one at Valve > sees this as a problem... We weren't listed for a while there. > > Thanks, > Kyle. > > > On Tue, Oct 16, 2012 at 8:41 AM, Chris Oryschak <ch...@oryschak.com> > wrote: > > > Do you have the iptables rule to accomplish this. > > If this has no side effect to the users and forces it UDP every time. > I'd > > be much happier to go this route as a resolution. > > > > Chris > > > > On Tue, Oct 16, 2012 at 11:38 AM, Ryan Stecker <voidedwea...@gmail.com > > >wrote: > > > > > As a slight correction, it's the TCP connection which doesn't respect > the > > > bind IP. > > > > > > The workaround is to block outgoing TCP connections on port 27017, this > > > forces the server to use a UDP connection to steam. > > > > > > On Tue, Oct 16, 2012 at 10:34 AM, martin v <velt...@gmail.com> wrote: > > > > > > > This is well know issue. When your machines IP is different from the > > > > gameservers IP and when your gameserver lost connection to steam. > When > > > > gameserver is connecting to steam servers it sends machines main IP > and > > > not > > > > the attached server ip. > > > > > > > > The worst part is that when someone joins your server and you want to > > > check > > > > game info on friends it shows the wrong ip and doasn't detect a > > > gameserver > > > > where this person is playing. > > > > > > > > http://forums.alliedmods.net/showthread.php?t=183574 - my thread on > > this > > > > issue. > > > > > > > > Only way to repair this is to restart gameserver. > > > > > > > > 2012/10/16 Asher Baker <asher...@gmail.com> > > > > > > > > > I believe Valve have already acknowledged it as an issue in the > past. > > > > > It happens when the server loses connection to Steam, which causes > it > > > > > to switch transport protocols - and the UDP one doesn't respect the > > > > > bind address. > > > > > Other than block the problematic one, forcing it to toggle back to > > the > > > > > other, there isn't really anything you can do. > > > > > > > > > > On Tue, Oct 16, 2012 at 9:25 AM, Rudy Bleeker <rblee...@gmail.com> > > > > wrote: > > > > > > Have you tried setting ip <this_servers_ip_address> in the server > > > > > > specific config file? server6.cfg in this case. I do this and > > haven't > > > > > > seen this issue so far. > > > > > > > > > > > > On Tue, Oct 16, 2012 at 7:11 AM, Chris Oryschak < > > ch...@oryschak.com> > > > > > wrote: > > > > > >> Sorry forgot the mention my start line. I do use +ip and -port. > > > > > Below is > > > > > >> my startline: > > > > > >> > > > > > >> > > > > > >> /usr/bin/screen -d -m -U -S rb6 /usr/bin/taskset -c 1 > > > > > >> /home/XXX/srcds/railbait/orangebox/nemrun -threads 1 -timeout 3 > > > > > -pidfile > > > > > >> rb6.pid -console -game tf -maxplayers 32 -tickrate 66 +ip > > > > > 142.54.178.234 > > > > > >> -port 27015 +map pl_badwater +sv_pure 1 +servercfgfile > server6.cfg > > > > > -replay > > > > > >> +mm_pluginsfile addons/metamod/metaplugins_6.ini +sm_basepath > > > > > >> addons/sourcemod_6 -onbootcmd './bootnotify.sh 6' -debug > > -corefile > > > > > >> 'cores/rb6_%Y%m%d%H%M%S.core' > > > > > >> > > > > > >> > > > > > >> On Tue, Oct 16, 2012 at 1:07 AM, ics <i...@ics-base.net> wrote: > > > > > >> > > > > > >>> You should use option +ip instead of -ip and assing -port. On > the > > > > > original > > > > > >>> post, you haven't got that specified on the startline. > > > > > >>> > > > > > >>> -ics > > > > > >>> > > > > > >>> 16.10.2012 7:33, Chris Oryschak kirjoitti: > > > > > >>> > > > > > >>>> This has been a known issue for quite sometime. Myself along > > with > > > > > other > > > > > >>>> mailing list members have brought it up in the past. > > > > > >>>> The past week it seems to of gotten a lot worse. Today alone > > i've > > > > > had to > > > > > >>>> fix the problem on two separate occasions. > > > > > >>>> > > > > > >>>> *The details:* > > > > > >>>> > > > > > >>>> I have a dedicated server with 4 IP address' assigned to it. > > Each > > > > > server > > > > > >>>> instance I run has it's own unique IP Address with the default > > > port > > > > > for > > > > > >>>> each instance (27015) > > > > > >>>> > > > > > >>>> Now randomly the server will lose it's assigned IP address and > > > > > reassign > > > > > >>>> itself one of the other IP's that are available. The problem > > with > > > > > this is > > > > > >>>> the moment it occurs the server drops from the master server > > list. > > > > > It's > > > > > >>>> no > > > > > >>>> longer visible on the internet. > > > > > >>>> > > > > > >>>> When type "status" in the console this is what I get, i've > > > > > >>>> bolded/underlined the problem area: > > > > > >>>> > > > > > >>>> > > > > > >>>> version : 1.2.3.3/22 5079 secure > > > > > >>>> *udp/ip : 142.54.178.234:27015 (public ip: 142.54.178.238)* > > > > > >>>> > > > > > >>>> account : logged in > > > > > >>>> map : cp_dustbowl at: 0 x, 0 y, 0 z > > > > > >>>> > > > > > >>>> --------------------Another---**------------------ > > > > > >>>> version : 1.2.3.3/22 5079 secure > > > > > >>>> *udp/ip : 142.54.178.237:27015 (public ip: 142.54.178.238)* > > > > > >>>> > > > > > >>>> account : logged in > > > > > >>>> map : plr_hightower at: 0 x, 0 y, 0 z > > > > > >>>> > > > > > >>>> > > > > > >>>> I just finished fixing 4 servers on the same box with this > > > > bug/issue. > > > > > >>>> It's > > > > > >>>> starting to become quite annoying having servers drop off the > > > master > > > > > >>>> server > > > > > >>>> list and require a server restart to fix. I get servers going > > > from > > > > > full > > > > > >>>> to > > > > > >>>> empty when this happens and it requires my intervention to > fix. > > > > > >>>> > > > > > >>>> Server details: > > > > > >>>> > > > > > >>>> :~$ uname -a > > > > > >>>> Linux ubuntu 2.6.35-22-server #35-Ubuntu SMP Sat Oct 16 > 22:02:33 > > > UTC > > > > > 2010 > > > > > >>>> x86_64 GNU/Linux > > > > > >>>> > > > > > >>>> :~$ lsb_release -a > > > > > >>>> No LSB modules are available. > > > > > >>>> Distributor ID: Ubuntu > > > > > >>>> Description: Ubuntu 10.10 > > > > > >>>> Release: 10.10 > > > > > >>>> Codename: maverick > > > > > >>>> > > > > > >>>> > > > > > >>>> I brought this issue up August 14 2012: > > > > > >>>> > http://www.mail-archive.com/**hlds_linux@list.valvesoftware.** > > > > > >>>> com/msg68496.html< > > > > > > > > > > > > > > > http://www.mail-archive.com/hlds_linux@list.valvesoftware.com/msg68496.html > > > > > > > > > > > >>>> > > > > > >>>> and I know someone else has (just cant find the post). > > > > > >>>> > > > > > >>>> > > > > > >>>> Fletcher please please fix this problem! > > > > > >>>> ______________________________**_________________ > > > > > >>>> To unsubscribe, edit your list preferences, or view the list > > > > archives, > > > > > >>>> please visit: > > > > > >>>> https://list.valvesoftware. > > > > > **com/cgi-bin/mailman/listinfo/**hlds_linux< > > > > > https://list.valvesoftware.com/cgi-bin/mailman/listinfo/hlds_linux > > > > > > > >>>> > > > > > >>> > > > > > >>> > > > > > >>> ______________________________**_________________ > > > > > >>> To unsubscribe, edit your list preferences, or view the list > > > > archives, > > > > > >>> please visit: > > > > > >>> https://list.valvesoftware. > > > > > **com/cgi-bin/mailman/listinfo/**hlds_linux< > > > > > https://list.valvesoftware.com/cgi-bin/mailman/listinfo/hlds_linux > > > > > > > >>> > > > > > >> _______________________________________________ > > > > > >> To unsubscribe, edit your list preferences, or view the list > > > archives, > > > > > please visit: > > > > > >> > > https://list.valvesoftware.com/cgi-bin/mailman/listinfo/hlds_linux > > > > > > > > > > > > > > > > > > > > > > > > -- > > > > > > Idleness is not doing nothing. Idleness is being free to do > > anything. > > > > > > - Floyd Dell > > > > > > > > > > > > _______________________________________________ > > > > > > To unsubscribe, edit your list preferences, or view the list > > > archives, > > > > > please visit: > > > > > > > https://list.valvesoftware.com/cgi-bin/mailman/listinfo/hlds_linux > > > > > > > > > > _______________________________________________ > > > > > To unsubscribe, edit your list preferences, or view the list > > archives, > > > > > please visit: > > > > > https://list.valvesoftware.com/cgi-bin/mailman/listinfo/hlds_linux > > > > > > > > > _______________________________________________ > > > > To unsubscribe, edit your list preferences, or view the list > archives, > > > > please visit: > > > > https://list.valvesoftware.com/cgi-bin/mailman/listinfo/hlds_linux > > > > > > > _______________________________________________ > > > To unsubscribe, edit your list preferences, or view the list archives, > > > please visit: > > > https://list.valvesoftware.com/cgi-bin/mailman/listinfo/hlds_linux > > > > > _______________________________________________ > > To unsubscribe, edit your list preferences, or view the list archives, > > please visit: > > https://list.valvesoftware.com/cgi-bin/mailman/listinfo/hlds_linux > > > _______________________________________________ > To unsubscribe, edit your list preferences, or view the list archives, > please visit: > https://list.valvesoftware.com/cgi-bin/mailman/listinfo/hlds_linux > _______________________________________________ To unsubscribe, edit your list preferences, or view the list archives, please visit: https://list.valvesoftware.com/cgi-bin/mailman/listinfo/hlds_linux