teratail header banner
teratail header banner
質問するログイン新規登録

質問編集履歴

2

iptable

2017/04/05 09:24

投稿

yuki_90453
yuki_90453

スコア326

title CHANGED
File without changes
body CHANGED
@@ -43,6 +43,56 @@
43
43
  2017-04-05 17:47:27,579 fail2ban.filter [17023]: WARNING Unable to find a corresponding IP address for : [Errno -2] Name or service not known
44
44
  2017-04-05 17:50:57,364 fail2ban.filter [17023]: WARNING Unable to find a corresponding IP address for : [Errno -2] Name or service not known
45
45
  ```
46
+ ###追記 iptable
47
+ iptable -Lを打った結果が下記になります。
48
+
49
+ ```
50
+ Chain INPUT (policy ACCEPT)
51
+ target prot opt source destination
52
+ f2b-dovecot-pop3imap tcp -- anywhere anywhere multiport dports pop3,imap
53
+ f2b-SSH tcp -- anywhere anywhere tcp dpt:ssh
54
+ RH-Firewall-1-INPUT all -- anywhere anywhere
55
+ ACCEPT tcp -- anywhere anywhere tcp dpt:hbci
56
+ ACCEPT tcp -- anywhere anywhere state NEW tcp dpt:telnet
57
+
58
+ Chain FORWARD (policy ACCEPT)
59
+ target prot opt source destination
60
+ RH-Firewall-1-INPUT all -- anywhere anywhere
61
+
62
+ Chain OUTPUT (policy ACCEPT)
63
+ target prot opt source destination
64
+
65
+ Chain RH-Firewall-1-INPUT (2 references)
66
+ target prot opt source destination
67
+ ACCEPT all -- anywhere anywhere
68
+ ACCEPT icmp -- anywhere anywhere icmp any
69
+ ACCEPT esp -- anywhere anywhere
70
+ ACCEPT ah -- anywhere anywhere
71
+ ACCEPT udp -- anywhere 224.0.0.251 udp dpt:mdns
72
+ ACCEPT udp -- anywhere anywhere udp dpt:ipp
73
+ ACCEPT tcp -- anywhere anywhere tcp dpt:ipp
74
+ ACCEPT all -- anywhere anywhere state RELATED,ESTABLISHED
75
+ ACCEPT tcp -- anywhere anywhere state NEW tcp dpt:10022
76
+ ACCEPT tcp -- anywhere anywhere state NEW tcp dpt:http
77
+ ACCEPT tcp -- anywhere anywhere state NEW tcp dpt:https
78
+ ACCEPT tcp -- anywhere anywhere state NEW tcp dpt:smtp
79
+ ACCEPT tcp -- anywhere anywhere state NEW tcp dpt:urd
80
+ ACCEPT tcp -- anywhere anywhere state NEW tcp dpt:submission
81
+ ACCEPT tcp -- anywhere anywhere state NEW tcp dpt:pop3
82
+ ACCEPT tcp -- anywhere anywhere state NEW tcp dpt:pop3s
83
+ ACCEPT tcp -- anywhere anywhere state NEW tcp dpt:imap
84
+ ACCEPT tcp -- anywhere anywhere state NEW tcp dpt:imaps
85
+ REJECT all -- anywhere anywhere reject-with icmp-host-prohibited
86
+
87
+ Chain f2b-SSH (1 references)
88
+ target prot opt source destination
89
+ RETURN all -- anywhere anywhere
90
+
91
+ Chain f2b-dovecot-pop3imap (1 references)
92
+ target prot opt source destination
93
+ RETURN all -- anywhere anywhere
94
+ ```
95
+
46
96
  ###質問
47
97
  書いたプログラムが全滅状態なので大変困っております。
48
98
  何が原因なのか、どの辺りが怪しいのか調べていますが、未だ解決方法が見つかっております。

1

っっd

2017/04/05 09:24

投稿

yuki_90453
yuki_90453

スコア326

title CHANGED
File without changes
body CHANGED
@@ -26,8 +26,8 @@
26
26
 
27
27
  ###最初にエラーが発生する前に行った事
28
28
  サーバーへのログインを間違ってしまいFail2Banというソフトに自分のIPアドレスがブロックされてしまいました。
29
- しかし、問題なく接続できています。
29
+ しかし、問題なくログイン出来ます。
30
- fail2banのログを確認する下記のようになっております。
30
+ プログラムを実行中のfail2banのログを確認する下記のようになっております。
31
31
  ```ここに言語を入力
32
32
  2017-04-05 17:05:17,424 fail2ban.filter [17023]: WARNING Unable to find a corresponding IP address for : [Errno -2] Name or service not known
33
33
  2017-04-05 17:09:25,138 fail2ban.filter [17023]: WARNING Unable to find a corresponding IP address for : [Errno -2] Name or service not known