Luigi Auriemma

aluigi.org (ARCHIVE-ONLY FORUM!)
It is currently 19 Jul 2012 12:37

All times are UTC [ DST ]





Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 12 posts ] 
Author Message
 Post subject: question. fill
PostPosted: 24 Jan 2008 13:22 

Joined: 24 Jan 2008 13:01
Posts: 10
Anyone know if their is a way of minimizing the client ip connections to 1 and max 1 so e.g if you have ip xx.x.xxx.xxx you can only connect to a server one at a time.? anyone heard of this before?


Top
 Profile  
 
 
 Post subject:
PostPosted: 24 Jan 2008 19:15 

Joined: 24 Jan 2008 17:53
Posts: 5
Location: Harrisburg, PA
Code:
iptables -F

iptables -I INPUT -p udp --dport 28080 -i eth0 -m state --state RELATED,ESTABLISHED -j ACCEPT

iptables -I INPUT -p udp --dport 28080 -i eth0 -m state --state NEW -m recent \
   --set
iptables -I INPUT -p udp --dport 28080 -i eth0 -m state --state NEW -m recent \
   --update --seconds 3 --hitcount 2 -j DROP


I've been working with this to "anti" q3fill via firewall rules. I'm going to test it like this tonight, but when I had it set to "--seconds 10", it would remove the servers from the master list half of the time. I assume that everytime someone clicks "Refresh Servers" it's a new connection, so the second one and so on get dropped... though I tried giving the master-server's IP complete access on those ports (aka no new packet limit) but that didn't help.

If anyone has any knowledge on how I can improve this... or have it work how I want to without any negative effects, that would be great.

Thanks,
Dave

Note: This is for jk21.02c if anyone is curious, and yes 'Potass.', I am Ninn.


Top
 Profile  
 
 Post subject:
PostPosted: 24 Jan 2008 20:00 

Joined: 24 Jan 2008 13:01
Posts: 10
Yes i did guess that Dcolgate..ill help you with your anti later i feel the need to q3fill alot lol.


Top
 Profile  
 
 Post subject:
PostPosted: 24 Jan 2008 20:57 

Joined: 24 Jan 2008 17:53
Posts: 5
Location: Harrisburg, PA
If there was only a way through IPTables to tell the difference between a CNCT packet and all of the rest, this would be so much easier. I'm sure that telling the difference is possible but I wouldn't know how to work that into a firewall rule... as I do not know how to use packet sniffers and things like that.


Top
 Profile  
 
 Post subject:
PostPosted: 24 Jan 2008 21:48 

Joined: 05 Oct 2007 01:20
Posts: 402
Location: Florida
u 2 are lame lol

-potass ive told u not to q3fill because it just fills the server and they can clearly see ur ip, it isn't the best way of doing stuff

-ninn, no1 really knows linux script :P


Top
 Profile  
 
 Post subject:
PostPosted: 24 Jan 2008 21:56 

Joined: 24 Jan 2008 17:53
Posts: 5
Location: Harrisburg, PA
In a place where people know more advanced things than shell scripting, I'd imagine a few of them know quite a bit.

Yeah Potass. really, I've banned you a few times already not realizing it was you, then ubanned a few minutes later... not so safe... which makes an 'anti' seem almost worthless to a degree.


Top
 Profile  
 
 Post subject:
PostPosted: 24 Jan 2008 22:25 

Joined: 24 Jan 2008 13:01
Posts: 10
Well...a q3fill anti is quite worthless lol as its not the best of q3s burrt its just for the sake of finding one out before this nerd here evan does :). also if you were ill or something god forbid and you didnt check any of your servers..i could fill them all day and no1 could ever play :/.


Top
 Profile  
 
 Post subject:
PostPosted: 24 Jan 2008 22:33 

Joined: 24 Jan 2008 17:53
Posts: 5
Location: Harrisburg, PA
Then I'll just ban you now, jay-kay I see your point.

If I figure it out I do, if not oh wells.


Top
 Profile  
 
 Post subject:
PostPosted: 24 Jan 2008 22:45 

Joined: 24 Jan 2008 13:01
Posts: 10
Well no1 even really uses it tbh...but it would be cool e.g

Potass - The guy who made the q3fill anti!

Dave - ...


Top
 Profile  
 
 Post subject:
PostPosted: 24 Jan 2008 23:00 

Joined: 24 Jan 2008 17:53
Posts: 5
Location: Harrisburg, PA
Haha do you want me to stop trying so that day can happen months from now?


Top
 Profile  
 
 Post subject:
PostPosted: 25 Jan 2008 02:37 

Joined: 05 Oct 2007 01:20
Posts: 402
Location: Florida
DColgate wrote:
In a place where people know more advanced things than shell scripting, I'd imagine a few of them know quite a bit.
forum to start topic
Description of the forum topic Programming wrote:
discussions about C, assembly, perl and python

Potass. wrote:
this nerd here evan
Image not a nerd u rtard lol
Potass. wrote:
i could fill them all day and no1 could ever play
i have rcon to a few of his servers o_O

There really is not official fix for fake players. You can only prevent them by mod, auto kicker or ur way, a firewall. Oh and of course ban.

-Mod: Through a mod you can use Gamall's way which is checking exact userinfo to JK2, if non-specific info then it will deny the connection.
--Mod: Also try the ever-popular max connections per IP address. A lot of mods just use that and have a command (using clan mod as an example here) sv_maxconnections "" and put the # between the quotes and there will only let that amount of IP's to connect to the server.
-Auto kicker: a side program that detects if the same ip connects, if so kicks the most recent clients... ex: if 3 connect in the past 30 seconds, kick all of those.
-Ban: ... u know lol, /rcon addip #.#
-Firewall/Router: not too sure how that works :D


Top
 Profile  
 
 Post subject:
PostPosted: 25 Jan 2008 02:49 

Joined: 24 Jan 2008 13:01
Posts: 10
--Mod: Also try the ever-popular max connections per IP address. A lot of mods just use that and have a command (using clan mod as an example here) sv_maxconnections "" and put the # between the quotes and there will only let that amount of IP's to connect to the server.
That one looks tasty to me.


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 12 posts ] 

All times are UTC [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
cron