Linux - SecurityThis forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.
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.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
I like to use tcpdump to monitor incoming packets, however i just got a new router for adsl and rather than listening to whats coming in to me i want to listen to whats happening on the routers WAN. I can access the firewall logs, but they are not very verbose (and i like verbosity). My router is ip 10.0.0.x as is my desktop, is it possible to use the router as an interface rather than just forwarding everything to me?
Distribution: Distribution: RHEL 5 with Pieces of this and that.
Kernel 188.8.131.52, KDE 3.5.8 and KDE 4.0 beta, Plu
Not to my knowledge. The router is setup to block incoming traffic, unless up portforward. Some routers can actually setup something called a DMZ, but I do not know if that transmit the network packets to that IP you define. You need to connect your computer directly to the adsl modem to get that info.
what I do is use transparent bridging (sometimes called half bridging) even most of the cheapest adsl routers usually have this option what make is yours?
What it does is pass the wan ip to your pc (kind of like forwarding all ports) and then you can run tcpdump to see whats happening on the wan side.
Dont forget this effectively disables the router firewall so get one on the pc first
Linux can do bridging too (http://bridge.sourceforge.net/) - what you could do, if you have an extra pc, you can put two NICs in it, bridge them without assigning an ip address, connect your WAN to one, then your router to the other, and run tcpdump (or snort or whatever) on the Linux bridge and monitor away. I also suppose if you put two extra NICs in your main PC you could use them as a bridge as well.
Brian1: My router does indeed have a DMZ zone setting, though i don't actually know what this means (im still new to the whole networking thing) ill go google it.
Slim_Pikins: It also has a virtual bridge section which i have used in the past for port forwarding, but i dont like this. As you said it disables the firewall, and i like having the routers firewall to control incoming connections and my os firewall to control outgoing it makes me feel () safe
slacky: Your suggestion sounds both like the best solution (and also sounds like it would be fun) i have a spareish laptop i can try that with?