[Netadm-devel] gwc AUTHORS,1.2,1.3 CHANGES,1.5,1.6 FILES,1.2,1.3 INSTALL,1.3,1.4 Makefile,1.2,1.3 Ma
Status: Beta
Brought to you by:
linuxpark
From: linuxpark <lin...@us...> - 2006-04-30 18:47:30
|
Update of /cvsroot/netadm/gwc In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv6021 Modified Files: AUTHORS CHANGES FILES INSTALL Makefile Makefile.tmpl README.en README.ko Log Message: DEL: gwclib/syscrypto.c: remove LP5 for more good hash value. MOD: Makefile.tmpl: make disable -g flag and disable DEBUG, enable syslog as default. ADD: Makefile: add gwcsh and pf as subdirectories of recursive make. MOD: scripts/gwc: remove gwcguid MOD: scripts/install.sh: add gwcsh install routine and some modifying Index: FILES =================================================================== RCS file: /cvsroot/netadm/gwc/FILES,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** FILES 6 Apr 2006 15:15:47 -0000 1.2 --- FILES 30 Apr 2006 18:47:24 -0000 1.3 *************** *** 2,6 **** # # Title : FILES ! # Author : Jeho-Park <lin...@gm...> # Created date : 2006. 01. 31. (thu) 01:40:38 KST # Description : the tree infomation of source files --- 2,6 ---- # # Title : FILES ! # Author : Jeho-Park <de...@sk...> # Created date : 2006. 01. 31. (thu) 01:40:38 KST # Description : the tree infomation of source files *************** *** 29,34 **** gwclib/confproc.c /* main proc */ gwclib/conftab.c /* proc map */ ! gwcguid/* /* gtk+ GUI code */ gwcadmd/main.c /* daemon for AP or GW communication in real time by period */ /* helper scripts */ --- 29,36 ---- gwclib/confproc.c /* main proc */ gwclib/conftab.c /* proc map */ ! gwcguid/* /* absolete, gtk+ GUI code */ gwcadmd/main.c /* daemon for AP or GW communication in real time by period */ + gwccli/main.c /* cli command */ + gwcsh/*.c /* gwc command shell */ /* helper scripts */ Index: Makefile.tmpl =================================================================== RCS file: /cvsroot/netadm/gwc/Makefile.tmpl,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** Makefile.tmpl 23 Apr 2006 06:53:29 -0000 1.5 --- Makefile.tmpl 30 Apr 2006 18:47:24 -0000 1.6 *************** *** 1,4 **** # - # # Title : Makefile.tmpl # Author : Jeho-Park <lin...@gm...> --- 1,3 ---- *************** *** 21,34 **** #USR_DEBUG_LEVEL += -DUSE_IF_NETMASK #USR_DEBUG_LEVEL += -DHAVE_SOCKADDR_SA_LEN - #USR_DEBUG_LEVEL += -DDEBUG #USR_DEBUG_LEVEL += -DTC_DEBUG USR_DEBUG_LEVEL += -DUSE_SYSLOG # DON'T USE LIMIT CLIENT POWER ! SIGPW_CONTROL += -DCCK_PW_CONTROL ! SIGPW_CONTROL += -DOFDM_PW_CONTROL ! SIGPW_CONTROL += -DCLIENT_PW_CONTROL ! CFLAGS = -g -Wall $(USR_DEBUG_LEVEL) $(SIGPW_CONTROL) GTKLDFLAGS = `pkg-config --libs gtk+-2.0` GTKCFLAGS = `pkg-config --cflags gtk+-2.0` --- 20,33 ---- #USR_DEBUG_LEVEL += -DUSE_IF_NETMASK #USR_DEBUG_LEVEL += -DHAVE_SOCKADDR_SA_LEN #USR_DEBUG_LEVEL += -DTC_DEBUG + #USR_DEBUG_LEVEL += -DDEBUG USR_DEBUG_LEVEL += -DUSE_SYSLOG # DON'T USE LIMIT CLIENT POWER ! #SIGPW_CONTROL += -DCCK_PW_CONTROL ! #SIGPW_CONTROL += -DOFDM_PW_CONTROL ! #SIGPW_CONTROL += -DCLIENT_PW_CONTROL ! CFLAGS = -O -Wall $(USR_DEBUG_LEVEL) $(SIGPW_CONTROL) GTKLDFLAGS = `pkg-config --libs gtk+-2.0` GTKCFLAGS = `pkg-config --cflags gtk+-2.0` *************** *** 40,41 **** --- 39,41 ---- LIBSSL = ../elib/libcrypto.a ../elib/libssl.a LIBSYS = ${LIBAPC} ${LIBSNMP} ${LIBSSL} + Index: README.ko =================================================================== RCS file: /cvsroot/netadm/gwc/README.ko,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** README.ko 6 Apr 2006 15:15:47 -0000 1.4 --- README.ko 30 Apr 2006 18:47:24 -0000 1.5 *************** *** 1,7 **** ! gwc IPv4 router Á¦¾î¸ðµâ ¼³Ä¡ ¹× À¯ÀÇ »çÇ× ============================================ ! ! ! 2006. 2. 5, ¹Ú Á¦È£, lin...@gm... --- 1,6 ---- ! gwc IPv4 router Á¦¾î¸ðµâ ¼³Ä¡ ============================================ ! 2006. 05. 01. (¿ù) 03:36:32 KST ! ¹Ú Á¦È£, <de...@sk...> *************** *** 12,17 **** 3. ¼Ò½º ÄÄÆÄÀÏ 4. ¼³Ä¡ ¹× ¼³Á¤ - 5. ¼³Ä¡µÈ ÇÁ·Î±×·¥ ¸ñ·Ï ¼³¸í - 6. À¯ÀÇ »çÇ× --- 11,14 ---- *************** *** 32,38 **** 2. ±âÁ¸ gwc AP Á¦¾î¸ðµâ ÇÁ·Î±×·¥ ¾ðÀνºÅç ------------------------------------------------------ ! ! #cd {gwc ¼Ò½º µð·ºÅ丮} ! #make uninstall --- 29,35 ---- 2. ±âÁ¸ gwc AP Á¦¾î¸ðµâ ÇÁ·Î±×·¥ ¾ðÀνºÅç ------------------------------------------------------ ! ! #cd {gwc ¼Ò½º µð·ºÅ丮} ! #make uninstall *************** *** 41,45 **** ------------------------------------------------------ ! #make clean && make --- 38,42 ---- ------------------------------------------------------ ! #make clean && make *************** *** 48,155 **** ------------------------------------------------------ ! root@apc:~/wrk/gwc# make install ! Checking user's permission... ! Linux Verified ! ! ! ! 4-1. ÇöÀç Ä¿³ÎÀÌ 2.6.x ÀÎ °æ¿ì y ÀÔ·Â ! ! Do your kernel 2.6.x in directory:[ /usr/src/linux ] (y/n)? y ! make[1]: Entering directory `/root/wrk/gwc/pf' ! make -C /lib/modules/2.6.11/build SUBDIRS=/root/wrk/gwc/pf modules ! make[2]: Entering directory `/usr/src/linux-2.6.11' ! Building modules, stage 2. ! MODPOST ! make[2]: Leaving directory `/usr/src/linux-2.6.11' ! make[1]: Leaving directory `/root/wrk/gwc/pf' ! Do you have the 802.1xx supported AP ? (y/n) y ! ! ! 4-2. AP±â¿¡ SNMP community»ý¼ºÇÑ »óÅÂÀÎ °æ¿ì y ÀÔ·Â ! ! We Can not support SNMP v2.0 and above version yet. ! Do you have a valid SNMP(v1.0) community user account ? (y/n) y ! ! /* AP Á¦¾î¸ðµâ (gwc) ¿¡¼ ÇÊ¿ä·Î ÇÏ´Â Ä¿³Î ¸ðµâ È®ÀÎ */ ! /lib/modules/2.6.11/kernel/net/ipv4/netfilter/ip_tables.ko found ... ! /lib/modules/2.6.11/kernel/net/ipv4/netfilter/iptable_nat.ko found ... ! /lib/modules/2.6.11/kernel/net/sched/sch_cbq.ko found ... ! /lib/modules/2.6.11/kernel/net/sched/cls_tcindex.ko found ... ! /lib/modules/2.6.11/kernel/net/sched/cls_u32.ko found ... ! /lib/modules/2.6.11/kernel/net/sched/sch_prio.ko found ... ! /lib/modules/2.6.11/kernel/net/sched/sch_sfq.ko found ... ! ! ! 4-3. community ¸í ÀÔ·Â ! ! What is the SNMP(v1.0) community name of your AP ? public ! is this correct [community name :public] (y/n)? y ! Does this community { called public } have read and write permission in SNMPv1.0 ? (y/n) y ! ! ! 4-4. AP ³×Æ®¿öÅ© Á¤º¸ ÀÔ·Â ! ! What is IP address of your AP ? 192.168.200.199 ! What is netmask of your AP { 0 ~ 32 } ? 24 ! [AP Network :192.168.200.199/24] is this correct ? (y/n) y ! ! ... ! ! Áß°£ »ý·« ! ... ! ! ! ! 5. ¼³Ä¡µÈ ÇÁ·Î±×·¥ ¸ñ·Ï ¼³¸í ! ------------------------------------------------------ ! ! ! The Summary of this installation. ! ------------------------------------ ! The main path of this installation: /usr/local/gwc ! ! Installed Configuration file ! ---------------------------- ! /usr/local/gwc/etc/config ! ! Installed program list ! ---------------------------- ! /usr/local/sbin/gwc { Main start|stop script } ! /usr/local/sbin/gwcadmd { Admin main Daemon } ! /usr/local/sbin/gwcguid { Guid Daemon } ! /usr/local/sbin/gwccli { Cli command being able to replace of gwcguid } ! /usr/local/gwc/modules/pf.ko { Network kernel module for blocking host or modify TCP header ! ! Log ! ---------------------------- ! /usr/local/gwc/log ! ! ! ! 6. À¯ÀÇ »çÇ× ! ------------------------------------------------------ ! ! 6-1. gwc ½ºÅ©¸³À¸·Î gwc ½Ã½ºÅÛ ½ÃÀÛ ½Ã °ü·Ã GUI°¡ ¶ßÁö ¾Ê´Â °æ¿ì ? ! ! gwc ÇÁ·Î±×·¥ÀÌ Á¤»óÀûÀ¸·Î ½ÃÀ۵Ǿú´Ù¸é gwcadmd, gwcguidµÎ°³ÀÇ µ¥¸óÀÌ ¶ç¾îÁ® ÀÖ´Â °ÍÀ» ! È®ÀÎ ÇÒ ¼ö ÀÖÀ¸¸ç, ±× Áß ¾î´À µ¥¸óÀÌ¶óµµ ¶ç¾îÀÖÁö ¾ÊÀº °æ¿ì ¾Æ·¡¿Í °°ÀÌ ½Ã½ºÅÛÀ» Àç ½ÃÀÛÇÑ´Ù. ! #gwc stop ! /* ºñ Á¤»óÀûÀÎ °æ¿ì gwcguid, gwcadmd Áß gwcadmdµ¥¸óÀÌ ! ¿©ÀüÈ÷ ½ÇÇà ÁßÀÏ °æ¿ì kill¸í·ÉÀ¸·Î °Á¦ Á¾·á ½ÃŲ´Ù */ ! #gwc start ! ! ! 6-2. Can't query to AP ¿¡·¯À©µµ¿ì Ãâ·Â ½Ã ? - /usr/local/gwc/etc/config ¼³Á¤ ÈÀÏ »ó¿¡ qry_state, ap_ip, ap_mask, community Ç׸ñÀÌ - ½ÇÁ¦ »óȲ°ú °°Àº Áö È®ÀÎ ÇÏ¸ç ¸¸¾à ¼³Á¤ ÈÀÏ¿¡ ¹®Á¦ÀÏ ½Ã´Â ¾Æ·¡¿Í °°Àº ÇüÅ·ΠÀÔ·ÂÇÑ´Ù. - #********** config ¿¹Á¦ ************ - #SYS - [qry_state] 3 - [ap_ip] 192.168.200.199 - [ap_mask] 24 - [community] public - - ´Ü! À§ÀÇ ³»¿ë¿¡¼ [Ç׸ñ¸í] °ú value´Â tab¹®ÀÚ¸¸ÀÌ µé¾î°¡µµ·Ï ÁÖÀÇÇÑ´Ù. --- 45,50 ---- ------------------------------------------------------ ! # make install Index: README.en =================================================================== RCS file: /cvsroot/netadm/gwc/README.en,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** README.en 6 Apr 2006 15:15:47 -0000 1.4 --- README.en 30 Apr 2006 18:47:24 -0000 1.5 *************** *** 1,7 **** README for gwc ============================== ! ! ! 2006. 01. 12. (thu) 03:16:10 KST, lin...@gm... --- 1,6 ---- README for gwc ============================== ! 2006. 05. 01. (mon) 03:36:08 KST ! jeho-park <de...@sk...> *************** *** 10,18 **** 1. Requirements. 2. what is gwc. ! 3. uninstallation of existing gwc [ skip this step if you did not install this program at all ] ! 4. compile ! 5. installation and setup ! 6. program list of installation. ! 7. note --- 9,15 ---- 1. Requirements. 2. what is gwc. ! 3. compile ! 4. installation and setup ! 5. uninstallation *************** *** 61,184 **** ! 3. Uninstallation of existing gwc ! [ skip this step if you did not install this program at all ] ! --------------------------------------------------------------------- ! ! #cd { source directory of the gwc } ! #make uninstall ! ! ! ! 4. compilation. ! --------------------------------------------------------------------- ! ! #make clean && make ! ! ! ! 5. installation and setup. --------------------------------------------------------------------- ! ! root@gwc:~/wrk/gwc# make install ! Checking user's permission... ! Linux Verified ! ! ! ! 5-1. enter 'y' if your vanilla kernel version 2.6.x ! ! Do your kernel 2.6.x in directory:[ /usr/src/linux ] (y/n)? y ! make[1]: Entering directory `/root/wrk/gwc/pf' ! make -C /lib/modules/2.6.11/build SUBDIRS=/root/wrk/gwc/pf modules ! make[2]: Entering directory `/usr/src/linux-2.6.11' ! Building modules, stage 2. ! MODPOST ! make[2]: Leaving directory `/usr/src/linux-2.6.11' ! make[1]: Leaving directory `/root/wrk/gwc/pf' ! Do you have the 802.1xx supported AP ? (y/n) y ! ! ! 5-2. enter 'y' if you make a SNMP community already in target cisco AP. ! if you have not made this comunity yet, first make this. ! ! We Can not support SNMP v2.0 and above version yet. ! Do you have a valid SNMP(v1.0) community user account ? (y/n) y ! ! /* checking needed kernel modules */ ! /lib/modules/2.6.11/kernel/net/ipv4/netfilter/ip_tables.ko found ... ! /lib/modules/2.6.11/kernel/net/ipv4/netfilter/iptable_nat.ko found ... ! /lib/modules/2.6.11/kernel/net/sched/sch_cbq.ko found ... ! /lib/modules/2.6.11/kernel/net/sched/cls_tcindex.ko found ... ! /lib/modules/2.6.11/kernel/net/sched/cls_u32.ko found ... ! /lib/modules/2.6.11/kernel/net/sched/sch_prio.ko found ... ! /lib/modules/2.6.11/kernel/net/sched/sch_sfq.ko found ... ! ! ! 5-3. community ! ! What is the SNMP(v1.0) community name of your AP ? public ! is this correct [community name :public] (y/n)? y ! Does this community { called public } have read and write permission in SNMPv1.0 ? (y/n) y ! ! ! 5-4. Cisco AP infomation. ! ! What is IP address of your AP ? 192.168.200.199 ! What is netmask of your AP { 0 ~ 32 } ? 24 ! [AP Network :192.168.200.199/24] is this correct ? (y/n) y ! ! ... ! snip ! ... ! 6. program list of installation. --------------------------------------------------------------------- ! ! The Summary of this installation. ! ------------------------------------ ! The main path of this installation: /usr/local/gwc ! ! Installed Configuration file ! ---------------------------- ! /usr/local/gwc/etc/config ! ! Installed program list ! ---------------------------- ! /usr/local/sbin/gwc { Main start|stop script } ! /usr/local/sbin/gwcadmd { Admin main Daemon } ! /usr/local/sbin/gwcguid { Guid Daemon } ! /usr/local/sbin/gwccli { Cli command being able to replace of gwcguid } ! /usr/local/gwc/modules/pf.ko { Network kernel module for blocking host or modify TCP header ! ! gwc log ! ---------------------------- ! /usr/local/gwc/log ! ! 7. note. --------------------------------------------------------------------- ! 7-1. start gwc ! #gwc start ! ! 7-2. stop gwc ! #gwc stop ! ! 7-3. why the AP must be cisco's ? ! because this gwc program use cisco enterprise defined mip and above all, the admin daemon called 'gwcadmd' query your cisco AP from start time and this daemon get some specific AP infomations so if your AP is not CISCO we can't not sure perfect operation of this gwc. ! ! 7-4. if you find this window message "Can't query to AP ... ?" ! ! i think you must check whether the infomation of AP is correct. ! this is possible by accessing and modifying configuratioin file like below ! ! #please note content name ! #sample configuration ! #/usr/local/gwc/etc/config ! #SYS ! [qry_state] {tab key} 3 ! [ap_ip] {tab key} 192.168.200.199 ! [ap_mask] {tab key} 24 ! [community] {tab key} public ! --- 58,74 ---- ! 3. compilation. --------------------------------------------------------------------- ! #make clean && make ! 4. installation and setup. --------------------------------------------------------------------- ! root@gwc:~/wrk/gwc# make install ! 5. Uninstallation. --------------------------------------------------------------------- ! #cd { source directory of the gwc } ! #make uninstall Index: Makefile =================================================================== RCS file: /cvsroot/netadm/gwc/Makefile,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** Makefile 6 Apr 2006 15:15:47 -0000 1.2 --- Makefile 30 Apr 2006 18:47:24 -0000 1.3 *************** *** 10,16 **** gwclib \ gwccli \ gwcadmd \ gwcguid \ ! sample all: do-all --- 10,18 ---- gwclib \ gwccli \ + gwcsh \ gwcadmd \ gwcguid \ ! sample \ ! pf all: do-all Index: INSTALL =================================================================== RCS file: /cvsroot/netadm/gwc/INSTALL,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** INSTALL 6 Apr 2006 15:15:47 -0000 1.3 --- INSTALL 30 Apr 2006 18:47:24 -0000 1.4 *************** *** 1,6 **** # - # # Title : INSTALL ! # Author : Jeho-Park <lin...@gm...> # Created date : 2006. 02. 08. (wen) 02:21:58 KST # Description : The manual for installation. --- 1,5 ---- # # Title : INSTALL ! # Author : Jeho-Park <de...@sk...> # Created date : 2006. 02. 08. (wen) 02:21:58 KST # Description : The manual for installation. Index: AUTHORS =================================================================== RCS file: /cvsroot/netadm/gwc/AUTHORS,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** AUTHORS 6 Apr 2006 15:15:47 -0000 1.2 --- AUTHORS 30 Apr 2006 18:47:24 -0000 1.3 *************** *** 2,6 **** # # Title : AUTHORS ! # Author : Jeho-Park <lin...@gm...> # Created date : 2006. 01. 31. (thu) 01:40:38 KST # Description : authors and contributors --- 2,6 ---- # # Title : AUTHORS ! # Author : Jeho-Park <de...@sk...> # Created date : 2006. 01. 31. (thu) 01:40:38 KST # Description : authors and contributors *************** *** 8,12 **** #ident "@(#) $Header$" ! Jeho Park : lin...@gm... --- 8,12 ---- #ident "@(#) $Header$" ! Jeho Park <de...@sk...> or <lin...@gm...> Index: CHANGES =================================================================== RCS file: /cvsroot/netadm/gwc/CHANGES,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** CHANGES 17 Feb 2006 08:09:18 -0000 1.5 --- CHANGES 30 Apr 2006 18:47:24 -0000 1.6 *************** *** 1,2 **** --- 1,7 ---- + Changes in gwc-v0.1-pre3 + ------------------------ + ADD: gwcsh which is shell, this will replace with gwcguid daemon. + MOD: make disable gwcguid - there is no one to develop GUI + Changes in gwc-v0.1-pre2 *************** *** 6,9 **** --- 11,15 ---- MOD: replace from linkedlist to hashtable in pf for better performance. + Changes in gwc-v0.1-pre1 -------------------------- *************** *** 11,19 **** etc Changes in pre-gwc-v0.1 ----------------------- ! +add remote monitoring ! +add QoS ! +add flow control but it has bug in removing each object. --- 17,26 ---- etc + Changes in pre-gwc-v0.1 ----------------------- ! ADD: remote monitoring ! ADD: QoS ! ADD: flow control but it has bug in removing each object. |