• R/O
  • HTTP
  • SSH
  • HTTPS

Repository summary

Tags
No Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

OpengateM Source Repository


Recent Commits RSS

Rev. Time Author Message
bd4ae2f 2019-08-23 10:27:26 watanaby master Fixed link error
13371e8 2016-10-22 13:54:33 watanaby fixed error at ndp request
2493502 2016-07-04 11:45:23 watanaby added a null pointer check in alarm
78b23ff 2016-06-27 09:52:48 watanaby auto stop/start of daemon at installation
58e834a 2016-06-26 11:31:34 watanaby removed flag for log option
d7b1fa3 2016-06-25 18:52:26 watanaby added cleanup of emacs autosave in Makefile
db30777 2016-06-25 17:44:40 watanaby added padding in popup. fix mysql query in acquiring log ...
b8c1333 2016-06-24 17:45:47 watanaby adjust logmode and logtable
53693ec 2016-06-24 11:31:55 watanaby modify missing in html
47d56ff 2016-06-24 11:05:36 watanaby restored optional log table in management db

Branches

Name Rev. Time Author Message
master bd4ae2f 2019-08-23 10:27:26 watanaby Fixed link error

README

This archive contains OpengateM sources & documentations

Copyright (C) 2011 Opengate Project Team
      Written by Yoshiaki Watanabe

This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.

Email:
 watanaby@users.osdn.jp
 otani@cc.saga-u.ac.jp
support page: 
 http://www.cc.saga-u.ac.jp/opengate/opengatem/index.html.en
 http://opengatem.osdn.jp/index.html.en
 
-----------------------------------------------------
install documentation is in doc
-----------------------------------------------------

Content of this archive

README		This file
conf		Configuration files
doc		Documentations
ezxml		Library by other author
html		HTML files for management systems
mdsrc		C sources of daemon 'opengatemd'
mngsrc		C sources of management systems
phpsrc		PHP sources
rc.d		Sample script for rc.d
sqlscript	Scripts to access SQL
---------------------------
conf
  ipfwctrlmd.pl.sample      sample perl script for ipfw control
  opengatemd.conf.sample    sample conf file for opengatem daemon program
  opengatemmng.conf.sample  sample conf file for opengatem management programs
  rc.firewall.sample        sample firewall script
  warningmail.sample        sample mail for expiration warning (japanese)
  warningmail.sample.en     sample mail for expiration warning (english)

html
  editstring.js             Javascript for editting fields in updating page
  index.html.var            top var file for document root
  macchk.js                 JavaScript for UI in mac checking page
  showlog.js                Javascript for showing log in updating page
  en
    macauth.html            template of page for authentication request
    macchk.html             template of page for checking mac address
    macdeny.html            template of page for showing deny message
    macfwd.html             template of page for forwarding to auth
    macreg.html             template of page for mac registration
    macreturn.html          template of page for error return
    macupdate.html          template of page for mac updating page
    warning.php             PHP script to show message at jumping from opengate to opengatem
  ja
    same as en

mdsrc
  error.c                   control syslog output
  getparam.c                get parameter value from conf file
  ipfw.c                    control firewall
  macdbcache.c              control cache of mac address table in MySQL
  Makefile                  make file
  managementdb.c            control management DB (MySQL) 
  opengatemd.c              main routine of opengatem daemon
  opengatemd.h              header file
  packetcache.c             control cache of captured packet
  pcap.c                    control of PCAP library
  session.c                 control the session for using devices
  ttlcheck.c                check TTL(time to live) of packet
  udpserv.c                 control UDP server for update reporting
  util.c                    misc utilities
  watchlistcache.c          control cache of watchlist table in MySQL (specific reporting is needed)
  workdb.c                  control work DB (SQLite)

mngsrc
  alarms.c                  control of signal alarms
  auth-ftps.c               control authenticaion with FTPS 
  auth-ldap.c               control authenticaion with LDAP 
  auth-pam.c                control authenticaion with PAM 
  auth-pop3s.c              control authenticaion with POP3S 
  auth-rad.c                control authenticaion with RADIUS 
  auth.c                    entry routine for authenticaion 
  cgi.c                     control CGI
  error.c                   control syslog output
  getmac.c                  get mac address from arp
  getparam.c                get parameter values from conf file
  ipfw.c                    control firewall
  Makefile                  make file
  managementdb.c            control management DB (MySQL)
  messages.c                manage messages in english and japanese
  opengatemchk.c            main routine for CGI of mac check page
  opengatemfwd.c            main routine for CGI of forwarding page
  opengatemmail.c           main routine to send warning mail
  opengatemmng.h            header file for management programs
  opengatemown.c            main routine for CGI of own-control page (register/update by oneself)
  opengatemreg.c            main routine for CGI of registration page
  opengatemup.c             main routine for CGI of updating page
  proc.c                    coltrol of child process used in mac check page
  queue.c                   control address queue
  udpcli.c                  UDP client to send update info to daemon
  util.c                    misc utilities
  workdb.c                  control work DB (SQLite)
  ** caution: though same name exist in mdsrc and mngsrc, do not merge these files. These are independent.
phpsrc
  sendreportmail.php        script to send report at detecting a packet for the device in watchlist. co-opetare with syslog
  showlog.php               page for showing use log
  showtable.php             page for showing content of tables in MySQL
  updatemactable.php        page for editing mac address table
  updatevendortable.php     script to insert vendor list into vendor table in MySQL

sqlscript
 createtablescript         script to creat tables in MySQL at initialization
 insertmacscript           script to insert mac address into mac table in MySQL
 updatescript1             sample script for management of mac address table 
 updatescript2             sample script for management of mac address table 
 updatescript3             sample script for management of mac address table 
 updatescript4             sample script for management of mac address table