netadm-devel Mailing List for netadm (Page 7)
Status: Beta
Brought to you by:
linuxpark
You can subscribe to this list here.
2006 |
Jan
(4) |
Feb
(78) |
Mar
(70) |
Apr
(32) |
May
(28) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
---|---|---|---|---|---|---|---|---|---|---|---|---|
2007 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
(1) |
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: linuxpark <lin...@us...> - 2006-02-25 22:59:12
|
Update of /cvsroot/netadm/gwc/gwclib In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv22273/gwclib Modified Files: confproc.c conftab.c Log Message: MOD: [ start to gwc-v1.0-pre3, not completed ] ADD: 1. command index, handler (but not main routine, just null), message for gwc-v1.0-pre3 functionalities. sysipc.h, message.h, confproc.h confproc.c, conftab.c 2. data structure for gwc-v1.0-pre3. for example, service protocol object, network object, flow object, policy object in sysdef.h but i didn't insert these object in shared memory (sysshm.h) MOD: 1. version info in global.h 2. renamed current qos concerned data structure from _tc_ to _qos_ else ADD and MOD Index: conftab.c =================================================================== RCS file: /cvsroot/netadm/gwc/gwclib/conftab.c,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -C2 -d -r1.1.1.1 -r1.2 *** conftab.c 30 Jan 2006 17:41:28 -0000 1.1.1.1 --- conftab.c 25 Feb 2006 22:59:00 -0000 1.2 *************** *** 45,140 **** */ sys_cmd_t cmdtab[] = { ! {CMD_LIST_APINFO, "list_apinfo", PR(list_apinfo), INFO_CLI_LISTAPINFO} ! , ! {CMD_ADD_APINFO, "add_apinfo", PR(add_apinfo), INFO_CLI_ADDAPINFO} ! , ! {CMD_LIST_SNMPCOMM, "list_snmpcomm", PR(list_snmpcomm), ! INFO_CLI_LISTSNMPCOMM} ! , ! {CMD_ADD_SNMPCOMM, "add_snmpcomm", PR(add_snmpcomm), ! INFO_CLI_ADDSNMPCOMM} ! , ! {CMD_LIST_PHYMACSPEC, "list_phymacspec", PR(list_phymacspec), ! INFO_CLI_LISTPHYMACSPEC} ! , ! {CMD_LIST_SYSINFO, "list_sysinfo", PR(list_sysinfo), ! INFO_CLI_LISTSYSINFO} ! , ! {CMD_LIST_IFINFO, "list_ifinfo", PR(list_ifinfo), INFO_CLI_LISTIFINFO} ! , ! {CMD_LIST_IPINFO, "list_ipinfo", PR(list_ipinfo), INFO_CLI_LISTIPINFO} ! , ! {CMD_LIST_TCPINFO, "list_tcpinfo", PR(list_tcpinfo), ! INFO_CLI_LISTTCPINFO} ! , ! {CMD_LIST_UDPINFO, "list_udpinfo", PR(list_udpinfo), ! INFO_CLI_LISTUDPINFO} ! , ! {CMD_LIST_CCKTPW, "list_ccktpower", PR(list_ccktpower), ! INFO_CLI_LISTCCKTPOWER} ! , ! {CMD_LIST_OFDMTPW, "list_ofdmtpower", PR(list_ofdmtpower), ! INFO_CLI_LISTOFDMTPOWER} ! , ! {CMD_LIST_CLIENTPW, "list_clientpower", PR(list_clientpower), ! INFO_CLI_LISTCLIENTPOWER} ! , ! {CMD_SET_TXPW, "set_txpower", PR(set_txpower), INFO_CLI_SETTXPOWER} ! , ! {CMD_LIST_IF, "list_if", PR(list_if), INFO_CLI_LIST_IF} ! , ! ! {CMD_LIST_TC_MAXBW, "list_tc_maxbw", PR(list_tc_maxbw), ! INFO_CLI_LIST_TC_MAXBW} ! , ! {CMD_ADD_TC_MAXBW, "add_tc_maxbw", PR(add_tc_maxbw), ! INFO_CLI_ADD_TC_MAXBW} ! , ! {CMD_DEL_TC_MAXBW, "del_tc_maxbw", PR(del_tc_maxbw), ! INFO_CLI_DEL_TC_MAXBW} ! , ! {CMD_LIST_TC_CLASS, "list_tc_class", PR(list_tc_class), ! INFO_CLI_LIST_TC_CLASS} ! , ! {CMD_ADD_TC_CLASS, "add_tc_class", PR(add_tc_class), ! INFO_CLI_ADD_TC_CLASS} ! , ! {CMD_DEL_TC_CLASS, "del_tc_class", PR(del_tc_class), ! INFO_CLI_DEL_TC_CLASS} ! , ! {CMD_LIST_TC_FILTER, "list_tc_filter", PR(list_tc_filter), ! INFO_CLI_LIST_TC_FILTER} ! , ! {CMD_ADD_TC_FILTER, "add_tc_filter", PR(add_tc_filter), ! INFO_CLI_ADD_TC_FILTER} ! , ! {CMD_DEL_TC_FILTER, "del_tc_filter", PR(del_tc_filter), ! INFO_CLI_DEL_TC_FILTER} ! , ! {CMD_LIST_TC_POL, "list_tc_pol", PR(list_tc_pol), INFO_CLI_LIST_TC_POL} ! , ! {CMD_ADD_TC_POL, "add_tc_pol", PR(add_tc_pol), INFO_CLI_ADD_TC_POL} ! , ! {CMD_DEL_TC_POL, "del_tc_pol", PR(del_tc_pol), INFO_CLI_DEL_TC_POL} ! , ! {CMD_TC_APPLY, "tc_apply", PR(tc_apply), INFO_CLI_TC_APPLY} ! , ! {CMD_LIST_HOSTPOL, "list_hostpol", PR(list_hostpol), ! INFO_CLI_LIST_HOSTPOL} ! , ! {CMD_ADD_HOSTPOL, "add_hostpol", PR(add_hostpol), INFO_CLI_ADD_HOSTPOL} ! , ! {CMD_DEL_HOSTPOL, "del_hostpol", PR(del_hostpol), INFO_CLI_DEL_HOSTPOL} ! , ! {CMD_HOSTPOL_APPLY, "hostpol_apply", PR(hostpol_apply), ! INFO_CLI_HOSTPOL_APPLY} ! , ! {CMD_LIST_AUTO, "list_auto", PR(list_auto), INFO_CLI_LIST_AUTO} ! , ! {CMD_SET_AUTO, "set_auto", PR(set_auto), INFO_CLI_SET_AUTO} ! , ! {CMD_AUTO_APPLY, "auto_apply", PR(auto_apply), INFO_CLI_AUTO_APPLY} ! , {0} , --- 45,94 ---- */ sys_cmd_t cmdtab[] = { ! {CMD_LIST_APINFO, "list_apinfo", PR(list_apinfo), INFO_CLI_LISTAPINFO}, ! {CMD_ADD_APINFO, "add_apinfo", PR(add_apinfo), INFO_CLI_ADDAPINFO}, ! {CMD_LIST_SNMPCOMM, "list_snmpcomm", PR(list_snmpcomm), INFO_CLI_LISTSNMPCOMM}, ! {CMD_ADD_SNMPCOMM, "add_snmpcomm", PR(add_snmpcomm), INFO_CLI_ADDSNMPCOMM}, ! {CMD_LIST_PHYMACSPEC, "list_phymacspec", PR(list_phymacspec), INFO_CLI_LISTPHYMACSPEC}, ! {CMD_LIST_SYSINFO, "list_sysinfo", PR(list_sysinfo), INFO_CLI_LISTSYSINFO}, ! {CMD_LIST_IFINFO, "list_ifinfo", PR(list_ifinfo), INFO_CLI_LISTIFINFO}, ! {CMD_LIST_IPINFO, "list_ipinfo", PR(list_ipinfo), INFO_CLI_LISTIPINFO}, ! {CMD_LIST_TCPINFO, "list_tcpinfo", PR(list_tcpinfo), INFO_CLI_LISTTCPINFO}, ! {CMD_LIST_UDPINFO, "list_udpinfo", PR(list_udpinfo), INFO_CLI_LISTUDPINFO}, ! {CMD_LIST_CCKTPW, "list_ccktpower", PR(list_ccktpower), INFO_CLI_LISTCCKTPOWER}, ! {CMD_LIST_OFDMTPW, "list_ofdmtpower", PR(list_ofdmtpower), INFO_CLI_LISTOFDMTPOWER}, ! {CMD_LIST_CLIENTPW, "list_clientpower", PR(list_clientpower), INFO_CLI_LISTCLIENTPOWER}, ! {CMD_SET_TXPW, "set_txpower", PR(set_txpower), INFO_CLI_SETTXPOWER}, ! {CMD_LIST_IF, "list_if", PR(list_if), INFO_CLI_LIST_IF}, ! {CMD_LIST_QOS_MAXBW, "list_qos_maxbw", PR(list_qos_maxbw), INFO_CLI_LIST_QOS_MAXBW}, ! {CMD_ADD_QOS_MAXBW, "add_qos_maxbw", PR(add_qos_maxbw), INFO_CLI_ADD_QOS_MAXBW}, ! {CMD_DEL_QOS_MAXBW, "del_qos_maxbw", PR(del_qos_maxbw), INFO_CLI_DEL_QOS_MAXBW}, ! {CMD_LIST_QOS_CLASS, "list_qos_class", PR(list_qos_class), INFO_CLI_LIST_QOS_CLASS}, ! {CMD_ADD_QOS_CLASS, "add_qos_class", PR(add_qos_class), INFO_CLI_ADD_QOS_CLASS}, ! {CMD_DEL_QOS_CLASS, "del_qos_class", PR(del_qos_class), INFO_CLI_DEL_QOS_CLASS}, ! {CMD_LIST_QOS_FILTER, "list_qos_filter", PR(list_qos_filter), INFO_CLI_LIST_QOS_FILTER}, ! {CMD_ADD_QOS_FILTER, "add_qos_filter", PR(add_qos_filter), INFO_CLI_ADD_QOS_FILTER}, ! {CMD_DEL_QOS_FILTER, "del_qos_filter", PR(del_qos_filter), INFO_CLI_DEL_QOS_FILTER}, ! {CMD_LIST_QOS_POL, "list_qos_pol", PR(list_qos_pol), INFO_CLI_LIST_QOS_POL}, ! {CMD_ADD_QOS_POL, "add_qos_pol", PR(add_qos_pol), INFO_CLI_ADD_QOS_POL}, ! {CMD_DEL_QOS_POL, "del_qos_pol", PR(del_qos_pol), INFO_CLI_DEL_QOS_POL}, ! {CMD_QOS_APPLY, "qos_apply", PR(qos_apply), INFO_CLI_QOS_APPLY}, ! ! {CMD_LIST_FC_SVC, "list_fc_svc", PR(list_fc_svc), INFO_CLI_LIST_FC_SVC}, ! {CMD_ADD_FC_SVC, "add_fc_svc", PR(add_fc_svc), INFO_CLI_ADD_FC_SVC}, ! {CMD_DEL_FC_SVC, "del_fc_svc", PR(del_fc_svc), INFO_CLI_DEL_FC_SVC}, ! {CMD_LIST_FC_NET, "list_fc_net", PR(list_fc_net), INFO_CLI_LIST_FC_NET}, ! {CMD_ADD_FC_NET, "add_fc_net", PR(add_fc_net), INFO_CLI_ADD_FC_NET}, ! {CMD_DEL_FC_NET, "del_fc_net", PR(del_fc_net), INFO_CLI_DEL_FC_NET}, ! {CMD_LIST_FC_FLOW, "list_fc_flow", PR(list_fc_flow), INFO_CLI_LIST_FC_FLOW}, ! {CMD_ADD_FC_FLOW, "add_fc_flow", PR(add_fc_flow), INFO_CLI_ADD_FC_FLOW}, ! {CMD_DEL_FC_FLOW, "del_fc_flow", PR(del_fc_flow), INFO_CLI_DEL_FC_FLOW}, ! {CMD_LIST_FC_POL, "list_fc_pol", PR(list_fc_pol), INFO_CLI_LIST_FC_POL}, ! {CMD_ADD_FC_POL, "add_fc_pol", PR(add_fc_pol), INFO_CLI_ADD_FC_POL}, ! {CMD_DEL_FC_POL, "del_fc_pol", PR(del_fc_pol), INFO_CLI_DEL_FC_POL}, ! {CMD_FC_APPLY, "fc_apply", PR(fc_apply), INFO_CLI_FC_APPLY}, ! {CMD_LIST_AUTO, "list_auto", PR(list_auto), INFO_CLI_LIST_AUTO}, ! {CMD_SET_AUTO, "set_auto", PR(set_auto), INFO_CLI_SET_AUTO}, ! {CMD_AUTO_APPLY, "auto_apply", PR(auto_apply), INFO_CLI_AUTO_APPLY}, {0} , Index: confproc.c =================================================================== RCS file: /cvsroot/netadm/gwc/gwclib/confproc.c,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** confproc.c 17 Feb 2006 06:58:59 -0000 1.3 --- confproc.c 25 Feb 2006 22:59:00 -0000 1.4 *************** *** 63,67 **** * this tostab is used in both filter tos and pol mark */ ! sys_tc_tos_t tostab[] = { {APC_TOS_TYPE_MD, "MD", "Minimize-Delay"} , --- 63,67 ---- * this tostab is used in both filter tos and pol mark */ ! qos_tos_t tostab[] = { {APC_TOS_TYPE_MD, "MD", "Minimize-Delay"} , *************** *** 809,813 **** void ! list_tc_maxbw(int argc, char *argv[], int modify, frp_t fr) { int len; --- 809,813 ---- void ! list_qos_maxbw(int argc, char *argv[], int modify, frp_t fr) { int len; *************** *** 866,873 **** void ! add_tc_maxbw(int argc, char *argv[], int modify, frp_t fr) { ! sys_tc_dev_t apctcdev; ! sys_tc_dev_t *tcdev; int slot = -1; int i; --- 866,873 ---- void ! add_qos_maxbw(int argc, char *argv[], int modify, frp_t fr) { ! qos_dev_t apctcdev; ! qos_dev_t *tcdev; int slot = -1; int i; *************** *** 883,887 **** return; } ! memset(tcdev, 0, sizeof (sys_tc_dev_t)); if (!str_nospace(argv[0])) --- 883,887 ---- return; } ! memset(tcdev, 0, sizeof (qos_dev_t)); if (!str_nospace(argv[0])) *************** *** 947,953 **** if (slot < csm->tcifcnt) { memmove(&csm->tc_dev[slot + 1], &csm->tc_dev[slot], ! sizeof (sys_tc_dev_t) * (csm->tcifcnt - slot)); } ! memcpy(&csm->tc_dev[slot], tcdev, sizeof (sys_tc_dev_t)); csm->tcifcnt++; --- 947,953 ---- if (slot < csm->tcifcnt) { memmove(&csm->tc_dev[slot + 1], &csm->tc_dev[slot], ! sizeof (qos_dev_t) * (csm->tcifcnt - slot)); } ! memcpy(&csm->tc_dev[slot], tcdev, sizeof (qos_dev_t)); csm->tcifcnt++; *************** *** 965,971 **** void ! del_tc_maxbw(int argc, char *argv[], int modify, frp_t fr) { ! sys_tc_dev_t *tcdev = NULL; int i; int slot; --- 965,971 ---- void ! del_qos_maxbw(int argc, char *argv[], int modify, frp_t fr) { ! qos_dev_t *tcdev = NULL; int i; int slot; *************** *** 1008,1016 **** if (slot < (csm->tcifcnt - 1)) { memcpy(&csm->tc_dev[slot], &csm->tc_dev[slot + 1], ! sizeof (sys_tc_dev_t) * (csm->tcifcnt - slot - 1)); } memset(&csm->tc_dev[csm->tcifcnt - 1], 0, ! sizeof (sys_tc_dev_t)); csm->tcifcnt--; --- 1008,1016 ---- if (slot < (csm->tcifcnt - 1)) { memcpy(&csm->tc_dev[slot], &csm->tc_dev[slot + 1], ! sizeof (qos_dev_t) * (csm->tcifcnt - slot - 1)); } memset(&csm->tc_dev[csm->tcifcnt - 1], 0, ! sizeof (qos_dev_t)); csm->tcifcnt--; *************** *** 1026,1030 **** void ! list_tc_class(int argc, char *argv[], int modify, frp_t fr) { int len; --- 1026,1030 ---- void ! list_qos_class(int argc, char *argv[], int modify, frp_t fr) { int len; *************** *** 1075,1082 **** void ! add_tc_class(int argc, char *argv[], int modify, frp_t fr) { ! sys_tc_class_t apcclass; ! sys_tc_class_t *class; int slot = -1; int i; --- 1075,1082 ---- void ! add_qos_class(int argc, char *argv[], int modify, frp_t fr) { ! qos_class_t apcclass; ! qos_class_t *class; int slot = -1; int i; *************** *** 1084,1096 **** if (argc == 3) { ! if (csm->cscnt < MAXSHM_TC_CLASS) { class = &apcclass; } else { frerr(fr, RET_EINTERNAL, "Class buffer full, Max Class is limited to %d\n", ! MAXSHM_TC_CLASS); return; } ! memset(class, 0, sizeof (sys_tc_class_t)); if (!str_nospace(argv[0])) --- 1084,1096 ---- if (argc == 3) { ! if (csm->cscnt < MAXSHM_QOS_CLASS) { class = &apcclass; } else { frerr(fr, RET_EINTERNAL, "Class buffer full, Max Class is limited to %d\n", ! MAXSHM_QOS_CLASS); return; } ! memset(class, 0, sizeof (qos_class_t)); if (!str_nospace(argv[0])) *************** *** 1163,1169 **** if (slot < csm->cscnt) { memmove(&csm->glass[slot + 1], &csm->glass[slot], ! sizeof (sys_tc_class_t) * (csm->cscnt - slot)); } ! memcpy(&csm->glass[slot], class, sizeof (sys_tc_class_t)); csm->cscnt++; --- 1163,1169 ---- if (slot < csm->cscnt) { memmove(&csm->glass[slot + 1], &csm->glass[slot], ! sizeof (qos_class_t) * (csm->cscnt - slot)); } ! memcpy(&csm->glass[slot], class, sizeof (qos_class_t)); csm->cscnt++; *************** *** 1181,1187 **** void ! del_tc_class(int argc, char *argv[], int modify, frp_t fr) { ! sys_tc_class_t *class = NULL; int i; int slot; --- 1181,1187 ---- void ! del_qos_class(int argc, char *argv[], int modify, frp_t fr) { ! qos_class_t *class = NULL; int i; int slot; *************** *** 1226,1233 **** if (slot < (csm->cscnt - 1)) { memcpy(&csm->glass[slot], &csm->glass[slot + 1], ! sizeof (sys_tc_class_t) * (csm->cscnt - slot - 1)); } ! memset(&csm->glass[csm->cscnt - 1], 0, sizeof (sys_tc_class_t)); csm->cscnt--; --- 1226,1233 ---- if (slot < (csm->cscnt - 1)) { memcpy(&csm->glass[slot], &csm->glass[slot + 1], ! sizeof (qos_class_t) * (csm->cscnt - slot - 1)); } ! memset(&csm->glass[csm->cscnt - 1], 0, sizeof (qos_class_t)); csm->cscnt--; *************** *** 1243,1247 **** void ! list_tc_filter(int argc, char *argv[], int modify, frp_t fr) { int len; --- 1243,1247 ---- void ! list_qos_filter(int argc, char *argv[], int modify, frp_t fr) { int len; *************** *** 1250,1254 **** int i; int n; ! sys_tc_tos_t *ptostab; int found = 0; --- 1250,1254 ---- int i; int n; ! qos_tos_t *ptostab; int found = 0; *************** *** 1310,1317 **** } else if (csm->filter[i].type == APC_FILTER_TYPE_PROTO) { /* filter_name 1 {tcp | udp} port */ ! if (csm->filter[i].u.proto.type == APC_TC_PROTO_TCP) n += 1 + sprintf(&fr->p[n], "TCP"); else if (csm->filter[i].u.proto.type == ! APC_TC_PROTO_UDP) n += 1 + sprintf(&fr->p[n], "UDP"); else { --- 1310,1317 ---- } else if (csm->filter[i].type == APC_FILTER_TYPE_PROTO) { /* filter_name 1 {tcp | udp} port */ ! if (csm->filter[i].u.proto.type == SYS_PROTO_TCP) n += 1 + sprintf(&fr->p[n], "TCP"); else if (csm->filter[i].u.proto.type == ! SYS_PROTO_UDP) n += 1 + sprintf(&fr->p[n], "UDP"); else { *************** *** 1336,1359 **** void ! add_tc_filter(int argc, char *argv[], int modify, frp_t fr) { ! sys_tc_filter_t apcfilter; ! sys_tc_filter_t *filter; int slot = -1; int i; ! sys_tc_tos_t *ptostab; int found = 0; if (((atoi(argv[1]) == APC_FILTER_TYPE_TOS) && (argc == 3)) || ((atoi(argv[1]) == APC_FILTER_TYPE_PROTO) && (argc == 4))) { ! if (csm->ftcnt < MAXSHM_TC_FILTER) { filter = &apcfilter; } else { frerr(fr, RET_EINTERNAL, "filter buffer full, Max filter is limited to %d\n", ! MAXSHM_TC_FILTER); return; } ! memset(filter, 0, sizeof (sys_tc_filter_t)); if (!str_nospace(argv[0])) { --- 1336,1359 ---- void ! add_qos_filter(int argc, char *argv[], int modify, frp_t fr) { ! qos_filter_t apcfilter; ! qos_filter_t *filter; int slot = -1; int i; ! qos_tos_t *ptostab; int found = 0; if (((atoi(argv[1]) == APC_FILTER_TYPE_TOS) && (argc == 3)) || ((atoi(argv[1]) == APC_FILTER_TYPE_PROTO) && (argc == 4))) { ! if (csm->ftcnt < MAXSHM_QOS_FILTER) { filter = &apcfilter; } else { frerr(fr, RET_EINTERNAL, "filter buffer full, Max filter is limited to %d\n", ! MAXSHM_QOS_FILTER); return; } ! memset(filter, 0, sizeof (qos_filter_t)); if (!str_nospace(argv[0])) { *************** *** 1419,1423 **** /* APC_FILTER_TYPE_PROTO */ if (!strcasecmp("TCP", argv[2])) { ! filter->u.proto.type = APC_TC_PROTO_TCP; if (!str_isdigit(argv[3])) { --- 1419,1423 ---- /* APC_FILTER_TYPE_PROTO */ if (!strcasecmp("TCP", argv[2])) { ! filter->u.proto.type = SYS_PROTO_TCP; if (!str_isdigit(argv[3])) { *************** *** 1435,1439 **** } else if (!strcasecmp("UDP", argv[2])) { ! filter->u.proto.type = APC_TC_PROTO_UDP; if (!str_isdigit(argv[3])) { --- 1435,1439 ---- } else if (!strcasecmp("UDP", argv[2])) { ! filter->u.proto.type = SYS_PROTO_UDP; if (!str_isdigit(argv[3])) { *************** *** 1471,1477 **** if (slot < csm->ftcnt) { memmove(&csm->filter[slot + 1], &csm->filter[slot], ! sizeof (sys_tc_filter_t) * (csm->ftcnt - slot)); } ! memcpy(&csm->filter[slot], filter, sizeof (sys_tc_filter_t)); csm->ftcnt++; --- 1471,1477 ---- if (slot < csm->ftcnt) { memmove(&csm->filter[slot + 1], &csm->filter[slot], ! sizeof (qos_filter_t) * (csm->ftcnt - slot)); } ! memcpy(&csm->filter[slot], filter, sizeof (qos_filter_t)); csm->ftcnt++; *************** *** 1490,1496 **** void ! del_tc_filter(int argc, char *argv[], int modify, frp_t fr) { ! sys_tc_filter_t *filter = NULL; int i; int slot; --- 1490,1496 ---- void ! del_qos_filter(int argc, char *argv[], int modify, frp_t fr) { ! qos_filter_t *filter = NULL; int i; int slot; *************** *** 1525,1533 **** if (slot < (csm->ftcnt - 1)) { memcpy(&csm->filter[slot], &csm->filter[slot + 1], ! sizeof (sys_tc_filter_t) * (csm->ftcnt - slot - 1)); } memset(&csm->filter[csm->ftcnt - 1], 0, ! sizeof (sys_tc_filter_t)); csm->ftcnt--; --- 1525,1533 ---- if (slot < (csm->ftcnt - 1)) { memcpy(&csm->filter[slot], &csm->filter[slot + 1], ! sizeof (qos_filter_t) * (csm->ftcnt - slot - 1)); } memset(&csm->filter[csm->ftcnt - 1], 0, ! sizeof (qos_filter_t)); csm->ftcnt--; *************** *** 1543,1547 **** void ! list_tc_pol(int argc, char *argv[], int modify, frp_t fr) { int len; --- 1543,1547 ---- void ! list_qos_pol(int argc, char *argv[], int modify, frp_t fr) { int len; *************** *** 1605,1628 **** void ! add_tc_pol(int argc, char *argv[], int modify, frp_t fr) { ! sys_tc_pol_t apcpol; ! sys_tc_pol_t *pol; int slot = -1; int i; ! sys_tc_tos_t *ptostab; int found = 0; if (((argc == 4) && (atoi(argv[3]) == NOMARK)) || ((argc == 5) && (atoi(argv[3]) == USEMARK))) { ! if (csm->polcnt < MAXSHM_TC_POL) { pol = &apcpol; } else { frerr(fr, RET_EINTERNAL, "Policy buffer full, Max Policy is limited to %d\n", ! MAXSHM_TC_POL); return; } ! memset(pol, 0, sizeof (sys_tc_pol_t)); /* policy_name */ --- 1605,1628 ---- void ! add_qos_pol(int argc, char *argv[], int modify, frp_t fr) { ! qos_pol_t apcpol; ! qos_pol_t *pol; int slot = -1; int i; ! qos_tos_t *ptostab; int found = 0; if (((argc == 4) && (atoi(argv[3]) == NOMARK)) || ((argc == 5) && (atoi(argv[3]) == USEMARK))) { ! if (csm->polcnt < MAXSHM_QOS_POL) { pol = &apcpol; } else { frerr(fr, RET_EINTERNAL, "Policy buffer full, Max Policy is limited to %d\n", ! MAXSHM_QOS_POL); return; } ! memset(pol, 0, sizeof (qos_pol_t)); /* policy_name */ *************** *** 1738,1744 **** if (slot < csm->polcnt) { memmove(&csm->pol[slot + 1], &csm->pol[slot], ! sizeof (sys_tc_pol_t) * (csm->polcnt - slot)); } ! memcpy(&csm->pol[slot], pol, sizeof (sys_tc_pol_t)); csm->polcnt++; --- 1738,1744 ---- if (slot < csm->polcnt) { memmove(&csm->pol[slot + 1], &csm->pol[slot], ! sizeof (qos_pol_t) * (csm->polcnt - slot)); } ! memcpy(&csm->pol[slot], pol, sizeof (qos_pol_t)); csm->polcnt++; *************** *** 1757,1763 **** void ! del_tc_pol(int argc, char *argv[], int modify, frp_t fr) { ! sys_tc_pol_t *pol = NULL; int i; int slot; --- 1757,1763 ---- void ! del_qos_pol(int argc, char *argv[], int modify, frp_t fr) { ! qos_pol_t *pol = NULL; int i; int slot; *************** *** 1784,1791 **** if (slot < (csm->polcnt - 1)) { memcpy(&csm->pol[slot], &csm->pol[slot + 1], ! sizeof (sys_tc_pol_t) * (csm->polcnt - slot - 1)); } ! memset(&csm->pol[csm->polcnt - 1], 0, sizeof (sys_tc_pol_t)); csm->polcnt--; --- 1784,1791 ---- if (slot < (csm->polcnt - 1)) { memcpy(&csm->pol[slot], &csm->pol[slot + 1], ! sizeof (qos_pol_t) * (csm->polcnt - slot - 1)); } ! memset(&csm->pol[csm->polcnt - 1], 0, sizeof (qos_pol_t)); csm->polcnt--; *************** *** 1869,1873 **** void ! tc_apply(int argc, char *argv[], int modify, frp_t fr) { #if 0 --- 1869,1873 ---- void ! qos_apply(int argc, char *argv[], int modify, frp_t fr) { #if 0 *************** *** 1880,1884 **** int n; char proto[OL / 4]; /* TCP or UDP */ ! sys_tc_tos_t *ptostab; #ifndef TC_DEBUG int status; --- 1880,1884 ---- int n; char proto[OL / 4]; /* TCP or UDP */ ! qos_tos_t *ptostab; #ifndef TC_DEBUG int status; *************** *** 1974,1978 **** } else { #if 0 ! if (csm->filter[k].u.proto.type == APC_TC_PROTO_TCP) { n += sprintf(cmd + n, " match tcp dst 0x%x 0xffff", --- 1974,1978 ---- } else { #if 0 ! if (csm->filter[k].u.proto.type == SYS_PROTO_TCP) { n += sprintf(cmd + n, " match tcp dst 0x%x 0xffff", *************** *** 1995,1999 **** /* it is now support the PROTOCOL type of filter */ if (csm->pol[i].mark_used == USEMARK) { ! if (csm->filter[k].u.proto.type == APC_TC_PROTO_TCP) { strcpy(proto, "tcp"); } else --- 1995,1999 ---- /* it is now support the PROTOCOL type of filter */ if (csm->pol[i].mark_used == USEMARK) { ! if (csm->filter[k].u.proto.type == SYS_PROTO_TCP) { strcpy(proto, "tcp"); } else *************** *** 2024,2029 **** } void ! list_hostpol(int argc, char *argv[], int modify, frp_t fr) { int len; --- 2024,2065 ---- } + void list_fc_svc(int argc, char *argv[], int modify, frp_t fr) + { + } + + void add_fc_svc(int argc, char *argv[], int modify, frp_t fr) + { + } + + void del_fc_svc(int argc, char *argv[], int modify, frp_t fr) + { + } + + void list_fc_net(int argc, char *argv[], int modify, frp_t fr) + { + } + + void add_fc_net(int argc, char *argv[], int modify, frp_t fr) + { + } + + void del_fc_net(int argc, char *argv[], int modify, frp_t fr) + { + } + + void list_fc_flow(int argc, char *argv[], int modify, frp_t fr) + { + } + + void add_fc_flow(int argc, char *argv[], int modify, frp_t fr) + { + } + + void del_fc_flow(int argc, char *argv[], int modify, frp_t fr) + { + } + void ! list_fc_pol(int argc, char *argv[], int modify, frp_t fr) { int len; *************** *** 2082,2086 **** void ! add_hostpol(int argc, char *argv[], int modify, frp_t fr) { sys_host_pol_t hostpol; --- 2118,2122 ---- void ! add_fc_pol(int argc, char *argv[], int modify, frp_t fr) { sys_host_pol_t hostpol; *************** *** 2213,2217 **** void ! del_hostpol(int argc, char *argv[], int modify, frp_t fr) { sys_host_pol_t *hp = NULL; --- 2249,2253 ---- void ! del_fc_pol(int argc, char *argv[], int modify, frp_t fr) { sys_host_pol_t *hp = NULL; *************** *** 2290,2294 **** void ! hostpol_apply(int argc, char *argv[], int modify, frp_t fr) { kuio_msg_t msg; --- 2326,2330 ---- void ! fc_apply(int argc, char *argv[], int modify, frp_t fr) { kuio_msg_t msg; |
From: linuxpark <lin...@us...> - 2006-02-25 22:59:11
|
Update of /cvsroot/netadm/gwc/include In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv22273/include Modified Files: confproc.h global.h message.h sysdef.h sysipc.h sysshm.h Log Message: MOD: [ start to gwc-v1.0-pre3, not completed ] ADD: 1. command index, handler (but not main routine, just null), message for gwc-v1.0-pre3 functionalities. sysipc.h, message.h, confproc.h confproc.c, conftab.c 2. data structure for gwc-v1.0-pre3. for example, service protocol object, network object, flow object, policy object in sysdef.h but i didn't insert these object in shared memory (sysshm.h) MOD: 1. version info in global.h 2. renamed current qos concerned data structure from _tc_ to _qos_ else ADD and MOD Index: sysshm.h =================================================================== RCS file: /cvsroot/netadm/gwc/include/sysshm.h,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** sysshm.h 17 Feb 2006 06:58:59 -0000 1.4 --- sysshm.h 25 Feb 2006 22:59:00 -0000 1.5 *************** *** 31,37 **** #define MAXSHM_RADIO 24 #define MAXSHM_IF 6 ! #define MAXSHM_TC_CLASS 64 ! #define MAXSHM_TC_FILTER 64 ! #define MAXSHM_TC_POL 1024 #define MAXSHM_HOST_POL 1024 --- 31,37 ---- #define MAXSHM_RADIO 24 #define MAXSHM_IF 6 ! #define MAXSHM_QOS_CLASS 64 ! #define MAXSHM_QOS_FILTER 64 ! #define MAXSHM_QOS_POL 1024 #define MAXSHM_HOST_POL 1024 *************** *** 49,63 **** sys_802dot11if_t radiodev[MAXSHM_RADIO]; int ifcnt; ! sys_if_t dev[MAXSHM_IF]; int maxbw; int tcifcnt; /* TC dev info for its max bandwidth */ ! sys_tc_dev_t tc_dev[MAXSHM_IF]; int cscnt; ! sys_tc_class_t glass[MAXSHM_TC_CLASS]; int ftcnt; ! sys_tc_filter_t filter[MAXSHM_TC_FILTER]; int polused; int polcnt; ! sys_tc_pol_t pol[MAXSHM_TC_POL]; int hpolcnt; /* error packet */ sys_host_pol_t hostpol[MAXSHM_HOST_POL]; --- 49,63 ---- sys_802dot11if_t radiodev[MAXSHM_RADIO]; int ifcnt; ! qos_if_t dev[MAXSHM_IF]; int maxbw; int tcifcnt; /* TC dev info for its max bandwidth */ ! qos_dev_t tc_dev[MAXSHM_IF]; int cscnt; ! qos_class_t glass[MAXSHM_QOS_CLASS]; int ftcnt; ! qos_filter_t filter[MAXSHM_QOS_FILTER]; int polused; int polcnt; ! qos_pol_t pol[MAXSHM_QOS_POL]; int hpolcnt; /* error packet */ sys_host_pol_t hostpol[MAXSHM_HOST_POL]; Index: message.h =================================================================== RCS file: /cvsroot/netadm/gwc/include/message.h,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** message.h 31 Jan 2006 14:19:38 -0000 1.2 --- message.h 25 Feb 2006 22:59:00 -0000 1.3 *************** *** 22,109 **** /* INFO_: INFOrmation */ ! #define INFO_CLI_LISTAPINFO "List AP infomation." ! #define INFO_CLI_ADDAPINFO "Add AP Network infomation." ! #define INFO_CLI_LISTSNMPCOMM "List SNMP commnunity infomation." ! #define INFO_CLI_ADDSNMPCOMM "Add SNMP community infomation." ! #define INFO_CLI_LISTPHYMACSPEC "List phycal interface mac spec infomation." ! #define INFO_CLI_LISTSYSINFO "List current AP system infomation." ! #define INFO_CLI_LISTIFINFO "List current IF infomation." ! #define INFO_CLI_LISTIPINFO "List current IP infomation." ! #define INFO_CLI_LISTTCPINFO "List current TCP infomation." ! #define INFO_CLI_LISTUDPINFO "List current UDP infomation." ! #define INFO_CLI_LISTCCKTPOWER "List current CCK transmitter power" ! #define INFO_CLI_LISTOFDMTPOWER "List current OFDM transmitter power" ! #define INFO_CLI_LISTCLIENTPOWER "List current Client power" ! #define INFO_CLI_SETTXPOWER "Set current Tx Power" ! #define INFO_CLI_LIST_IF "List Interface infomation" ! #define INFO_CLI_LIST_TC_MAXBW "List the maximum bandwidth of a interfaces" ! #define INFO_CLI_ADD_TC_MAXBW "Add the maximum bandwidth of a specfied interface" ! #define INFO_CLI_DEL_TC_MAXBW "Delete the maximum bandwidth info of a specfied interface" ! #define INFO_CLI_LIST_TC_CLASS "List Traffic Control class infomation" ! #define INFO_CLI_ADD_TC_CLASS "Add Traffic Control Class" ! #define INFO_CLI_DEL_TC_CLASS "Delete Traffic Control Class" ! #define INFO_CLI_LIST_TC_FILTER "List Traffic Control Filter" ! #define INFO_CLI_ADD_TC_FILTER "Add Traffic Control Filter" ! #define INFO_CLI_DEL_TC_FILTER "Delete Traffic Control Filter" ! #define INFO_CLI_LIST_TC_POL "List Traffic Control Policy" ! #define INFO_CLI_ADD_TC_POL "Add Traffic Control Policy" ! #define INFO_CLI_DEL_TC_POL "Delete Traffic Control Policy" ! #define INFO_CLI_TC_APPLY "Apply Traffic Control Policy" ! #define INFO_CLI_LIST_HOSTPOL "List host policy{pakcet control|modify seq of TCP}" ! #define INFO_CLI_ADD_HOSTPOL "Add host policy{packet control|modify seq of TCP}" ! #define INFO_CLI_DEL_HOSTPOL "Delete host policy{packet control|modify seq of TCP}" ! #define INFO_CLI_HOSTPOL_APPLY "Apply host policy{packet control|modify seq of TCP}" ! #define INFO_CLI_LIST_AUTO "List the setup config of auto test" ! #define INFO_CLI_SET_AUTO "Set the setup config of auto test " ! #define INFO_CLI_AUTO_APPLY "Apply the Auto test config" /* STR_ : normal STRing */ ! #define STR_STATE "qry_state" ! #define STR_TARGET "target" ! #define STR_AP_IP "target_ip" ! #define STR_AP_MASK "target_mask" ! #define STR_SNMP "snmp" ! #define STR_COMMUNITY "snmp_community" ! #define STR_RADIO_IDX "radio_idx" ! #define STR_INTERFACE "interface" ! #define STR_TC_DEV "tc_dev" ! #define STR_TC_CLASS "tc_class" ! #define STR_TC_FILTER "tc_filter" ! #define STR_TC_POLICY "tc_policy" ! #define STR_HOST_POLICY "host_policy" ! #define STR_AUTO_TEST "auto_test" /* EM_ : Error Message */ ! ! #define EM_OBJNOTFOUND "Can't found the object(%s)" ! #define EM_NOTAVAILABLEREQ "It(%s) is not supported" ! #define EM_NOTAVAILABLESVC "It(%s) is not available service" ! #define EM_AUTHCON "Can't connect to Auth Server" ! #define EM_WRITE "Write error" ! #define EM_READ "Read error" ! #define EM_NOUSER "User does not exist" ! #define EM_EMPTYNAME "Enter User Name" ! #define EM_DUPUSER "User already exist" ! #define EM_PASSWD "Passwd incorret" ! #define EM_EMPTYPASS "Enter Passwd" ! #define EM_PASSINIT "User passwd does not initialized" ! #define EM_BLOCKUSR "Blocked count" ! #define EM_AUTHDBIO "Auth DB error" ! #define EM_SKEYIO "Key file error" ! #define EM_NOMEMORY "Not enough memory" ! #define EM_USERPERM "Permission error" ! #define EM_MSGBUFSIZ "Not enough buffer" ! #define EM_AUTHCONN "Can't connect" ! #define EM_INTERN "Internal error" ! #define EM_SYSTEM "Internal Function error" ! #define EM_WRONGDATA "Input error of internal auth routine" ! #define EM_AUTHTYPE "Inout error of authentification type" ! #define EM_EXPDATE "Expire date error" ! #define EM_EMPTYBAD "Maximum bad trial" ! #define EM_PWLENGTH "Password size error" ! #define EM_PASSFORM "Bad password error" ! #define EM_EXPPASSWD "Password expired" ! #define EM_DELADMIN "Can't delete system admin" ! #define EM_AUTHPUBLIC "Normal user can't login" #endif /* __SYS_MESSAGES_H */ --- 22,119 ---- /* INFO_: INFOrmation */ ! #define INFO_CLI_LISTAPINFO "List AP infomation." ! #define INFO_CLI_ADDAPINFO "Add AP Network infomation." ! #define INFO_CLI_LISTSNMPCOMM "List SNMP commnunity infomation." ! #define INFO_CLI_ADDSNMPCOMM "Add SNMP community infomation." ! #define INFO_CLI_LISTPHYMACSPEC "List phycal interface mac spec infomation." ! #define INFO_CLI_LISTSYSINFO "List current AP system infomation." ! #define INFO_CLI_LISTIFINFO "List current IF infomation." ! #define INFO_CLI_LISTIPINFO "List current IP infomation." ! #define INFO_CLI_LISTTCPINFO "List current TCP infomation." ! #define INFO_CLI_LISTUDPINFO "List current UDP infomation." ! #define INFO_CLI_LISTCCKTPOWER "List current CCK transmitter power" ! #define INFO_CLI_LISTOFDMTPOWER "List current OFDM transmitter power" ! #define INFO_CLI_LISTCLIENTPOWER "List current Client power" ! #define INFO_CLI_SETTXPOWER "Set current Tx Power" ! #define INFO_CLI_LIST_IF "List Interface infomation" ! ! #define INFO_CLI_LIST_QOS_MAXBW "List the maximum bandwidth of a interfaces" ! #define INFO_CLI_ADD_QOS_MAXBW "Add the maximum bandwidth of a specfied interface" ! #define INFO_CLI_DEL_QOS_MAXBW "Delete the maximum bandwidth info of a specfied interface" ! #define INFO_CLI_LIST_QOS_CLASS "List class infomation in QoS" ! #define INFO_CLI_ADD_QOS_CLASS "Add a Class in QoS" ! #define INFO_CLI_DEL_QOS_CLASS "Delete a Class in QoS" ! #define INFO_CLI_LIST_QOS_FILTER "List Filters in QoS" ! #define INFO_CLI_ADD_QOS_FILTER "Add a Filter in QoS" ! #define INFO_CLI_DEL_QOS_FILTER "Delete a Filter in QoS" ! #define INFO_CLI_LIST_QOS_POL "List Policy in QoS" ! #define INFO_CLI_ADD_QOS_POL "Add a Policy in QoS" ! #define INFO_CLI_DEL_QOS_POL "Delete a Policy in QoS" ! #define INFO_CLI_QOS_APPLY "Apply the Policies of QoS" ! ! #define INFO_CLI_LIST_FC_SVC "List service protocol in flow control" ! #define INFO_CLI_ADD_FC_SVC "Add a service protocol in flow control" ! #define INFO_CLI_DEL_FC_SVC "Delete a service protocol in flow control" ! #define INFO_CLI_LIST_FC_NET "List network in flow control" ! #define INFO_CLI_ADD_FC_NET "Add a network protocol in flow control" ! #define INFO_CLI_DEL_FC_NET "Delete a service protocol in flow control" ! #define INFO_CLI_LIST_FC_FLOW "List flow object in flow control" ! #define INFO_CLI_ADD_FC_FLOW "Add a flow object in flow control" ! #define INFO_CLI_DEL_FC_FLOW "Delete a flow object in flow control" ! #define INFO_CLI_LIST_FC_POL "List policies in flow control" ! #define INFO_CLI_ADD_FC_POL "Add a policy in flow control" ! #define INFO_CLI_DEL_FC_POL "Delete a policy in flow control" ! #define INFO_CLI_FC_APPLY "Apply the Policies of Flow control" ! #define INFO_CLI_LIST_AUTO "List the setup config of auto test" ! #define INFO_CLI_SET_AUTO "Set the setup config of auto test " ! #define INFO_CLI_AUTO_APPLY "Apply the Auto test config" /* STR_ : normal STRing */ ! #define STR_STATE "qry_state" ! #define STR_TARGET "target" ! #define STR_AP_IP "target_ip" ! #define STR_AP_MASK "target_mask" ! #define STR_SNMP "snmp" ! #define STR_COMMUNITY "snmp_community" ! #define STR_RADIO_IDX "radio_idx" ! #define STR_INTERFACE "interface" ! #define STR_TC_DEV "tc_dev" ! #define STR_TC_CLASS "tc_class" ! #define STR_TC_FILTER "tc_filter" ! #define STR_TC_POLICY "tc_policy" ! #define STR_HOST_POLICY "host_policy" ! #define STR_AUTO_TEST "auto_test" /* EM_ : Error Message */ ! #define EM_OBJNOTFOUND "Can't found the object(%s)" ! #define EM_NOTAVAILABLEREQ "It(%s) is not supported" ! #define EM_NOTAVAILABLESVC "It(%s) is not available service" ! #define EM_AUTHCON "Can't connect to Auth Server" ! #define EM_WRITE "Write error" ! #define EM_READ "Read error" ! #define EM_NOUSER "User does not exist" ! #define EM_EMPTYNAME "Enter User Name" ! #define EM_DUPUSER "User already exist" ! #define EM_PASSWD "Passwd incorret" ! #define EM_EMPTYPASS "Enter Passwd" ! #define EM_PASSINIT "User passwd does not initialized" ! #define EM_BLOCKUSR "Blocked count" ! #define EM_AUTHDBIO "Auth DB error" ! #define EM_SKEYIO "Key file error" ! #define EM_NOMEMORY "Not enough memory" ! #define EM_USERPERM "Permission error" ! #define EM_MSGBUFSIZ "Not enough buffer" ! #define EM_AUTHCONN "Can't connect" ! #define EM_INTERN "Internal error" ! #define EM_SYSTEM "Internal Function error" ! #define EM_WRONGDATA "Input error of internal auth routine" ! #define EM_AUTHTYPE "Inout error of authentification type" ! #define EM_EXPDATE "Expire date error" ! #define EM_EMPTYBAD "Maximum bad trial" ! #define EM_PWLENGTH "Password size error" ! #define EM_PASSFORM "Bad password error" ! #define EM_EXPPASSWD "Password expired" ! #define EM_DELADMIN "Can't delete system admin" ! #define EM_AUTHPUBLIC "Normal user can't login" #endif /* __SYS_MESSAGES_H */ Index: confproc.h =================================================================== RCS file: /cvsroot/netadm/gwc/include/confproc.h,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -C2 -d -r1.1.1.1 -r1.2 *** confproc.h 30 Jan 2006 17:41:29 -0000 1.1.1.1 --- confproc.h 25 Feb 2006 22:59:00 -0000 1.2 *************** *** 33,53 **** void set_txpower(int argc, char *argv[], int modify, frp_t fr); void list_if(int argc, char *argv[], int modify, frp_t fr); ! void list_tc_maxbw(int argc, char *argv[], int modify, frp_t fr); ! void add_tc_maxbw(int argc, char *argv[], int modify, frp_t fr); ! void del_tc_maxbw(int argc, char *argv[], int modify, frp_t fr); ! void list_tc_class(int argc, char *argv[], int modify, frp_t fr); ! void add_tc_class(int argc, char *argv[], int modify, frp_t fr); ! void del_tc_class(int argc, char *argv[], int modify, frp_t fr); ! void list_tc_filter(int argc, char *argv[], int modify, frp_t fr); ! void add_tc_filter(int argc, char *argv[], int modify, frp_t fr); ! void del_tc_filter(int argc, char *argv[], int modify, frp_t fr); ! void list_tc_pol(int argc, char *argv[], int modify, frp_t fr); ! void add_tc_pol(int argc, char *argv[], int modify, frp_t fr); ! void del_tc_pol(int argc, char *argv[], int modify, frp_t fr); ! void tc_apply(int argc, char *argv[], int modify, frp_t fr); ! void list_hostpol(int argc, char *argv[], int modify, frp_t fr); ! void add_hostpol(int argc, char *argv[], int modify, frp_t fr); ! void del_hostpol(int argc, char *argv[], int modify, frp_t fr); ! void hostpol_apply(int argc, char *argv[], int modify, frp_t fr); void list_auto(int argc, char *argv[], int modify, frp_t fr); void set_auto(int argc, char *argv[], int modify, frp_t fr); --- 33,64 ---- void set_txpower(int argc, char *argv[], int modify, frp_t fr); void list_if(int argc, char *argv[], int modify, frp_t fr); ! ! void list_qos_maxbw(int argc, char *argv[], int modify, frp_t fr); ! void add_qos_maxbw(int argc, char *argv[], int modify, frp_t fr); ! void del_qos_maxbw(int argc, char *argv[], int modify, frp_t fr); ! void list_qos_class(int argc, char *argv[], int modify, frp_t fr); ! void add_qos_class(int argc, char *argv[], int modify, frp_t fr); ! void del_qos_class(int argc, char *argv[], int modify, frp_t fr); ! void list_qos_filter(int argc, char *argv[], int modify, frp_t fr); ! void add_qos_filter(int argc, char *argv[], int modify, frp_t fr); ! void del_qos_filter(int argc, char *argv[], int modify, frp_t fr); ! void list_qos_pol(int argc, char *argv[], int modify, frp_t fr); ! void add_qos_pol(int argc, char *argv[], int modify, frp_t fr); ! void del_qos_pol(int argc, char *argv[], int modify, frp_t fr); ! void qos_apply(int argc, char *argv[], int modify, frp_t fr); ! ! void list_fc_svc(int argc, char *argv[], int modify, frp_t fr); ! void add_fc_svc(int argc, char *argv[], int modify, frp_t fr); ! void del_fc_svc(int argc, char *argv[], int modify, frp_t fr); ! void list_fc_net(int argc, char *argv[], int modify, frp_t fr); ! void add_fc_net(int argc, char *argv[], int modify, frp_t fr); ! void del_fc_net(int argc, char *argv[], int modify, frp_t fr); ! void list_fc_flow(int argc, char *argv[], int modify, frp_t fr); ! void add_fc_flow(int argc, char *argv[], int modify, frp_t fr); ! void del_fc_flow(int argc, char *argv[], int modify, frp_t fr); ! void list_fc_pol(int argc, char *argv[], int modify, frp_t fr); ! void add_fc_pol(int argc, char *argv[], int modify, frp_t fr); ! void del_fc_pol(int argc, char *argv[], int modify, frp_t fr); ! void fc_apply(int argc, char *argv[], int modify, frp_t fr); void list_auto(int argc, char *argv[], int modify, frp_t fr); void set_auto(int argc, char *argv[], int modify, frp_t fr); Index: sysipc.h =================================================================== RCS file: /cvsroot/netadm/gwc/include/sysipc.h,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -C2 -d -r1.1.1.1 -r1.2 *** sysipc.h 30 Jan 2006 17:41:29 -0000 1.1.1.1 --- sysipc.h 25 Feb 2006 22:59:00 -0000 1.2 *************** *** 78,98 **** CMD_SET_TXPW, CMD_LIST_IF, ! CMD_LIST_TC_MAXBW, ! CMD_ADD_TC_MAXBW, ! CMD_DEL_TC_MAXBW, ! CMD_LIST_TC_CLASS, ! CMD_ADD_TC_CLASS, ! CMD_DEL_TC_CLASS, ! CMD_LIST_TC_FILTER, ! CMD_ADD_TC_FILTER, ! CMD_DEL_TC_FILTER, ! CMD_LIST_TC_POL, ! CMD_ADD_TC_POL, ! CMD_DEL_TC_POL, ! CMD_TC_APPLY, ! CMD_LIST_HOSTPOL, ! CMD_ADD_HOSTPOL, ! CMD_DEL_HOSTPOL, ! CMD_HOSTPOL_APPLY, CMD_LIST_AUTO, CMD_SET_AUTO, --- 78,107 ---- CMD_SET_TXPW, CMD_LIST_IF, ! CMD_LIST_QOS_MAXBW, ! CMD_ADD_QOS_MAXBW, ! CMD_DEL_QOS_MAXBW, ! CMD_LIST_QOS_CLASS, ! CMD_ADD_QOS_CLASS, ! CMD_DEL_QOS_CLASS, ! CMD_LIST_QOS_FILTER, ! CMD_ADD_QOS_FILTER, ! CMD_DEL_QOS_FILTER, ! CMD_LIST_QOS_POL, ! CMD_ADD_QOS_POL, ! CMD_DEL_QOS_POL, ! CMD_QOS_APPLY, ! CMD_LIST_FC_SVC, ! CMD_ADD_FC_SVC, ! CMD_DEL_FC_SVC, ! CMD_LIST_FC_NET, ! CMD_ADD_FC_NET, ! CMD_DEL_FC_NET, ! CMD_LIST_FC_FLOW, ! CMD_ADD_FC_FLOW, ! CMD_DEL_FC_FLOW, ! CMD_LIST_FC_POL, ! CMD_ADD_FC_POL, ! CMD_DEL_FC_POL, ! CMD_FC_APPLY, CMD_LIST_AUTO, CMD_SET_AUTO, Index: sysdef.h =================================================================== RCS file: /cvsroot/netadm/gwc/include/sysdef.h,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -C2 -d -r1.1.1.1 -r1.2 *** sysdef.h 30 Jan 2006 17:41:29 -0000 1.1.1.1 --- sysdef.h 25 Feb 2006 22:59:00 -0000 1.2 *************** *** 20,23 **** --- 20,24 ---- #define KB 1000 + /* GLOBAL OBJECT START */ typedef struct { char *str; *************** *** 30,33 **** --- 31,56 ---- } sys_net_t; + typedef enum { + SYS_NT_NET = 1, + SYS_NT_HOST = 2, + } sys_net_type_e; + + typedef enum { + SYS_FLOW_BPS = 1, + SYS_FLOW_KBPS = 2, + SYS_FLOW_MBPS = 3, + SYS_FLOW_BYTE = 4, + SYS_FLOW_KBYTE = 5, + SYS_FLOW_MBYTE = 6, + } sys_thput_unit_e; + + typedef enum { + SYS_PROTO_TCP = IPPROTO_TCP, + SYS_PROTO_UDP = IPPROTO_UDP, + SYS_PROTO_ICMP = IPPROTO_ICMP, + } sys_proto_type_e; + + /* GLOBAL OBJECT END */ + /* 802dot11 radio interface */ /* type */ *************** *** 67,85 **** } sys_802dot11if_t; typedef struct { ! char if_name[OL]; ! char if_hostname[MAXHOSTNAME]; ! struct in_addr if_addr; ! struct in_addr if_mask; ! int bw; ! int root_id; ! int root_made; ! } sys_if_t; #define TC_DEV_MAXBW 1000001 /* kbyte, so about 1Gbyte */ typedef struct { char if_name[OL]; ! int bw; ! } sys_tc_dev_t; /* TODO: no need */ --- 90,109 ---- } sys_802dot11if_t; + /* QoS object start */ typedef struct { ! char if_name[OL]; ! char if_hostname[MAXHOSTNAME]; ! struct in_addr if_addr; ! struct in_addr if_mask; ! int bw; ! int root_id; ! int root_made; ! } qos_if_t; #define TC_DEV_MAXBW 1000001 /* kbyte, so about 1Gbyte */ typedef struct { char if_name[OL]; ! int bw; ! } qos_dev_t; /* TODO: no need */ *************** *** 92,111 **** int class_made; char if_name[OL]; ! } sys_tc_class_t; typedef enum { APC_TC_FILTER_TYPE_TOS = 0, APC_TC_FILTER_TYPE_PROTO, ! } sys_tc_filter_type_e; ! ! typedef enum { ! APC_TC_PROTO_TCP = IPPROTO_TCP, ! APC_TC_PROTO_UDP = IPPROTO_UDP, ! } sys_tc_proto_type_e; typedef struct { ! sys_tc_proto_type_e type; unsigned short port; ! } sys_tc_proto_t; #define APC_FILTER_TYPE_TOS 0x00000000 --- 116,130 ---- int class_made; char if_name[OL]; ! } qos_class_t; typedef enum { APC_TC_FILTER_TYPE_TOS = 0, APC_TC_FILTER_TYPE_PROTO, ! } qos_filter_type_e; typedef struct { ! sys_proto_type_e type; unsigned short port; ! } qos_proto_t; #define APC_FILTER_TYPE_TOS 0x00000000 *************** *** 139,152 **** char name[OL / 4]; char nf_name[MAXCOMMNAME]; ! } sys_tc_tos_t; typedef struct { char name[OL]; ! sys_tc_filter_type_e type; union { unsigned char tos; ! sys_tc_proto_t proto; } u; ! } sys_tc_filter_t; #define NOMARK 0 --- 158,171 ---- char name[OL / 4]; char nf_name[MAXCOMMNAME]; ! } qos_tos_t; typedef struct { char name[OL]; ! qos_filter_type_e type; union { unsigned char tos; ! qos_proto_t proto; } u; ! } qos_filter_t; #define NOMARK 0 *************** *** 157,170 **** typedef struct { char name[OL]; ! char filter_name[OL]; ! char class_name[OL]; ! int mark_used; ! char mark_name[OL / 4]; ! } sys_tc_pol_t; /* sys_host_pol_t/flag */ ! #define BLOCK_HOST 0x0001 ! #define MODIFY_SEQ 0x0002 #define MAX_PKTRATE 65535 --- 176,215 ---- typedef struct { + char name[OL]; + char filter_name[OL]; + char class_name[OL]; + int mark_used; + char mark_name[OL / 4]; + } qos_pol_t; + + /* QoS object start */ + + /* F L O W C O N T R O L start */ + typedef struct { + char name[OL]; + sys_net_type_e type; + sys_net_t net; + char net_if[OL]; + } fc_net_t; + + typedef struct { char name[OL]; ! sys_proto_type_e type; ! union { ! unsigned short port; ! unsigned short icmptype; ! } ext; ! } fc_svc_t; ! ! typedef struct { ! char name[OL]; ! int value; ! sys_thput_unit_e unit; ! } fc_flow_t; ! /* sys_host_pol_t/flag */ ! #define BLOCK_HOST 0x0001 ! #define MODIFY_SEQ 0x0002 #define MAX_PKTRATE 65535 *************** *** 172,180 **** --- 217,235 ---- /* struct in_addr ip; */ char name[OL]; + char src_net[OL]; + char src_svc[OL]; int ip; unsigned short flag; int max_pktrate; + } sys_fc_pol_t; + typedef struct { + /* struct in_addr ip; */ + char name[OL]; + int ip; + unsigned short flag; + int max_pktrate; } sys_host_pol_t; + #define AUTO_STATE_INIT 0 #define AUTO_STATE_S1 1 Index: global.h =================================================================== RCS file: /cvsroot/netadm/gwc/include/global.h,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** global.h 17 Feb 2006 08:09:18 -0000 1.2 --- global.h 25 Feb 2006 22:59:00 -0000 1.3 *************** *** 29,33 **** #define SZPKGNAME "Netadm network control system" #define SZSYSCOPYRIGHT "GPL v2" ! #define SZSYSVERSION "gwc-v0.1-pre2" /* package naming , version , copyright - end */ /* exe, config file path - start */ --- 29,33 ---- #define SZPKGNAME "Netadm network control system" #define SZSYSCOPYRIGHT "GPL v2" ! #define SZSYSVERSION "gwc-v0.1-pre3" /* package naming , version , copyright - end */ /* exe, config file path - start */ |
From: park j. <par...@ho...> - 2006-02-25 17:08:49
|
hi george it looks good ~ good idea ! if we can get a technical document in a latex format with Doxygen i always welcome. above all, i want you to do and show me the result first. because me and kwan-kyung is poor at using such a tool. thanks jeho park >From: "EP8KHA EP8KHA" <ep...@ho...> >To: par...@ho... >Subject: Auto-Documentation >Date: Sat, 25 Feb 2006 05:34:26 -0500 > >Jeho, >I was thinking it would be a good idea to use some sort of >auto-documentation system. I liked the way snort used uml to show how >their code is laid out and executed. I think it'll be great tool to use >for future developers and maintainers to quickly understand the code. The >only auto-documentation software that's open source I'm familier with is >Doxygen, whichI used this in a programming class with beautiful results: >http://www.stack.nl/~dimitri/doxygen/ > >You might have a better idea about this topic. What do you think ^_^ > > >George > >_________________________________________________________________ >Dont just search. Find. Check out the new MSN Search! >http://search.msn.click-url.com/go/onm00200636ave/direct/01/ > |
From: park j. <par...@ho...> - 2006-02-25 17:04:37
|
hi george it looks good ~ good idea ! if we can get a technical document in a latex format with Doxygen i always welcome. above all, i want you to do and show me the result first. because me and kwan-kyung is poor at using such a tool. thanks jeho park >From: "EP8KHA EP8KHA" <ep...@ho...> >To: par...@ho... >Subject: Auto-Documentation >Date: Sat, 25 Feb 2006 05:34:26 -0500 > >Jeho, >I was thinking it would be a good idea to use some sort of >auto-documentation system. I liked the way snort used uml to show how >their code is laid out and executed. I think it'll be great tool to use >for future developers and maintainers to quickly understand the code. The >only auto-documentation software that's open source I'm familier with is >Doxygen, whichI used this in a programming class with beautiful results: >http://www.stack.nl/~dimitri/doxygen/ > >You might have a better idea about this topic. What do you think ^_^ > > >George > >_________________________________________________________________ >Dont just search. Find. Check out the new MSN Search! >http://search.msn.click-url.com/go/onm00200636ave/direct/01/ > |
From: jeho-park <lin...@gm...> - 2006-02-24 14:17:44
|
hi george i found your letter today, i had wondered why you didn't upload html document. but today i became realized that reason by finding your letter. i fixed that problem.~ you might meet some permission error whenever you upload existing documents to shell.sf.net. because group(netadm) had no writing permission before> -rw-r--r-- 1 linuxpark netadm 3895 Feb 23 02:42 index.html so i changed group permission to be able to write any file. after fixing> -rw-rw-r-- 1 linuxpark netadm 3895 Feb 23 02:42 index.html but i can't access this file whose name is devel_netadm_en.txt because the owner of this file is bosaly like this -rw-r--r-- 1 bosaly netadm 4670 Feb 19 07:10 devel_netadm_en.txt hi Kwan-kyung ~ please give group writing permission of your file. thanks je-ho park EP8KHA EP8KHA wrote: > > Jeho, > How do I upload the webpage? I also don't want to write over our > current webpage, so, how would I backup our page before writing. > Thanks ^_^ > > George > >> From: jeho-park <lin...@gm...> >> To: EP8KHA EP8KHA <ep...@ho...> >> Subject: Re: webpage changes >> Date: Tue, 21 Feb 2006 12:59:13 +0900 >> >> hi george >> >> thanks ^-^ it looks better >> i had worried about the previous sentence which i wrote. because that >> was not natural english. but you helped me ~ >> >> thanks >> >> jeho park >> >> >> EP8KHA EP8KHA wrote: >> >> > Jeho, >> > These are some of the changes I've done so far on the webpage. I want >> > to elicit your opinion on these changes before I upload it onto our >> > main website. Thanks ^_^ >> > >> > George >> > >> > _________________________________________________________________ >> > On the road to retirement? Check out MSN Life Events for advice on how >> > to get there! http://lifeevents.msn.com/category.aspx?cid=Retirement >> > >> > >> ------------------------------------------------------------------------ >> > >> > >> > Netadm >> > >> > License :GPL version 2 >> > netadm project <http://netadm.sourceforge.net> since 30. jan 2006 >> > >> > DMR picture >> > >> > >> ------------------------------------------------------------------------ >> > >> > * >> > >> > >> > What is Netadm? >> > >> > Netadm is a package that provides network monitoring and control >> > for Unix based systems. The network monitoring implementation is >> > called Network Performance Tool(NPT) and GateWay Control(GWC) >> > for the network control implementation. NPT uses a GUI interface >> > to display TCP and UDP performance in a network segment for a >> > desired duration. Additionally, it's capable of displaying >> > throughput, TCP kernel variables, and packet loss. GWC provides >> > two main network control functionality. These are Quality of >> > Service(QoS) and Bandwidth control or also called 'flow >> > control'. If there are any questions or details desired, you can >> > contact Jeho-Park <mailto:lin...@gm...> or join >> > the mailing list below. >> > >> > * >> > >> > >> > Main page <http://sourceforge.net/projects/netadm> >> > >> > * >> > >> > >> > Quick Installation [linux] <http://netadm.sf.net/fast.html> >> > >> > * >> > >> > >> > Documentation [comming soon] >> > <http://sourceforge.net/docman/?group_id=158588> >> > >> > o Developer documents >> > + HTML english >> > <http://netadm.sf.net/devel_netadm_en.html> , korean >> > <http://netadm.sf.net/devel_netadm_ko.html> >> > + TEXT english >> > <http://netadm.sf.net/devel_netadm_en.txt> , korean >> > <http://netadm.sf.net/devel_netadm_ko.txt>(this is >> > the current rough draft) >> > o Library <netadm_api.html> >> > o User manual [comming soon] >> > * >> > >> > >> > Screenshots >> > >> <http://sourceforge.net/project/screenshots.php?group_id=158588> >> > >> > >> > * >> > >> > >> > Download >> > >> > o Last, gwc-v0.1-pre2 >> > >> <http://sourceforge.net/project/showfiles.php?group_id=158588> >> > , 2006. 02. 17 >> > o All of gwc in netadm project. >> > >> <http://sourceforge.net/project/showfiles.php?group_id=158588&package_id=178536> >> >> > * >> > >> > >> > Anonymous CVS download <http://netadm.sf.net/acvs.html>, >> > Cvsview <http://cvs.sourceforge.net/viewcvs.py/netadm/> >> > >> > * >> > >> > >> > Resources Repository >> > <http://jhpark.guideline.co.kr/data/PROJECT/netadm/> >> > >> > * >> > >> > >> > TODO <http://netadm.sf.net/todo.html> >> > >> > * >> > >> > >> > Mailling list >> > >> > o net...@li... >> > >> <http://lists.sourceforge.net/mailman/listinfo/netadm-devel>, >> > archive >> > >> <http://sourceforge.net/mailarchive/forum.php?forum_id=47626> >> > o net...@li... >> > >> <http://lists.sourceforge.net/mailman/listinfo/netadm-users>, >> > archive >> > >> <http://sourceforge.net/mailarchive/forum.php?forum=netadm-users> >> > >> > >> > >> ------------------------------------------------------------------------ >> > Contact to: Jeho-Park <mailto:lin...@gm...>, 2006. 02. >> > 19. (sun) 22:24:08 KST >> > KernelProject <http://www.kernelproject.org> >> > SourceForge.net Logo <http://sourceforge.net> >> > >> > > _________________________________________________________________ > On the road to retirement? Check out MSN Life Events for advice on how > to get there! http://lifeevents.msn.com/category.aspx?cid=Retirement > > |
From: linuxpark <lin...@us...> - 2006-02-23 20:19:31
|
Update of /cvsroot/netadm/npt/nptlib In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv5696/nptlib Modified Files: confproc.c sysnio.c Log Message: MOD: modify name of some variable or path. because this program first was developed for wibro network or wireless. but now, i think this is mainly for lan. so modified some names Index: confproc.c =================================================================== RCS file: /cvsroot/netadm/npt/nptlib/confproc.c,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -C2 -d -r1.1.1.1 -r1.2 *** confproc.c 23 Feb 2006 19:44:33 -0000 1.1.1.1 --- confproc.c 23 Feb 2006 20:19:19 -0000 1.2 *************** *** 322,326 **** sys_pkg_result_t result; sys_pkg_result_t *pr = &result; ! wibro_ptest_tcpinfo_t tcpinfo, *ptcpinfo = &tcpinfo; int i; double timestamp; --- 322,326 ---- sys_pkg_result_t result; sys_pkg_result_t *pr = &result; ! ptest_tcpinfo_t tcpinfo, *ptcpinfo = &tcpinfo; int i; double timestamp; *************** *** 417,421 **** for (i = 0; i < TCPINFO_TRACK_NUM; i++) { ! if (read(fd, ptcpinfo, sizeof (wibro_ptest_tcpinfo_t)) < 0) { fr->rows = -1; frerr(fr, RET_EREAD, "Cannot read from %s: %m", --- 417,421 ---- for (i = 0; i < TCPINFO_TRACK_NUM; i++) { ! if (read(fd, ptcpinfo, sizeof (ptest_tcpinfo_t)) < 0) { fr->rows = -1; frerr(fr, RET_EREAD, "Cannot read from %s: %m", Index: sysnio.c =================================================================== RCS file: /cvsroot/netadm/npt/nptlib/sysnio.c,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -C2 -d -r1.1.1.1 -r1.2 *** sysnio.c 23 Feb 2006 19:44:33 -0000 1.1.1.1 --- sysnio.c 23 Feb 2006 20:19:19 -0000 1.2 *************** *** 425,429 **** bzero((char *) &serv_addr, sizeof (serv_addr)); serv_addr.sun_family = AF_UNIX; ! strcpy(serv_addr.sun_path, SZIPC_WIBRO_TO_NPT); servlen = strlen(serv_addr.sun_path) + sizeof (serv_addr.sun_family); --- 425,429 ---- bzero((char *) &serv_addr, sizeof (serv_addr)); serv_addr.sun_family = AF_UNIX; ! strcpy(serv_addr.sun_path, SZIPC_OTHER_TO_NPT); servlen = strlen(serv_addr.sun_path) + sizeof (serv_addr.sun_family); *************** *** 453,457 **** bzero((char *) &serv_addr, sizeof (serv_addr)); serv_addr.sun_family = AF_UNIX; ! strcpy(serv_addr.sun_path, SZIPC_WIBRO_TO_NPT); servlen = strlen(serv_addr.sun_path) + sizeof (serv_addr.sun_family); --- 453,457 ---- bzero((char *) &serv_addr, sizeof (serv_addr)); serv_addr.sun_family = AF_UNIX; ! strcpy(serv_addr.sun_path, SZIPC_OTHER_TO_NPT); servlen = strlen(serv_addr.sun_path) + sizeof (serv_addr.sun_family); *************** *** 467,471 **** sys_ccm_ipcclean(void) { ! return unlink(SZIPC_WIBRO_TO_NPT); } --- 467,471 ---- sys_ccm_ipcclean(void) { ! return unlink(SZIPC_OTHER_TO_NPT); } |
From: linuxpark <lin...@us...> - 2006-02-23 20:19:31
|
Update of /cvsroot/netadm/npt In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv5696 Modified Files: README Log Message: MOD: modify name of some variable or path. because this program first was developed for wibro network or wireless. but now, i think this is mainly for lan. so modified some names Index: README =================================================================== RCS file: /cvsroot/netadm/npt/README,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -C2 -d -r1.1.1.1 -r1.2 *** README 23 Feb 2006 19:44:33 -0000 1.1.1.1 --- README 23 Feb 2006 20:19:18 -0000 1.2 *************** *** 5,15 **** [table of contents] ! 1. what is wibro-npt. ! 1. what is wibro-npt. --------------------- ! wibro-npt is network performance benchmarking tool. ! this wibro-npt test network performance with receving host and transmitting host. it is similar server-client model. transmit host or transmit mode host is like client and receive mode host is like server. but you can get the most of all test result from transmiting host. as a result, you must setup the network like below [ Transmit mode host ] <---------------------> [ Receive mode host ] --- 5,15 ---- [table of contents] ! 1. what is the npt. ! 1. what is the npt. --------------------- ! npt is network performance benchmarking tool. ! this npt tests network performance with receving host and transmitting host. it is similar server-client model. transmit host or transmit mode host is like client and receive mode host is like server. but you can get the most of all test result from transmiting host. as a result, you must setup the network like below [ Transmit mode host ] <---------------------> [ Receive mode host ] |
From: linuxpark <lin...@us...> - 2006-02-23 20:19:31
|
Update of /cvsroot/netadm/npt/include In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv5696/include Modified Files: global.h sysdef.h Log Message: MOD: modify name of some variable or path. because this program first was developed for wibro network or wireless. but now, i think this is mainly for lan. so modified some names Index: sysdef.h =================================================================== RCS file: /cvsroot/netadm/npt/include/sysdef.h,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -C2 -d -r1.1.1.1 -r1.2 *** sysdef.h 23 Feb 2006 19:44:33 -0000 1.1.1.1 --- sysdef.h 23 Feb 2006 20:19:18 -0000 1.2 *************** *** 111,115 **** double latency; /* Elapsed time per one packet going to a receiver in case there is no lost */ ! } wibro_ptest_result_t; typedef struct { --- 111,115 ---- double latency; /* Elapsed time per one packet going to a receiver in case there is no lost */ ! } ptest_result_t; typedef struct { *************** *** 126,139 **** int seq; // jpkim ! } wibro_autoptest_result_t; typedef struct { char ret[OL / 4]; ! wibro_ptest_result_t result; } sys_pkg_result_t; typedef struct { char ret[OL / 4]; ! wibro_autoptest_result_t result; } sys_pkg_autoresult_t; --- 126,139 ---- int seq; // jpkim ! } autoptest_result_t; typedef struct { char ret[OL / 4]; ! ptest_result_t result; } sys_pkg_result_t; typedef struct { char ret[OL / 4]; ! autoptest_result_t result; } sys_pkg_autoresult_t; *************** *** 159,163 **** u_int32_t tcp_advmss; u_int32_t tcp_reordering; ! } wibro_ptest_tcpinfo_t; /* type */ --- 159,163 ---- u_int32_t tcp_advmss; u_int32_t tcp_reordering; ! } ptest_tcpinfo_t; /* type */ Index: global.h =================================================================== RCS file: /cvsroot/netadm/npt/include/global.h,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -C2 -d -r1.1.1.1 -r1.2 *** global.h 23 Feb 2006 19:44:33 -0000 1.1.1.1 --- global.h 23 Feb 2006 20:19:18 -0000 1.2 *************** *** 51,56 **** /* exe, config file path - end */ #define SZFWCSSFRTLD "/tmp/.SYS_RTLD" ! #define SZSYSIPC "/tmp/.WIBRO_NPT_IPC_START" ! #define SZIPC_WIBRO_TO_NPT "/tmp/.wibro_to_npt" #define SYSCMAXLINE 256 #define SYSCOKSTR "OK" --- 51,56 ---- /* exe, config file path - end */ #define SZFWCSSFRTLD "/tmp/.SYS_RTLD" ! #define SZSYSIPC "/tmp/.NPT_IPC_START" ! #define SZIPC_OTHER_TO_NPT "/tmp/.other_to_npt" #define SYSCMAXLINE 256 #define SYSCOKSTR "OK" |
From: linuxpark <lin...@us...> - 2006-02-23 20:19:31
|
Update of /cvsroot/netadm/npt/nptguid In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv5696/nptguid Modified Files: main.c Log Message: MOD: modify name of some variable or path. because this program first was developed for wibro network or wireless. but now, i think this is mainly for lan. so modified some names Index: main.c =================================================================== RCS file: /cvsroot/netadm/npt/nptguid/main.c,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -C2 -d -r1.1.1.1 -r1.2 *** main.c 23 Feb 2006 19:44:33 -0000 1.1.1.1 --- main.c 23 Feb 2006 20:19:19 -0000 1.2 *************** *** 103,107 **** for (;;) { ! if (access(SZIPC_WIBRO_TO_NPT, 0000) < 0) { if (errno == EINTR) { out("Failed to access :%s\n", strerror(errno)); --- 103,107 ---- for (;;) { ! if (access(SZIPC_OTHER_TO_NPT, 0000) < 0) { if (errno == EINTR) { out("Failed to access :%s\n", strerror(errno)); *************** *** 109,113 **** continue; } else { ! remove(SZIPC_WIBRO_TO_NPT); break; } --- 109,113 ---- continue; } else { ! remove(SZIPC_OTHER_TO_NPT); break; } |
From: linuxpark <lin...@us...> - 2006-02-23 20:19:26
|
Update of /cvsroot/netadm/npt/nptadmd In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv5696/nptadmd Modified Files: main.c Log Message: MOD: modify name of some variable or path. because this program first was developed for wibro network or wireless. but now, i think this is mainly for lan. so modified some names Index: main.c =================================================================== RCS file: /cvsroot/netadm/npt/nptadmd/main.c,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -C2 -d -r1.1.1.1 -r1.2 *** main.c 23 Feb 2006 19:44:33 -0000 1.1.1.1 --- main.c 23 Feb 2006 20:19:18 -0000 1.2 *************** *** 268,272 **** sys_pkg_result_t result, *pr = &result; sys_pkg_autoresult_t auto_result, *apr = &auto_result; ! wibro_ptest_tcpinfo_t wibro_tcpinfo, *ptcpinfo = &wibro_tcpinfo; while ((c = getopt (argc, argv, "dhpf")) != EOF) --- 268,272 ---- sys_pkg_result_t result, *pr = &result; sys_pkg_autoresult_t auto_result, *apr = &auto_result; ! ptest_tcpinfo_t wibro_tcpinfo, *ptcpinfo = &wibro_tcpinfo; while ((c = getopt (argc, argv, "dhpf")) != EOF) *************** *** 527,531 **** if (write ! (cli, ptcpinfo, sizeof (wibro_ptest_tcpinfo_t)) < 0) { --- 527,531 ---- if (write ! (cli, ptcpinfo, sizeof (ptest_tcpinfo_t)) < 0) { *************** *** 677,681 **** ptest (cli, ptr) int cli; ! wibro_ptest_result_t *ptr; { unsigned long addr_tmp; --- 677,681 ---- ptest (cli, ptr) int cli; ! ptest_result_t *ptr; { unsigned long addr_tmp; |
From: jeho-park <lin...@gm...> - 2006-02-23 19:55:25
|
hi everyone~ initial npt version was checked in to the cvs server of netadm project. npt is Network Performance test tool. it has some problem. for example, the width size of GUI which show the performance metrics in realtime is decided by the file size or some variables ... so this must be modified as general form. thanks jeho park |
From: jeho-park <lin...@gm...> - 2006-02-23 19:55:25
|
hi everyone~ initial npt version was checked in to the cvs server of netadm project. npt is Network Performance test tool. it has some problem. for example, the width size of GUI which show the performance metrics in realtime is decided by the file size or some variables ... so this must be modified as general form. thanks jeho park |
From: linuxpark <lin...@us...> - 2006-02-23 19:47:26
|
Update of /cvsroot/netadm/npt In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv20718 Removed Files: install.log Log Message: REMOVE install.log. it's my fault. --- install.log DELETED --- |
From: jeho-park <lin...@gm...> - 2006-02-22 23:34:57
|
hi all as you know, i suggested the goal of our project in this year. ( http://netadm.sf.net/gwc_todo.ppt ) to achieve the project goal which was described in that file, we first have to implement a Intrusion detection System engine. or port some another engine which is already implemented by other project to our source directory. as a result, through some interface functions of this engine, we can start to make a IPS(Intrusion Prevention System). as a summary, i want to know whether the current frame of snort is contructed with the form from which we can port its engine to our program. if it is impossible to port snort engine to our source, i think we have to decide whether to search another IDS engine or to make it by ourselves. |
From: jeho-park <lin...@gm...> - 2006-02-22 14:08:24
|
hi george i read your mail which subject is "snort-status" and this mail below . i agree with your idea, so i will wait your advice about snort. above all, i am afraid that kwan-kyung gave up our project, because he did not reply to my email so i will delay adding new functionalities in "flow control" of gwc but will translate develop document into korean by myself as soon as possible. good luck~ thanks EP8KHA EP8KHA wrote: > Hi, > Not to downplay our abilities but I think we should make an effort to > find a good IDS engine before thinking about making our own. It seems > easier that way and would eliminate potential problems. > > George > > >> From: jeho-park <lin...@gm...> >> To: net...@li... >> Subject: [Netadm-devel] Question about IDS engine. [please ignore >> lin...@gm... it's not valid address] >> Date: Tue, 21 Feb 2006 14:42:04 +0900 >> >> hi all >> >> as you know, i suggested the goal of our project in this year. ( >> http://netadm.sf.net/gwc_todo.ppt ) >> to achieve the project goal which was described in that file, we first >> have to implement a Intrusion detection System engine. or port some >> another engine which is already implemented by other project to our >> source directory. >> as a result, through some interface functions of this engine, we can >> start to make a IPS(Intrusion Prevention System). >> >> as a summary, i want to know whether the current frame of snort is >> contructed with the form from which we can port its engine to our >> program. if it is impossible to port snort engine to our source, i think >> we have to decide whether to search another IDS engine or to make it by >> ourselves. >> >> >> >> >> >> ------------------------------------------------------- >> This SF.net email is sponsored by: Splunk Inc. Do you grep through >> log files >> for problems? Stop! Download the new AJAX search engine that makes >> searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! >> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 >> _______________________________________________ >> Netadm-devel mailing list >> Net...@li... >> https://lists.sourceforge.net/lists/listinfo/netadm-devel > > > _________________________________________________________________ > Express yourself instantly with MSN Messenger! Download today - it's > FREE! http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/ > > > > ------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. Do you grep through log > files > for problems? Stop! Download the new AJAX search engine that makes > searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 > _______________________________________________ > Netadm-devel mailing list > Net...@li... > https://lists.sourceforge.net/lists/listinfo/netadm-devel > |
From: EP8KHA E. <ep...@ho...> - 2006-02-22 00:40:15
|
Hi, Not to downplay our abilities but I think we should make an effort to find a good IDS engine before thinking about making our own. It seems easier that way and would eliminate potential problems. George >From: jeho-park <lin...@gm...> >To: net...@li... >Subject: [Netadm-devel] Question about IDS engine. [please ignore >lin...@gm... it's not valid address] >Date: Tue, 21 Feb 2006 14:42:04 +0900 > >hi all > >as you know, i suggested the goal of our project in this year. ( >http://netadm.sf.net/gwc_todo.ppt ) >to achieve the project goal which was described in that file, we first >have to implement a Intrusion detection System engine. or port some >another engine which is already implemented by other project to our >source directory. >as a result, through some interface functions of this engine, we can >start to make a IPS(Intrusion Prevention System). > >as a summary, i want to know whether the current frame of snort is >contructed with the form from which we can port its engine to our >program. if it is impossible to port snort engine to our source, i think >we have to decide whether to search another IDS engine or to make it by >ourselves. > > > > > >------------------------------------------------------- >This SF.net email is sponsored by: Splunk Inc. Do you grep through log >files >for problems? Stop! Download the new AJAX search engine that makes >searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! >http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 >_______________________________________________ >Netadm-devel mailing list >Net...@li... >https://lists.sourceforge.net/lists/listinfo/netadm-devel _________________________________________________________________ Express yourself instantly with MSN Messenger! Download today - it's FREE! http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/ |
From: jeho-park <lin...@gm...> - 2006-02-21 13:08:29
|
hi all as you know, i suggested the goal of our project in this year. ( http://netadm.sf.net/gwc_todo.ppt ) to achieve the project goal which was described in that file, we first have to implement a Intrusion detection System engine. or port some another engine which is already implemented by other project to our source directory. as a result, through some interface functions of this engine, we can start to make a IPS(Intrusion Prevention System). as a summary, i want to know whether the current frame of snort is contructed with the form from which we can port its engine to our program. if it is impossible to port snort engine to our source, i think we have to decide whether to search another IDS engine or to make it by ourselves. |
From: linuxpark <lin...@us...> - 2006-02-20 18:40:59
|
Update of /cvsroot/netadm/gwc/scripts In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv32529/scripts Modified Files: install.sh Log Message: fix: i found some ugly english during installation process. ignore this fix. Index: install.sh =================================================================== RCS file: /cvsroot/netadm/gwc/scripts/install.sh,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** install.sh 19 Feb 2006 21:59:59 -0000 1.8 --- install.sh 20 Feb 2006 18:40:48 -0000 1.9 *************** *** 71,75 **** version %s ! This script is a configurator and installor for %s." ${PROD} ${VERSION} ${PROD}) $DIALOG --msgbox "$msg" 10 75 || acex 0 } --- 71,75 ---- version %s ! This script will help you to configurate and install %s." ${PROD} ${VERSION} ${PROD}) $DIALOG --msgbox "$msg" 10 75 || acex 0 } *************** *** 413,417 **** get_target_remote () { ! dialog --title "netadm_gwc Configuration" --radiolist "Select whether the target system exiest" 10 75 2 0 "This local system" "off" 1 "Remote" "on" 2>remote.txt if [ $? != 0 ]; then --- 413,417 ---- get_target_remote () { ! dialog --title "netadm_gwc Configuration" --radiolist "Select where your target system is" 10 75 2 0 "This local system" "off" 1 "Remote" "on" 2>remote.txt if [ $? != 0 ]; then *************** *** 472,476 **** %s/config ! Installed program list ---------------------------- %s/%s { Main start|stop script } --- 472,476 ---- %s/config ! list of installed binaries. ---------------------------- %s/%s { Main start|stop script } |
From: jeho-park <lin...@gm...> - 2006-02-20 11:25:59
|
http://netadm.sf.net/gwc_todo.odp (openoffice version) http://netadm.sf.net/gwc_todo.ppt (msword version) this presentation file describe ----------------------------------- 1. project goal and etc 2. members 3. new functionalities of gwc-v0.1-pre3 ( which will come soon ?) 4. functionalities of cherokee version 0.0.1 5. todo if someone have question or good suggestion, let me know your idea please thanks ~ |
From: linuxpark <lin...@us...> - 2006-02-19 22:00:22
|
Update of /cvsroot/netadm/gwc/scripts In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv32144/scripts Modified Files: gwc install.sh Log Message: MOD: MOD: modify current install.sh script to show error message in terminal whenever someone meets error during installation. FIX: fix 'vq', 'cq' option of gwc script from now on, gwc script will show or clear QoS policies more exactly. because it will check current valid interfaces of local system. Index: gwc =================================================================== RCS file: /cvsroot/netadm/gwc/scripts/gwc,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** gwc 17 Feb 2006 06:59:00 -0000 1.2 --- gwc 19 Feb 2006 21:59:59 -0000 1.3 *************** *** 19,22 **** --- 19,24 ---- MODDIR=${MAINDIR}/modules SZSYSIPC="/tmp/.NETADM_GWC.CLI_WITH_ADMD" + TMP="/tmp" + TC_CMD="/sbin/tc" killproc() { *************** *** 38,41 **** --- 40,57 ---- + check_if() + { + netstat -in > ${TMP}/netstat.$$ + cp /dev/null ${TMP}/iflist.$$ + while read NAME MTU NET ADDR TAIL + do + if [ ! -z ${NAME} -a ${NAME} != "Name" -a ${NAME} != "lo0" -a ${NAME} != "Kernel" -a ${NAME} != "Iface" ] + then + echo ${NAME} ${ADDR} >> ${TMP}/iflist.$$ + fi + done < ${TMP}/netstat.$$ + rm -f ${TMP}/netstat.$$ + } + chkstate(){ pid=`/bin/ps -e | *************** *** 89,123 **** view_queue (){ ! echo "----------------------- qdisc -------------------------" >&2 ! tc -s qdisc ! ! echo "" ! echo "" ! echo "" ! echo "---------------------- classes ------------------------" >&2 ! echo "" ! echo "--- classes eth0 ---------" >&2 ! tc -s class show dev eth0 ! echo "" ! echo "--- classes eth1 ---------" >&2 ! tc -s class show dev eth1 ! echo "" ! echo "" ! echo "" ! echo "--------------------- filter -----------------------" >&2 ! echo "" ! echo "--- filter eth0 ---------" >&2 ! tc -s filter show dev eth0 ! echo "" ! echo "--- filter eth1 ---------" >&2 ! tc -s filter show dev eth1 } clear_queue(){ ! echo "> Shut down previous qdisc" >&2 ! tc qdisc del root dev eth0 ! echo "> Shut down previous qdisc" >&2 ! tc qdisc del root dev eth1 ! } --- 105,141 ---- view_queue (){ ! check_if ! echo "============ Qdisc ================" ! $TC_CMD -s qdisc ! echo "-----------------------------------" ! IFCNT=0 ! while read INTERFACE ADDR ! do ! IFCNT=`expr ${IFCNT} + 1` ! echo ${IFCNT} > ${TMP}/ifcnt.$$ ! printf "Class of %-16s -----------\n" ${INTERFACE} ! ${TC_CMD} -s class show dev ${INTERFACE} ! printf "filter of %-16s -----------\n" ${INTERFACE} ! ${TC_CMD} -s filter show dev ${INTERFACE} ! done < ${TMP}/iflist.$$ ! echo "===================================" ! IFCNT=`cat ${TMP}/ifcnt.$$` ! rm -f ${TMP}/ifcnt.$$ } clear_queue(){ ! ! check_if ! IFCNT=0 ! while read INTERFACE ADDR ! do ! IFCNT=`expr ${IFCNT} + 1` ! echo ${IFCNT} > ${TMP}/ifcnt.$$ ! printf "Shut down qdisc of %-16s -----------\n" ${INTERFACE} ! ${TC_CMD} qdisc del root dev ${INTERFACE} ! done < ${TMP}/iflist.$$ ! echo "===================================" ! IFCNT=`cat ${TMP}/ifcnt.$$` ! rm -f ${TMP}/ifcnt.$$ } Index: install.sh =================================================================== RCS file: /cvsroot/netadm/gwc/scripts/install.sh,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** install.sh 17 Feb 2006 08:09:18 -0000 1.7 --- install.sh 19 Feb 2006 21:59:59 -0000 1.8 *************** *** 24,27 **** --- 24,29 ---- INST=/usr/bin/install LOGFILE=install.log + TC_CMD="/sbin/tc" + IPTABLES_CMD="/sbin/iptables" TMP_CONFIG=config.$$ *************** *** 39,42 **** --- 41,45 ---- SUPPORT_SNMP="" SNMP_COMMUNITY_NAME="" + ERROR="" # i18n stuff *************** *** 89,92 **** --- 92,96 ---- xecho "The installation was aborted." + xecho "fatal error: ${ERROR}" log "The installation was aborted." >&2 exit 1 *************** *** 121,125 **** if [ ${kernel_ver} != "2.6" ]; then ! $DIALOG --msgbox "Kernel must above than 2.6.0 but your kernel isn't so abort ..." 20 75 || acex 0 abort_install exit 1 --- 125,130 ---- if [ ${kernel_ver} != "2.6" ]; then ! ERROR="Kernel must above than 2.6.0 but your kernel isn't so abort ..." ! $DIALOG --msgbox "${ERROR}" 20 75 || acex 0 abort_install exit 1 *************** *** 242,246 **** check_usr(){ if [ "$UID" != "0" ]; then ! local msg=$(xmsg "error: Installation process requires superuser priviliges abort install ...") $DIALOG --infobox "$msg" 5 75 sleep 2 --- 247,252 ---- check_usr(){ if [ "$UID" != "0" ]; then ! ERROR="error: Installation process requires superuser priviliges abort install ..." ! local msg=$(xmsg "${ERROR}") $DIALOG --infobox "$msg" 5 75 sleep 2 *************** *** 262,266 **** file_check(){ if [ ! -f gwccli/gwccli ]; then ! $DIALOG --infobox "gwccli binary does not exist, compile first! abort install ..." 5 75 sleep 2 abort_install --- 268,273 ---- file_check(){ if [ ! -f gwccli/gwccli ]; then ! ERROR="gwccli binary does not exist, compile first! abort install ..." ! $DIALOG --infobox "${ERROR}" 5 75 sleep 2 abort_install *************** *** 270,274 **** if [ ! -f gwcguid/gwcguid ]; then ! $DIALOG --infobox "gwcguid binary does not exist, compile first! abort install ..." 5 75 sleep 2 abort_install --- 277,282 ---- if [ ! -f gwcguid/gwcguid ]; then ! ERROR="gwcguid binary does not exist, compile first! abort install ..." ! $DIALOG --infobox "${ERROR}" 5 75 sleep 2 abort_install *************** *** 278,282 **** if [ ! -f gwcadmd/gwcadmd ]; then ! $DIALOG --infobox "gwcadmd binary does not exist, compile first! abort install ..." 5 75 sleep 2 abort_install --- 286,291 ---- if [ ! -f gwcadmd/gwcadmd ]; then ! ERROR="gwcadmd binary does not exist, compile first! abort install ..." ! $DIALOG --infobox "${ERROR}" 5 75 sleep 2 abort_install *************** *** 287,291 **** if [ $KVER == 2 ]; then if [ ! -f pf/pf.ko ]; then ! $DIALOG --infobox "pf module does not exist, compile first! abort install ..." 5 75 sleep 2 abort_install --- 296,301 ---- if [ $KVER == 2 ]; then if [ ! -f pf/pf.ko ]; then ! ERROR="pf module does not exist, compile first! abort install ..." ! $DIALOG --infobox "${ERROR}" 5 75 sleep 2 abort_install *************** *** 296,300 **** if [ ! -f scripts/gwc ]; then ! $DIALOG --infobox "gwc script does not exist, abort install ..." 5 75 sleep 2 abort_install --- 306,311 ---- if [ ! -f scripts/gwc ]; then ! ERROR="gwc script does not exist, abort install ..." ! $DIALOG --infobox "${ERROR}" 5 75 sleep 2 abort_install *************** *** 302,305 **** --- 313,334 ---- exit 1 fi + + if [ ! -f $TC_CMD ]; then + ERROR="$TC_CMD does not exist, abort install ..." + $DIALOG --infobox "${ERROR}" 5 75 + sleep 2 + abort_install + log "iproute tools does not exist , abort ..." + exit 1 + fi + + if [ ! -f $IPTABLES_CMD ]; then + ERROR="$IPTABLES_CMD tools does not exist, abort install ..." + $DIALOG --infobox "${ERROR}" 5 75 + sleep 2 + abort_install + log "iproute tools does not exist , abort ..." + exit 1 + fi } *************** *** 307,311 **** config_file_check () { if [ ! -f config.$$ ]; then ! $DIALOG --infobox "temporary config file does not exist , abort install..." 5 80 sleep 2 abort_install --- 336,341 ---- config_file_check () { if [ ! -f config.$$ ]; then ! ERROR="temporary config file does not exist , abort install..." ! $DIALOG --infobox "${ERROR}" 5 80 sleep 2 abort_install *************** *** 323,327 **** sleep 1 else ! $DIALOG --infobox "No ${FILES} found, abort install ..." 5 80 sleep 2 abort_install --- 353,358 ---- sleep 1 else ! ERROR="No ${FILES} found, abort install ..." ! $DIALOG --infobox "${ERROR}" 5 80 sleep 2 abort_install *************** *** 479,483 **** OS=`uname -s` if [ "${OS}" != "Linux" ]; then ! $DIALOG --infobox "Can't support for OS: $OS, abort install ..." 10 75 sleep 2 abort_install --- 510,515 ---- OS=`uname -s` if [ "${OS}" != "Linux" ]; then ! ERROR="Can't support for OS: $OS, abort install ..." ! $DIALOG --infobox "${ERROR}" 10 75 sleep 2 abort_install *************** *** 487,491 **** if [ -e ${MAINDIR} ]; then ! $DIALOG --infobox "Already installed, abort ..." 5 75 || acex 0 sleep 2 log "Already installed, abort ...">&2 --- 519,524 ---- if [ -e ${MAINDIR} ]; then ! ERROR="Already installed, abort ..." ! $DIALOG --infobox "${ERROR}" 5 75 || acex 0 sleep 2 log "Already installed, abort ...">&2 *************** *** 526,530 **** get_snmp_info ! $DIALOG --infobox "Initialize first gwc config ..." 5 75 sleep 2 init_config --- 559,563 ---- get_snmp_info ! $DIALOG --infobox "Initialize gwc config ..." 5 75 sleep 2 init_config |
From: jeho-park <lin...@gm...> - 2006-02-19 21:53:55
|
hi all ! i am jeho-park, recently i changed my email address to lin...@gm... because hotmail does not provide pop3 service. EP8KHA EP8KHA wrote: > I think it would be best for me to proof read any documents written > since English is suppose to be my native language. I will be more than > happy to fill this role while I wait for documentation. ^_^ > > George > yes i think so :-) previously thanks > >> From: MoonC <bo...@gm...> >> To: net...@li... >> Subject: [Netadm-devel] I'm writting to devel_netadm_en.txt >> Date: Mon, 20 Feb 2006 00:19:29 +0900 >> >> Hi. netadm members. >> I'm Moon Kwan-kyung. I'm trying to transrating devel_netadm_ko.txt to >> devel_netadm_en.txt. >> My english skill is ugly, so many transtated parts is not correct. >> but I'll >> try to end trasrate devel_notadm_ko.txt. >> >> incompletion document is here >> : http://netadm.sourceforge.net/devel_netadm_en.txt >> >> Thank you. > > thanks kwan-kyung ! i didn't want you comlete english version of this document, so take it easy. ^-^ george will check your document soon after you will finish that work. cheer up ! thanks jeho park p.s : in current cvs version of gwc, it has 2 problem. or may be more :-( 1. error message in terminal like this below " RTNETLINK answers: No such file or directory " this error message is not fatal, but it just occur because i use tc command for refleshing previous QoS rules before applying current rules in memory. ( gwclib/confproc.c tc_apply() ) so if someone apply QoS policy at the first time soon after installation. he will see this message because there is no any applied QoS rule. 2. current gwc can't filter UDP packet in QoS functionality. if someone resolve these problem, i will be happly ~ > _________________________________________________________________ > Express yourself instantly with MSN Messenger! Download today - it's > FREE! http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/ > > > > ------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. Do you grep through log > files > for problems? Stop! Download the new AJAX search engine that makes > searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 > _______________________________________________ > Netadm-devel mailing list > Net...@li... > https://lists.sourceforge.net/lists/listinfo/netadm-devel > |
From: EP8KHA E. <ep...@ho...> - 2006-02-19 18:45:09
|
I think it would be best for me to proof read any documents written since English is suppose to be my native language. I will be more than happy to fill this role while I wait for documentation. ^_^ George >From: MoonC <bo...@gm...> >To: net...@li... >Subject: [Netadm-devel] I'm writting to devel_netadm_en.txt >Date: Mon, 20 Feb 2006 00:19:29 +0900 > >Hi. netadm members. >I'm Moon Kwan-kyung. I'm trying to transrating devel_netadm_ko.txt to >devel_netadm_en.txt. >My english skill is ugly, so many transtated parts is not correct. but >I'll >try to end trasrate devel_notadm_ko.txt. > >incompletion document is here >: http://netadm.sourceforge.net/devel_netadm_en.txt > >Thank you. _________________________________________________________________ Express yourself instantly with MSN Messenger! Download today - it's FREE! http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/ |
From: MoonC <bo...@gm...> - 2006-02-19 15:19:47
|
Hi. netadm members. I'm Moon Kwan-kyung. I'm trying to transrating devel_netadm_ko.txt to devel_netadm_en.txt. My english skill is ugly, so many transtated parts is not correct. but I'l= l try to end trasrate devel_notadm_ko.txt. incompletion document is here : http://netadm.sourceforge.net/devel_netadm_en.txt Thank you. |
From: park j. <par...@ho...> - 2006-02-19 04:37:27
|
http://netadm.sf.net/devel_netadm_ko.txt this document describes how to efficiently develop in netadm project. ----------------------------------------------------------------------- - Structure of current sources directory of gwc's and its source files. - Classification of built-in API. and each files - Internal overview of gwc. and its flowchart from start entry point. - how to add new functionality in cli command or GUI daemon with the APIs above. - recommaned coding style. - how to add new API in gwc. ----------------------------------------------------------------------- kwan-kyung ! can you help me to tranlate this document into english ? i think that through the process of translating this doc into english, you will get more understanding about the current implementation of gwc. i don't want any dead line of this job. one week, or more .. but i afraid that george may be waiting for the english version of this document. :-) i think this work is important from the point that as our project goes on, we will need more people to help us who are not familar with netadm. above all, they may be not korean. if you agree with my proposal above, i ask you to upload your last english version of it as naming devel_netad_en.txt to the site below whenever you update. http://netadm.sf.net/ [how to update web page of netadm ] following shows simple example of how to download, upload file to the site. 1. download $wget http://netadm.sf.net/{FILE NAME} 2. upload $scp {FILE NAME} YO...@sh...:/home/groups/n/ne/netadm/htdocs YO...@sh...'s password: /* enter your password */ in your case, {FILE NAME} is devel_netadm_en.txt and YOURID is bosaly i will wait your reply ~ thanks |
From: park j. <par...@ho...> - 2006-02-18 13:42:48
|
hi george >From: "EP8KHA EP8KHA" <ep...@ho...> >To: par...@ho... >Subject: RE: [Netadm-devel] can you help me ? >Date: Sat, 18 Feb 2006 06:59:55 -0500 > >Hi, >I'll gladly look over your english and correct any grammer errors on the >website. thank you so much. ^-^ >I've been bogged down with a routing issue with my home network recently so >the research on Snort and IDS's has been minimal at best. Once I get this >routing issue resolved, I'll be able to dedicate more time into looking >over Snort. Hopefully that will be sometime tonight. > i understand ..oneday, someone said me that in the field of developing network solution, setting up test bed is a half of all work. so i hope you not to be impatient. anyway, i introduce to you new joiner. his name is kwan-kyung moon he live in korea and temporarily absent from his school to do millitary service. in korea, man must do millitary service for about two year before he become 30 years old. his main job in the army is managing server systems. and i heard that he had developed some network solutions for example firewall and NMS(network management system) in embedded envionment. so i think he will be helpful to us. >Also, on your recent email, the information you provided about my >background was a bit incorrect. I attend The Ohio State University and I'm >an Electrical Engineer. Thanks ^_^ > sorry. i realized that immediatly after sending the email. ^0^ thanks jeho park >George > >_________________________________________________________________ >Express yourself instantly with MSN Messenger! Download today - it's FREE! >http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/ > |