README
上传用户:sunrenlu
上传日期:2022-06-13
资源大小:1419k
文件大小:2k
- WEBSERV - Web server, FTP server, SNMP traps, and various other network features
- This is a sample program created with eRTOS (www.ertos.com) which
- demonstrates a relatively complex application running over DOS. Several
- users can TELNET in simultaneously, and you can FTP in and transfer files.
- Most interesting is the Web console which uses userid/password
- authentication and then lets you set parameters and perform operations
- like SYSLOG, send SNMP traps, send an Email notification and more.
- Hint: you have to press the CHANGE button to save the settings before you
- can test SYSLOG, SNMP or Email.
- Also notice that webserv can create dynamic graphs using either direct
- graphics generation (GIF) or Java. Both are demonstrated here.
- To see this demo operate, you must first set a few parameters in TCP.CFG.
- Values are needed for:
- IP address
- eg. ip=204.225.252.2
- Network Mask
- eg. netmask=255.255.255.0
- Router
- eg. gateway=204.225.252.1
- Optional Nameserver
- eg. nameserver=204.225.252.1
- a Unix or NT machine to forward Email
- eg. smtp.gateway=204.225.252.1
- this machine's DNS name
- eg. smtp.hostname=maggot.ertos.com
- the password for FTPing in
- eg. ftpd.password=fragglerock
- the host to receive SYSLOG notifications
- eg. syslog.host=204.225.252.10
- address whom we Email at each reboot
- eg. email.notify=erick@ertos.com
- address of SNMP trap daemon
- eg. snmptrap.host=204.225.252.20
- an SMTP relay host (Unix or NT) eg. 204.225.252.2 which will forward
- the email
- eg. smtp.gateway=204.225.252.20
- Userid and password for Web console logins
- eg. userid=joe
- eg. password=blow
- The complete source code for this application and the required libraries
- is included in the eRTOS distribution package (www.ertos.com). This entire
- application required less than 600 lines of custom C code.