LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 11-17-2003, 05:17 PM   #1
hookem1994
LQ Newbie
 
Registered: Nov 2003
Location: Pittsburgh, PA
Distribution: Redhat 9
Posts: 8

Rep: Reputation: 0
IPTables err with TRACEROUTE


I get a confiuration error when setting up my firewall with IPTables. The lines that are causing the problems are:

# OUTGOING TRACEROUTE
# -------------------
# Commented this out to see if this was the issue 1
iptables -A OUTPUT -o $EXTERNAL_INTERFACE -p udp \
-s $IPADDR --source-port $TRACEROUTE_SRC_PORTS \
--destination-port $TRACEROUTE_DEST_PORTS -j LOG
iptables -A OUTPUT -o $EXTERNAL_INTERFACE -p udp \
-s $IPADDR --source-port $TRACEROUTE_SRC_PORTS \
--destination-port $TRACEROUTE_DEST_PORTS -j ACCEPT

I ended up commenting them out but want to figure out what the underlying issue is. The error states that there is a problem with the UDP --destination-port.

If you need the rest of the file I can post it - its big though.

Thanks in advance.
David
 
Old 11-17-2003, 05:58 PM   #2
dorian33
Member
 
Registered: Jan 2003
Location: Poland, Warsaw
Distribution: LFS, Gentoo
Posts: 591

Rep: Reputation: 32
post the values for all variable (mainly $TRACEROUTE_DEST_PORTS)
 
Old 11-18-2003, 08:50 AM   #3
hookem1994
LQ Newbie
 
Registered: Nov 2003
Location: Pittsburgh, PA
Distribution: Redhat 9
Posts: 8

Original Poster
Rep: Reputation: 0
No entry in code

I am using the http://www.linux-firewall-tools.com/...all/index.html tool to configure my iptables - it does not list a variable for the TRACEROUTE_DEST_PORTS or TRACEROUTE_SRC_PORTS. Not sure how I should code these variables.

The TRACEROUTE_DEST_PORTS would vary based on the traceroute inputted and the TRACEROUTE_SRC_PORTS would be either my internal (eth1) or external IP (eth0).

Thanks,
David
 
  


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
traceroute overproof Linux - Newbie 5 02-01-2015 06:30 PM
[IPTABLES] Traceroute wesleywestervel Linux - Security 3 06-30-2005 02:32 PM
Dual system boot err: rootnoverify(hd1,0),but the hd0 err msg existed befor shut down lilipeng24 Linux - General 3 06-25-2005 01:10 PM
Traceroute help sikandar Linux - Software 1 09-23-2003 01:15 AM
Traceroute for RH 7.3 aushelp Linux - Networking 2 08-11-2002 03:40 PM


All times are GMT -5. The time now is 04:21 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration