On 12/13/2012 02:20 PM, Tom Eastep wrote:
> On 12/13/2012 02:15 PM, I.S.C. William wrote:
>> Hi .. !!
>>
>> How I can put this line in shorewall Iptables to work the same way?
>>
>> |iptables -A FORWARD -d 65.49.14.0/24 <http://65.49.14.0/24> -j LOG
>> --log-prefix "=UltraSurf= "
>> |
>>
>
>
> DON'T DO IT!

My point is that syslog is not a good vehicle for doing data capture. If 
you want to capture all packets headed for that subnet, then:

        tcpdump -w Ultranet.log net 65.49.14.0/24

Now all packets addressed to 64.49.14.0/24 will be written to the file 
Ultranet.log. You can read them via

        tcpdump -r Ultranet.log

-Tom


-- 
Tom Eastep        \ When I die, I want to go like my Grandfather who
Shoreline,         \ died peacefully in his sleep. Not screaming like
Washington, USA     \ all of the passengers in his car
http://shorewall.net \________________________________________________

------------------------------------------------------------------------------
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
_______________________________________________
Shorewall-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/shorewall-users

Reply via email to