Skip to contentSkip to conversation

filtering packets based on the pathname of the sending/receiving application

DISCUSSION Sonny (Sechang) Son 3 participants 4 messages Aug 26, 2004 – Aug 31, 2004

lore
Share & tools
lore
#0 lore raw

Hi,

sorry if this has been answered already.

Is there any way to block/allow traffic generated by or toward a spcific application. I want to block/allow traffics based on the full pathname of the application.

thank you.

#1 lore raw
Quoted 9 lines · Sonny (Sechang) Son

Hi,

sorry if this has been answered already.

Is there any way to block/allow traffic generated by or toward a spcific application. I want to block/allow traffics based on the full pathname of the application.

thank you.

Wouldn't it be easier to study the ports this application use and use them to generate your rules. I think what you want it's not possible, you can't discriminate traffic using the path or name of the executable, but I think you can do it with the user that runs the program, using a patch from patch-o-matic, I don't know if this can suit you.

Signature · 12 lines
Jose Maria Lopez Hernandez
Director Tecnico de bgSEC
[email protected]
bgSEC Seguridad y Consultoria de Sistemas Informaticos
http://www.bgsec.com
ESPAÑA

The only people for me are the mad ones -- the ones who are mad to live,
mad to talk, mad to be saved, desirous of everything at the same time,
the ones who never yawn or say a commonplace thing, but burn, burn, burn
like fabulous yellow Roman candles.
                -- Jack Kerouac, "On the Road"
#2 lore raw
Quoted 10 lines · Jose Maria Lopez

El jue, 26 de 08 de 2004 a las 19:02, Sonny (Sechang) Son escribi??:

Quoted 9 lines

Hi,

sorry if this has been answered already.

Is there any way to block/allow traffic generated by or toward a spcific application. I want to block/allow traffics based on the full pathname of the application.

thank you.

The is a patch in patch o matic called owner, which lets you specify the application and matches agains that.

Quoted 23 lines

Wouldn't it be easier to study the ports this application use and use them to generate your rules. I think what you want it's not possible, you can't discriminate traffic using the path or name of the executable, but I think you can do it with the user that runs the program, using a patch from patch-o-matic, I don't know if this can suit you.

Signature · 12 lines
Jose Maria Lopez Hernandez
Director Tecnico de bgSEC
[email protected]
bgSEC Seguridad y Consultoria de Sistemas Informaticos
http://www.bgsec.com
ESPA??A

The only people for me are the mad ones -- the ones who are mad to live,
mad to talk, mad to be saved, desirous of everything at the same time,
the ones who never yawn or say a commonplace thing, but burn, burn, burn
like fabulous yellow Roman candles.
                -- Jack Kerouac, "On the Road"
#3 lore raw
Quoted 6 lines · Alexander Samad
Quoted 5 lines · Jose Maria Lopez

El jue, 26 de 08 de 2004 a las 19:02, Sonny (Sechang) Son escribi??:

Quoted 4 lines

Hi,

sorry if this has been answered already.

Quoted 8 lines
Quoted 5 lines
Quoted 5 lines

Is there any way to block/allow traffic generated by or toward a spcific application. I want to block/allow traffics based on the full pathname of the application.

thank you.

The is a patch in patch o matic called owner, which lets you specify the application and matches agains that.

We didn't know. Thanks for the correction.

Signature · 12 lines
Jose Maria Lopez Hernandez
Director Tecnico de bgSEC
[email protected]
bgSEC Seguridad y Consultoria de Sistemas Informaticos
http://www.bgsec.com
ESPAÑA

The only people for me are the mad ones -- the ones who are mad to live,
mad to talk, mad to be saved, desirous of everything at the same time,
the ones who never yawn or say a commonplace thing, but burn, burn, burn
like fabulous yellow Roman candles.
                -- Jack Kerouac, "On the Road"