大家好
小弟最近在embedded上開發應用程式
(fw是使用rtl819x編譯出來的
kernel=linux-2.6.30)
程式在fedora/android上測試都沒有發生問題
但是在embedded卻發生奇妙的事情
就是我的封包無法發送到目的端
我檢查了send確定回傳值是對的
從Wireshark也只能攔到三方交握的封包
卻無法看到我發送出去得封包
目的端也只有三方交握 沒有收到其他封包
我也有問過同事 他說可能是iptables在作怪
因此我將iptables如下設定
iptables --flush INPUT
iptables --flush FORWARD
iptables --flush OUTPUT
iptables -P INPUT ACCEPT
iptables -P OUTPUT ACCEPT
iptables -P FORWARD ACCEPT
iptables -A INPUT -i eth1 -j ACCEPT
iptables -A OUTPUT -o eth1 -j ACCEPT
iptables --list
list結果如下# iptables --list
Chain INPUT (policy ACCEPT)
target prot opt source destination
ACCEPT all -- anywhere anywhere
Chain FORWARD (policy ACCEPT)
target prot opt source destination
Chain OUTPUT (policy ACCEPT)
target prot opt source destination
ACCEPT all -- anywhere anywhere
但是我依舊沒辦法將封包傳遞出去
想請各位大大
有沒有可能其他防火牆或是設定阻擋封包的傳遞了
謝謝
--
All Comments