This one's got me stumped...suddenly can only connect in not out
Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
This one's got me stumped...suddenly can only connect in not out
I'm running debian unstable and do updates nightly. My kernel version is 2.4.22.
Suddenly on tuesday. Apt failed. So while checking out why I found that I can connect to my box but not out. ftp and ssh for instance hang in connect according to strace.
Iptraf confirms this as well the Flags are 'S---'
I run an iptables firewall and it has always worked (MonMotha's Firewall 2.3.8-pre8). I inspected my iptables too and can't find why my machine would blackhole it own outgoing connections.
I also didn't change anything in my routing tables.
I can traceroute and ping out so ICMP and UDP packets work just not outgoing TCP connections.
So my attention has turned to what was updated last as a possible source of the problem.
But nothing is obvious:
The following packages were updated the last time apt ran:
libgcrypt11 1.2.0-11
less 382-2
cron-apt 0.1.1
libatk1.0-0 1.8.0-4
vim-common 1:6.3-046+1
Anyone have any idea why one of these would break out going connections? libgcrypt?
Could this be a NIC problem? A reboot did not fix the problem.
I'll try this but I have to wait till later as there's an e-commerce site on it and it's the week before x-mas don't want any downtime since incoming traffic still works.
Originally posted by ealpert1 I'll try this but I have to wait till later as there's an e-commerce site on it and it's the week before x-mas don't want any downtime since incoming traffic still works.
Eeeeek! You're running a production machine on Sid? And you do updates nightly?
You have a set of brass ones ;o)
Originally posted by ealpert1 heh...only the second time in a year an update borked.
unstable is really not.
Oh, I know it's not, I use Sid on my desktop and laptop, and even install it for clients of mine. I'd be apprehensive about using it on a production server like the situation you're in however - especially doing nighly updates. By chance have you installed the apt-listbugs package? That can give you some warning before you actually upgrade a package that has known important/critical bugs and give you a brief synopsis of the bugs. It will then ask you to verify that you actually want the packages updated. It's saved my butt a couple of times when some major packages have been updated.
I'd recommend sending a bug-report on that one too once you find it..
Whether it's in an /etc script or an install script would be the difference between a repeat problem or a one-shot..
Accepting /etc scripts as they come can cause huge problems... ask anyone with gentoo..
I would suggest doing the upgrades during attendence hours until you can reconfigure the pre and post install script behaviour in dpkg..
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.