Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
blocking an application with iptables
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
clerus21
Apprentice
Apprentice


Joined: 20 Aug 2003
Posts: 196
Location: uruguay

PostPosted: Fri Aug 18, 2006 3:32 pm    Post subject: blocking an application with iptables Reply with quote

Hello, i just installed doom3 :) and i want to block it from accesing the internet, because i dont want it to authenticate.
i dont know what port it uses, and even if i knew i dont know how to block it :(
can anyone help me pliz?
thanxz a lot
_________________
TAMMUZ


MSI RS482 M4
AMD X2 3800+
Nvidia 8800GT 512mb (MSI)
2 GB Ram Dual-Channel
300 GB Seagate Sata II
Back to top
View user's profile Send private message
Drunkula
Apprentice
Apprentice


Joined: 28 Jul 2003
Posts: 257
Location: Denton, TX - USA

PostPosted: Fri Aug 18, 2006 4:55 pm    Post subject: Reply with quote

You can easily find this info on the net. Try http://www.gameconfig.co.uk/
Doom3
TCP Ports 27666, 27650
UDP Ports 27666, 27650

You'll need to setup iptables to block those specific ports. I'm sure the docs are here somehwere! ;)
_________________
Go away or I will replace you with a very small shell script.
Back to top
View user's profile Send private message
think4urs11
Bodhisattva
Bodhisattva


Joined: 25 Jun 2003
Posts: 6659
Location: above the cloud

PostPosted: Fri Aug 18, 2006 5:18 pm    Post subject: Reply with quote

you can also drop packets depending on user/groupid or even process id. (owner match)
_________________
Nothing is secure / Security is always a trade-off with usability / Do not assume anything / Trust no-one, nothing / Paranoia is your friend / Think for yourself
Back to top
View user's profile Send private message
clerus21
Apprentice
Apprentice


Joined: 20 Aug 2003
Posts: 196
Location: uruguay

PostPosted: Fri Aug 18, 2006 5:20 pm    Post subject: Reply with quote

It didnt work :(

i did this:

Code:

iptables -A INPUT -p udp --destination-port 27650 -j DROP
iptables -A INPUT -p udp --destination-port 27666 -j DROP
iptables -A INPUT -p tcp --destination-port 27650 -j DROP
iptables -A INPUT -p tcp --destination-port 27666 -j DROP


any idea why it didnt work?
thanxz
_________________
TAMMUZ


MSI RS482 M4
AMD X2 3800+
Nvidia 8800GT 512mb (MSI)
2 GB Ram Dual-Channel
300 GB Seagate Sata II
Back to top
View user's profile Send private message
xglad
n00b
n00b


Joined: 13 Aug 2002
Posts: 53
Location: Ft. Lauderdale, FL, USA.

PostPosted: Fri Aug 18, 2006 6:22 pm    Post subject: Reply with quote

If you want to block outgoing traffic, use the OUTPUT chain.
Back to top
View user's profile Send private message
expat_iain
Guru
Guru


Joined: 09 Jan 2004
Posts: 361
Location: Malta GC

PostPosted: Fri Aug 18, 2006 10:02 pm    Post subject: Reply with quote

xglad wrote:
If you want to block outgoing traffic, use the OUTPUT chain.

If you are blocking the *firewall* from accessing this service, else use the FORWARD chain if the firewall is inline.

Regs.

Iain.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
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 vote in polls in this forum