Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | ||
6 | 7 | 8 | 9 | 10 | 11 | 12 |
13 | 14 | 15 | 16 | 17 | 18 | 19 |
20 | 21 | 22 | 23 | 24 | 25 | 26 |
27 | 28 | 29 | 30 |
Tags
- rm
- http
- Kernel
- 리눅스
- pid
- ext3
- windows
- 솔라리스
- Python
- Disk
- PORT
- PERL
- Linux
- CPU
- Performance
- 칭찬교육
- cadre
- rsync
- Cache
- Hack
- rm -rf
- DNS
- 디스크
- iptables
- 쇼펜의상속자 #킨텍스메가쇼 #섬유향수탈취제
- 좌절교육
- ext4
- Bash
- apachetop
- goaccess
Archives
- Today
- Total
목록PORT (2)
Ben's
iptables 포트 포워드
for i in `cat LIST2` do iptables -t nat -A PREROUTING -d $i -p tcp --dport 3389 -j DNAT --to-destination $i:4989 done
리눅스/iptables
2013. 1. 21. 17:12
port check python script
#!/usr/bin/python # # 08/07/20 system team nhko # from httplib import HTTP import urllib import httplib def error(msg) : params = urllib.urlencode({'pass': 'xxxx', 'mesg': '10.10.10.2'':'+msg}) headers = {"Content-type": "application/x-www-form-urlencoded", "Accept": "text/plain"} conn = httplib.HTTPConnection("sms.nhko.com:80") conn.request("POST", "/cgi-bin/sms.pl", params, headers) print conn..
리눅스/python
2013. 1. 21. 15:43