|
|
@ -21,6 +21,7 @@ import cokr.xit.base.user.service.SigunguDepartmentService;
|
|
|
|
import cokr.xit.base.user.service.UserService;
|
|
|
|
import cokr.xit.base.user.service.UserService;
|
|
|
|
import cokr.xit.fims.base.FimsUser;
|
|
|
|
import cokr.xit.fims.base.FimsUser;
|
|
|
|
import cokr.xit.fims.base.service.bean.OgdpBean;
|
|
|
|
import cokr.xit.fims.base.service.bean.OgdpBean;
|
|
|
|
|
|
|
|
import cokr.xit.fims.cmmn.CmmnUtil;
|
|
|
|
import cokr.xit.fims.task.TaskRequestMappingHandlerMapping;
|
|
|
|
import cokr.xit.fims.task.TaskRequestMappingHandlerMapping;
|
|
|
|
import cokr.xit.foundation.data.DataObject;
|
|
|
|
import cokr.xit.foundation.data.DataObject;
|
|
|
|
import cokr.xit.foundation.web.RequestHandlerReader;
|
|
|
|
import cokr.xit.foundation.web.RequestHandlerReader;
|
|
|
@ -163,7 +164,9 @@ public class MainController extends cokr.xit.base.web.MainController {
|
|
|
|
@RequestMapping(name="접속자 IP 확인", value="/ipInfo.do")
|
|
|
|
@RequestMapping(name="접속자 IP 확인", value="/ipInfo.do")
|
|
|
|
public ModelAndView ipInfo(HttpServletRequest hreq) {
|
|
|
|
public ModelAndView ipInfo(HttpServletRequest hreq) {
|
|
|
|
|
|
|
|
|
|
|
|
String remoteAddr = hreq.getRemoteAddr();
|
|
|
|
|
|
|
|
|
|
|
|
String remoteAddr = CmmnUtil.getClientIpAddr(hreq);
|
|
|
|
|
|
|
|
|
|
|
|
String net = "";
|
|
|
|
String net = "";
|
|
|
|
String LOCAL = "127.0.0.1";
|
|
|
|
String LOCAL = "127.0.0.1";
|
|
|
|
String[] PRIVATES = {"10.","172.16.","172.31.","192.168."};
|
|
|
|
String[] PRIVATES = {"10.","172.16.","172.31.","192.168."};
|
|
|
|