Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Tue Apr 05, 2011 5:10 am 
Offline
Newbie

Joined: Tue Apr 05, 2011 1:07 am
Posts: 2
Hello,

I recently implemented my first modified iptables config (previously I was using rules from one of the linode articles). Anyway, I've been watching my packet and byte counts closely via iptables -L -v and just wanted to verify that the general inbound and outbound packet activity I'm seeing is normal for a Linode.

For example, after zeroing the packet/byte counts with iptables -Z and then closing my local Terminal window, I simply let the server run for roughly 50 minutes or so before logging back in and running iptables -L -v. The resulting stats that piqued my interest are as follows:
From the input chain: accepted 58 packets / 6631 bytes specific to the related, established match rule.
From the output chain: accepted 76 packets / 7808 bytes accepted (output is basically accept all excluding one drop rule). There were also roughly 30 denied packets, so it seems that the firewall seems to be at least working to some extent.

Given that my apache server is currently disabled, are the above input and output numbers generally what I should be expecting from the output chain and input related/established rule when not much is happening on the box? I would've expected fewer transfered packets in both directions, but what seems like a lot to me--at least in regard to what I expected--- might not be significant to others. :) I understand there are bots and whatnot randomly scanning IPs all day every day. I also understand that logging back in through ssh and issuing the iptables -L -v is also contributing to the packet numbers. I guess I just want to make sure that the behavior I'm seeing is not indicative of a rogue something or another manipulating my linode.

For what it's worth, I haven't installed too much on the VPS: A basic rails set up with apache, passenger, sphinx and mysql, imagemagick & related libraries, fail2ban, chkrootkit. Mail is not configured. I'm running Ubuntu lucid.


Thank you!


Top
   
 Post subject:
PostPosted: Tue Apr 05, 2011 5:22 am 
Offline
Senior Member

Joined: Sun Mar 07, 2010 7:47 pm
Posts: 1970
Website: http://www.rwky.net
Location: Earth
Seems fine to me, don't forget you probably have some sort of ntp service running which will use a bit of bandwidth, if you run netstat -tu you can see what's currently using the network.

_________________
Paid support
How to ask for help
1. Give details of your problem
2. Post any errors
3. Post relevant logs.
4. Don't hide details i.e. your domain, it just makes things harder
5. Be polite or you'll be eaten by a grue


Top
   
 Post subject:
PostPosted: Tue Apr 05, 2011 4:25 pm 
Offline
Newbie

Joined: Tue Apr 05, 2011 1:07 am
Posts: 2
Thank you so much for the reply, obs. I quickly became pretty paranoid once I saw how frequently my firewall was blocking potentially malicious scans (guess it's something I'll get used to), so it's nice to hear that things, at the very least, appear normal in regard to the previously mentioned accepted input and output stats.

I'll definitely give netstat -tu a look to more closely keep tabs on the situation.

Regards,
Sean


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group