封包無法傳遞出去 - Linux

By Freda
at 2013-09-30T22:31
at 2013-09-30T22:31
Table of Contents
大家好
小弟最近在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
但是我依舊沒辦法將封包傳遞出去
想請各位大大
有沒有可能其他防火牆或是設定阻擋封包的傳遞了
謝謝
--
Tags:
Linux
All Comments

By Ingrid
at 2013-10-05T18:15
at 2013-10-05T18:15

By Sierra Rose
at 2013-10-09T01:21
at 2013-10-09T01:21

By Hedda
at 2013-10-09T03:33
at 2013-10-09T03:33

By Delia
at 2013-10-13T11:42
at 2013-10-13T11:42

By Linda
at 2013-10-16T22:52
at 2013-10-16T22:52

By Daniel
at 2013-10-18T05:42
at 2013-10-18T05:42

By Vanessa
at 2013-10-23T02:13
at 2013-10-23T02:13
Related Posts
2013/10/01 TOSSUG 聚會地點在 Ville Cafe 台大公館店

By Emily
at 2013-09-30T16:10
at 2013-09-30T16:10
請問Samba設定權限問題 (centos) ?

By Eden
at 2013-09-30T13:00
at 2013-09-30T13:00
HackingThursday 固定聚會 (2013-10-03)

By Lydia
at 2013-09-30T12:08
at 2013-09-30T12:08
請問Samba設定權限問題 (centos) ?

By Faithe
at 2013-09-30T07:55
at 2013-09-30T07:55
無法 mount 外接硬碟

By Sandy
at 2013-09-28T15:47
at 2013-09-28T15:47