LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices


Reply
  Search this Thread
Old 01-26-2003, 11:04 AM   #1
estranged0877
Member
 
Registered: Jan 2003
Posts: 52

Rep: Reputation: 15
Question Closing UDP ports in RHL 8.0


I have set up RHL 8.0 with DHCP and now have been messing with IPTABLES and such to secure the server. I have MASQUERADING set up for my internal LAN. I have changed the policy for input forward and output to drop (does reject not work? I can't use reject it says it isn't a recognized command). I run port scanners from various utilities not on the RHL machine. They always show UDP ports, but everything else shows locked down (TCP for example never shows up).

I have even made chains to deny udp entire range rules and they still show up... what is up with the UDP ports and not shutting down??????
 
Old 01-26-2003, 12:24 PM   #2
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,696

Rep: Reputation: 232Reputation: 232Reputation: 232
Could you post your iptables lines related to UDP?
 
Old 01-26-2003, 02:27 PM   #3
estranged0877
Member
 
Registered: Jan 2003
Posts: 52

Original Poster
Rep: Reputation: 15
This is what I have put into iptables chains.

Although they show closed on web port scanners they are still shown as probed. Am I doing all I can? Can they be shut down to where they aren't even seen? I have tried INPUT policy DROP (is there another policy instead of drop to use?) and when I used DROP I accept port 80 and yet not all web pages work... what am I missing there? This is my current config using ACCEPT.

Chain INPUT (policy ACCEPT)
target prot opt source destination
REJECT tcp -- anywhere anywhere tcp dpt:ssh reject-with icmp-port-unreachable
REJECT tcp -- anywhere anywhere tcp dpt:sunrpc reject-with icmp-port-unreachable
REJECT udp -- anywhere anywhere udp dpt:bootps reject-with icmp-port-unreachable
REJECT udp -- anywhere anywhere udp dpt:sunrpc reject-with icmp-port-unreachable

Chain FORWARD (policy ACCEPT)
target prot opt source destination

Chain OUTPUT (policy ACCEPT)
target prot opt source destination
 
  


Reply



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
Closing Ports Murdock1979 Linux - Security 1 09-23-2005 09:44 AM
Closing ports taggy Linux - Security 2 08-20-2005 01:03 PM
UDP ports Khalinsar Linux - Security 1 06-05-2005 12:51 PM
closing port 68/udp? antik Linux - Security 1 09-26-2003 12:26 PM
Closing Some Ports wonderpun Linux - Security 8 08-17-2003 03:09 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 01:01 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