Federico Donati wrote:

> I can use a masquerade rule in the iptables postrouting chains. So, i
> will do that way, until developers will integrate source port option.

Damn, at the end i can't use masquerading because i can't masquerade all
the traffic for that host (very tricky network...).

I had to wrote a perl script, that i'm going to attach. It's not the
best script ever, but i had to be fast :)
It uses hping3 and run perfectly under linux.
Feel free to use it.

In the file, host target is Google :)

I hope this will helps someone.

Attachment: hping.pl
Description: Perl program

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Nagios-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null

Reply via email to