Re: iptables REJECT types for UDP (if any)

From: Philipp Schulte (pschulte@uni-duisburg.de)
Date: 11/17/02

  • Next message: Simon Byrnand: "RE: iptables REJECT types for UDP (if any)"
    Date: Sun, 17 Nov 2002 03:11:16 +0100
    From: Philipp Schulte <pschulte@uni-duisburg.de>
    To: focus-linux@securityfocus.com
    
    

    Miguel Angel Rodríguez Jódar wrote:

    > > using -j DROP as a target, what I want to know is what types
    > > of REJECT
    > > can be used for UDP packets? Thanks.
    >
    > AFAIK, UDP packets are not realiable

    This is misleading. UDP (as opposed to TCP) is a connection-less
    protocol. That means that UDP itself doesn't check if packets made
    their way. But this doesn't make the UDP-packets themselves less
    reliable than TCP-packets.

    > haven't got things like the RST option in their headers as TCP
    > packets have, so dropping it is your only choice.

    While it is true that UDP doesn't know such a thing as RST, dropping
    them is _not_ the only choice. The equivalent to TCP-RST would be to
    send an ICMP-PortUnreachable.
    Phil



    Relevant Pages

    • Re: receive delay
      ... UDP packets are used for new mail notifications, or in this case to notify ... the client is requesting the update instead of the server sending a UDP ... right of outlook, also under E-mail accounts the Use Cached mode is ... Something is blocking UDP packets. ...
      (microsoft.public.exchange.admin)
    • blocking for multiple sources
      ... One of my other threads' job is to queue up UDP packets for the main ... But occasionally I may need to have the main thread send a pulse to the ... with a timeout using select, ...
      (comp.os.qnx)
    • Re: Events between machines
      ... The problem with UDP is that it is generally not reliable. ... would also work if no single event would ever reach the clients. ... Windows Server 2003) which allows you to send a message to multiple ... > regarding how the clients (which are listening for these udp packets) ...
      (microsoft.public.dotnet.framework.remoting)
    • Re: SSH as a VPN Client?
      ... TCP connection to add UDP forwarder on the SOCKS server, ... after which the client sends UDP packets to the server, ... The SOCKS server support in some SSH clients convert SOCKS requests into ... SSH TCP forwarding channel-requests. ...
      (comp.security.ssh)
    • Re: Linux Firewall
      ... :udp is stateless protocol, so state switch is extra here, to be precise udp has ... from my point of view it's pointles to filter outgoing ... your system to all UDP packets from source port 53. ...
      (comp.os.linux.security)