Buy linux-fans.com ?

Products related to IPtables:


  • Linux Iptables Pocket Reference
    Linux Iptables Pocket Reference

    Firewalls, Network Address Translation (NAT), and network logging and accounting are all provided by Linux's Netfilter system, also known by the name of the command used to administer it, iptables.The iptables interface is the most sophisticated ever offered on Linux and makes Linux an extremely flexible system for any kind of network filtering you might do.Large sets of filtering rules can be grouped in ways that makes it easy to test them and turn them on and off.Do you watch for all types of ICMP traffic--some of them quite dangerous?Can you take advantage of stateful filtering to simplify the management of TCP connections?Would you like to track how much traffic of various types you get?This pocket reference will help you at those critical moments when someone asks you to open or close a port in a hurry, either to enable some important traffic or to block an attack.The book will keep the subtle syntax straight and help you remember all the values you have to enter in order to be as secure as possible.The listings of all iptables options are divided into those suitable for firewalling, accounting, and NAT.

    Price: 7.99 £ | Shipping*: 3.99 £
  • Linux Kernel Development
    Linux Kernel Development

    Linux Kernel Development details the design and implementation of the Linux kernel, presenting the content in a manner that is beneficial to those writing and developing kernel code, as well as to programmers seeking to better understand the operating system and become more efficient and productive in their coding. The book details the major subsystems and features of the Linux kernel, including its design, implementation, and interfaces.It covers the Linux kernel with both a practical and theoretical eye, which should appeal to readers with a variety of interests and needs. The author, a core kernel developer, shares valuable knowledge and experience on the 2.6 Linux kernel.Specific topics covered include process management, scheduling, time management and timers, the system call interface, memory addressing, memory management, the page cache, the VFS, kernel synchronization, portability concerns, and debugging techniques.This book covers the most interesting features of the Linux 2.6 kernel, including the CFS scheduler, preemptive kernel, block I/O layer, and I/O schedulers. The third edition of Linux Kernel Development includes new and updated material throughout the book: An all-new chapter on kernel data structuresDetails on interrupt handlers and bottom halvesExtended coverage of virtual memory and memory allocationTips on debugging the Linux kernelIn-depth coverage of kernel synchronization and lockingUseful insight into submitting kernel patches and working with the Linux kernel community

    Price: 36.99 £ | Shipping*: 0.00 £
  • Learning eBPF : Programming the Linux Kernel for Enhanced Observability, Networking, and Security
    Learning eBPF : Programming the Linux Kernel for Enhanced Observability, Networking, and Security

    What is eBPF? With this revolutionary technology, you can write custom code that dynamically changes the way the kernel behaves.It's an extraordinary platform for building a whole new generation of security, observability, and networking tools. This practical book is ideal for developers, system administrators, operators, and students who are curious about eBPF and want to know how it works.Author Liz Rice, chief open source officer with cloud native networking and security specialists Isovalent, also provides a foundation for those who want to explore writing eBPF programs themselves. With this book, you will:Learn why eBPF has become so important in the past couple of yearsWrite basic eBPF code, and manipulate eBPF programs and attach them to eventsExplore how eBPF components interact with Linux to dynamically change the operating system's behaviorLearn how tools based on eBPF can instrument applications without changes to the apps or their configurationDiscover how this technology enables new tools for observability, security, and networking

    Price: 44.99 £ | Shipping*: 0.00 £
  • Learning eBPF: Programming the Linux Kernel for Enhanced Observability, Networking, and Security
    Learning eBPF: Programming the Linux Kernel for Enhanced Observability, Networking, and Security

    Learning eBPF: Programming the Linux Kernel for Enhanced Observability, Networking, and Security

    Price: 42.74 € | Shipping*: 0.00 €
  • What is an alternative to iptables?

    An alternative to iptables is nftables, which is a newer and more powerful packet filtering framework for Linux. Nftables provides a more user-friendly syntax and better performance compared to iptables. It also offers additional features such as stateful firewalling, easier rule management, and better integration with the Linux kernel. Overall, nftables is a modern replacement for iptables and is recommended for those looking for a more advanced and efficient packet filtering solution.

  • Hello, I have a question regarding iptables.

    Sure, I'd be happy to help. What specific question do you have about iptables?

  • Why is the port not being allowed in iptables?

    The port may not be allowed in iptables because the corresponding rule to allow traffic on that port may not have been added. This could be due to an oversight or mistake in configuring the iptables rules. Additionally, the port may be blocked by a default deny rule in iptables, which prevents any traffic from passing through unless specifically allowed. It's also possible that the service or application listening on that port is not running or is misconfigured, which would prevent iptables from allowing traffic to that port.

  • How do I block everything except Tor with iptables?

    To block everything except Tor with iptables, you can create a rule to allow traffic only through the Tor network. First, allow traffic to the Tor network by adding a rule to allow outbound traffic on the Tor port (usually 9050 or 9150) using the command: ```bash sudo iptables -A OUTPUT -p tcp --dport 9050 -j ACCEPT ``` Then, block all other outbound traffic by adding a rule to drop all other outgoing connections: ```bash sudo iptables -A OUTPUT -j DROP ``` This will ensure that all outbound traffic is blocked except for the traffic going through the Tor network.

Similar search terms for IPtables:


  • Understanding the Linux Kernel
    Understanding the Linux Kernel

    In order to thoroughly understand what makes Linux tick and why it works so well on a wide variety of systems, you need to delve deep into the heart of the kernel.The kernel handles all interactions between the CPU and the external world, and determines which programs will share processor time, in what order.It manages limited memory so well that hundreds of processes can share the system efficiently, and expertly organizes data transfers so that the CPU isn't kept waiting any longer than necessary for the relatively slow disks.The third edition of Understanding the Linux Kernel takes you on a guided tour of the most significant data structures, algorithms, and programming tricks used in the kernel.Probing beyond superficial features, the authors offer valuable insights to people who want to know how things really work inside their machine. Important Intel-specific features are discussed. Relevant segments of code are dissected line by line.But the book covers more than just the functioning of the code; it explains the theoretical underpinnings of why Linux does things the way it does.This edition of the book covers Version 2.6, which has seen significant changes to nearly every kernel subsystem, particularly in the areas of memory management and block devices.The book focuses on the following topics: * Memory management, including file buffering, process swapping, and Direct memory Access (DMA) * The Virtual Filesystem layer and the Second and Third Extended Filesystems * Process creation and scheduling * Signals, interrupts, and the essential interfaces to device drivers * Timing * Synchronization within the kernel * Interprocess Communication (IPC) * Program execution Understanding the Linux Kernel will acquaint you with all the inner workings of Linux, but it's more than just an academic exercise.You'll learn what conditions bring out Linux's best performance, and you'll see how it meets the challenge of providing good system response during process scheduling, file access, and memory management in a wide variety of environments.This book will help you make the most of your Linux system.

    Price: 55.99 £ | Shipping*: 0.00 £
  • Linux System Programming
    Linux System Programming

    Write software that draws directly on services offered by the Linux kernel and core system libraries.With this comprehensive book, Linux kernel contributor Robert Love provides you with a tutorial on Linux system programming, a reference manual on Linux system calls, and an insider's guide to writing smarter, faster code.Love clearly distinguishes between POSIX standard functions and special services offered only by Linux. With a new chapter on multithreading, this updated and expanded edition provides an in-depth look at Linux from both a theoretical and applied perspective over a wide range of programming topics, including: A Linux kernel, C library, and C compiler overview Basic I/O operations, such as reading from and writing to files Advanced I/O interfaces, memory mappings, and optimization techniques The family of system calls for basic process management Advanced process management, including real-time processes Thread concepts, multithreaded programming, and Pthreads File and directory management Interfaces for allocating memory and optimizing memory access Basic and advanced signal interfaces, and their role on the system Clock management, including POSIX clocks and high-resolution timers

    Price: 55.99 £ | Shipping*: 0.00 £
  • Mastering Embedded Linux Programming
    Mastering Embedded Linux Programming

    Harness the power of Linux to create versatile and robust embedded solutionsAbout This Book• Create efficient and secure embedded devices using Linux• Minimize project costs by using open source tools and programs• Explore each component technology in depth, using sample implementations as a guideWho This Book Is ForThis book is ideal for Linux developers and system programmers who are already familiar with embedded systems and who want to know how to create best-in-class devices.A basic understanding of C programming and experience with systems programming is needed. What You Will Learn• Understand the role of the Linux kernel and select an appropriate role for your application• Use Buildroot and Yocto to create embedded Linux systems quickly and efficiently• Create customized bootloaders using U-Boot• Employ perf and ftrace to identify performance bottlenecks• Understand device trees and make changes to accommodate new hardware on your device• Write applications that interact with Linux device drivers• Design and write multi-threaded applications using POSIX threads• Measure real-time latencies and tune the Linux kernel to minimize themIn DetailMastering Embedded Linux Programming takes you through the product cycle and gives you an in-depth description of the components and options that are available at each stage.You will begin by learning about toolchains, bootloaders, the Linux kernel, and how to configure a root filesystem to create a basic working device.You will then learn how to use the two most commonly used build systems, Buildroot and Yocto, to speed up and simplify the development process.Building on this solid base, the next section considers how to make best use of raw NAND/NOR flash memory and managed flash eMMC chips, including mechanisms for increasing the lifetime of the devices and to perform reliable in-field updates.Next, you need to consider what techniques are best suited to writing applications for your device.We will then see how functions are split between processes and the usage of POSIX threads, which have a big impact on the responsiveness and performance of the final device The closing sections look at the techniques available to developers for profiling and tracing applications and kernel code using perf and ftrace. Style and approach This book is an easy-to-follow and pragmatic guide consisting of an in-depth analysis of the implementation of embedded devices.Each topic has a logical approach to it; this coupled with hints and best practices helps you understand embedded Linux better.

    Price: 39.99 £ | Shipping*: 0.00 £
  • The Linux Programming Interface
    The Linux Programming Interface

    The Linux Programming Interface (TLPI) is the definitive guide to the Linux and UNIX programming interface the interface employed by nearly every application that runs on a Linux or UNIX system.In this authoritative work, Linux programming expert Michael Kerrisk provides detailed descriptions of the system calls and library functions that you need in order to master the craft of system programming, and accompanies his explanations with clear, complete example programs.You'll find descriptions of over 500 system calls and library functions, and more than 200 example programs, 88 tables, and 115 diagrams.You'll learn how to: Read and write files efficiently Use signals, clocks, and timers Create processes and execute programs Write secure programs Write multithreaded programs using POSIX threads Build and use shared libraries Perform interprocess communication using pipes, message queues, shared memory, and semaphores Write network applications with the sockets API While The Linux Programming Interface covers a wealth of Linux-specific features, including epoll, inotify, and the /proc file system, its emphasis on UNIX standards (POSIX.1-2001/SUSv3 and POSIX.1-2008/SUSv4) makes it equally valuable to programmers working on other UNIX platforms.The Linux Programming Interface is the most comprehensive single-volume work on the Linux and UNIX programming interface, and a book that's destined to become a new classic.The Linux Programming Interface (TLPI) is the definitive guide to the Linux and UNIX programming interface the interface employed by nearly every application that runs on a Linux or UNIX system.In this authoritative work, Linux programming expert Michael Kerrisk provides detailed descriptions of the system calls and library functions that you need in order to master the craft of system programming, and accompanies his explanations with clear, complete example programs.You'll find descriptions of over 500 system calls and library functions, and more than 200 example programs, 88 tables, and 115 diagrams.You'll learn how to: Read and write files efficiently Use signals, clocks, and timers Create processes and execute programs Write secure programs Write multithreaded programs using POSIX threads Build and use shared libraries Perform interprocess communication using pipes, message queues, shared memory, and semaphores Write network applications with the sockets API While The Linux Programming Interface covers a wealth of Linux-specific features, including epoll, inotify, and the /proc file system, its emphasis on UNIX standards (POSIX.1-2001/SUSv3 and POSIX.1-2008/SUSv4) makes it equally valuable to programmers working on other UNIX platforms.The Linux Programming Interface is the most comprehensive single-volume work on the Linux and UNIX programming interface, and a book that's destined to become a new classic.

    Price: 94.99 £ | Shipping*: 0.00 £
  • How can I use iptables on the Asus RT-AC66U?

    To use iptables on the Asus RT-AC66U, you can access the router's web interface by entering its IP address in a web browser. Once logged in, navigate to the "Administration" tab and then select "System" and "Enable JFFS custom scripts and configs." This will allow you to create custom iptables rules in the router's firewall script. You can then add your desired iptables rules to the firewall script to control network traffic according to your preferences. Remember to save your changes and reboot the router for the new rules to take effect.

  • How can I block the SSH port from outside using iptables?

    To block the SSH port (port 22) from outside using iptables, you can use the following command: ``` sudo iptables -A INPUT -p tcp --dport 22 -j DROP ``` This command adds a rule to the INPUT chain of iptables to drop any incoming TCP traffic on port 22, effectively blocking SSH access from outside. Make sure to save the iptables rules so they persist after a reboot by using the `iptables-save` command. Keep in mind that blocking the SSH port may lock you out of your server if you are not careful, so it's important to have an alternative way to access the server in case of any issues.

  • Which distro do you use, Linux users?

    As an AI, I do not have personal preferences or the ability to use operating systems. However, Linux users often choose their distribution based on their specific needs and preferences. Some popular distributions include Ubuntu for its user-friendly interface, Fedora for its focus on the latest technologies, and Debian for its stability and reliability. Ultimately, the choice of distribution depends on the user's requirements and level of expertise.

  • How can one downgrade the Linux kernel?

    To downgrade the Linux kernel, you can follow these steps: 1. First, identify the version of the kernel you want to downgrade to and make sure it is available in your distribution's package repository. 2. Next, use the package manager of your Linux distribution to remove the current kernel version. For example, in Ubuntu, you can use the command `sudo apt-get remove linux-image-<version>`. 3. Then, install the desired kernel version using the package manager. For example, in Ubuntu, you can use the command `sudo apt-get install linux-image-<desired_version>`. 4. Finally, reboot your system to load the downgraded kernel. Keep in mind that downgrading the kernel may have implications for system stability and compatibility with hardware and software, so it's important to carefully consider the reasons for downgrading and to backup important data before proceeding.

* All prices are inclusive of VAT and, if applicable, plus shipping costs. The offer information is based on the details provided by the respective shop and is updated through automated processes. Real-time updates do not occur, so deviations can occur in individual cases.