Anybody knows a program

General Network security, firewalls, port filtering/forwarding, wireless security, anti-spyware, as well as spam control and privacy discussions.
Post Reply
Boojak
New Member
Posts: 7
Joined: Wed Jan 20, 2010 2:46 pm

Anybody knows a program

Post by Boojak »

Anybody knows a program that can block incoming packets from a UDP port? I'm trying to block incoming packets for a certain IP address, but I'll allow my outgoing packets to that address.

Thanks in advance!
User avatar
akbarri
Posts: 935
Joined: Tue Dec 30, 2008 4:21 pm
Location: Caterpillar Inc

Post by akbarri »


# OS: Windows, Linux # Browser: Blink, Gecko, Presto, Webkit + Squid + Bind
User avatar
YeOldeStonecat
SG VIP
Posts: 51171
Joined: Mon Jan 15, 2001 12:00 pm
Location: Somewhere along the shoreline in New England

Post by YeOldeStonecat »

Is the source IP address on your local network, or across the internet?
What do you have for a router, or any firewall?
MORNING WOOD Lumber Company
Guinness for Strength!!!
Boojak
New Member
Posts: 7
Joined: Wed Jan 20, 2010 2:46 pm

Post by Boojak »

YeOldeStonecat wrote:Is the source IP address on your local network, or across the internet?
What do you have for a router, or any firewall?
Across the Internet.

I have tried certain firewalls (such as Zone) but these firewalls don't have the option to block incoming or outgoing connections. Most of them only block both incoming and outgoing connections... :/

I'll try Squid and see if it has one...
EDIT- Nope, Squid doesn't have the option, either.
User avatar
akbarri
Posts: 935
Joined: Tue Dec 30, 2008 4:21 pm
Location: Caterpillar Inc

Post by akbarri »

open ur squid.conf :
# SNMP OPTIONS
# -----------------------------------------------------------------------------

# TAG: snmp_port
# Squid can now serve statistics and status information via SNMP.
# By default it listens to port 3401 on the machine. If you don't
# wish to use SNMP, set this to "0".
#
#Default:
# snmp_port 3401

# TAG: snmp_access
# Allowing or denying access to the SNMP port.
#
# All access to the agent is denied by default.
# usage:
#
# snmp_access allow|deny [!]aclname ...
#
#Example:
# snmp_access allow snmppublic localhost
# snmp_access deny all
#
#Default:
# snmp_access deny all

# TAG: snmp_incoming_address
# TAG: snmp_outgoing_address
# Just like 'udp_incoming_address' above, but for the SNMP port.
#
# snmp_incoming_address is used for the SNMP socket receiving
# messages from SNMP agents.
# snmp_outgoing_address is used for SNMP packets returned to SNMP
# agents.
#
# The default snmp_incoming_address (0.0.0.0) is to listen on all
# available network interfaces.
#
# If snmp_outgoing_address is set to 255.255.255.255 (the default)
# it will use the same socket as snmp_incoming_address. Only
# change this if you want to have SNMP replies sent using another
# address than where this Squid listens for SNMP queries.
#
# NOTE, snmp_incoming_address and snmp_outgoing_address can not have
# the same value since they both use port 3401.
#
#Default:
# snmp_incoming_address 0.0.0.0
# snmp_outgoing_address 255.255.255.255
# ICP OPTIONS
# -----------------------------------------------------------------------------

# TAG: icp_port
# The port number where Squid sends and receives ICP queries to
# and from neighbor caches. Default is 3130. To disable use
# "0". May be overridden with -u on the command line.
#
#Default:
# icp_port 3130
icp_port 0

# TAG: htcp_port
# The port number where Squid sends and receives HTCP queries to
# and from neighbor caches. Default is 4827. To disable use
# "0".
#
#Default:
# htcp_port 4827
htcp_port 0

# TAG: log_icp_queries on|off
# If set, ICP queries are logged to access.log. You may wish
# do disable this if your ICP load is VERY high to speed things
# up or to simplify log analysis.
#
#Default:
# log_icp_queries on
log_icp_queries off

# TAG: udp_incoming_address
# udp_incoming_address is used for UDP packets received from other
# caches.
#
# The default behavior is to not bind to any specific address.
#
# Only change this if you want to have all UDP queries received on
# a specific interface/address.
#
# NOTE: udp_incoming_address is used by the ICP, HTCP, and DNS
# modules. Altering it will affect all of them in the same manner.
#
# see also; udp_outgoing_address
#
# NOTE, udp_incoming_address and udp_outgoing_address can not
# have the same value since they both use the same port.
#
#Default:
# udp_incoming_address 0.0.0.0

# TAG: udp_outgoing_address
# udp_outgoing_address is used for UDP packets sent out to other
# caches.
#
# The default behavior is to not bind to any specific address.
#
# Instead it will use the same socket as udp_incoming_address.
# Only change this if you want to have UDP queries sent using another
# address than where this Squid listens for UDP queries from other
# caches.
#
# NOTE: udp_outgoing_address is used by the ICP, HTCP, and DNS
# modules. Altering it will affect all of them in the same manner.
#
# see also; udp_incoming_address
#
# NOTE, udp_incoming_address and udp_outgoing_address can not
# have the same value since they both use the same port.
#
#Default:
# udp_outgoing_address 255.255.255.255

# OS: Windows, Linux # Browser: Blink, Gecko, Presto, Webkit + Squid + Bind
koenigsegg
New Member
Posts: 2
Joined: Sun Mar 07, 2010 4:53 am
Location: Don't Know

hello

Post by koenigsegg »

do you have windows or linux?
Post Reply