Perl Programming Chia-Hung Tsai Li-an Lee

Slides:



Advertisements
Similar presentations
Transfer Content to a Website What is FTP? File Transfer Protocol FTP is a protocol – a set of rules Designed to allow files to be transferred across.
Advertisements

1 Web Servers / Deployment Alastair Dawes Original by Bhupinder Reehal.
1 Configuring Internet- related services (April 22, 2015) © Abdou Illia, Spring 2015.
1 Configuring Web services (Week 15, Monday 4/17/2006) © Abdou Illia, Spring 2006.
13 February Building a Web Page. Links Links: One always links to an anchor point Every page has an implicit anchor point at the start In addition, can.
How Clients and Servers Work Together. Objectives Learn about the interaction of clients and servers Explore the features and functions of Web servers.
CP476 Internet Computing Browser and Web Server 1 Web Browsers A client software program that allows you to access and view Web pages on the Internet –Examples.
Lesson 19 Internet Basics.
Web Client/Server Communication A290/A590, Fall /09/2014.
1 Enabling Secure Internet Access with ISA Server.
Remote Accessing Your Home Computer Using VNC and a Dynamic DNS Name.
Mozilla Thunderbird Roderick Bautista Cheryl Knott Gyeong Lee Lee Raynes Kelly Santos.
Linux Operations and Administration
Team - CA CSCI 5234 Web Security.  Collect and document information of ecommerce security mechanisms.  Using: wiki engine for collaboration.
2440: 141 Web Site Administration Remote Web Server Access Tools Instructor: Enoch E. Damson.
Accessing the Internet with Anonymous FTP Transferring Files from Remote Computers.
Web Server Configuration Alokes Chattopadhyay Computer & Informatics Centre IIT Kharagpur.
1 Homework / Exam Exam 3 –Solutions Posted –Questions? HW8 due next class Final Exam –See posted schedule Websites on UNIX systems Course Evaluations.
Configuring a Web Server. Overview Overview of IIS Preparing for an IIS Installation Installing IIS Configuring a Web Site Administering IIS Troubleshooting.
Penetration Testing Training Day Capture the Flag Training.
Apache Server The Apache Server Apache is a WWW server that implements the HTTP protocol. Apache runs as a daemon. This means that it is a resident.
INE1020 Introduction to Internet Engineering Tutorial 8 All about Lab 6.
Web Authoring Rico Yu. Ch.11 Web Posting and Web Hosting Web Host Types of Web Host Web Posting.
CPSC203 Introduction to Computers Lab 69 By Jie Gao.
Managing your Apache HTTP Web Server Content with mod_dav and mod_ftp William A. Rowe, Jr. ASF Member, httpd and APR projects Sr. Software Engineer, Covalent.
TELE 301 Lecture 17: FTP … 1 Overview Last Lecture –Remote Terminal Services (SSH) This Lecture –File transfer and web caching Next Lecture –Directory.
What is and How Does it Work?  Electronic mail ( ) is the most popular use of the Internet. It is a fast and inexpensive way of sending messages.
Apache HTTP mod_ftp William A. Rowe, Jr. ASF Member, httpd and APR projects Sr. Software Engineer, Covalent Technologies.
An Overview of the Internet: The Internet: Then and Now How the Internet Works Major Features of the Internet.
Report task. Security risks such as hacking, viruses and id theft Security prevention such as Firewalls, SSL and general security standards The laws which.
Windows PostgreSQL installation. Pre-requisites Define a local non-administrative Windows account (eg. postgres) Must install on Console, not through.
Apache Web Server Administration Syed Iqbal Syed Iqbal.
1 DMG900 + EXP1015 (GSM-GPRS) DMG900 + EXP1015 Sending SMS: to modify REM variables status and required plant information Receiving SMS: plant status,
1 Session 1: Introduction to PHP & MySQL iNET Academy Open Source Web Development.
Homework 02 NAT 、 DHCP 、 Firewall 、 Proxy. Computer Center, CS, NCTU 2 Basic Knowledge  DHCP Dynamically assigning IPs to clients  NAT Translating addresses.
Group Name: PNT Group Members: Prabin Joshi and Ngoc Vu.
Accessing Evitech network via FTP by Susan Jansson.
 How a computer works  The Internet  Browsers  Web Pages.
Field Trip #24 Setting Up a Web Server. Apache Apache is one of the most successful open source web servers In 1995 the most popular web server was the.
Website Design:. Once you have created a website on your hard drive you need to get it up on to the Web. This is called "uploading“ or “publishing” or.
Web Server Apache PHP HTTP Request User types URL into browser Address resolved if nec. We use directly Most browsers request.
File Transfer Protocol (FTP) CIS 130. File Transfer Protocol (FTP) Copy files from one internet host (server) to your account on another host –Need domain.
FileZilla An open-source success story. Mark Swelstad – Itec400, Winter 2007.
Configuring Drupal Information Systems 337 Prof. Harry Plantinga.
CITA 310 Section 4 Apache Configuration (Selected Topics from Textbook Chapter 6)
Integrity Check As You Well Know, It Is A Violation Of Academic Integrity To Fake The Results On Any.
How Web Servers and The Internet Work The Basic Process.
Week-10 (Lecture-1) Web Building STEPS OF BUILDING: create web pages using HTML add a consistent style using CSS add computer code using JavaScript add.
How FTP works ? & Send you web pages to server Speaker : Frank Liu.
1 Chapter 1 INTRODUCTION TO WEB. 2 Objectives In this chapter, you will: Become familiar with the architecture of the World Wide Web Learn about communication.
Web and Proxy Server.
Web Technology Seminar
NAT、DHCP、Firewall、FTP、Proxy
Enabling Secure Internet Access with TMG
COP 4343 Unix System Administration
Homework 4.
Some bits on how it works
FTP - File Transfer Protocol
Using Fetch to Upload Your Website Source Files
CISC103 Web Development Basics: Web site:
Topic 5: Communication and the Internet
Configuring Internet-related services
Web Servers / Deployment
Module P3 Practical: Building a webapp in nodejs and
Hypertext Transfer Protocol (HTTP)
System Administration HW3 - File System Server
System Administration Practice Homework2 - File System Server
System Administration HW2 - File System Server
MONDAY, NOVEMBER 12th Typing.com 10 minutes.
Introduction To Building a Web Site
Presentation transcript:

Perl Programming Chia-Hung Tsai chiahung.na@csie.nctu.edu.tw Li-an Lee lianlee.na@csie.nctu.edu.tw

Subject Use perl to parse the files, ftp log, auth.log, and httpd-access.log Show some analysis information in your DocumentRoot Find out some bad guys’ IP and add the deny rules in your firewall

Prerequisite Firewall Ftp server Apache server Base on hwk1 You can use the FreeBSD default ftp server, ftpd, or use the others ftp server in the ports, like proftpd, pure-ftpd, etc. Apache server Build up a web server. You can use the apache1.3 or apache2 for your apache server

Detail Ftp Use perl to parse the ftp log, and show the rank of the client IP about the statistics of the total download flow on your DocumentRoot If some guys’ total download flow over a threshold, add the deny rules in your firewall rule, and also show the denied client IP on your DocumentRoot auth.log Use perl to parse the auth.log, and show the rank of the client IP about the density value of the guessing password times on your DocumentRoot If some guys’ density value of the guessing password times are over the threshold, add the deny rules in your firewall rule, and also show the denied client IP on your DocumentRoot

Detail (con’d) Apache DocumentRoot Use perl to parse the httpd-access.log, and show the rank of the client IP about the access times on your DocumentRoot If some guys’ access times are over the threshold, add the deny rules in your firewall rule, and also show the denied client IP on your DocumentRoot DocumentRoot Show your result about the statistics and denied IP to a static page Put this static page on your DocumentRoot The showing way of this page is depended on you, and just remember to include the statistics and denied IP

Due day Before 4/10, you all must email to chiahung.na@csie.nctu.edu.tw and the title is like this, “[NA_HWK2 9317561 蔡佳宏]”, and the content is your log files path, like “/var/log/httpd-access.log” And 4/17 is the due day

Demo Demo For apache, TAs will use a script to fetch files on your apache server, maybe more than number of 10 thousands For FTP, TAs will go to your ftp server to fetch a big file, so you must set your ftp threshold a lower value For auth.log, TAs will be a bad guys to try your machines account and password, so you must set your auth density threshold a lower value TAs will use the different IP to access your service, and connect to your DocumentRoot to observe your result on 4/18 and 4/19 If you have any question, you can post on the newsgroup “csie.course.netadm”, and then TAs or other students can help you to solve it