LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 12-28-2001, 12:19 PM   #1
phil1076
Member
 
Registered: Oct 2001
Location: Grand Cayman
Distribution: RH 9.0
Posts: 96

Rep: Reputation: 16
3 simple questions


Ok my firewall is sweet. I only have two things I'd like to ask.
Here are some details. I have 2 NICS and am running DHCP and DNS on the inside. Running "netstat -avp" reveals the following:


tcp 0 0 *:1024 *:* LISTEN 649/rpc.statd
tcp 0 0 *:sunrpc *:* LISTEN 621/portmap
tcp 0 0 crxxxxxx.cpe.n:domain *:* LISTEN 1065/named
tcp 0 0 192.168.0.1:domain *:* LISTEN 1065/named
tcp 0 0 localhost.locald:domain *:* LISTEN 1065/named
tcp 0 0 *:ssh *:* LISTEN 881/sshd2
tcp 0 0 localhost.localdom:rndc *:* LISTEN 1065/named
tcp 0 288 crxxxxxxx.cpe.net.:ssh 2xx.xx.xxx.xxx:31852 ESTABLISHED 2950/sshd2 (<--- this is me)
udp 0 0 *:1024 *:* 649/rpc.statd
udp 0 0 *:1025 *:* 1065/named
udp 0 0 crxxxxxxx.cpe.n:domain *:* 1065/named
udp 0 0 192.168.0.1:domain *:* 1065/named
udp 0 0 localhost.locald:domain *:* 1065/named
udp 0 0 *:825 *:* 649/rpc.statd
udp 0 0 *:bootps *:* 848/dhcpd
udp 0 0 *:sunrpc *:* 621/portmap
raw 0 0 *:icmp *:* 7 848/dhcpd

It appears that named is listening for DHS request on both the local and internet segment.

Question #1: How do I make it so it only listens on the internal LAN and have it do this every time the box is booted?

Question #2: It appears that DHCP is also listening on the external network. How do I set it to only listen inside?

Question #3: When I edit /var/log/secure, I see alot of "DNS lookup failed for xxx.xxx.xxx.xxx". How Can I set it to resolve the IP's? I'd like this to keep track of SSH2 logins. Thanks in advance!
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Simple Questions...Hopfully Simple Answers. caps_phisto Linux - General 3 12-21-2004 12:40 PM
Three Simple Questions Wapocalypse Linux - Newbie 4 01-04-2003 06:49 PM
simple questions safrout Linux - Hardware 4 12-08-2002 10:00 AM
Three simple questions ErikD Linux - Software 2 10-15-2001 09:03 AM
Two simple questions M.I. Linux - General 3 07-12-2001 10:27 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

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