Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


LinkBack Search this Thread
Old 12-01-2012, 03:24 PM   #1
Registered: May 2008
Location: Brooklyn ZOO
Distribution: Slackware64 14.0
Posts: 384

Rep: Reputation: 23
iptables OUTPUT and Midnight Commander

Maybe it never bothered me before, but I realized that Midnight Commander has been really slow to start so I did a little digging and it looks like mc is making some net traffic during startup that's getting blocked by my iptables rules for the OUTPUT chain. Below are the four lines in my OUTPUT chain, which by default is set to DROP if it does not match the rules.

$IPTABLES -A OUTPUT -m state -p ICMP --state INVALID -j DROP
From the looks of it that last line is causing the issue... if I remove that line mc starts up nice and fast, but nothing can get out anymore! Anyone know why this might be? That last line should be allowing everything out, should it not?!
Old 12-01-2012, 05:23 PM   #2
Registered: Sep 2006
Distribution: SuSE, Slackware
Posts: 51

Rep: Reputation: 4
Did you check why mc is generating this traffic? and what type of traffic it is? If it is traffic you didn't authorize, it could be a security issue.

Yep looks like the last rule allows all traffic in-out, so only if you remove it, mc works smoothly. I'd say add a rule to allow specific traffic that you know, and deny the rest.



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
Trackbacks are Off
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Midnight Commander Woodsman Slackware 10 06-30-2011 07:44 PM
midnight commander peterb Ubuntu 1 10-14-2010 09:22 AM
Midnight Commander matombo Fedora 3 11-30-2005 12:41 PM
midnight commander prevoo DamnSmallLinux 6 09-19-2004 04:26 PM
midnight commander enigma1 Linux - Software 6 12-10-2003 02:47 PM

All times are GMT -5. The time now is 02:58 AM.

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