LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 12-23-2002, 02:10 AM   #1
Shrimpy
LQ Newbie
 
Registered: Dec 2002
Location: Durban, South Africa
Distribution: Red Hat 8
Posts: 1

Rep: Reputation: 0
Blocking ports for a specific IP


Hi there,

I'm very new to Linux, and Linux networking in particular, so sorry if I get some terms or other stuff wrong here .

I would like to block all traffic from and to a specific IP address and port (on the local LAN) from our internet server which is running Red Hat 5.2 .

As far as I can tell, the server is using "ipchains" (don't know exactly what it does, but was told I should look there for this). 've tried reading up on this online but the guides and docs I've found assume you already know quite a bit about Linux networking, which I don't.


Basically, I need to be able to quickly block traffic to/from xxx.xxx.xxx.xxxort and then 'unblock' it easily again later.


Thanks for any help.
 
Old 12-23-2002, 11:48 AM   #2
peter_robb
Senior Member
 
Registered: Feb 2002
Location: Szczecin, Poland
Distribution: Gentoo, Debian
Posts: 2,458

Rep: Reputation: 48
How are you collecting the ip numbers/ports?

There are several dynamic IDS systems available that can be told to look for specific patterns and respond to them...
eg http://www.psionic.com/products/portsentry.html
which I have working in a RH6.2 machine...
It adds rules like this...
-A input -s 80.32.93.74/255.255.255.255 137:137 -d 0.0.0.0/0.0.0.0 -p 1 -j DENY

Last edited by peter_robb; 12-23-2002 at 11:57 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Blocking access to specific Websites and IP Ports fieldyweb Linux - Newbie 3 12-02-2005 05:32 AM
iptables: blocking something.com for specific time farhan Linux - Security 2 06-11-2005 10:15 AM
Blocking Traffic on a specific port (kazaa) GratePayne Linux - Security 4 05-09-2004 09:10 AM
Domain and specific 'word' blocking in firewall2 hiplainsdrifter Linux - Newbie 5 04-07-2004 03:54 PM
QMail and blocking specific extensions Rob de Jong Linux - General 1 05-01-2002 02:11 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 09:55 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration