Dear tcpdump workers,

I dont know if this is the right place to post, but the sourceforge
patch list seemed too inactive. If this is not the right place, please
let me know where I should post this.


I have done a little patch to add a feature in tcpdump.

Often people use tcpdump on a remote host while connected using ssh. my
option (-H (hide)) automaticly removes packets from the user ssh session
(information taken via the environement variable SSH_CLIENT).

if no filter is set, a new the filter is applied:
not ( host %ssh_remote_host% and port %ssh_remote_port% and tcp )

if a filter is set, the new filter is:
( existing_filter ) and ( filter_as_above )


The patch is available here:
http://www.spale.com/tcpdump-2005.08.08-Hflag-patch

note: the patch should respect C89 syntax and functions. if you find
anything that doesnt look very C89, please let me know so I can fix it.

Regards,
Pascal Gloor

Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to