Basic System Administration

Total Page:16

File Type:pdf, Size:1020Kb

Basic System Administration Basic System Administration Your daily commands as root Becoming root • Avoid login as root over network (denied by default) • Use "/bin/su -" command from your regular account - “-” runs user LOGIN scripts - root can su to any userid without password. - Note utility for NOLOGIN ID’s. • $HOME is sometimes not “/root” but instead “/”; so watch what you delete! • Remove the current working directory (".") from your PATH • Never execute any regular user's program as root (possible Trojan Horse) • Use SSH, not TELNET over network to avoid sniffers root access - sudo • visudo (as root) creates /etc/sudoers file in the following format: usernames/group servername = (usernames command can be run as) command • To implement: sudo <command> • Groups are the same as user groups and are differentiated from regular users by a % at the beginning. The Linux user group "users" would be represented by %users. • You can have multiple usernames per line separated by commas. • Multiple commands also can be separated by commas. Spaces are considered part of the command. • The keyword ALL can mean all usernames, groups, commands and servers. • If you run out of space on a line, you can end it with a back slash (\) and continue on the next line. • sudo assumes that the sudoers file will be used network wide, and therefore offers the option to specify the names of servers which will be using it in the servername position in Table 9-1. In most cases, the file is used by only one server and the keyword ALL suffices for the server name. • The NOPASSWD keyword provides access without prompting for your password. • Same concept as the SUID bit in permissions (4000). sudo examples • sudo command … to run the command as USER Examples: - user1 localhost=/sbin/halt … user1 can halt local system [user1@student1]$ sudo /sbin/halt password: [user1@student1]$ System going down now! - user2 ALL= NOPASSWD: /sbin/halt … user2 can halt any system w/o password - user3 instructor = /usr/sbin/* … user 3 can run any command in /usr/sbin System Administration tools • man: Sections - 1 commands, 2 system calls, 3 C library routines, 4 devices and networks, 5 file formats, 6 games and demos, 7 miscellaneous, 8 system administration • info – textinfo man page • vi editor (front-end to a lot of utilities) • su, sudo • df/du, mount • dump/restore, dd, cpio, tar, rmt, find, rsync • ps, at, batch, crontab, anacron, watch, kill, nice, nohup, killall, • useradd, usermod, userdel • groupadd, groupmod, groupdel • who, whoami • syslog • system configuration files – /etc System information • hostname • uname –a • dmesg • who, whoami • last (reboot) • which, where cmd • hwclock • date • ulimit (user limits) • sysctl (system limits/settings) • cgroups • /etc/sysconfig • /etc/security • /proc • ps, pstree, System monitoring • sar • pmap • vmstat, • mpstat • iostat • nstat (network), • pidstat • free • lsof • top, ntop, iftop, latencytop • ulimit –a (view), ulimit –n (set) ulimits –Hn, ulimits -Sn … per user limits, /etc/security/limits.* • See /etc/security/limits.conf: sysctl –q (view), sysctl –w (set) … system limits, /etc/sysctl.conf • strace (debugging) /etc/sysconfig • The /etc/sysconfig directory is where many of the files that control the system configuration are stored for daemon processes or system services like networking. Contents vary depending on products installed. /etc/sysconfig is usually “sourced” (. /etc/sysconfig) in SYSV startup scripts. • Files in the /etc/sysconfig/ Directory amd , apmd ‘ authconfig , clock , desktop , devlabel, dhcpd, firstboot, gpm, harddisks, hwconf, i18n, init, ip6tables-config , iptables-config, irda, keyboard , kudzu, mouse, named, netdump, network, network-scripts, ifup-xxxx, ntpd, pcmcia, radvd, rawdevices, selinux, logrotate, samba , sendmail, spamassassin, squid , tux , vncservers, xinetd /proc • /proc is a virtual filesystem. It's sometimes referred to as a process information pseudo- file system. It doesn't contain 'real' files but runtime system information (e.g. system memory, devices mounted, hardware configuration, etc) for all processes started by init including PID and startup commands. /proc was developed as a LINUX extension to keep track of all the complex processes started in the system • For this reason it can be regarded as a control and information centre for the kernel. In fact, quite a lot of system utilities are simply calls to files in this directory. For example, 'lsmod' is the same as 'cat /proc/modules' while 'lspci' is a synonym for 'cat /proc/pci'. By altering files located in this directory you can even read/change kernel parameters (sysctl) while the system is running. • The most distinctive thing about files in this directory is the fact that all of them have a file size of 0, with the exception of kcore, mtrr and self. /etc/security • Central directory for system defaults • The limits.conf file defines process resource limits for users. (see ulimit) • opasswd - Store old passwords. • access.conf used to allow or restrict access to the system. • chroot.conf used to restrict users to there home directories • console.apps contains files which are same as service names. • console.perms and console.perms.d directory determine the permissions that will be given to • The rest are PAM (Program Authentication Module) related. sysctl – system limits • sysctl –q, sysctl –w, sysctl –p file, sysctl -A • /etc/sysctl.conf For network: # Enable IP spoofing protection • net.ipv4.conf.all.rp_filter=1 # Disable IP source routing • net.ipv4.conf.all.accept_source_route=0 # Ignoring broadcasts request • net.ipv4.icmp_echo_ignore_broadcasts=1 net.ipv4.icmp_ignore_bogus_error_messages=1 • # Make sure spoofed packets get logged net.ipv4.conf.all.log_martians = 1 • # disable IPv6 net.ipv6.conf.all.disable_ipv6=1 Kernel isolation (test carefully on test system): • Turn on execshield kernel.exec-shield=1 kernel.randomize_va_space=1 ulimit – user limits • ulimit - set user limits • -c maximum core file size (in 512-byte blocks) • -d maximum size of data segment or heap (in kbytes) • -f maximum file size (in 512-byte blocks) • -n maximum file descriptor plus 1 • -s maximum size of stack segment (in kbytes) • -t maximum CPU time (in seconds) • -v maximum size of virtual memory (in kbytes) • -S soft limit • -H hard limit • /etc/security/limits.conf c(ontrol)groups • Cgroups allow you to allocate resources—such as CPU time, system memory, network bandwidth, or combinations of these resources—among user-defined groups of tasks (processes) running on a system. • A *cgroup* associates a set of tasks with a set of parameters for one or more subsystems. A *subsystem* is a module that makes use of the task grouping facilities provided by cgroups to treat groups of tasks in particular ways. A subsystem is typically a "resource controller“ in a hierarchy of processes. • A cgroup is mounted as a virtual filesystem and can be modified to re-alllocate kernel resources. Each cgroup is represented by a directory in the cgroup file system containing the following files describing that cgroup: - tasks: list of tasks (by pid) attached to that cgroup - releasable flag: cgroup currently removeable? - notify_on_release flag: run the release agent on exit? - release_agent: the path to use for release notifications (this file exists in the top cgroup only) Other subsystems such as cpusets may add additional files in each cgroup dir. PAM • Pluggable Authentication Module • Centralized authentication mechanism • “Plug in” different authentication methods • Different services can have different authentication policies • Highly secure systems can require multiple passwords to authenticate PAM Framework • ftp login ssh Applications PAM Library conf libpam Modules pam_unix pam_ldap pam_securetty PAM Stack • Modules are stacked (order is important) • Sample PAM configuration in /etc/pam.d: interface control flag module name auth required pam_nologin.so auth required pam_securetty.so auth sufficient pam_unix.so auth required pam_ldap.so Security Enhanced LINUX • Kernel level security included since 2.60 kernel • Not an application interface. But sends access return codes to applications. • Can be combined with ACLs • /etc/selinux directory • Old gui system-config-selinux, new gui: policycureutils-gui • BE CAREFUL with changes. Especially deleting files. • See “enforcing=0” or “selinux=0” on Grub edit menu • Protects, files, processes, applications • Based on security “context” An SE Linux security context is comprised of three parts: an "identity", a "role", and a "type" for users and files or "domain" for processes. Default context for root, the role is sysadm_r, and the domain is sysadm_t. • Configuration directory: /etc/selinux directory SELINUX Modes/Types • Enforcing: enable and enforce the SELinux security policy on the system, denying access and logging actions in /var/log/audit/audit.log • Permissive: enabled but will not enforce the security policy, only warn and log actions. Used for troubleshooting SELinux issues • Disabled: SELinux is turned off • Targeted: Specific processes • MLS/STRICT: VERY secure - systemwide SELINUX Policy • Policy: a set of rules the SELinux security engine that defines types for file objects and domains for processes, and user defined (identities) roles to limit the domains that can be entered. • Strict - minimum access • Targeted – specific processes • Unconfined – not under SELINUX control, outside SELINUX context SELINUX Access Control • Type Enforcement (TE): Type Enforcement is the primary mechanism of access control used
Recommended publications
  • Monitoring Network Traffic Using Ntopng
    Monitoring Network Traffic using ntopng Luca Deri <[email protected]> © 2013 - ntop.org Outlook • What are the main activities of ntop.org ? • ntop’s view on network monitoring. • From ntop to ntopng. • ntopng architecture and design. • Using ntopng. • Advanced monitoring with ntopng. • Future roadmap items. "2 © 2013 - ntop.org About ntop.org [1/2] • Private company devoted to development of open source network traffic monitoring applications. • ntop (circa 1998) is the first app we released and it is a web-based network monitoring application. • Today our products range from traffic monitoring, high-speed packet processing, deep-packet inspection, and IDS/IPS acceleration. "3 © 2013 - ntop.org About ntop.org [2/2] • Our software is powering many commercial products... "4 © 2013 - ntop.org ntop Goals • Provide better, yet price effective, traffic monitoring solution by enabling users to have increased traffic visibility. • Go beyond standard metrics and increase traffic visibility by analysing key protocols in detail. • Provide users comprehensive and accurate traffic reports able to offer at a fraction of price what many commercial products do together. • Promote open-source software, while protecting selected IPRs. "5 © 2013 - ntop.org ntop’s Approach to Traffic Monitoring • Ability to capture, process and (optionally) transmit traffic at line rate, any packet size. • Leverage on modern multi-core/NUMA architectures in order to promote scalability. • Use commodity hardware for producing affordable, long-living (no vendor lock), scalable (use new hardware by the time it is becoming available) monitoring solutions. • Use open-source to spread the software, and let the community test it on unchartered places. "6 © 2013 - ntop.org Some History • In 1998, the original ntop has been created.
    [Show full text]
  • Ntopng User's Guide
    ! !!" ! ! ! ! ! ! ! ! ! ! ! ! ntopng User’s Guide" High-Speed Web-based Traffic Analysis and Flow Collection " ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! Version 1.2" August 2014!" ! ! © 1998-14 - ntop.org" ntopng User’s Guide v.1.2 1.Table of Contents" ! 1. What’s New?"......................................................................................3" 2.It’s time for a completely new ntop."............................................................5" 3. Introduction"..............................................................................................6" 3.1. The main design principles"................................................................7" 3.2. What ntopng can do for me?"..............................................................7" 3.3. ntopng Architecture"..........................................................................9" 3.4. Download ntopng"............................................................................10" 4.Using ntopng"...........................................................................................11" 4.1. Compiling ntopng Source Code".......................................................11" 4.2. Installing a Binary ntopng"................................................................11" 4.3. ntopng Command Line Options".......................................................11" 4.4. ntopng on Windows".........................................................................16" 5. API Scripting Lua".....................................................................................18"
    [Show full text]
  • Getting the Most from Your Linux Cluster
    Linux Clusters Institute: Intro to Networking Bill Abbott Sysadmin – Office of Advanced Research Computing Rutgers University August 2019 1 Background Survey • Familiarity with… • Ethernet • InfiniBand /OmniPath • Fibre Channel • TCP/IP • Firewalls and DMZ • Switches and routers • Tools: • Basic: ip/ifconfig, netstat, ethtool, top • Advanced: tcpdump, iptraf-ng, ntop • Performance: iperf3, bbcp, iftop August 2019 2 What are We Trying to Accomplish? • Speed • Latency vs Bandwidth • Reliability • Accessibility • Public • Campus • Inside/outside • VPN • DMZ August 2019 3 TCP/IP Necessary Background Needed: • Public vs Private (RFC 1918) Addressing • 10.xx.xx.xx • 192.168.xx.xx • 172.16-31.xx.xx • Subnetting • Gateway(s) • DNS • IPv6 August 2019 4 A TCP/IP example You work at Company A. You have to contact Company B’s web department to acquire some data. • You have to call on the phone but don’t know the number, just the company name. • You call 411 and ask, and they give you the number. • You call that number and ask for extension 80. • The person who answers says hello, and you say hello. • The person tells you to call extension 443 instead. • The person who answers says hello, and you say hello. • You request the data, and the person reads it to you. • You both say goodbye. August 2019 5 Ethernet vs InfiniBand (IB) and OmniPath (OPA) • Most clusters have both Ethernet and IB or OPA • Advantages and disadvantages of each • (Relatively) slow Ethernet for external access, file copying, etc. • IB and OPA for MPI • RDMA vs IP • Management (PXE,
    [Show full text]
  • Passively Monitoring Networks at Gigabit Speeds Using Commodity Hardware and Open Source Software
    Passively Monitoring Networks at Gigabit Speeds Using Commodity Hardware and Open Source Software Luca Deri, NETikos S.p.A. not only in terms of volume but also in terms of type, as Abstract—Passive network monitoring is a complex these applications redefined the concept of client and server. activity that mainly consists in packet capturing and Usually a server is a host that provides a service to several classification. Unfortunately this architecture often cannot clients. In terms of IP traffic: be applied to gigabit networks, as the amount of data to • A client establishes one or more connections with a capture is too large for the monitoring applications. server, uses the server, and then closes the connections. This paper describes the challenges and lessons learnt by the author while monitoring networks at gigabit speeds and • Servers can exchange data with both clients and above. Finally, it describes an architecture able to servers, whereas clients talk only with servers. successfully monitor networks at high speeds using • Client to server connections are often asymmetrical commodity hardware and open source software. (e.g. in HTTP the client sends little data with respect to the server). Index Terms—Passive Network Monitoring, Packet Capture, NetFlow, sFlow. • Packets such as ICMP port unreachable or TCP packets with the RST flag set are relatively rare, and they are used to indicate that there is a problem somewhere. I. PASSIVE NETWORK MONITORING: STATE OF THE ART • Servers and applications usually listen on well-known ears ago, many computer specialists predicted the need ports. Yto have more bandwidth available because people were supposed to need it mostly for multimedia applications.
    [Show full text]
  • 20 Linux System Monitoring Tools Every Sysadmin Should Know
    20 Linux System Monitoring Tools Every SysAdmi... http://www.cyberciti.biz/tips/top-linux-monitoring-t... About Forum Howtos & FAQs Low graphics Shell Scripts RSS/Feed nixcraft - insight into linux admin work powered by Howtos: Linux / UNIX: Speed up SSH X11 Forwarding - Jan 05, 2011 20 Linux System Monitoring Tools Every SysAdmin Should Know by Vivek Gite on June 27, 2009 · 177 comments Need to monitor Linux server performance? Try these built-in command and a few add-on tools. Most Linux distributions are equipped with tons of monitoring. These tools provide metrics which can be used to get information about system activities. You can use these tools to find the possible causes of a performance problem. The commands discussed below are some of the most basic commands when it comes to system analysis and debugging server issues such as: 1. Finding out bottlenecks. 2. Disk (storage) bottlenecks. 3. CPU and memory bottlenecks. 4. Network bottlenecks. #1: top - Process Activity Command The top program provides a dynamic real-time view of a running system i.e. actual process activity. By default, it displays the most CPU-intensive tasks running on the server and updates the list every five seconds. 1 of 45 01/13/2011 01:26 AM 20 Linux System Monitoring Tools Every SysAdmi... http://www.cyberciti.biz/tips/top-linux-monitoring-t... Fig.01: Linux top command Commonly Used Hot Keys The top command provides several useful hot keys: Hot Usage Key t Displays summary information off and on. m Displays memory information off and on. Sorts the display by top consumers of various system resources.
    [Show full text]
  • Network Traffic and Security Monitoring Using Ntopng and Influxdb
    Network Traffic and Security Monitoring Using ntopng and InfluxDB Luca Deri <[email protected]> @lucaderi © 2018 - ntop.org 1 Part I: Welcome to ntopng © 2018 - ntop.org 2 About Me • (1997) Founder of the ntop.org project with the purpose of creating a simple, and open source web-based traffic monitoring application. • Lecturer at the University of Pisa, Italy. • Author of various open source projects ◦n2n: peer-to-peer layer 2 VPN. ◦nDPI: deep-packet-inspection library. ◦PF_RING: high-speed packet capture and transmission. © 2018 - ntop.org 3 About ntop.org • ntop develops open source network traffic monitoring applications. • ntop (circa 1998) is the first app we released and it is a web-based network monitoring application. • Today our products range from traffic monitoring, high-speed packet processing, deep-packet inspection, and IDS/IPS acceleration (bro and suricata). © 2018 - ntop.org 4 ntop’s Approach to Traffic Monitoring • Ability to capture, process and (optionally) transmit traffic at line rate, any packet size. • Leverage on modern multi-core/NUMA architectures in order to promote scalability. • Use commodity hardware for producing affordable, long-living (no vendor lock), scalable (use new hardware by the time it is becoming available) monitoring solutions. • Use open-source to spread the software, and let the community test it on unchartered places. © 2018 - ntop.org 5 Motivation For Traffic Monitoring If you can’t measure it, you can’t improve it (Lord Kelvin, 1824 – 1907) If you can’t measure it, you can’t manage it (Peter Drucker, 1909 – 2005) © 2018 - ntop.org 6 What Happens in Our Network? • Do we have control over our network? • It’s not possible to imagine a healthy network without a clear understanding of traffic flowing on our network.
    [Show full text]
  • Network Troubleshooting Using Ntopng Luca Deri <[email protected]>
    Network Troubleshooting Using ntopng Luca Deri <[email protected]> Outlook • Part 1: Introduction to ntopng ◦ntopng architecture and design. ◦ntopng as a flow collector. ◦Exploring system activities using ntopng. • Part 2: ntopng+Wireshark Monitoring Use Cases ◦Using ntopng. ◦ntopng and Wireshark. ◦Advanced monitoring with ntopng. ◦Future roadmap items. 2 SharkFest 2015 - Computer History Museum June 22-15, 2015 About ntop.org • ntop develops open source network traffic monitoring applications. • ntop (circa 1998) is the first app we released and it is a web-based network monitoring application. • Today our products range from traffic monitoring, to high-speed packet processing, deep-packet inspection, and IDS/IPS acceleration (snort, Bro and suricata). 3 SharkFest 2015 - Computer History Museum June 22-15, 2015 ntop’s Approach to Traffic Monitoring • Ability to capture, process and (optionally) transmit traffic at line rate, any packet size. • Leverage on modern multi-core/NUMA architectures in order to promote scalability. • Use commodity hardware for producing affordable, long-living (no vendor lock), scalable (use new hardware by the time it is becoming available) monitoring solutions. • Use open-source to spread the software, and let the community test it on unchartered places. 4 SharkFest 2015 - Computer History Museum June 22-15, 2015 Some History • In 1998, the original ntop has been created. • It was a C-based app embedding a web server able to capture traffic and analyse it. • Contrary to many tools available at that time, ntop used a web GUI to report traffic activities. • It is available for Unix and Windows under GPL. 5 SharkFest 2015 - Computer History Museum June 22-15, 2015 ntop Architecture Cisco NetFlow HTTP/HTTPS RRD InMon sFlow 6 SharkFest 2015 - Computer History Museum June 22-15, 2015 Why was ntop obsolete? • Its original LAN-oriented design prevented ntop from handling more than a few hundred Mbit.
    [Show full text]
  • Realtime High-Speed Network Traffic Monitoring Using Ntopng
    Realtime High-Speed Network Traffic Monitoring Using ntopng Luca Deri *†, Maurizio Martinelli*, Alfredo Cardigliano† IIT/CNR* ntop† Pisa, Italy {deri, cardigliano}@ntop.org, {luca.deri, maurizio.martinelli}@iit.cnr.it Abstract—Monitoring network traffic has become monitoring tools that are able to spot bottlenecks and security increasingly challenging in terms of number of hosts, protocol issues while providing accurate information for proliferation and probe placement topologies. Virtualised troubleshooting the cause. This means that while NetFlow/ environments and cloud services shifted the focus from dedicated sFlow can prove a quantitative analysis in terms of traffic hardware monitoring devices to virtual machine based, software traffic monitoring applications. volume and TCP/UDP ports being used, they are unable to This paper covers the design and implementation of ntopng, an report the cause of the problems. For instance, NetFlow/IPFIX open-source traffic monitoring application designed for high- can be used to monitor the bandwidth used by the HTTP speed networks. ntopng’s key features are large networks real- protocol but embedded NetFlow probes are unable to report time analytics and the ability to characterise application that specific URLs are affected by large service time. protocols and user traffic behaviour. ntopng was extensively Today a single application may be based on complex validated in various monitoring environments ranging from cloud-based services comprised of several processes small networks to .it ccTLD traffic analysis. distributed across a LAN. Until a few years ago web Keywords—Traffic monitoring, real-time analytics, open-source applications were constructed using a combination of web software, monitoring of virtual and cloud environments.
    [Show full text]
  • Realtime High-Speed Network Traffic Monitoring Using Ntopng
    Realtime High-Speed Network Traffic Monitoring Using ntopng Luca Deri, IIT/CNR and ntop; Maurizio Martinelli, IIT/CNR; Alfredo Cardigliano, ntop https://www.usenix.org/conference/lisa14/conference-program/presentation/deri-luca This paper is included in the Proceedings of the 28th Large Installation System Administration Conference (LISA14). November 9–14, 2014 • Seattle, WA ISBN 978-1-931971-17-1 Open access to the Proceedings of the 28th Large Installation System Administration Conference (LISA14) is sponsored by USENIX Realtime High-Speed Network Traffic Monitoring Using ntopng ! Luca Deri, IIT/CNR, ntop Maurizio Martinelli, IIT/CNR Alfredo Cardigliano, ntop ! ! ! Abstract facilitating the monitoring of virtual environments. Monitoring network traffic has become increasingly These are only partial solutions because either v5 Net- challenging in terms of number of hosts, protocol pro- Flow (or v9 with basic information elements only) or liferation and probe placement topologies. Virtualised inaccurate, sample-based sFlow are supported. Network environments and cloud services shifted the focus from managers need traffic monitoring tools that are able to dedicated hardware monitoring devices to virtual ma- spot bottlenecks and security issues while providing accurate information for troubleshooting the cause. This chine based, software traffic monitoring applications. This paper covers the design and implementation of means that while NetFlow/sFlow can prove a quantita- ntopng, an open-source traffic monitoring application tive analysis in terms of traffic volume and TCP/UDP designed for high-speed networks. ntopng’s key fea- ports being used, they are unable to report the cause of tures are large networks real-time analytics and the abil- the problems.
    [Show full text]
  • Probius: Automated Approach for VNF and Service Chain Analysis in Software-Defined NFV
    Probius: Automated Approach for VNF and Service Chain Analysis in Software-Defined NFV Jaehyun Nam Junsik Seo Seungwon Shin KAIST KAIST KAIST [email protected] [email protected] [email protected] ABSTRACT 1 INTRODUCTION As the complexity of modern networks increases, virtualization Modern enterprise networks are now in transforming into a new techniques, such as software-defined networking (SDN) and net- era of virtualization. By adopting new virtualization techniques, work function virtualization (NFV), get highlighted to achieve vari- such as software-defined networking (SDN) and network function ous network management and operating requirements. However, virtualization (NFV), enterprise networks are able to reduce their those virtualization techniques (specifically, NFV) have a critical operational/management costs and complexities [55]. For exam- issue that the performance of virtualized network functions (VNFs) ple, CoMb has introduced software-defined middleboxes to replace is easily affected by diverse environmental factors (e.g., various existing hardware middleboxes [56] and we can also find real com- workloads, resource contentions among VNFs), so resulting in un- mercial products relying on these virtualization techniques [22]. expected performance degradations - performance uncertainty. Un- However, as with great power comes great responsibilities, these fortunately, existing approaches mostly provide limited information techniques raise another critical side issue of performance uncer- about a single VNF or the underlying
    [Show full text]
  • Using the Network Security Toolkit
    Using the Network Security Toolkit Ronald Henderson rhenderson@unifiedholdings.com Paul Blankenbaker [email protected] Using the Network Security Toolkit by Ronald Henderson by Paul Blankenbaker Copyright © 2003, 2004 Respective Authors This document provides guidelines for the typical usage of the Network Security Toolkit for common problems. Table of Contents 1. Getting Started ..................................................................................................................1 Check the System Requirements................................................................................1 Downloading And Burning The ISO Image.............................................................3 On A Linux System ............................................................................................3 On A Windows System......................................................................................5 Examine the Boot Options ..........................................................................................5 Booting .................................................................................................................5 Booting Without a DHCP Server......................................................................6 The NST_CDROM_IDE Option (ide) ..............................................................6 Using A Serial Console At Boot........................................................................6 Choose a Access Method.............................................................................................9
    [Show full text]
  • Ntop: Beyond Ping and Traceroute
    Ntop: beyond Ping and Traceroute Luca Deri1 2 and Stefano Suin2 The task of network management is becoming increasingly complex due to the increasing number of net- worked computers running different operating systems and speaking various network protocols. Most of network monitoring and diagnostic tools such as ping and traceroute are suitable just for tackling simple connectivity problems. Complex network problems often need to be addressed using rather expensive management tools or probes affordable only by mid-large companies. This paper covers the design and the implementation of ntop, an open-source web-based network usage monitor that enables users to track relevant network activities including network utilisation, established connections, network protocol usage and traffic classification. ntop’s portability across various platforms, its support of many network media, ease of use and lightweight CPU utilisation makes it suitable for peo- ple who want to monitor their network without having to adopt a sophisticated yet expensive management platform. 1 Background and Motivation Popular tools such as ping and traceroute [16] have been used for years now for monitoring and de- bugging simple network connectivity issues. Although these tools are often sufficient for tackling simple problems, they have been created for monitoring network activities between two hosts. In cases where the network problem to address is due to the interaction of traffic originated by multiple hosts, these tools show their limits. Network sniffers such as tcpdump [9] or snoop are quite useful for analysing network traffic but off-line applications are often necessary for correlating captured data and identifying the network flows.
    [Show full text]