search for: udp_sport

Displaying 4 results from an estimated 4 matches for "udp_sport".

2005 May 14
1
Need some help
....S.: sorry for my very bad english :) ############# script ######### /* *Simply tcng traffic control file. */ #define INTERFACE eth1 dev INTERFACE { egress { class( <$p2p> ) if tcp_sport == 4662 if udp_sport == 4672 if udp_sport == 4666 if tcp_sport == 6882 if tcp_sport == 6346 class ( <$ftp> ) if tcp_sport == 21 if tcp_sport == 22 || ip_tos_delay == 1...
2013 Aug 23
1
[Bridge] challenge of year: connect to LAN using wireless-ap over bridge + unmanaged l2tpv3 tunnel + bridge? it's possible?
...plugged with vlan601 (eth1.601) by bridge called "br-red" *root at bahia:~#* brctl show bridge name bridge id STP enabled interfaces *root at bahia:~#* brctl addbr br-red *root at bahia:~#* brctl addif br-red eth1.601 *root at bahia:~#** *ip l2tp add tunnel tunnel_id 45 peer_tunnel_id 42 udp_sport 5001 udp_dport 5000 encap udp local 200.243.1.5 remote 200.199.10.12 *root at bahia:~#** *ip l2tp add session tunnel_id 45 session_id 5196755 peer_session_id 128 *root at bahia:~#* ip link set l2tpeth0 up promisc on master br-red *root at bahia:~#* ip link set br-red up *root at bahia:~#* brctl sh...
2004 May 05
3
Simple HTB setup with tcng
Hello all, I am trying to set up a simple htb based system, where packets with source ip 10.0.0.1 should have their own class. I plan to use tcng to set it up easier. Is there something wrong in my tcng file ? ~/tcng$ cat htb /* */ #include "fields.tc" #include "ports.tc" dev eth0 { htb ( ) { class ( rate 600kbps, ceil 600kbps ) {
2004 May 05
1
Re: [Fwd: Re: Simple HTB setup with tcng]
...> > class ( <$high> ) if ip_proto == IPPROTO_ICMP || > > > ip_tos == 0x10 || > > > tcp_sport == 80 || > > > tcp_sport == 110 || > > > udp_sport == 53 || > > > tcp_ack; > > > > > > class ( <$medium> ) if tcp_dport == 25; > > > > > > class ( <$low> ) if 1; > > > > > > htb () { class ( rate LAN_EGRESS kbps ) { >...