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.
As I wanted to play with etherboot, pxe boot and like I needed a dhcp server that I could control and take on and offline as seen fit. That ruled out the normal dhcp server we have on our network. What to do? Create one inside a kvm and block all network traffic from and to it from outside.
Little description of the network setup.
eth0 is the interface to the wide world aka local network
each vm has a tap device with naming like tap-$name_of_vm0
They all are joined...
Fiddeling around with kvm again I wanted to use the monitor but on an instance that run with "-display non" cause I run it from the command line. Maybe one can access the monitor from VNC or SPICE I don't know but I found the option to redirect the monitor to a socket or any other network device. I went for a socket like this
Nother problem that cost me some life time and hair too I'd say. Fiddeling around with samba on Debian wheezy I created a share that should be public accesible. So we call it public. Yes I am an artist and genius when making up names. Anyways as we want the guest account to be allowed we put guest ok = yes inside the config part of the share. Also to be a bit more restrictive I also added valid users = +smbusers (Nother prove of my genuine artistry). The usaual path and other things found there...
Looking for a way to block those 404 hoppers I match the outgoing packages from sport 80 for the string 404. Now that I have those classified I needed a way to block them when they would return. Normaly i would use the recent module for this. But as its a outgoing packet and recent normally uses the source ip I would block myself to come back in. But the man pages has the --rdest option which matches/saves on the destination ip. That would be cool but I would need it to block on the incoming package....